/* =========================================================
   BG PRODUCTION HEADER
========================================================= */

.site-header {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 9999;

    background: transparent;

    transition:
        background-color 0.35s ease,
        box-shadow 0.35s ease,
        transform 0.35s ease;
}


/* =========================================================
   STICKY / SCROLLED HEADER
========================================================= */

.site-header.scrolled {
    position: fixed;

    top: 0;
    left: 0;

    background: #ffffff;

    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.08);
}


/* =========================================================
   HEADER CONTAINER
========================================================= */

.header-container {
    width: min(1280px, 92%);

    min-height: 82px;

    margin: 0 auto;

    display: flex;

    align-items: center;

    gap: 35px;
}


/* =========================================================
   LOGO
========================================================= */

.site-logo {
    display: flex;

    align-items: center;

    flex-shrink: 0;
}

.site-logo img {
    width: 58px;
    height: 58px;

    object-fit: contain;

    transition:
        width 0.35s ease,
        height 0.35s ease;
}


/* Slightly smaller logo after scrolling */

.site-header.scrolled .site-logo img {
    width: 50px;
    height: 50px;
}


/* =========================================================
   DESKTOP NAVIGATION
========================================================= */

.main-navigation {
    margin-left: auto;

    display: flex;

    align-items: center;

    gap: 32px;
}

.nav-link {
    position: relative;

    padding: 8px 0;

    color: #ffffff;

    font-size: 13px;

    font-weight: 600;

    letter-spacing: 0.3px;

    text-shadow:
        0 2px 6px rgba(0, 0, 0, 0.5);

    transition:
        color 0.3s ease;
}


/* Underline */

.nav-link::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 0;
    height: 2px;

    background: #d4af37;

    transition:
        width 0.3s ease;
}


/* Hover */

.nav-link:hover {
    color: #d4af37;
}

.nav-link:hover::after {
    width: 100%;
}


/* =========================================================
   SCROLLED NAVIGATION
========================================================= */

.site-header.scrolled .nav-link {
    color: #222222;

    text-shadow: none;
}

.site-header.scrolled .nav-link:hover {
    color: #b18b1d;
}

.site-header.scrolled .nav-link::after {
    background: #b18b1d;
}


/* =========================================================
   BOOKING BUTTON
========================================================= */

.header-booking {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 110px;

    padding: 11px 22px;

    border: 1px solid #ffffff;

    border-radius: 30px;

    color: #ffffff;

    font-size: 12px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.5px;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}

.header-booking:hover {
    background: #ffffff;

    color: #111111;

    transform: translateY(-2px);
}


/* =========================================================
   SCROLLED BOOKING BUTTON
========================================================= */

.site-header.scrolled .header-booking {
    background: #111111;

    border-color: #111111;

    color: #ffffff;
}

.site-header.scrolled .header-booking:hover {
    background: #d4af37;

    border-color: #d4af37;

    color: #ffffff;
}


/* =========================================================
   MOBILE MENU BUTTON
========================================================= */

.mobile-menu-toggle {
    display: none;

    width: 42px;
    height: 42px;

    padding: 0;

    border: 0;

    background: transparent;

    cursor: pointer;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    gap: 5px;
}

.mobile-menu-toggle span {
    display: block;

    width: 25px;
    height: 2px;

    background: #ffffff;

    transition:
        transform 0.3s ease,
        opacity 0.3s ease,
        background-color 0.3s ease;
}


/* Black hamburger after scroll */

.site-header.scrolled .mobile-menu-toggle span {
    background: #111111;
}


/* =========================================================
   MOBILE NAVIGATION
========================================================= */

.mobile-navigation {
    display: none;

    padding: 15px 5% 25px;

    background: rgba(0, 0, 0, 0.96);
}

.mobile-navigation a {
    display: block;

    padding: 14px 0;

    color: #ffffff;

    font-size: 15px;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.12);
}

.mobile-navigation a:hover {
    color: #d4af37;
}

.mobile-booking {
    margin-top: 18px;

    padding: 12px 20px !important;

    background: #d4af37;

    color: #111111 !important;

    border: 0 !important;

    border-radius: 30px;

    text-align: center;
}
/* =========================================================
   MOBILE MENU ANIMATION
========================================================= */

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 900px) {

    .header-container {
        min-height: 72px;
    }

    .main-navigation,
    .header-booking {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;

        margin-left: auto;
    }

    .mobile-navigation.active {
        display: block;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .header-container {
        width: 90%;
    }

    .site-logo img {
        width: 50px;
        height: 50px;
    }

    .site-header.scrolled .site-logo img {
        width: 45px;
        height: 45px;
    }

}
