/* ============================================================
   Lorenzo's Trattoria Moderna – Main Stylesheet
   Brand palette from Frenzy Brand Guidelines 2026
   ============================================================ */

/* ─── Custom Properties ─────────────────────────────────────── */
:root {
    /* Brand colours */
    --cream:        #ebddc0;
    --cream-dark:   #dfd0a8;
    --blue:         #85b6d5;
    --terracotta:   #d45f4b;
    --burgundy:     #792424;
    --sage:         #6c7760;
    --forest:       #023828;
    --forest-light: #044a35;
    --dark:         #111111;
    --white:        #ffffff;

    /* Typography */
    --font-heading: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-body:    'Lato', Helvetica, Arial, sans-serif;
    --font-label:   'Barlow Condensed', 'Arial Narrow', sans-serif;

    /* Layout */
    --nav-height:       120px;
    --container-max:    1240px;
    --section-pad:      clamp(60px, 10vw, 120px);
    --section-pad-sm:   clamp(40px, 6vw, 80px);

    /* Misc */
    --transition:   0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-sm:    2px;
    --radius:       4px;
    --shadow:       0 4px 24px rgba(2, 56, 40, 0.12);
    --shadow-lg:    0 12px 48px rgba(2, 56, 40, 0.18);
}

/* ─── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.75;
    color: var(--forest);
    background-color: var(--cream);
    overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
address { font-style: normal; }

/* ─── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.1;
    color: inherit;
}

h1 { font-size: clamp(2.6rem, 6.5vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.8rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.4rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 500; }
p  { max-width: 70ch; }

.label {
    display: block;
    font-family: var(--font-label);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--terracotta);
    margin-bottom: 0.75rem;
}

.label--light { color: rgba(235, 221, 192, 0.7); }

/* ─── Container ──────────────────────────────────────────────── */
.container {
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(1rem, 4vw, 2.5rem);
    padding-right: clamp(1rem, 4vw, 2.5rem);
}

/* ─── Buttons ────────────────────────────────────────────────── */
.btn {
    display: inline-block;
    padding: 14px 38px;
    font-family: var(--font-label);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    line-height: 1;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--terracotta);
    color: var(--white);
    border: 2px solid var(--terracotta);
}
.btn-primary:hover {
    background-color: var(--burgundy);
    border-color: var(--burgundy);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--cream);
    border: 2px solid rgba(235, 221, 192, 0.6);
}
.btn-outline:hover {
    background-color: var(--cream);
    border-color: var(--cream);
    color: var(--forest);
}

.btn-outline-dark {
    background: transparent;
    color: var(--forest);
    border: 2px solid var(--forest);
}
.btn-outline-dark:hover {
    background-color: var(--forest);
    color: var(--cream);
}

/* ─── Section Utilities ──────────────────────────────────────── */
.section { padding: var(--section-pad) 0; }
.section--sm { padding: var(--section-pad-sm) 0; }
.section--dark { background-color: var(--forest); color: var(--cream); }
.section--sage { background-color: var(--sage); color: var(--cream); }
.section--cream { background-color: var(--cream); }
.section--cream-dark { background-color: var(--cream-dark); }

.section__header { text-align: center; margin-bottom: clamp(2rem, 5vw, 4rem); }
.section__header p { margin: 1rem auto 0; max-width: 60ch; }

/* Decorative divider */
.divider {
    width: 48px;
    height: 2px;
    background-color: var(--terracotta);
    margin: 1.25rem auto;
    display: block;
}
.divider--left { margin-left: 0; }

/* ─── PAGE HERO (inner pages) ───────────────────────────────── */
.page-hero {
    position: relative;
    height: clamp(280px, 40vw, 480px);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    padding-top: var(--nav-height);
}

.page-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.04);
    transition: transform 8s ease-out;
}

.page-hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(2, 56, 40, 0.25) 0%,
        rgba(2, 56, 40, 0.65) 100%
    );
}

.page-hero__content {
    position: relative;
    z-index: 1;
    color: var(--cream);
    padding: 3rem 0;
}

