/* ==========================================================================
   Petite Europe — site stylesheet
   --------------------------------------------------------------------------
   1.  Fonts (self-hosted, see README for why)
   2.  Design tokens
   3.  Base & reset
   4.  Utilities
   5.  Buttons
   6.  Header, navigation & language switch
   7.  Hero (home page)
   8.  Section header
   9.  About & stats (home page)
   10. Page header (inner pages)
   11. Menu page
   12. Gallery page
   13. Lightbox
   14. Reservations page & map
   15. Legal notice page
   16. Footer
   17. Back-to-top button
   18. Scroll reveal
   19. Responsive adjustments (incl. the mobile menu)
   20. Reduced motion
   ========================================================================== */


/* 1. Fonts
   ========================================================================== */

/* Variable font: one file covers weights 400–700. */
@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('../fonts/playfair-display-latin.woff2') format('woff2');
}

@font-face {
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 400 500;
    font-display: swap;
    src: url('../fonts/cormorant-garamond-latin.woff2') format('woff2');
}

@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/lato-400-latin.woff2') format('woff2');
}

@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/lato-700-latin.woff2') format('woff2');
}


/* 2. Design tokens
   ========================================================================== */

:root {
    /* Brand colours: the petrol blue and gold of the restaurant's sign and awning */
    --color-primary: #1f4b75;
    --color-primary-dark: #163757;
    --color-primary-light: #2e6493;
    --color-gold: #c9a962;
    --color-gold-light: #d4b978;

    /* Text (muted grey meets WCAG AA contrast on white and cream) */
    --color-text-dark: #1a1a1a;
    --color-text: #4a4a4a;
    --color-text-muted: #6b6b6b;
    --color-text-inverse: #ffffff;

    /* Surfaces */
    --color-bg-cream: #faf8f5;
    --color-bg-white: #ffffff;
    --color-bg-dark: #0d0d0d;

    /* Shadows */
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 15px 50px rgba(0, 0, 0, 0.12);
    --shadow-strong: 0 20px 60px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 40px color-mix(in srgb, var(--color-primary) 22%, transparent);

    /* Motion */
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-elegant: cubic-bezier(0.23, 1, 0.32, 1);
    --transition: 0.4s var(--ease-smooth);

    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Lato', 'Helvetica Neue', Arial, sans-serif;
    --font-accent: 'Cormorant Garamond', Georgia, serif;

    /* Layout */
    --header-height: 80px;
    --section-space: clamp(72px, 10vw, 130px);
    --container-width: 1280px;
    --container-gutter: 16px;
    --radius-lg: 24px;
    --radius-md: 16px;
}


/* 3. Base & reset
   ========================================================================== */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    /* Keeps in-page anchors from hiding under the fixed header. */
    scroll-padding-top: var(--header-height);
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-bg-cream);
    overflow-x: hidden;
}

/* Set by JavaScript while the mobile menu or lightbox is open. */
body.is-scroll-locked {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition), background-color var(--transition), transform var(--transition);
}

button,
select {
    font: inherit;
}

ul[role='list'],
ol[role='list'] {
    list-style: none;
}

:focus-visible {
    outline: 3px solid var(--color-gold);
    outline-offset: 3px;
}


/* 4. Utilities
   ========================================================================== */

.container {
    width: min(100% - 2 * var(--container-gutter), var(--container-width));
    margin-inline: auto;
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Lets keyboard users jump past the navigation straight to the content. */
.skip-link {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2000;
    padding: 10px 18px;
    background: var(--color-primary);
    color: var(--color-text-inverse);
    border-radius: 8px;
    transform: translateY(-200%);
}

.skip-link:focus {
    transform: none;
}


/* 5. Buttons
   ========================================================================== */

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 40px;
    border: 2px solid transparent;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    overflow: hidden;
    transition: background-color 0.6s var(--ease-elegant), border-color 0.6s var(--ease-elegant),
        transform 0.6s var(--ease-elegant), box-shadow 0.6s var(--ease-elegant);
}

/* Light sweep on hover. */
.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.btn:hover::before {
    transform: translateX(100%);
}

.btn-primary {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-text-inverse);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.btn-outline {
    background: transparent;
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: var(--color-text-inverse);
    transform: translateY(-3px);
}

/* On the dark hero the outline button switches to white text and a gold border. */
.hero .btn-outline {
    border-color: var(--color-gold);
    color: var(--color-text-inverse);
}

.hero .btn-outline:hover {
    background: var(--color-gold);
    color: var(--color-bg-dark);
}


/* 6. Header, navigation & language switch
   ========================================================================== */

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 999;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: box-shadow var(--transition), border-color var(--transition);
}

/* Frosted background on a pseudo-element: a backdrop-filter on the header
   itself would trap the fixed-position mobile menu inside the header box. */
