/* Home navigation — Trello 1.2, menu and top bar (2026-12-03).
   Keep these rules scoped to the home page and the top bar unchanged. */

.page-home .header__inner {
    gap: 24px;
}

.page-home .main-nav {
    gap: 20px;
}

.page-home .main-nav > .btn {
    flex-shrink: 0;
    white-space: nowrap;
}

.page-home .main-nav__webcam {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.page-home .main-nav__dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: #2f8755;
    box-shadow: 0 0 0 3px rgba(47, 135, 85, 0.1);
}

/* The longer navigation switches as a whole; no partially mobile header. */
@media (max-width: 1140px) {
    .page-home .site-header,
    .page-home .site-header.is-scrolled {
        background: rgba(252, 251, 248, 0.985);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .page-home .header__inner {
        gap: 11px;
    }

    .page-home .brand {
        margin-right: auto;
    }

    .page-home .nav-toggle {
        display: flex;
        width: 44px;
        height: 44px;
        flex: 0 0 44px;
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.74);
    }

    .page-home .header-booking-quick {
        display: inline-flex;
        min-height: 40px;
        align-items: center;
        justify-content: center;
        gap: 7px;
        padding: 8px 13px;
        border: 1px solid rgba(44, 75, 57, 0.16);
        border-radius: 999px;
        color: var(--white);
        background: linear-gradient(135deg, #335642, #233e2f);
        box-shadow: 0 9px 22px rgba(34, 64, 47, 0.15);
        font-size: 11.5px;
        font-weight: 800;
        line-height: 1;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .page-home .header-booking-quick:hover,
    .page-home .header-booking-quick:focus-visible {
        background: linear-gradient(135deg, #294a37, #172d21);
    }

    .page-home .header-booking-quick svg {
        width: 16px;
        height: 16px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.75;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .page-home .main-nav {
        position: fixed;
        z-index: 105;
        top: var(--mobile-nav-top, calc(32px + var(--header-height)));
        right: 0;
        bottom: 0;
        width: min(410px, 100vw);
        max-height: calc(100dvh - var(--mobile-nav-top, 102px));
        display: flex;
        align-items: stretch;
        flex-direction: column;
        gap: 0;
        padding: 22px 24px 30px;
        overflow-y: auto;
        overscroll-behavior: contain;
        border-left: 1px solid var(--border);
        background:
            radial-gradient(circle at 100% 0%, rgba(188, 145, 83, 0.09), transparent 30%),
            rgba(252, 251, 248, 0.995);
        box-shadow: -22px 34px 70px rgba(25, 45, 33, 0.2);
        clip-path: inset(0 0 0 100%);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: clip-path 260ms ease, opacity 180ms ease, visibility 0s linear 260ms;
    }

    .page-home .main-nav.is-open {
        clip-path: inset(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transition-delay: 0s;
    }

    .page-home .main-nav > a:not(.btn) {
        padding: 15px 3px;
        border-bottom: 1px solid var(--border);
        font-family: var(--font-display);
        font-size: 20px;
        font-weight: 400;
        line-height: 1.4;
        white-space: normal;
    }

    .page-home .main-nav > .btn {
        margin-top: 20px;
        white-space: normal;
    }

    .page-home .main-nav__contact {
        display: flex;
        flex-direction: column;
        gap: 5px;
        margin-top: 24px;
        padding-top: 21px;
        border-top: 1px solid var(--border);
    }

    .page-home .main-nav__contact > span {
        margin-bottom: 4px;
        color: var(--gold-700);
        font-size: 9px;
        font-weight: 800;
        letter-spacing: 0.13em;
        text-transform: uppercase;
    }

    .page-home .main-nav__contact a {
        padding: 2px 0;
        color: var(--muted);
        font-size: 12px;
    }

    .page-home.nav-open::before {
        position: fixed;
        z-index: 90;
        inset: 0;
        content: "";
        background: rgba(14, 27, 19, 0.28);
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);
    }
}

@media (max-width: 500px) {
    .page-home .header__inner {
        gap: 8px;
    }

    .page-home .header-booking-quick {
        min-height: 38px;
        gap: 5px;
        padding: 7px 9px;
        font-size: 10.5px;
    }

    .page-home .header-booking-quick svg {
        width: 15px;
        height: 15px;
    }

    .page-home .nav-toggle {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .page-home .main-nav {
        transition: none;
    }
}