.page-hero__content h1 { margin-top: 0.5rem; }
.page-hero__content p  { margin-top: 0.75rem; font-size: 1.05rem; opacity: 0.85; max-width: 55ch; }

/* ═══════════════════════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════════════════════ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background-color var(--transition), box-shadow var(--transition);
}

/* Transparent when at top of homepage */
.page-index .site-header:not(.is-scrolled) {
    background-color: transparent;
}
.site-header.is-scrolled,
.page-menu .site-header,
.page-about .site-header,
.page-gallery .site-header,
.page-contact .site-header {
    background-color: var(--forest);
    box-shadow: 0 2px 20px rgba(0,0,0,0.2);
    --nav-height: 80px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    height: var(--nav-height);
    transition: height var(--transition);
    will-change: height;
}

.nav__logo img {
    height: 80px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1); /* white logo on dark nav */
    transition: height var(--transition);
}

.site-header.is-scrolled .nav__logo img,
.page-menu .site-header .nav__logo img,
.page-about .site-header .nav__logo img,
.page-gallery .site-header .nav__logo img,
.page-contact .site-header .nav__logo img {
    height: 50px;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 2.5vw, 2rem);
    margin-left: auto;
}

.nav__link {
    font-family: var(--font-label);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(235, 221, 192, 0.8);
    padding: 4px 0;
    position: relative;
    transition: color var(--transition);
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1.5px;
    background-color: var(--terracotta);
    transition: width var(--transition);
}

.nav__link:hover,
.nav__link.is-active {
    color: var(--cream);
}

.nav__link:hover::after,
.nav__link.is-active::after { width: 100%; }

.nav__actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-left: 1rem;
}

.nav__lang {
    font-family: var(--font-label);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: rgba(235, 221, 192, 0.65);
    padding: 4px 8px;
    border: 1px solid rgba(235, 221, 192, 0.3);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}
.nav__lang:hover {
    color: var(--cream);
    border-color: rgba(235, 221, 192, 0.7);
}

.nav__book { padding: 11px 24px; font-size: 0.72rem; }

.nav__burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    margin-left: auto;
    padding: 4px;
}
.nav__burger span {
    display: block;
    height: 1.5px;
    background-color: var(--cream);
    transition: all var(--transition);
    transform-origin: center;
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--forest);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    overflow-y: auto;
}

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

.mobile-menu__links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.mobile-menu__link {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    color: var(--cream);
    opacity: 0.8;
    transition: opacity var(--transition);
}
.mobile-menu__link:hover,
.mobile-menu__link.is-active { opacity: 1; color: var(--terracotta); }

.mobile-menu__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    margin-top: 1rem;
}

.mobile-menu__lang {
    font-family: var(--font-label);
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    color: rgba(235, 221, 192, 0.6);
}

.mobile-menu__book { padding: 14px 40px; }

/* Floating book button */
.float-book {
    display: none;
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 900;
    box-shadow: var(--shadow-lg);
    padding: 13px 22px;
    font-size: 0.72rem;
}

/* ═══════════════════════════════════════════════════════════════
   HOMEPAGE – HERO
═══════════════════════════════════════════════════════════════ */
.hero {
    position: relative;
    height: 100svh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    padding-left: clamp(2rem, 6vw, 8rem);
    padding-right: 2rem;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background-image: url('../../images/classicsharp/hero.jpg');
    background-size: cover;
    background-position: center 30%;
    will-change: transform;
}

.hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            100deg,
            rgba(2, 56, 40, 0.92) 0%,
            rgba(2, 56, 40, 0.78) 30%,
            rgba(2, 56, 40, 0.4) 55%,
            rgba(0, 0, 0, 0.1) 100%
        ),
        linear-gradient(
            to top,
            rgba(2, 56, 40, 0.5) 0%,
            transparent 30%
        ),
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.2) 0%,
            transparent 20%
        );
}

.hero__content {
    position: relative;
    z-index: 1;
    color: var(--cream);
    max-width: 1260px;
    padding-right: 25rem;
    animation: fadeUp 1s ease both;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.3), 0 1px 3px rgba(0, 0, 0, 0.2);
}