.site-header::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    backdrop-filter: saturate(160%) blur(14px);
    transition: opacity var(--transition);
}

.site-header.is-scrolled {
    box-shadow: var(--shadow-soft);
}

.site-header .container {
    display: flex;
    align-items: center;
    gap: 40px;
    height: var(--header-height);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-right: auto;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-primary);
    white-space: nowrap;
}

.logo:hover {
    color: var(--color-primary-dark);
}

.logo i {
    font-size: 1.6rem;
    color: var(--color-gold);
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-link {
    position: relative;
    display: block;
    padding: 8px 0;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-text-dark);
}

/* Fine gold line that grows from the centre on hover and marks the current page. */
.nav-link::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    background: var(--color-gold);
    transform: scaleX(0);
    transition: transform 0.5s var(--ease-elegant);
}

.nav-link:hover,
.nav-link[aria-current='page'] {
    color: var(--color-primary);
}

.nav-link:hover::after,
.nav-link[aria-current='page']::after {
    transform: scaleX(1);
}

/* Numbers and the extra panel content only appear in the mobile menu. */
.nav-link-index,
.nav-panel-footer {
    display: none;
}

/* "Reserve" call button at the right end of the header. */
.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
    border-radius: 50px;
}

.header-cta:hover,
.header-cta[aria-current='page'] {
    color: var(--color-text-inverse);
    background: var(--color-primary);
}

/* Hamburger button — only shown on small screens. Two bars that turn into an X. */
.nav-toggle {
    position: relative;
    display: none;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 7px;
    width: 44px;
    height: 44px;
    padding: 0 8px;
    background: none;
    border: 0;
    cursor: pointer;
}

.nav-toggle-bar {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--color-text-dark);
    border-radius: 2px;
    transition: transform 0.5s var(--ease-elegant), width 0.5s var(--ease-elegant), background-color var(--transition);
}

.nav-toggle-bar:nth-child(2) {
    width: 18px;
}

.nav-toggle[aria-expanded='true'] .nav-toggle-bar {
    width: 26px;
    background: var(--color-text-inverse);
}

.nav-toggle[aria-expanded='true'] .nav-toggle-bar:nth-child(1) {
    transform: translateY(4.5px) rotate(45deg);
}

.nav-toggle[aria-expanded='true'] .nav-toggle-bar:nth-child(2) {
    transform: translateY(-4.5px) rotate(-45deg);
}

/* Language switch (footer and mobile menu, both on dark backgrounds). */
.language-switch {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 4px 4px 4px 14px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50px;
}

.language-switch > i {
    margin-right: 6px;
    font-size: 0.85rem;
    color: var(--color-gold);
}

.language-option {
    display: inline-block;
    padding: 6px 14px;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.72);
    background: none;
    border: 0;
    border-radius: 50px;
    cursor: pointer;
    transition: color var(--transition), background-color var(--transition);
}

.language-option:hover {
    color: var(--color-text-inverse);
}

.language-option[aria-current='true'] {
    font-weight: 700;
    color: var(--color-bg-dark);
    background: var(--color-gold);
}


/* 7. Hero (home page)
   ========================================================================== */

.hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Grows with its content instead of clipping it on short or narrow screens. */
    min-height: 100vh;
    min-height: 100svh;
    padding: calc(var(--header-height) + 48px) 0 110px;
    overflow: hidden;
    color: var(--color-text-inverse);
    text-align: center;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(13, 13, 13, 0.82) 0%, rgba(13, 13, 13, 0.68) 50%, rgba(13, 13, 13, 0.88) 100%);
}

.hero-particles {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: rgba(201, 169, 98, 0.35);
    border-radius: 50%;
    animation: float 20s linear infinite;
}

.hero-content {
    max-width: 1000px;
}

.hero-subtitle {
    display: block;
    margin-bottom: 12px;
    font-family: var(--font-accent);
    font-size: clamp(1.2rem, 1rem + 1vw, 1.8rem);
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-gold);
    animation: fade-in-up 1s ease-out 0.2s both;
}

.hero-title {
    margin-bottom: 24px;
    font-family: var(--font-heading);
    font-size: clamp(2.25rem, 8vw + 0.5rem, 5.5rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 1px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    animation: fade-in-up 1s ease-out 0.35s both;
}

.hero-description {
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.35rem);
    line-height: 1.8;
    opacity: 0.95;
    animation: fade-in-up 1s ease-out 0.5s both;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 56px;
    animation: fade-in-up 1s ease-out 0.65s both;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px 50px;
    animation: fade-in-up 1s ease-out 0.8s both;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 18px;
    text-align: left;
}

