/* ============================================================
   Alnassar.it — recreation
   Black theme · Oswald / Roboto / Open Sans
   ============================================================ */

:root {
    --black: #000000;
    --white: #ffffff;
    --grey-50: #f5f5f5;
    --grey-300: #b9b9b9;
    --grey-600: #6f6f6f;
    --accent: #f1c50e;          /* warm gold highlight */
    --accent-2: #3be8e0;        /* cyan (active) */
    --header-h: 110px;
    --maxw: 1200px;
    --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-head: 'Roboto', sans-serif;
    --font-brand: 'Oswald', 'Roboto', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background-color: var(--black);
    color: var(--white);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); margin: 0; }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.container {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 30px;
}

/* ---------- Brand logo ---------- */
.logo {
    display: inline-flex;
    align-items: center;
    line-height: 0;
    /* text fallback styling if the image is missing */
    font-family: var(--font-brand);
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--white);
}
.logo img {
    display: block;
    width: 112px;
    height: auto;
    transition: opacity 0.2s ease;
}
.logo:hover img { opacity: 0.82; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--black);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: var(--header-h);
}

.main-nav { margin-left: auto; }

.menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
}

.menu > li { position: relative; }

.menu > li > a {
    display: block;
    font-family: var(--font-brand);
    font-weight: 400;
    font-size: 1.08rem;
    letter-spacing: 0.04em;
    color: var(--white);
    padding: 12px 16px;
    transition: color 0.2s ease;
}

.menu > li > a:hover,
.menu > li:hover > a,
.menu > li > a.active { color: var(--accent-2); }

/* dropdown indicator */
.has-dropdown > a::after {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-left: 8px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform 0.2s ease;
}
.has-dropdown:hover > a::after { transform: translateY(0) rotate(45deg); }

/* dropdown panel */
.dropdown {
    list-style: none;
    margin: 0;
    padding: 8px 0;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.has-dropdown:hover > .dropdown,
.has-dropdown.open > .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li a {
    display: block;
    font-family: var(--font-brand);
    font-weight: 300;
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--grey-50);
    padding: 10px 22px;
    transition: background 0.2s ease, color 0.2s ease;
}
.dropdown li a:hover { background: rgba(255, 255, 255, 0.06); color: var(--accent-2); }

/* cart */
.cart { display: inline-flex; color: var(--white); transition: color 0.2s ease; }
.cart svg { width: 26px; height: 26px; }
.cart:hover { color: var(--accent-2); }

/* hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    margin-left: auto;
    padding: 0;
    background: none;
    border: 0;
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO — full-bleed background video
   ============================================================ */
.hero {
    position: relative;
    width: 100%;
    min-height: clamp(360px, calc(100vh - var(--header-h)), 820px);
    overflow: hidden;
    background: #000;
}

.hero-video {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

/* Cover technique: keep a 16:9 iframe filling the box on both axes */
.hero-video iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;          /* 16:9 based on width  */
    min-width: 177.78vh;      /* 16:9 based on height */
    min-height: 100%;
    transform: translate(-50%, -50%);
    border: 0;
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta {
    background: var(--black);
    padding: 70px 0 80px;
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    text-align: center;
}

.cta-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-link {
    font-family: var(--font-brand);
    font-weight: 500;
    font-size: clamp(1.8rem, 4vw, 3rem);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--white);
    line-height: 1.1;
    transition: color 0.2s ease, letter-spacing 0.2s ease;
}
.cta-link:hover { color: var(--accent-2); letter-spacing: 0.07em; }

.cta-sub {
    font-family: var(--font-head);
    font-weight: 400;
    font-size: 1rem;
    color: var(--grey-300);
    margin-top: 6px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--black);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 46px 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 26px;
    flex-wrap: wrap;
}

.logo--footer img { width: 96px; }

.social { display: flex; gap: 12px; }

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--white);
    color: var(--black);
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.social-link svg { width: 18px; height: 18px; fill: currentColor; }
.social-link:hover { background: var(--accent-2); color: var(--black); transform: translateY(-2px); }

.copyright {
    margin: 0;
    font-size: 0.85rem;
    color: var(--grey-600);
}

/* ============================================================
   GENERIC PAGE (interior pages)
   ============================================================ */
.page-hero {
    padding: 90px 0 50px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.page-hero h1 {
    font-family: var(--font-brand);
    font-weight: 600;
    font-size: clamp(2rem, 5vw, 3.4rem);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.page-hero p {
    color: var(--grey-300);
    max-width: 640px;
    margin: 16px auto 0;
}

.page-section { padding: 60px 0 90px; }
.prose { max-width: 760px; margin: 0 auto; color: var(--grey-50); }
.prose p { margin: 0 0 1.2em; }
.lead { font-size: 1.15rem; color: var(--grey-300); }

.note {
    margin-top: 30px;
    padding: 16px 20px;
    border-left: 3px solid var(--accent-2);
    background: rgba(255, 255, 255, 0.03);
    color: var(--grey-300);
    font-size: 0.95rem;
}

/* ---------- contact form ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 980px;
    margin: 0 auto;
}
.contact-info h3 { font-family: var(--font-brand); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px; }
.contact-info a { color: var(--accent-2); }
.contact-form label { display: block; font-size: 0.85rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--grey-300); margin-bottom: 6px; }
.contact-form input,
.contact-form textarea {
    width: 100%;
    background: #0c0c0c;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--white);
    padding: 12px 14px;
    margin-bottom: 18px;
    font-family: var(--font-body);
    border-radius: 4px;
}
.contact-form input:focus,
.contact-form textarea:focus { outline: none; border-color: var(--accent-2); }
.btn {
    display: inline-block;
    font-family: var(--font-brand);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: var(--white);
    color: var(--black);
    border: 0;
    padding: 13px 30px;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.2s ease, color 0.2s ease;
}
.btn:hover { background: var(--accent-2); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
    :root { --header-h: 84px; }

    .nav-toggle { display: flex; order: 3; }

    .main-nav {
        position: fixed;
        top: var(--header-h);
        right: 0;
        width: min(320px, 86vw);
        height: calc(100vh - var(--header-h));
        background: #060606;
        border-left: 1px solid rgba(255, 255, 255, 0.08);
        margin: 0;
        padding: 18px 0;
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform 0.28s ease;
    }
    .main-nav.open { transform: translateX(0); }

    .menu { flex-direction: column; align-items: stretch; gap: 0; }
    .menu > li > a { padding: 14px 26px; font-size: 1.15rem; }

    .has-dropdown > a::after { float: right; margin-top: 8px; }

    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: 0;
        background: rgba(255, 255, 255, 0.02);
        max-height: 0;
        overflow: hidden;
        padding: 0;
        transition: max-height 0.3s ease;
    }
    .has-dropdown.open > .dropdown { max-height: 420px; padding: 4px 0 10px; }
    .dropdown li a { padding-left: 40px; }

    .contact-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 575px) {
    .container { padding: 0 20px; }
    .logo img { width: 96px; }
    .cta-grid { grid-template-columns: 1fr; gap: 46px; }
    .footer-inner { flex-direction: column; text-align: center; }
    .footer-brand { flex-direction: column; gap: 18px; }
}