@media (max-width: 1024px) {
    .hero__content {
        padding-right: 5rem;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 80px;
    }

    .hero__content {
        padding-right: 0;
        max-width: 100%;
    }

    .nav__logo img {
        height: 45px; /* Smaller default for mobile hero */
    }

    .site-header.is-scrolled,
    .page-menu .site-header,
    .page-about .site-header,
    .page-gallery .site-header,
    .page-contact .site-header {
        --nav-height: 65px; /* Even more compact on scroll/subpages */
    }

    .site-header.is-scrolled .nav__logo img,
    .page-menu .site-header .nav__logo img,
    .page-about .site-header .nav__logo img,
    .page-gallery .site-header .nav__logo img,
    .page-contact .site-header .nav__logo img {
        height: 40px; /* Smallest logo for mobile scrolled/subpages */
    }
}

.hero__content .label { margin-bottom: 1.25rem; text-shadow: none; }
.hero__content h1 { font-style: italic; margin-bottom: 1.25rem; text-shadow: 0 3px 24px rgba(0, 0, 0, 0.4), 0 1px 4px rgba(0, 0, 0, 0.3); }
.hero__content p {
    font-size: clamp(1.3rem, 3vw, 1.2rem);
    opacity: 0.92;
    margin-bottom: 2.5rem;
    font-weight: 300;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
}

.hero__scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(235, 221, 192, 0.5);
    font-family: var(--font-label);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    animation: bounce 2s ease-in-out infinite;
}
.hero__scroll::after {
    content: '';
    width: 1px;
    height: 48px;
    background: rgba(235, 221, 192, 0.3);
}

/* ─── Concept Section ────────────────────────────────────────── */
.concept__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}

.concept__text p { margin-top: 1rem; font-size: 1.05rem; }

.concept__pillars {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.pillar {
    border-left: 2px solid var(--terracotta);
    padding-left: 1.5rem;
}
.pillar h4 { margin-bottom: 0.4rem; }
.pillar p  { font-size: 0.95rem; opacity: 0.8; max-width: none; }

/* ─── Feature / Signature Section ───────────────────────────── */
.feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 540px;
}

.feature__image {
    position: relative;
    overflow: hidden;
}

.feature__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}
.feature__image:hover img { transform: scale(1.04); }

.feature__content {
    background-color: var(--forest);
    color: var(--cream);
    padding: clamp(3rem, 6vw, 6rem) clamp(2rem, 5vw, 5rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature__content h2 { margin: 0.5rem 0 1.5rem; }
.feature__content p  { opacity: 0.85; font-size: 1.05rem; }

/* ─── Featured Dishes ────────────────────────────────────────── */
.dishes__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.dish-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    aspect-ratio: 3 / 4;
    cursor: pointer;
}

.dish-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.dish-card:hover .dish-card__img { transform: scale(1.08); }

.dish-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(2,56,40,0.85) 0%, transparent 55%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    color: var(--cream);
    transition: background var(--transition);
}

.dish-card h4 { font-size: 1.3rem; }
.dish-card p  { font-size: 0.85rem; opacity: 0.8; margin-top: 0.3rem; max-width: none; }

/* ─── About Preview ──────────────────────────────────────────── */
.about-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
}

.about-preview__image {
    position: relative;
    overflow: hidden;
}
.about-preview__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-preview__content {
    padding: clamp(3rem, 6vw, 6rem) clamp(2rem, 5vw, 5rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
}
.about-preview__content h2 { margin: 0.5rem 0 1rem; }
.about-preview__content p  { font-size: 1.05rem; opacity: 0.85; }

/* ─── Instagram Section ──────────────────────────────────────── */
.instagram__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 4px;
    margin: 2rem 0;
}

.instagram__item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.instagram__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.5s ease;
}

.instagram__item:hover img {
    transform: scale(1.08);
    filter: brightness(0.75);
}