.feature-icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    font-size: 1.6rem;
    color: var(--color-gold);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(201, 169, 98, 0.3);
    border-radius: 50%;
    transition: background-color var(--transition), color var(--transition), transform var(--transition);
}

.feature-item:hover .feature-icon {
    background: var(--color-gold);
    color: var(--color-bg-dark);
    transform: scale(1.1);
}

.feature-title {
    margin-bottom: 2px;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    line-height: 1.3;
}

.feature-text {
    font-size: 0.9rem;
    opacity: 0.8;
}

.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    animation: bounce 2s infinite;
}

.scroll-indicator:hover {
    color: var(--color-gold);
}

.mouse {
    position: relative;
    width: 28px;
    height: 45px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 25px;
}

.wheel {
    position: absolute;
    top: 10px;
    left: 50%;
    width: 4px;
    height: 10px;
    background: var(--color-gold);
    border-radius: 2px;
    animation: scroll-wheel 1.5s infinite;
}


/* 8. Section header
   ========================================================================== */

.section-header {
    margin-bottom: clamp(40px, 6vw, 70px);
    text-align: center;
}

.section-tag {
    display: block;
    margin-bottom: 12px;
    font-family: var(--font-accent);
    font-size: 1.4rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-primary);
}

.section-title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px 20px;
    margin-bottom: 25px;
    font-family: var(--font-heading);
    font-size: clamp(2rem, 1.4rem + 2.6vw, 3.2rem);
    line-height: 1.2;
    color: var(--color-text-dark);
}

.section-title i {
    color: var(--color-gold);
}

/* Gradient line with a gold dot on each side. */
.section-divider {
    position: relative;
    width: 100px;
    height: 3px;
    margin: 0 auto 25px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-gold), var(--color-primary));
    border-radius: 2px;
}

.section-divider::before,
.section-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 8px;
    height: 8px;
    background: var(--color-gold);
    border-radius: 50%;
    transform: translateY(-50%);
}

.section-divider::before {
    left: -25px;
}

.section-divider::after {
    right: -25px;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--color-text-muted);
}


/* 9. About & stats (home page)
   ========================================================================== */

.about {
    padding: var(--section-space) 0;
    background: var(--color-bg-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: clamp(48px, 7vw, 100px);
}

.about-text p {
    margin-bottom: 24px;
    font-size: 1.1rem;
    line-height: 1.9;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 28px 16px;
    text-align: center;
    background: linear-gradient(145deg, var(--color-bg-cream) 0%, var(--color-bg-white) 100%);
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 20px;
    transition: transform var(--transition), box-shadow var(--transition);
}

.stat-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}

.stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    margin-bottom: 14px;
    font-size: 1.4rem;
    color: var(--color-text-inverse);
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    border-radius: 15px;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--color-text-dark);
}

.stat-suffix {
    font-size: 1.5rem;
    color: var(--color-gold);
}

.stat-label {
    margin-top: 6px;
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.about-image {
    position: relative;
    isolation: isolate;
}

.about-image-frame {
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-strong);
}

.about-image-frame img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    transition: transform 0.6s var(--ease-elegant);
}

.about-image-frame:hover img {
    transform: scale(1.06);
}

/* Decorative tinted square peeking out behind the photo. */
.about-image-accent {
    position: absolute;
    top: -25px;
    right: -25px;
    z-index: -1;
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    border-radius: var(--radius-lg);
    opacity: 0.15;
}


/* 10. Page header (inner pages)
   ========================================================================== */

.page-header {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: clamp(340px, 55vh, 520px);
    padding: calc(var(--header-height) + 40px) var(--container-gutter) 60px;
    text-align: center;
    color: var(--color-text-inverse);
    background-color: var(--color-bg-dark);
    background-position: center;
    background-size: cover;
}

/* Small images for phones, large ones from tablet width up. */
.page-header--menu {
    background-image: url('../images/dishes/pizza-selection-sm.webp');
}

.page-header--gallery {
    background-image: url('../images/dishes/seafood-grill-plates-sm.webp');
}

.page-header--reservations {
    background-image: url('../images/restaurant/storefront-at-night-sm.webp');
}

@media (min-width: 641px) {
    .page-header--menu {
        background-image: url('../images/dishes/pizza-selection-lg.webp');
    }

    .page-header--gallery {
        background-image: url('../images/dishes/seafood-grill-plates-lg.webp');
    }

    .page-header--reservations {
        background-image: url('../images/restaurant/storefront-at-night-lg.webp');
    }
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(135deg, rgba(13, 13, 13, 0.85) 0%, rgba(26, 26, 26, 0.75) 100%);
}

.page-header h1 {
    margin-bottom: 14px;
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 1.5rem + 4vw, 4.5rem);
    line-height: 1.15;
    text-shadow: 0 4px 25px rgba(0, 0, 0, 0.3);
}

