/* ============================================
   Shared site chrome: header, footer and contextual "next step" links.
   Loaded on every page (including /menu, which doesn't use style.css),
   so everything here is namespaced and sets its own colours and fonts.
   ============================================ */

/* ---------- Header ---------- */
.site-header {
    /* Not sticky: /menu already pins its own tab bar to the top */
    position: relative;
    z-index: 100;
    background: rgba(10, 10, 10, 0.96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(197, 160, 89, 0.18);
    font-family: 'Space Grotesk', 'Poppins', 'Plus Jakarta Sans', sans-serif;
}

.site-header-inner {
    max-width: 80rem;
    margin: 0 auto;
    padding: 16px 6vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-header-logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.site-header-logo img {
    height: 40px;
    width: auto;
    display: block;
    filter: drop-shadow(0 0 12px rgba(197, 160, 89, 0.6));
}

/* Overrides the generic `nav` rule in style.css */
.site-header-nav {
    position: static;
    display: flex;
    align-items: center;
    gap: 26px;
    padding: 0;
    background: none;
}

.site-header-nav a {
    position: relative;
    color: #d1d5db;
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.site-header-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    height: 1px;
    width: 0;
    background: #c5a059;
    transition: width 0.3s ease;
}

.site-header-nav a:hover { color: #fff; }
.site-header-nav a:hover::after { width: 100%; }

.site-header-nav a[aria-current="page"] {
    color: #c5a059;
    font-weight: 700;
}

.site-header-nav a.site-header-cta {
    padding: 10px 18px;
    border: 1px solid #c5a059;
    border-radius: 2px;
    color: #c5a059;
    font-weight: 700;
}

.site-header-nav a.site-header-cta::after { display: none; }

.site-header-nav a.site-header-cta:hover {
    background: #c5a059;
    color: #000;
}

/* Hamburger — hidden on desktop */
.site-header-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
    background: none;
    border: 0;
    cursor: pointer;
}

.site-header-toggle span {
    display: block;
    width: 24px;
    height: 1px;
    background: #fff;
    transition: transform 0.3s ease;
}

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

@media (max-width: 1080px) {
    .site-header-toggle { display: flex; }

    .site-header-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 6vw 24px;
        background: rgba(10, 10, 10, 0.98);
        border-bottom: 1px solid rgba(197, 160, 89, 0.25);
    }

    .site-header.is-open .site-header-nav { display: flex; }

    .site-header-nav a {
        padding: 14px 0;
        font-size: 0.85rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .site-header-nav a::after { display: none; }

    .site-header-nav a.site-header-cta {
        margin-top: 16px;
        text-align: center;
    }
}

/* ---------- Contextual next-step links ---------- */
.page-links {
    width: 100%;
    padding: 64px 6vw;
    background: #0d0d0d;
    border-top: 1px solid #222;
    font-family: 'Space Grotesk', 'Poppins', 'Plus Jakarta Sans', sans-serif;
    text-align: center;
}

.page-links-eyebrow {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: #c5a059;
    margin: 0 0 10px;
}

.page-links-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 400;
    color: #fff;
    margin: 0 0 32px;
}

.page-links-grid {
    max-width: 64rem;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    text-align: left;
}

.page-link-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px;
    background: #161616;
    border: 1px solid rgba(197, 160, 89, 0.2);
    border-radius: 4px;
    color: #b0b0b0;
    text-decoration: none;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.page-link-card:hover {
    border-color: #c5a059;
    transform: translateY(-2px);
}

.page-link-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #c5a059;
}

.page-link-desc {
    font-size: 0.85rem;
    line-height: 1.6;
}

/* Light variant for the cream-coloured menu page */
.page-links--light {
    background: #f3efe8;
    border-top-color: #e5e7eb;
}

.page-links--light .page-links-title { color: #1c1c1c; }

.page-links--light .page-link-card {
    background: #fff;
    border-color: #e7dcc6;
    color: #4b5563;
}

.page-links--light .page-link-card:hover { border-color: #c5a059; }

/* Visit details (hours, phone, location) used on /reservations */
.page-links-hours {
    list-style: none;
    margin: 4px 0 0;
    padding: 0;
    font-size: 0.8rem;
}

.page-links-hours li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.page-links-hours li span:last-child {
    color: #fff;
    white-space: nowrap;
}

.page-link-card a {
    color: #fff;
    text-decoration: none;
}

.page-link-card a:hover { color: #c5a059; }

/* In-copy contextual links (e.g. menu intro, events feature list) */
.inline-link {
    color: #c5a059;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
    transition: color 0.3s ease;
}

.inline-link:hover { color: #b08e49; }

/* ---------- Footer ---------- */
.site-footer {
    background: #0d0d0d;
    color: #6b7280;
    font-family: 'Space Grotesk', 'Poppins', 'Plus Jakarta Sans', sans-serif;
    font-size: 0.75rem;
    padding: 48px 0;
    border-top: 1px solid #222;
}

.site-footer-inner {
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

/* Circular illuminated CH logo — enhanced visibility for the dark monogram */
.site-footer-logo {
    position: relative;
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 9999px;
    background: #161616;
    border: 1px solid rgba(197, 160, 89, 0.4);
    box-shadow: 0 0 25px rgba(197, 160, 89, 0.35);
    overflow: hidden;
    transition: box-shadow 0.5s ease, transform 0.3s ease;
}

.site-footer-logo:hover {
    box-shadow: 0 0 35px rgba(197, 160, 89, 0.6);
    transform: translateY(-2px);
}

/* Brighter radial glow backdrop to illuminate the dark logo */
.site-footer-logo-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(197, 160, 89, 0.45) 0%, transparent 70%);
    pointer-events: none;
}

.site-footer-logo img {
    position: relative;
    z-index: 10;
    width: 48px;
    height: 48px;
    object-fit: contain;
    filter: brightness(1.1) contrast(1.25);
}

/* Center site navigation — overrides the generic `nav` rule in style.css */
.site-footer-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 24px;
    padding: 0;
    background: none;
    font-weight: 300;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 11px;
}

.site-footer-nav a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-footer-nav a:hover {
    color: #c5a059;
}

/* Copyright block */
.site-footer-info {
    text-align: center;
    font-weight: 300;
    letter-spacing: 0.025em;
    color: #4b5563;
}

.site-footer-contact {
    margin-bottom: 6px;
    color: #6b7280;
}

.site-footer-contact a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-footer-contact a:hover { color: #c5a059; }

.site-footer-meta {
    font-size: 10px;
    color: #374151;
    margin-top: 4px;
}

/* Legal links (Privacy Policy / Terms of Use) */
.site-footer-legal {
    margin-top: 6px;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.site-footer-legal a {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-footer-legal a:hover {
    color: #c5a059;
}

.site-footer-legal span {
    color: #374151;
}

@media (min-width: 900px) {
    .site-footer-inner {
        flex-direction: row;
    }

    .site-footer-nav {
        max-width: 26rem;
    }

    .site-footer-info {
        text-align: right;
    }

    .site-footer-legal {
        justify-content: flex-end;
    }
}