.instagram__item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(2,56,40,0);
    transition: background var(--transition);
    pointer-events: none;
}

.instagram__cta { text-align: center; }

/* ─── Booking CTA Section ────────────────────────────────────── */
.booking-cta {
    text-align: center;
    padding: var(--section-pad) 0;
}
.booking-cta h2 { margin: 0.5rem 0 1rem; }
.booking-cta p  { margin: 0 auto 2.5rem; font-size: 1.1rem; opacity: 0.8; }

/* ─── Video Section ──────────────────────────────────────────── */
.video-section {
    position: relative;
    height: clamp(300px, 50vw, 600px);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-section video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-section__overlay {
    position: absolute;
    inset: 0;
    background: rgba(2, 56, 40, 0.55);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    text-align: center;
    color: var(--cream);
    padding: 2rem;
}

.video-section__overlay h2 { font-style: italic; }

/* ═══════════════════════════════════════════════════════════════
   MENU PAGE
═══════════════════════════════════════════════════════════════ */
.menu-intro {
    text-align: center;
    padding: 3rem 0 2rem;
}
.menu-intro p { margin: 1rem auto 0; max-width: 65ch; font-size: 1.05rem; }

.menu-filters {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 2rem 0;
    padding: 0 1rem;
}

.menu-filter {
    font-family: var(--font-label);
    font-size: 0.73rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 10px 20px;
    border: 1.5px solid rgba(2, 56, 40, 0.25);
    border-radius: 100px;
    color: var(--sage);
    transition: all var(--transition);
    background: none;
}

.menu-filter:hover,
.menu-filter.is-active {
    background-color: var(--forest);
    border-color: var(--forest);
    color: var(--cream);
}

.menu-category { margin-bottom: 4rem; }

.menu-category__header {
    border-bottom: 1px solid rgba(2,56,40,0.15);
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}
.menu-category__header h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }

.menu-category__note {
    font-size: 0.85rem;
    color: var(--sage);
    margin-top: 0.4rem;
    font-style: italic;
}

.menu-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(2,56,40,0.1);
}

.menu-item:nth-child(odd)  { padding-right: clamp(1rem, 3vw, 3rem); }
.menu-item:nth-child(even) { padding-left: clamp(1rem, 3vw, 3rem); border-left: 1px solid rgba(2,56,40,0.1); }

.menu-item__info { flex: 1; }
.menu-item__name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}
.menu-item__desc { font-size: 0.88rem; color: var(--sage); max-width: none; }
.menu-item__dietary {
    margin-top: 0.4rem;
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}
.dietary-tag {
    font-family: var(--font-label);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 2px 8px;
    border: 1px solid var(--sage);
    border-radius: 100px;
    color: var(--sage);
}

.menu-item__price {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--terracotta);
    white-space: nowrap;
    flex-shrink: 0;
}

.menu-allergen {
    text-align: center;
    font-size: 0.85rem;
    color: var(--sage);
    font-style: italic;
    margin-top: 3rem;
    padding: 1.5rem;
    border: 1px solid rgba(108,119,96,0.3);
    border-radius: var(--radius);
    max-width: 65ch;
    margin-left: auto;
    margin-right: auto;
}

/* ═══════════════════════════════════════════════════════════════
   ABOUT PAGE
═══════════════════════════════════════════════════════════════ */
.about-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 6vw, 6rem);
    align-items: start;
}

.about-story__text p { font-size: 1.05rem; margin-top: 1.25rem; }
.about-story__text p:first-of-type { margin-top: 0; }

.about-story__image-stack {
    position: relative;
}

.about-story__image-stack img:first-child {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: var(--radius);
}

.about-story__image-stack img:last-child {
    width: 55%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--radius);
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    border: 6px solid var(--cream);
    box-shadow: var(--shadow);
}

.values__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 1rem;
}

.value-card {
    padding: 2.5rem 2rem;
    border-top: 3px solid var(--terracotta);
    background-color: rgba(2,56,40,0.04);
}

.value-card h3 { font-size: 1.4rem; margin-bottom: 0.75rem; }
.value-card p  { font-size: 0.95rem; opacity: 0.75; max-width: none; }