.page-header p {
    font-size: clamp(1.05rem, 1rem + 0.4vw, 1.35rem);
    opacity: 0.9;
}


/* 11. Menu page
   ========================================================================== */

.menu-section {
    padding: var(--section-space) 0;
    background: linear-gradient(180deg, var(--color-bg-cream) 0%, var(--color-bg-white) 100%);
}

.menu-download {
    margin-top: 28px;
}

/* Small grey file size next to a button label, e.g. "Menu as PDF 124 KB". */
.btn-meta {
    font-size: 0.8rem;
    font-weight: 400;
    opacity: 0.7;
}

/* Category tabs: wrap on wide screens, scroll sideways on phones. */
.menu-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
}

.menu-tab {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    font-weight: 700;
    color: var(--color-text);
    background: var(--color-bg-white);
    border: 1px solid color-mix(in srgb, var(--color-primary) 15%, transparent);
    border-radius: 50px;
    cursor: pointer;
    transition: border-color var(--transition), color var(--transition), background-color var(--transition);
}

.menu-tab:hover {
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.menu-tab[aria-selected='true'] {
    color: var(--color-text-inverse);
    background: var(--color-primary);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-glow);
}

.menu-tab[aria-selected='true'] i {
    color: var(--color-gold-light);
}

.menu-panel {
    animation: fade-in 0.5s ease;
}

.menu-panel[hidden] {
    display: none;
}

/* Photo cards of a few dishes from the category. */
.menu-highlights {
    display: grid;
    /* min() stops cards overflowing on phones narrower than the minimum. */
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
    gap: 24px;
    margin-bottom: 56px;
}

.menu-card {
    position: relative;
    overflow: hidden;
    background: var(--color-bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    transition: transform 0.6s var(--ease-elegant), box-shadow 0.6s var(--ease-elegant);
}

.menu-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-medium);
}

.menu-card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 1;
    padding: 5px 14px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--color-bg-dark);
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
    border-radius: 25px;
}

.menu-card-image {
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.menu-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-elegant);
}

.menu-card:hover .menu-card-image img {
    transform: scale(1.06);
}

.menu-card-body {
    padding: 18px 20px 22px;
}

.menu-card-title {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 4px;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    line-height: 1.3;
    color: var(--color-text-dark);
}

.menu-card-description {
    font-size: 0.92rem;
    color: var(--color-text-muted);
}

/* The price list: one column on phones, two from tablet width. */
.menu-groups {
    columns: 2 380px;
    column-gap: 64px;
}

.menu-group {
    break-inside: avoid;
    margin-bottom: 48px;
}

.menu-group-title {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 12px;
    padding-bottom: 12px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--color-gold);
}

.menu-group-name {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-primary);
}

.menu-group-translation {
    font-family: var(--font-accent);
    font-size: 1.2rem;
    font-style: italic;
    font-weight: 500;
    color: var(--color-text-muted);
}

.menu-group-note {
    margin: 12px 0 4px;
    font-size: 0.9rem;
    font-style: italic;
    color: var(--color-text-muted);
}

.menu-item {
    padding: 14px 0;
    border-bottom: 1px dashed color-mix(in srgb, var(--color-text-dark) 12%, transparent);
}

.menu-item:last-child {
    border-bottom: 0;
}

.menu-item-head {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

/* The number guests use to order, as on the printed menu. */
.menu-item-number {
    min-width: 2.2em;
    font-size: 0.8rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--color-gold);
}

.menu-item-name {
    flex: 1;
    font-family: var(--font-heading);
    font-size: 1.08rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--color-text-dark);
}

.menu-price {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    color: var(--color-primary);
}

.menu-item-description {
    /* Lines up with the dish name: number width (2.2em at 0.8rem) plus the gap. */
    padding-left: calc(1.76rem + 12px);
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--color-text-muted);
}

/* Open wines: one row per wine, one column per glass or carafe size. */
.menu-table-wrap {
    overflow-x: auto;
}

.menu-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.menu-table th,
.menu-table td {
    padding: 12px 0;
    text-align: right;
    border-bottom: 1px dashed color-mix(in srgb, var(--color-text-dark) 12%, transparent);
}

.menu-table tr > :not(:first-child) {
    padding-left: 12px;
}

.menu-table thead th {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.menu-table th:first-child {
    text-align: left;
}

.menu-table tbody th {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-text-dark);
}

.menu-table-type {
    display: block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--color-gold);
}

/* Allergen legend, collapsed by default. */
.menu-allergens {
    max-width: 880px;
    margin: 16px auto 0;
    background: var(--color-bg-white);
    border: 1px solid color-mix(in srgb, var(--color-primary) 15%, transparent);
    border-radius: var(--radius-md);
}

