/* Layout: header with navigation, footer, page hero of the subpages */

/* Reserve the header height before layout.js renders it (no jump) */
[data-layout-header] {
    display: block;
    height: var(--header-height);
    background: #000000;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #000000;   /* the logo is a jpg on pure black */
    color: var(--on-dark);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: var(--header-height);
}

.brand img {
    width: auto;
    height: 54px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.site-nav ul {
    display: flex;
    gap: 26px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav ul a {
    position: relative;
    padding: 6px 0;
    color: var(--on-dark);
    text-decoration: none;
    letter-spacing: 0.02em;
}

.site-nav ul a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--accent-bright);
    transform: scaleX(0);
    transition: transform 0.2s;
}

.site-nav ul a:hover::after,
.site-nav ul a[aria-current="page"]::after {
    transform: scaleX(1);
}

/* The booking button in the header: an orange outline, filled only on hover (not too loud) */
.site-nav .button {
    min-height: 44px;
    padding: 0.55em 1.2em;
    border-color: var(--accent-bright);
    background: transparent;
    color: var(--on-dark);
    white-space: nowrap;
}

.site-nav .button .icon {
    color: var(--accent-bright);
}

.site-nav .button:hover,
.site-nav .button[aria-current="page"] {
    background: var(--accent);
    border-color: var(--accent);
    color: #ffffff;
}

.site-nav .button:hover .icon,
.site-nav .button[aria-current="page"] .icon {
    color: #ffffff;
}

.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-right: -8px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--on-dark);
    font-size: 1.5rem;
    cursor: pointer;
}

.menu-close {
    display: none;
}

@media (max-width: 900px) {
    :root {
        --header-height: 64px;
    }

    .brand img {
        height: 46px;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .site-header.is-open .menu-open {
        display: none;
    }

    .site-header.is-open .menu-close {
        display: inline;
    }

    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 8px var(--gutter) 24px;
        background: #000000;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .site-header.is-open .site-nav {
        display: flex;
    }

    .site-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .site-nav ul a {
        display: block;
        padding: 14px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        font-size: 1.15rem;
    }

    .site-nav ul a::after {
        display: none;
    }

    .site-nav ul a[aria-current="page"] {
        color: var(--accent-bright);
    }

    .site-nav .button {
        min-height: 50px;
        margin-top: 8px;
    }
}

@media (max-width: 380px) {
    .brand img {
        height: 40px;
    }
}

/* Page hero: one full-width image at the top of a subpage */

.page-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    height: 60vh;
    min-height: 420px;
    padding: 48px 0;
    background: var(--dark);
    color: #ffffff;
    overflow: hidden;
}

.page-hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.25) 45%, rgba(0, 0, 0, 0) 70%),
        linear-gradient(0deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0) 40%);
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    margin-bottom: 0.2em;
}

.page-hero p {
    max-width: 620px;
    margin: 0;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.88);
}

/* Footer */

.site-footer {
    background: #000000;
    color: var(--on-dark-muted);
    font-size: 0.98rem;
}

.site-footer a {
    color: var(--on-dark);
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--accent-bright);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-top: 64px;
    padding-bottom: 48px;
}

.footer-brand img {
    width: 100%;
    max-width: 280px;
    margin-bottom: 18px;
}

.footer-title {
    margin-bottom: 1em;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-bright);
}

.footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links li + li {
    margin-top: 0.45em;
}

.footer-rating {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
}

.footer-rating strong {
    font-size: 1.4rem;
    font-weight: 500;
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 24px;
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: 0.9rem;
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 520px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}