.team__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
}

.team-card { text-align: center; }
.team-card__image {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: top;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    filter: grayscale(20%);
    transition: filter var(--transition);
}
.team-card:hover .team-card__image { filter: grayscale(0); }
.team-card h4 { font-size: 1.1rem; }
.team-card p  { font-size: 0.85rem; color: var(--sage); max-width: none; }

/* ═══════════════════════════════════════════════════════════════
   GALLERY PAGE
═══════════════════════════════════════════════════════════════ */
.gallery-intro {
    text-align: center;
    padding: 2.5rem 0 1.5rem;
}
.gallery-intro p { margin: 0.75rem auto 0; max-width: 60ch; }

.gallery-filters {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 1.5rem 0 2.5rem;
}

.gallery-grid {
    columns: 3;
    column-gap: 8px;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 8px;
    overflow: hidden;
    border-radius: var(--radius-sm);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease, filter 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.04);
    filter: brightness(0.85);
}

.gallery-item[data-filter].is-hidden { display: none; }

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.92);
    align-items: center;
    justify-content: center;
}

.lightbox.is-open { display: flex; }

.lightbox__inner {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox__img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius);
    display: block;
}

.lightbox__close {
    position: absolute;
    top: -2.5rem;
    right: 0;
    color: white;
    font-size: 1.5rem;
    line-height: 1;
    padding: 0.5rem;
    transition: opacity var(--transition);
}
.lightbox__close:hover { opacity: 0.7; }

.lightbox__prev,
.lightbox__next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 2rem;
    padding: 1rem;
    transition: opacity var(--transition);
}
.lightbox__prev { left: -4rem; }
.lightbox__next { right: -4rem; }
.lightbox__prev:hover,
.lightbox__next:hover { opacity: 0.7; }

/* ═══════════════════════════════════════════════════════════════
   CONTACT PAGE
═══════════════════════════════════════════════════════════════ */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: clamp(3rem, 6vw, 6rem);
    align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 2.5rem; }

.contact-block h3 {
    font-family: var(--font-label);
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--terracotta);
    margin-bottom: 0.75rem;
}

.contact-block p,
.contact-block a {
    font-size: 1.05rem;
    line-height: 1.7;
}

.contact-block a:hover { color: var(--terracotta); }

.hours-table { width: 100%; border-collapse: collapse; }
.hours-table tr { border-bottom: 1px solid rgba(2,56,40,0.1); }
.hours-table td { padding: 0.6rem 0; font-size: 0.95rem; }
.hours-table td:last-child { text-align: right; color: var(--sage); }
.hours-table tr.is-closed td { opacity: 0.5; }
.hours-table tr.is-today td { font-weight: 700; color: var(--terracotta); }

.map-container {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-container iframe {
    width: 100%;
    height: 460px;
    border: 0;
    display: block;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════ */
.site-footer {
    background-color: var(--dark);
    color: rgba(235, 221, 192, 0.75);
}

.footer__top {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: clamp(2rem, 5vw, 5rem);
    padding: clamp(3rem, 6vw, 5rem) 0;
}

.footer__logo img {
    height: 42px;
    width: auto;
    filter: brightness(0) invert(1);
    margin-bottom: 1.5rem;
}

.footer__tagline {
    font-size: 0.875rem;
    line-height: 1.7;
    max-width: 36ch;
}

.footer__social {
    margin-top: 1.5rem;
}

.footer__social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-label);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: rgba(235, 221, 192, 0.6);
    transition: color var(--transition);
}
.footer__social-link:hover { color: var(--cream); }

.footer__heading {
    font-family: var(--font-label);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--terracotta);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer__nav ul,
.footer__nav li { display: block; }
.footer__nav a {
    font-size: 0.9rem;
    line-height: 2.2;
    color: rgba(235, 221, 192, 0.65);
    transition: color var(--transition);
}
.footer__nav a:hover { color: var(--cream); }