.menu-allergens summary {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 24px;
    font-weight: 700;
    color: var(--color-primary);
    cursor: pointer;
    list-style: none;
}

.menu-allergens summary::-webkit-details-marker {
    display: none;
}

/* Chevron that turns when the panel opens. */
.menu-allergens summary::after {
    content: '';
    width: 9px;
    height: 9px;
    margin-left: auto;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform var(--transition);
}

.menu-allergens[open] summary::after {
    transform: rotate(-135deg);
}

.menu-allergens-body {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 8px 48px;
    padding: 0 24px 24px;
}

.menu-allergens-body > p {
    grid-column: 1 / -1;
    color: var(--color-text-muted);
}

.menu-allergens-body h3 {
    margin: 12px 0 8px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--color-text-dark);
}

.menu-allergen-list li {
    display: flex;
    gap: 12px;
    padding: 4px 0;
    font-size: 0.92rem;
}

.menu-allergen-code {
    min-width: 1.5em;
    font-weight: 700;
    color: var(--color-gold);
}


/* 12. Gallery page
   ========================================================================== */

.gallery {
    padding: var(--section-space) 0;
    background: var(--color-bg-white);
}

.gallery-jump {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 56px;
}

.gallery-jump a {
    padding: 10px 22px;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--color-text);
    background: var(--color-bg-white);
    border: 2px solid color-mix(in srgb, var(--color-primary) 15%, transparent);
    border-radius: 50px;
}

.gallery-jump a:hover {
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.gallery-group + .gallery-group {
    margin-top: 72px;
}

.gallery-group-title {
    margin-bottom: 24px;
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 1.2rem + 1vw, 1.8rem);
    text-align: center;
    color: var(--color-text-dark);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
    gap: 20px;
}

.gallery-link {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    border-radius: 20px;
}

.gallery-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-elegant);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--color-text-inverse);
    background: linear-gradient(135deg, color-mix(in srgb, var(--color-primary) 85%, transparent), color-mix(in srgb, var(--color-primary-light) 80%, transparent));
    opacity: 0;
    transition: opacity var(--transition);
}

.gallery-overlay i {
    transform: scale(0);
    transition: transform var(--transition) 0.1s;
}

.gallery-link:hover img,
.gallery-link:focus-visible img {
    transform: scale(1.1);
}

.gallery-link:hover .gallery-overlay,
.gallery-link:focus-visible .gallery-overlay {
    opacity: 1;
}

.gallery-link:hover .gallery-overlay i,
.gallery-link:focus-visible .gallery-overlay i {
    transform: scale(1);
}


/* 13. Lightbox (native <dialog>, used by the gallery page)
   ========================================================================== */

.lightbox {
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    margin: 0;
    padding: 0;
    color: var(--color-text-inverse);
    background: rgba(0, 0, 0, 0.94);
    border: 0;
}

.lightbox[open] {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox::backdrop {
    background: rgba(0, 0, 0, 0.6);
}

.lightbox-figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    max-width: min(100% - 160px, 1100px);
}

.lightbox-image {
    max-width: 100%;
    max-height: calc(100vh - 140px);
    max-height: calc(100dvh - 140px);
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-caption {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 0.95rem;
    text-align: center;
    opacity: 0.85;
}

.lightbox-counter {
    font-variant-numeric: tabular-nums;
    opacity: 0.6;
}

.lightbox-button {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    font-size: 1.4rem;
    color: var(--color-text-inverse);
    background: rgba(255, 255, 255, 0.1);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color var(--transition), transform var(--transition);
}

.lightbox-button:hover {
    background: var(--color-primary);
}

.lightbox-close {
    top: 24px;
    right: 24px;
}

.lightbox-close:hover {
    transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-prev {
    left: 24px;
}

.lightbox-next {
    right: 24px;
}


/* 14. Reservations page & map
   ========================================================================== */

.reserve {
    padding: var(--section-space) 0;
    background: var(--color-bg-white);
}

/* Three ways to reserve; the phone card is highlighted as the quickest. */
.reserve-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 24px;
    max-width: 1040px;
    margin: 0 auto;
}

.reserve-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 40px 28px 32px;
    text-align: center;
    background: var(--color-bg-cream);
    border: 1px solid color-mix(in srgb, var(--color-primary) 10%, transparent);
    border-radius: var(--radius-lg);
}

.reserve-option h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--color-text-dark);
}

.reserve-option p {
    flex: 1;
    color: var(--color-text-muted);
}

.reserve-option .btn {
    width: 100%;
    margin-top: 8px;
    padding-inline: 20px;
    /* Long labels like the email address may wrap instead of overflowing. */
    overflow-wrap: anywhere;
}

