/* ============================================================
   HEADER CSS - VINED
   ============================================================ */
.site-header {
    position: fixed;
    top: 32px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: var(--max-container);
    padding: 0 var(--gutter-desktop);
    box-sizing: border-box;
    z-index: 1000;
    transition: top var(--transition-fast), background var(--transition-fast), border var(--transition-fast);
}

.site-header.header-scrolled {
    top: 16px;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    border-radius: 100px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Logo */
.header-logo {
    display: flex;
    align-items: center;
    flex: 1;
    /* Take up space to push nav to center */
}

.header-logo img {
    height: 44px;
    width: 76px;
}

/* Navigation (Centered) */
.header-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex: 2;
}

.header-nav a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 15px;
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.3s;
    position: relative;
}

.header-nav a:hover,
.header-nav a.active {
    color: #FFFFFF;
    font-weight: 600;
}

/* CTA Button (Right aligned) */
.header-cta {
    display: flex;
    justify-content: flex-end;
    flex: 1;
}

.header-cta a {
    background: #AC7D24;
    color: #FFFFFF;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 15px;
    padding: 10px 24px;
    border-radius: 100px;
    text-decoration: none;
    transition: background 0.3s, transform 0.2s;
}

.header-cta a:hover,
.header-cta a.active {
    background: #90661a;
    transform: translateY(-2px);
}

/* Mobile CTA inside nav drawer */
.mobile-nav-cta {
    display: none;
}

/* Mobile Toggle */
.header-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.header-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #FFFFFF;
    transition: transform 0.3s, opacity 0.3s;
    border-radius: 2px;
}

/* Mobile specific styling */
@media (max-width: 991px) {
    .site-header {
        padding: 0 var(--gutter-tablet);
        max-width: 100vw;
    }

    .header-inner {
        padding: 10px 20px;
    }

    .header-cta {
        display: none !important;
    }

    .mobile-nav-cta {
        display: block;
        margin-top: 16px;
    }

    .mobile-nav-cta a {
        background: #AC7D24;
        color: #FFFFFF;
        font-family: 'Montserrat', sans-serif;
        font-weight: 600;
        font-size: 18px;
        padding: 12px 32px;
        border-radius: 100px;
        text-decoration: none;
        display: inline-block;
        transition: background 0.3s, transform 0.2s;
    }

    .mobile-nav-cta a:hover {
        background: #90661a;
        transform: translateY(-2px);
    }

    .header-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        max-width: 100vw;
        height: 100vh;
        background-color: #000000;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        transform: translateX(100%);
        visibility: hidden;
        transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1), visibility 0.4s;
        z-index: 1000;
    }

    .header-nav.show {
        transform: translateX(0);
        visibility: visible;
    }

    .header-nav a {
        font-size: 24px;
    }

    .header-toggle {
        display: flex;
    }

    .header-toggle.open span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .header-toggle.open span:nth-child(2) {
        opacity: 0;
    }

    .header-toggle.open span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

@media (max-width: 575px) {
    .site-header {
        padding: 0 16px;
        top: 16px;
    }

    .site-header.header-scrolled {
        top: 12px;
    }

    .header-inner {
        padding: 8px 16px;
    }

    .header-logo img {
        height: 36px;
        width: auto;
    }
}