/* ==========================================================
   HEADER
========================================================== */

.site-header {
    position: relative;
    z-index: 1000;

    width: 100%;

    background:
        rgba(248, 250, 252, .94);

    transition:
        box-shadow 300ms ease,
        background 300ms ease;
}

.site-header.is-sticky {
    position: sticky;
    top: 0;

    background:
        rgba(255, 255, 255, .94);

    box-shadow:
        0 1px 0 rgba(15, 23, 42, .08),
        0 8px 30px rgba(15, 23, 42, .04);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}


/* ==========================================================
   TOPBAR
========================================================== */

.header-topbar {
    color:
        rgba(255, 255, 255, .72);

    background: var(--navy-900);
}

.header-topbar-inner {
    min-height: 38px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.topbar-context {
    margin: 0;

    font-size: .76rem;
    letter-spacing: .015em;
}

.topbar-context strong {
    color: white;
    font-weight: 600;
}

.topbar-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    font-size: .74rem;
    font-weight: 600;

    color: #bfdbfe;

    transition: color var(--transition);
}

.topbar-link svg {
    width: 15px;
    height: 15px;

    transition: transform var(--transition);
}

.topbar-link:hover {
    color: white;
}

.topbar-link:hover svg {
    transform: translateX(3px);
}


/* ==========================================================
   MAIN
========================================================== */

.header-main {
    position: relative;

    border-bottom:
        1px solid rgba(15, 23, 42, .07);
}

.header-inner {
    min-height: 86px;

    display: flex;
    align-items: center;

    gap: clamp(25px, 4vw, 65px);
}


/* Brand */

.site-brand {
    flex-shrink: 0;

    display: inline-flex;
    align-items: center;
}

.brand-logo {
    width: auto;
    max-width: 190px;
    height: 52px;

    object-fit: contain;
}


/* ==========================================================
   NAVIGATION
========================================================== */

.desktop-navigation {
    margin-left: auto;
}

.navigation-list {
    list-style: none;

    display: flex;
    align-items: center;

    gap: clamp(20px, 2.2vw, 36px);
}

.navigation-link {
    position: relative;

    display: inline-flex;
    align-items: center;

    height: 86px;

    font-size: .86rem;
    font-weight: 600;

    color: #475569;

    transition: color var(--transition);
}

.navigation-link::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: -1px;

    height: 2px;

    background: var(--blue-600);

    transform: scaleX(0);
    transform-origin: right center;

    transition:
        transform 350ms var(--ease);
}

.navigation-link:hover,
.navigation-link.is-active {
    color: var(--navy-900);
}

.navigation-link:hover::after,
.navigation-link.is-active::after {
    transform: scaleX(1);
    transform-origin: left center;
}


/* ==========================================================
   ACTIONS
========================================================== */

.header-actions {
    display: flex;
    align-items: center;

    gap: 12px;
}

.header-cta {
    min-height: 44px;

    padding: 0 18px;

    display: inline-flex;
    align-items: center;
    gap: 10px;

    color: white;
    background: var(--navy-900);

    border-radius: 7px;

    font-size: .82rem;
    font-weight: 600;

    transition:
        background var(--transition),
        transform var(--transition);
}

.header-cta svg {
    width: 17px;
    height: 17px;

    transition:
        transform var(--transition);
}

.header-cta:hover {
    background: var(--blue-600);
    transform: translateY(-1px);
}

.header-cta:hover svg {
    transform: translateX(3px);
}


/* ==========================================================
   MENU TOGGLE
========================================================== */

.menu-toggle {
    display: none;

    width: 46px;
    height: 46px;

    padding: 0;

    border: 1px solid var(--border);
    border-radius: 7px;

    background: transparent;

    align-items: center;
    justify-content: center;
    flex-direction: column;

    gap: 5px;
}

.menu-toggle span {
    display: block;

    width: 20px;
    height: 1.5px;

    background: var(--navy-900);

    transition:
        transform var(--transition),
        opacity var(--transition);
}

.menu-toggle.is-active span:nth-child(1) {
    transform:
        translateY(6.5px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
    transform:
        translateY(-6.5px) rotate(-45deg);
}


/* ==========================================================
   MOBILE NAV
========================================================== */

.mobile-navigation {
    display: none;

    position: fixed;

    inset:
        var(--mobile-header-height, 86px) 0 0 0;

    z-index: 999;

    overflow-y: auto;

    color: white;
    background: var(--navy-900);

    opacity: 0;
    visibility: hidden;

    transform: translateY(-15px);

    transition:
        opacity 350ms var(--ease),
        visibility 350ms,
        transform 350ms var(--ease);
}

.mobile-navigation.is-open {
    opacity: 1;
    visibility: visible;

    transform: none;
}

.mobile-navigation-inner {
    min-height: 100%;

    padding:
        clamp(40px, 8vh, 80px) var(--gutter) 35px;

    display: flex;
    flex-direction: column;
}

.mobile-navigation-list {
    list-style: none;
}

.mobile-navigation-list li {
    border-bottom:
        1px solid rgba(255, 255, 255, .1);
}

.mobile-navigation-list a {
    display: flex;
    align-items: center;

    gap: 20px;

    padding: 19px 0;

    font-family: var(--font-display);
    font-size: clamp(1.6rem, 7vw, 2.4rem);

    color: white;
}

.mobile-navigation-list a span {
    width: 24px;

    font-family: var(--font-body);
    font-size: .65rem;
    font-weight: 600;

    color: #64748b;
}

.mobile-navigation-footer {
    margin-top: auto;
    padding-top: 50px;
}

.mobile-navigation-footer p {
    max-width: 430px;

    margin-bottom: 25px;

    color: #94a3b8;

    font-size: .83rem;
}

.mobile-booking-button {
    width: 100%;

    min-height: 54px;

    padding: 0 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: var(--blue-600);

    border-radius: 7px;

    font-size: .86rem;
    font-weight: 600;
}

.mobile-booking-button svg {
    width: 20px;
}


/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 1050px) {

    .desktop-navigation {
        display: none;
    }

    .header-actions {
        margin-left: auto;
    }

    .menu-toggle {
        display: flex;
    }

    .mobile-navigation {
        display: block;
    }

}


@media (max-width: 640px) {

    .header-topbar {
        display: none;
    }

    .header-inner {
        min-height: 74px;
    }

    .brand-logo {
        height: 45px;
        max-width: 160px;
    }

    .header-cta {
        display: none;
    }

    .mobile-navigation {
        inset:
            var(--mobile-header-height, 74px) 0 0 0;
    }

}