.reserve-option-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 4px;
    font-size: 1.5rem;
    color: var(--color-primary);
    background: var(--color-bg-white);
    border-radius: 50%;
    box-shadow: var(--shadow-soft);
}

.reserve-option--featured {
    color: var(--color-text-inverse);
    background: radial-gradient(120% 90% at 100% 0%, var(--color-primary-light) 0%, var(--color-primary-dark) 70%);
    border-color: transparent;
    box-shadow: var(--shadow-medium);
}

.reserve-option--featured h3 {
    color: var(--color-text-inverse);
}

.reserve-option--featured p {
    color: rgba(255, 255, 255, 0.8);
}

.reserve-option--featured .reserve-option-icon {
    color: var(--color-bg-dark);
    background: var(--color-gold);
}

/* On the blue card the primary button turns gold so it stands out. */
.reserve-option--featured .btn-primary {
    color: var(--color-bg-dark);
    background: var(--color-gold);
    border-color: var(--color-gold);
}

.reserve-option--featured .btn-primary:hover {
    background: var(--color-gold-light);
    border-color: var(--color-gold-light);
}

/* "Visit us": address, hours and social links next to the map. */
.visit {
    padding: 0 0 var(--section-space);
    background: var(--color-bg-white);
}

.visit-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    gap: 56px;
    align-items: stretch;
}

.visit-title {
    margin: 4px 0 32px;
    font-family: var(--font-heading);
    font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.6rem);
    line-height: 1.2;
    color: var(--color-text-dark);
}

.visit-block {
    padding: 22px 0;
    border-top: 1px solid color-mix(in srgb, var(--color-text-dark) 10%, transparent);
}

.visit-block h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-primary);
}

.visit-block h3 i {
    width: 1.2em;
    color: var(--color-gold);
}

.visit-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    font-weight: 700;
    color: var(--color-primary);
}

.visit-link i {
    font-size: 0.8em;
    transition: transform var(--transition);
}

.visit-link:hover i {
    transform: translateX(4px);
}

/* Day on one line, the time (or "Closed") underneath, as in the footer. */
.visit-hours li {
    display: flex;
    flex-direction: column;
}

.visit-hours li + li {
    margin-top: 10px;
}

.visit-hours li span + span {
    font-weight: 700;
    color: var(--color-text-dark);
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    font-size: 1.3rem;
    color: var(--color-text-inverse);
    border-radius: 15px;
}

.social-link:hover {
    transform: translateY(-5px);
}

.social-link--facebook {
    background: #1877f2;
}

.social-link--whatsapp {
    background: #128c4b;
}

/* Two-click map: Google Maps is only contacted after the visitor agrees (GDPR). */
.map-section {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 440px;
    overflow: hidden;
    background: var(--color-bg-cream);
    border-radius: var(--radius-lg);
}

.map-section iframe {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.map-consent {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    gap: 18px;
    padding: 32px var(--container-gutter);
    text-align: center;
}

.map-consent > i {
    font-size: 2.6rem;
    color: var(--color-gold);
}

.map-consent p {
    max-width: 520px;
    color: var(--color-text-muted);
}

.map-consent-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}


/* 15. Legal notice page
   ========================================================================== */

/* Plain brand-coloured banner instead of a photo. */
.page-header--legal {
    min-height: clamp(260px, 38vh, 360px);
    background: radial-gradient(120% 90% at 100% 0%, var(--color-primary-light) 0%, var(--color-primary-dark) 65%);
}

.page-header--legal::before {
    display: none;
}

.legal {
    padding: var(--section-space) 0;
    background: var(--color-bg-white);
}

.legal-content {
    display: grid;
    gap: 36px;
    max-width: 760px;
}

.legal-block h2 {
    margin-bottom: 10px;
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--color-primary);
}

.legal-block address {
    font-style: normal;
}

.legal-block a {
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}


/* Not-found page (static/404.html): the legal banner, filling the screen. */
.page-header--not-found {
    min-height: 100svh;
    padding-top: 60px;
}

.page-header .not-found-code {
    margin-bottom: 8px;
    font-family: var(--font-heading);
    font-size: clamp(5rem, 3rem + 10vw, 9rem);
    line-height: 1;
    color: var(--color-gold);
}

.not-found-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 32px;
}

/* Gold and white buttons, so neither disappears into the blue background. */
.page-header--not-found .btn-primary {
    color: var(--color-bg-dark);
    background: var(--color-gold);
    border-color: var(--color-gold);
}

.page-header--not-found .btn-outline {
    color: var(--color-text-inverse);
    border-color: var(--color-gold);
}

.page-header--not-found .btn-outline:hover {
    color: var(--color-bg-dark);
    background: var(--color-gold);
}


/* 16. Footer
   ========================================================================== */