.footer__info address { display: flex; flex-direction: column; gap: 0.25rem; }
.footer__info p { font-size: 0.9rem; line-height: 1.8; }
.footer__phone a { color: rgba(235, 221, 192, 0.75); }
.footer__phone a:hover { color: var(--cream); }
.footer__hours-mini { font-size: 0.82rem; line-height: 1.9; margin-top: 0.75rem; }
.footer__book { margin-top: 1.5rem; padding: 11px 24px; font-size: 0.72rem; }

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(235, 221, 192, 0.08);
}

.footer__copy { font-size: 0.78rem; color: rgba(235, 221, 192, 0.4); }

.footer__lang-switch {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    font-family: var(--font-label);
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    color: rgba(235, 221, 192, 0.35);
}
.footer__lang-switch a { color: rgba(235, 221, 192, 0.45); transition: color var(--transition); }
.footer__lang-switch a:hover,
.footer__lang-switch a.is-active { color: var(--cream); }

/* ═══════════════════════════════════════════════════════════════
   COOKIE BANNER
═══════════════════════════════════════════════════════════════ */
.cookie-banner {
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
    z-index: 800;
    max-width: 380px;
    background-color: var(--forest);
    color: rgba(235,221,192,0.85);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 0.85rem;
    line-height: 1.6;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { max-width: none; }
.cookie-banner__accept { align-self: flex-start; padding: 10px 24px; font-size: 0.72rem; }

/* ═══════════════════════════════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════════════════════════════ */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

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

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .footer__top { grid-template-columns: 1fr 1fr; }
    .footer__brand { grid-column: 1 / -1; }
    .team__grid { grid-template-columns: repeat(2, 1fr); }
    .about-story__image-stack img:last-child { right: -1rem; bottom: -1rem; }
}

@media (max-width: 768px) {
    :root { --nav-height: 64px; }

    /* Nav */
    .nav__links,
    .nav__actions { display: none; }
    .nav__burger   { display: flex; }

    /* Float book */
    .float-book { display: inline-block; }

    /* Hero */
    .hero__content h1 { font-size: clamp(2rem, 8vw, 3rem); }

    /* Sections */
    .concept__grid,
    .feature,
    .about-preview,
    .about-story,
    .contact-layout { grid-template-columns: 1fr; }

    .feature__content,
    .about-preview__content { padding: 2.5rem 1.5rem; }

    .about-story__image-stack img:last-child { display: none; }

    /* Menu */
    .menu-items { grid-template-columns: 1fr; }
    .menu-item:nth-child(even) { border-left: none; padding-left: 0; border-bottom: 1px solid rgba(2,56,40,0.1); }
    .menu-item:nth-child(odd) { padding-right: 0; }

    /* Gallery */
    .gallery-grid { columns: 2; }
    .instagram__grid { grid-template-columns: repeat(3, 1fr); }

    /* Values */
    .values__grid { grid-template-columns: 1fr; }

    /* Footer */
    .footer__top { grid-template-columns: 1fr; gap: 2.5rem; }
    .footer__brand { grid-column: auto; }
    .footer__bottom { flex-direction: column; gap: 1rem; text-align: center; }

    /* Lightbox arrows */
    .lightbox__prev { left: -2rem; }
    .lightbox__next { right: -2rem; }

    /* Page hero */
    .page-hero { height: clamp(220px, 50vw, 360px); }

    /* Cookie banner */
    .cookie-banner { left: 1rem; right: 1rem; max-width: none; bottom: 1rem; }
}

@media (max-width: 480px) {
    .gallery-grid { columns: 1; }
    .team__grid   { grid-template-columns: repeat(2, 1fr); }
    .instagram__grid { grid-template-columns: repeat(2, 1fr); }
    .dishes__grid { grid-template-columns: 1fr 1fr; }
    .lightbox__prev,
    .lightbox__next { display: none; }
}

/* ─── Print ──────────────────────────────────────────────────── */
@media print {
    .site-header,
    .site-footer,
    .float-book,
    .cookie-banner { display: none; }
    body { background: white; color: black; }
}