.site-footer {
    padding: 90px 0 25px;
    color: var(--color-text-inverse);
    background: var(--color-bg-dark);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr 1.4fr;
    gap: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--color-gold);
}

.footer-description {
    margin-bottom: 28px;
    font-size: 1.05rem;
    line-height: 1.85;
    opacity: 0.8;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 14px;
}

.footer-social a:hover {
    background: var(--color-primary);
    transform: translateY(-5px);
}

.footer-heading {
    margin-bottom: 24px;
    font-family: var(--font-heading);
    font-size: 1.35rem;
}

.footer-list li {
    margin-bottom: 12px;
    opacity: 0.8;
}

.footer-list a:hover {
    color: var(--color-gold);
}

/* Day on one line, the time (or "Closed") right underneath. */
.footer-hours li {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.footer-hours li span + span {
    color: var(--color-gold-light);
}

.footer-contact i {
    width: 1.2em;
    margin-right: 10px;
    color: var(--color-gold);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 32px;
    margin-top: 56px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-copyright {
    font-size: 0.9rem;
    opacity: 0.6;
}



/* 17. Back-to-top button
   ========================================================================== */

.back-to-top {
    position: fixed;
    right: 32px;
    bottom: 32px;
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    color: var(--color-text-inverse);
    background: var(--color-primary);
    border: 0;
    border-radius: 50%;
    box-shadow: var(--shadow-medium);
    cursor: pointer;
    opacity: 0;
    /* visibility (not just opacity) keeps the hidden button out of the tab order. */
    visibility: hidden;
    transform: translateY(30px);
    transition: opacity var(--transition), visibility var(--transition), transform var(--transition),
        background-color var(--transition);
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.back-to-top:hover {
    background: var(--color-primary-dark);
    transform: translateY(-5px);
}


/* 18. Scroll reveal
   Only hidden when JavaScript runs (the `js` class is set in <head>),
   so the content stays visible if scripts fail to load.
   ========================================================================== */

.js .reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.js .reveal.is-revealed {
    opacity: 1;
    transform: none;
}


/* Keyframes
   ========================================================================== */

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes float {
    0% {
        opacity: 0;
        transform: translate(0, 0) scale(1);
    }

    10%,
    90% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translate(100px, -100vh) scale(0.5);
    }
}

@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-12px);
    }

    60% {
        transform: translateX(-50%) translateY(-6px);
    }
}

@keyframes scroll-wheel {
    from {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    to {
        opacity: 0;
        transform: translateX(-50%) translateY(15px);
    }
}


/* 19. Responsive adjustments
   ========================================================================== */

@media (max-width: 1100px) {
    .footer-content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 960px) {
    .visit-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-image {
        max-width: 560px;
        margin-inline: auto;
    }

    /* Stay inside the 16px page gutter so the page can't scroll sideways. */
    .about-image-accent {
        top: -14px;
        right: -14px;
        width: 140px;
        height: 140px;
    }
}

/* Mobile navigation: full-screen menu that opens in a circle from the button. */
@media (max-width: 860px) {
    :root {
        --header-height: 68px;
        /* Centre of the hamburger button, where the menu's reveal starts. */
        --nav-origin: calc(100% - var(--container-gutter) - 22px) calc(var(--header-height) / 2);
    }

    .site-header .container {
        gap: 8px;
    }

    .logo {
        position: relative;
        z-index: 1;
        font-size: 1.4rem;
        gap: 8px;
        transition: color var(--transition);
    }

    .logo i {
        font-size: 1.3rem;
    }

    /* Compact text pill; the icon alone would be ambiguous. */
    .header-cta {
        order: 2;
        gap: 0;
        padding: 9px 14px;
        font-size: 0.7rem;
        letter-spacing: 0.1em;
    }

    .header-cta i {
        display: none;
    }

    .nav-toggle {
        display: flex;
        order: 3;
        z-index: 1;
    }

    /* While the menu is open the header turns transparent and white. */
    .site-header.is-nav-open {
        border-color: transparent;
        box-shadow: none;
    }

    .site-header.is-nav-open::before {
        opacity: 0;
    }

    .site-header.is-nav-open .logo {
        color: var(--color-text-inverse);
    }

    .main-nav {
        position: fixed;
        inset: 0;
        display: flex;
        flex-direction: column;
        gap: 40px;
        height: 100dvh;
        padding: calc(var(--header-height) + 5vh) 28px max(32px, env(safe-area-inset-bottom));
        overflow-y: auto;
        background:
            radial-gradient(120% 70% at 100% 0%, var(--color-primary-light) 0%, transparent 60%),
            var(--color-primary-dark);
        clip-path: circle(0 at var(--nav-origin));
        visibility: hidden;
        transition: clip-path 0.7s var(--ease-elegant), visibility 0s linear 0.7s;
    }

    .main-nav.is-open {
        clip-path: circle(150% at var(--nav-origin));
        visibility: visible;
        transition: clip-path 0.7s var(--ease-elegant), visibility 0s;
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    /* Links rise into place one after another once the menu opens. */
    .nav-list li {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.5s var(--ease-elegant), transform 0.5s var(--ease-elegant);
    }

    .main-nav.is-open .nav-list li {
        opacity: 1;
        transform: none;
    }

    .main-nav.is-open .nav-list li:nth-child(1) { transition-delay: 0.15s; }
    .main-nav.is-open .nav-list li:nth-child(2) { transition-delay: 0.21s; }
    .main-nav.is-open .nav-list li:nth-child(3) { transition-delay: 0.27s; }
    .main-nav.is-open .nav-list li:nth-child(4) { transition-delay: 0.33s; }

    .nav-link {
        display: flex;
        align-items: baseline;
        gap: 18px;
        padding: 14px 0;
        font-family: var(--font-heading);
        font-size: clamp(2rem, 9vw, 2.75rem);
        font-weight: 400;
        letter-spacing: 0;
        line-height: 1.15;
        text-transform: none;
        color: var(--color-text-inverse);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-link::after {
        display: none;
    }

    .nav-link:hover,
    .nav-link[aria-current='page'] {
        color: var(--color-gold-light);
    }

    .nav-link-index {
        display: inline;
        font-family: var(--font-body);
        font-size: 0.8rem;
        font-weight: 700;
        letter-spacing: 0.14em;
        color: var(--color-gold);
    }

    .nav-panel-footer {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        margin-top: auto;
        opacity: 0;
        transition: opacity 0.5s var(--ease-elegant);
    }

    .main-nav.is-open .nav-panel-footer {
        opacity: 1;
        transition-delay: 0.4s;
    }

    .nav-panel-call {
        width: 100%;
        max-width: none;
        color: var(--color-bg-dark);
        background: var(--color-gold);
        border-color: var(--color-gold);
    }

    .nav-panel-call:hover {
        background: var(--color-gold-light);
    }

    .nav-panel-hours {
        font-size: 0.9rem;
        color: rgba(255, 255, 255, 0.72);
    }
}

@media (max-width: 768px) {
    .hero {
        padding-bottom: 64px;
    }

    .hero-buttons {
        margin-bottom: 44px;
    }

    /* Three compact columns instead of a tall stack that pushed text off screen. */
    .hero-features {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }

    .feature-item {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .feature-icon {
        width: 52px;
        height: 52px;
        font-size: 1.2rem;
    }

    .feature-title {
        font-size: 0.95rem;
    }

    .feature-text {
        font-size: 0.8rem;
    }

    .scroll-indicator {
        display: none;
    }

    .btn {
        width: 100%;
        max-width: 320px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo,
    .footer-social {
        justify-content: center;
    }

    .footer-hours li {
        align-items: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .lightbox-figure {
        max-width: calc(100% - 32px);
    }

    /* Arrows move to the bottom edge so they don't cover the photo. */
    .lightbox-prev,
    .lightbox-next {
        top: auto;
        bottom: 20px;
        transform: none;
    }

    .lightbox-close {
        top: 16px;
        right: 16px;
    }
}

@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .gallery-link {
        border-radius: 14px;
    }

    .menu-tabs {
        flex-wrap: nowrap;
        justify-content: flex-start;
        /* Bleed to the screen edges so the row visibly continues off screen. */
        margin-inline: calc(-1 * var(--container-gutter));
        padding: 4px var(--container-gutter) 12px;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
    }

    .menu-tabs::-webkit-scrollbar {
        display: none;
    }

    .menu-tab {
        padding: 10px 18px;
        font-size: 0.9rem;
        scroll-snap-align: start;
    }

    .menu-item-description {
        padding-left: 0;
    }

    .back-to-top {
        right: 16px;
        bottom: 16px;
    }
}

/* Very small phones: no room for the label, so the button shows only its icon. */
@media (max-width: 379px) {
    .header-cta {
        justify-content: center;
        width: 40px;
        height: 40px;
        padding: 0;
    }

    .header-cta i {
        display: block;
    }

    .header-cta-label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
    }
}

@media (max-width: 420px) {
    .logo span {
        font-size: 1.2rem;
    }

    .logo i {
        display: none;
    }

    .about-stats {
        gap: 12px;
    }

    .stat-item {
        padding: 22px 10px;
    }

    .stat-value {
        font-size: 2rem;
    }
}


/* 20. Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        /* Staggered delays (mobile menu) would otherwise still hold content back. */
        transition-delay: 0s !important;
    }

    .hero-particles,
    .scroll-indicator {
        display: none;
    }
}
