/* =========================================================
   GOLDEN HUT CAFE - HOME PAGE
   =========================================================
   Sections, in page order:
     1. Global
     2. Shared        (scroll reveal, section label, section heading)
     3. Hero
     4. Features
     5. About
     6. Parallax banner
     7. Menu
     8. Gallery
     9. Visit Us
    10. Reduced motion

   Every section keeps its own responsive rules right below it.
   Breakpoints: 1000 tablet | 960 about stacks | 800 banner |
                700 visit stacks | 650 mobile | 420 small phones

   Scroll reveal: main.js adds .show to a section when it scrolls
   into view, and the .show rules below fade / slide it in.
========================================================= */


/* =========================================================
   1. GLOBAL
========================================================= */

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

section {
    scroll-margin-top: 70px;
}


/* =========================================================
   2. SHARED
========================================================= */

/* ---------- Scroll reveal (hidden until .show is added) ---------- */

.about-section,
.menu-section,
.gallery-grid,
.visit-section {
    opacity: 0;
    transform: translateY(45px);
    transition:
        opacity 0.9s ease,
        transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.about-section.show,
.menu-section.show,
.gallery-grid.show,
.visit-section.show {
    opacity: 1;
    transform: translateY(0);
}


/* ---------- Section label (gold underline draws in) ---------- */

.section-label {
    position: relative;
    display: inline-block;
}

.section-label::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 1px;
    background: var(--color-gold);
    transition: width 0.8s ease 0.4s;
}

.menu-section.show .section-label::after,
.visit-section.show .section-label::after,
.gallery-section .section-label::after {      /* gallery: always visible */
    width: 100%;
}


/* ---------- Section heading (used by the gallery) ---------- */

.section-heading {
    width: min(650px, 90%);
    margin: 0 auto 45px;
    text-align: center;
}

.section-heading h2 {
    margin: 0 0 12px;

    font-family: var(--font-heading);
    font-size: clamp(38px, 5vw, 60px);
    font-weight: 500;
    line-height: 1.05;

    color: var(--color-primary);
}

.section-heading > p:last-child {
    margin: 0;

    color: var(--color-muted);
    font-size: 13px;
    line-height: 1.7;
}


/* =========================================================
   3. HERO
   Each slide is self-contained: background image + overlay +
   text + bottom strip all travel together.
========================================================= */

.hero {
    position: relative;
    width: 100%;
    height: 650px;
    min-height: 650px;
    overflow: hidden;
    background: var(--color-primary);
    color: var(--color-cream);
}


/* ---------- Slides ---------- */

.hero-slide {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: flex-start;

    transform: translateX(100%);
    transition: transform 0.9s ease;
}

.hero-slide.is-active {
    transform: translateX(0%);
    z-index: 1;
}

.hero-slide.is-leaving {
    transform: translateX(-100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 48%;
    z-index: 0;
    display: block;
}


/* ---------- Overlay (fades in, plus a bottom darkening) ---------- */

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;

    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.72) 0%,
        rgba(0, 0, 0, 0.53) 32%,
        rgba(0, 0, 0, 0.27) 65%,
        rgba(0, 0, 0, 0.10) 100%
    );

    opacity: 0;
    animation: overlayReveal 1.2s ease 0.2s forwards;
}

.hero-overlay::after {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.35),
        transparent 65%
    );
}

@keyframes overlayReveal {
    from { opacity: 0; }
    to   { opacity: 1; }
}


/* ---------- Text block ---------- */

.hero-content {
    position: relative;
    z-index: 2;

    width: min(500px, 88%);
    margin-left: 5%;
    text-align: left;

    animation: heroReveal 0.8s ease both;
}

@keyframes heroReveal {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroTextUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-welcome {
    margin: 0 0 7px;

    color: var(--color-light-gold);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;

    opacity: 0;
    transform: translateY(20px);
    animation: heroTextUp 0.7s ease 0.4s forwards;
}

.hero h1 {
    margin: 0 0 8px;

    font-family: var(--font-heading);
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -1px;

    color: #ffffff;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}

/* main.js splits the heading into words > letters for the wave reveal */

.hero h1 .word {
    display: inline-block;
    white-space: nowrap;
}

.hero h1 .letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(25px) rotate(6deg);
}

.hero-slide.is-active h1 .letter {
    animation: letterWave 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: calc(var(--i) * 0.035s);
}

@keyframes letterWave {
    0% {
        opacity: 0;
        transform: translateY(25px) rotate(6deg);
    }

    60% {
        opacity: 1;
        transform: translateY(-6px) rotate(-2deg);
    }

    100% {
        opacity: 1;
        transform: translateY(0) rotate(0deg);
    }
}

.hero-desc {
    margin: 10px 0 0;
    max-width: 420px;

    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    line-height: 1.7;

    opacity: 0;
    transform: translateY(20px);
    animation: heroTextUp 0.7s ease 0.85s forwards;
}


/* ---------- Button (with a light sweep) ---------- */

.hero-button {
    position: relative;
    overflow: hidden;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-top: 13px;
    padding: 8px 16px;

    border: 1px solid var(--color-light-gold);
    border-radius: 4px;
    background: rgba(228, 199, 122, 0.96);

    color: var(--color-primary);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;

    opacity: 0;
    transform: translateY(20px);
    animation: heroTextUp 0.7s ease 1.05s forwards;

    transition:
        background 0.3s ease,
        color 0.3s ease;
}

.hero-button:hover {
    background: #c99a45;
    color: #ffffff;
}

.hero-button::after {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 80%;
    height: 100%;

    background: rgba(255, 255, 255, 0.25);
    transform: skewX(-20deg);
    animation: buttonShine 4s ease-in-out 2s infinite;
}

@keyframes buttonShine {
    0%   { left: -120%; }
    30%  { left: 130%; }
    100% { left: 130%; }
}


/* ---------- Arrow, bottom strip, dots ---------- */

.hero-arrow {
    position: absolute;
    top: 50%;
    right: 28px;
    transform: translateY(-50%);
    z-index: 2;

    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(228, 199, 122, 0.65);
    border-radius: 50%;

    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    color: var(--color-gold);

    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
    cursor: pointer;

    transition:
        background 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {

    .hero-arrow:hover {
        background: #fff2ce;
        transform: translateY(-50%) scale(1.08);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
    }

}

.hero-arrow:focus-visible {
    background: #fff2ce;
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}

.hero-arrow svg {
    display: block;
}

.hero-strip {
    position: absolute;
    left: 5%;
    bottom: 28px;
    z-index: 2;

    margin: 0;

    color: rgba(255, 255, 255, 0.75);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-strip span {
    color: var(--color-light-gold);
    margin: 0 8px;
}

.hero-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;

    display: flex;
    gap: 8px;
}

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;

    transition: background 0.3s ease;
}

.hero-dot.is-active {
    background: var(--color-light-gold);
}


/* ---------- Hero: responsive ---------- */

@media (max-width: 1000px) {

    .hero {
        height: 500px;
        min-height: 500px;
    }

    .hero-content {
        margin-left: 6%;
    }
}

@media (max-width: 650px) {

    .hero {
        height: 450px;
        min-height: 450px;
    }

    .hero-bg {
        object-position: center center;
    }

    .hero-content {
        width: 88%;
        margin-top: 24px;
    }

    .hero-welcome {
        margin-bottom: 6px;
        letter-spacing: 2.5px;
    }

    .hero h1 {
        font-size: clamp(32px, 10vw, 45px);
        letter-spacing: -0.8px;
    }

    .hero-button {
        margin-top: 12px;
        padding: 8px 14px;
    }

    /* mobile shows the heading and button only */
    .hero-strip {
        display: none;
    }
    .hero-arrow {
        width: 40px;
        height: 40px;
        right: 14px;
    }

    .hero-arrow svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 420px) {

    .hero-content {
        margin-left: 7%;
    }

    .hero h1 {
        font-size: 31px;
    }
}


/* =========================================================
   4. FEATURES
========================================================= */

.features {
    position: relative;
    z-index: 5;

    width: calc(100% - 50px);
    max-width: 1400px;

    height: 130px;
    min-height: 130px;

    margin: 30px auto 0;
    padding: 0;

    display: grid;
    grid-template-columns: repeat(4, 1fr);

    background: transparent;
    color: var(--color-primary);

    opacity: 0;
    transform: translateY(35px);
    animation: featuresReveal 0.9s ease 1.2s forwards;
}

@keyframes featuresReveal {
    from {
        opacity: 0;
        transform: translateY(35px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card {
    height: 130px;
    min-height: 130px;

    padding: 20px 28px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;

    text-align: center;
    background: transparent;
    border-right: 1px solid rgba(6, 61, 46, 0.15);

    opacity: 0;
    transform: translateY(20px);
    animation: featureCardReveal 0.7s ease forwards;
}

.feature-card:last-child {
    border-right: none;
}

.feature-card:nth-child(1) { animation-delay: 1.35s; }
.feature-card:nth-child(2) { animation-delay: 1.48s; }
.feature-card:nth-child(3) { animation-delay: 1.61s; }
.feature-card:nth-child(4) { animation-delay: 1.74s; }

@keyframes featureCardReveal {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.feature-card h3 {
    margin: 0 0 5px;

    color: var(--color-primary);
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
}

.feature-card p {
    max-width: 200px;
    margin: 0;

    color: var(--color-text-light);
    font-size: 13px;
    line-height: 1.5;
}


/* ---------- Features: responsive ---------- */

@media (max-width: 1000px) {

    .features {
        height: auto;
        min-height: 120px;
        margin: 18px auto 0;
        grid-template-columns: repeat(2, 1fr);
        row-gap: 4px;
    }

    /* cross-shaped divider between the 2x2 cards */

    .features::before {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: 50%;
        width: 1px;
        background: var(--border-cream);
    }

    .features::after {
        content: "";
        position: absolute;
        left: 5%;
        right: 5%;
        top: 52%;
        height: 1px;
        background: var(--border-cream);
    }

    .feature-card {
        height: auto;
        min-height: 100px;
        padding: 20px 24px;
        border: none;
    }

    .feature-card p {
        max-width: 220px;
        font-size: 14px;
    }
}

@media (max-width: 650px) {

    .feature-card {
        min-height: 130px;
        padding: 9px 8px;
        gap: 8px;
        justify-content: flex-start;
    }

    .feature-icon {
        width: 35px;
        height: 35px;
    }

    .feature-card h3 {
        font-size: 17px;
        letter-spacing: -0.2px;
    }

    .feature-card p {
        max-width: 120px;
        font-size: 10px;
    }
}

@media (max-width: 420px) {

    .feature-card {
        padding: 8px 9px;
        gap: 6px;
    }

    .feature-icon {
        width: 30px;
        height: 30px;
    }
}


/* =========================================================
   5. ABOUT
   Cream rounded card. Text on the left, photos on the right;
   both columns stretch to the same height. Stacks (text first)
   at 960px and below.
========================================================= */

.about-section {
    width: min(1440px, 96%);
    margin: 48px auto 40px;
    padding: 28px 60px 56px;

    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 60px;
    align-items: stretch;

    background: var(--color-cream);
    border-radius: 28px;
}


/* ---------- Text column ---------- */

.about-content {
    display: flex;
    flex-direction: column;
    padding: 0;

    opacity: 0;
    transform: translateX(-60px);
    transition:
        opacity 1s ease,
        transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-eyebrow {
    margin: 0 0 6px;

    font-family: var(--font-heading);
    font-size: 17px;
    font-style: italic;
    line-height: 1.3;

    color: var(--color-gold);
}

.about-content h2 {
    margin: 0 0 20px;

    font-family: var(--font-heading);
    font-size: clamp(36px, 4.2vw, 54px);
    font-weight: 500;
    line-height: 1.08;

    color: var(--color-primary);
}

.about-content h2 span {
    display: block;
    color: var(--color-gold);
}

.about-content .about-text {
    margin: 0 0 14px;

    color: var(--color-muted);
    font-size: 14px;
    line-height: 1.85;
}

.about-content .about-intro {
    color: #4d5e58;
    font-size: 15px;
}

.about-quote {
    margin: 8px 0 24px;
    padding: 2px 0 2px 18px;

    border-left: 3px solid var(--color-gold);

    font-family: var(--font-heading);
    font-size: 20px;
    font-style: italic;
    line-height: 1.45;

    color: var(--color-primary);
}

.about-points {
    list-style: none;
    margin: 0 0 30px;
    padding: 0;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
}

.about-points li {
    position: relative;
    padding-left: 26px;

    color: var(--color-primary);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
}

.about-points li::before {          /* gold tick */
    content: "";

    position: absolute;
    left: 4px;
    top: 3px;

    width: 5px;
    height: 10px;

    border: solid var(--color-gold);
    border-width: 0 2px 2px 0;

    transform: rotate(45deg);
}

.about-btn {
    align-self: flex-start;
    margin-top: auto;               /* pushes the button to the bottom of the column */

    display: inline-flex;
    align-items: center;
    gap: 18px;

    padding: 12px 14px 12px 28px;

    border-radius: 999px;
    background: linear-gradient(135deg, #ebd48f 0%, #c89b45 100%);
    box-shadow: 0 10px 24px rgba(200, 155, 69, 0.35);

    color: var(--color-primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    text-decoration: none;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.about-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(200, 155, 69, 0.45);
}

.about-btn-icon {
    width: 30px;
    height: 30px;

    display: grid;
    place-items: center;

    border: 1.5px solid currentColor;
    border-radius: 50%;
}

.about-btn-icon svg {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
}

.about-btn:hover .about-btn-icon svg {
    transform: translateX(3px);
}


/* ---------- Photos column ----------
   - gold outline frame sits up/left, behind the main photo
   - small photo overlaps the bottom-left corner
   - round "Open Daily" badge overlaps the bottom-right corner */

.about-image {
    position: relative;
    top: 24px;
    display: flex;

    /* room for the overlapping pieces that hang outside the photo */
    padding: 16px 26px 88px 64px;

    opacity: 0;
    transform: translateX(60px);
    transition:
        opacity 1s ease 0.15s,
        transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-section.show .about-content,
.about-section.show .about-image {
    opacity: 1;
    transform: translateX(0);
}

.about-photo {
    position: relative;
    flex: 1;
    display: flex;
    min-height: 420px;
}

.about-photo::before {              /* gold outline frame */
    content: "";

    position: absolute;
    top: -16px;
    left: -16px;
    right: 14px;
    bottom: 44px;

    border: 1.5px solid var(--color-gold);
    border-radius: 4px;

    z-index: 0;
}

.about-photo-main {
    position: relative;
    flex: 1;
    z-index: 1;

    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 22px 50px rgba(2, 47, 36, 0.22);
}

.about-photo-main img {
    position: absolute;
    inset: 0;

    width: 1500px;
    height: 100%;

    display: block;
    object-fit: cover;
    object-position: 45% center;

    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-image:hover .about-photo-main img {
    transform: scale(1.025);
}

.about-inset {
    position: absolute;
    left: -13%;
    bottom: -30px;
    z-index: 3;

    width: 46%;
    aspect-ratio: 1.45 / 1;

    border: 5px solid #ffffff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
}

.about-inset img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.about-badge {
    position: absolute;
    right: -34px;
    bottom: -68px;
    z-index: 3;

    width: 126px;
    height: 126px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;

    border-radius: 50%;
    background: var(--color-primary);
    box-shadow:
        0 18px 38px rgba(2, 47, 36, 0.38),
        inset 0 0 0 5px var(--color-primary),
        inset 0 0 0 6px rgba(228, 199, 122, 0.35);

    text-align: center;
}

.about-badge-top {
    color: var(--color-light-gold);
    font-size: 8.5px;
    font-weight: 600;
    letter-spacing: 2.2px;
    text-transform: uppercase;
}

.about-badge strong {
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.15;
}

.about-badge-bottom {
    max-width: 88px;

    color: rgba(255, 255, 255, 0.75);
    font-size: 8px;
    line-height: 1.3;
}


/* ---------- About: responsive ---------- */

@media (max-width: 960px) {

    .about-section {
        width: 92%;
        margin: 36px auto 30px;
        padding: 32px 32px 44px;
        grid-template-columns: 1fr;
        gap: 56px;
        border-radius: 22px;
    }

    .about-btn {
        margin-top: 4px;
    }

    .about-photo {
        min-height: 380px;
    }
}

@media (max-width: 650px) {

    .about-section {
        padding: 26px 20px 40px;
        gap: 15px;
        border-radius: 18px;
    }

    .about-image {
        padding: 14px 14px 70px 34px;
    }

    .about-photo {
        min-height: 300px;
    }

    .about-photo::before {
        top: -12px;
        left: -12px;
    }

    .about-inset {
        left: -26px;
        bottom: -26px;
        width: 50%;
        border-width: 4px;
    }

    .about-badge {
        right: -10px;
        bottom: -62px;
        width: 100px;
        height: 100px;
        gap: 3px;
    }

    .about-badge-top {
        font-size: 7px;
        letter-spacing: 1.6px;
    }

    .about-badge strong {
        font-size: 13.5px;
    }

    .about-badge-bottom {
        max-width: 70px;
        font-size: 6.5px;
    }

    .about-points {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   6. PARALLAX BANNER
========================================================= */

.parallax-banner {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;

    background-image: url('../../assets/images/shawarma.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.parallax-banner::before {          /* dark tint */
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(6, 20, 15, 0.72);
}

.parallax-overlay {
    position: relative;
    z-index: 1;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 6%;

    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 24px;
}

.parallax-heading p {
    margin: 0;

    color: #f8f4ea;
    font-family: var(--font-heading);
    font-size: clamp(20px, 2.2vw, 35px);
    font-weight: 600;
}

.parallax-heading .dash {
    display: inline-block;
    width: 22px;
    height: 1px;
    margin-right: 10px;
    background: var(--color-light-gold);
    vertical-align: middle;
}

.parallax-tags {
    justify-self: end;
    list-style: none;
    margin: 0;
    padding-left: 24px;
    border-left: 1px solid rgba(228, 199, 122, 0.4);

    display: flex;
    flex-direction: column;
    gap: 6px;

    color: var(--color-light-gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}


/* ---------- Parallax banner: responsive ----------
   iOS Safari ignores background-attachment: fixed (and it is janky
   on mobile), so it is switched off at tablet width and below.
   The tags and dash are hidden there too - centred heading only. */

@media (max-width: 800px) {

    .parallax-banner {
        height: 220px;
        background-attachment: scroll;
    }

    .parallax-overlay {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 0 8%;
        text-align: center;
    }

    .parallax-heading {
        text-align: center;
    }

    .parallax-heading p {
        font-size: clamp(22px, 6vw, 30px);
        line-height: 1.35;
    }

    .parallax-heading .dash,
    .parallax-tags {
        display: none;
    }
}

@media (max-width: 600px) {

    .parallax-banner {
        height: 280px;
    }
}


/* =========================================================
   7. MENU
========================================================= */

.menu-section {
    padding: 30px 0 45px;
    background: var(--color-cream);
    text-align: center;
}


/* ---------- Heading: title on the left, "View All Menu" on the right ---------- */

.menu-section .menu-heading {
    width: min(var(--container-width), 90%);   /* same width as the cards below */
    margin: 0 auto 36px;
    text-align: left;

    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
        "label label"
        "title link"
        "sub   link";
    column-gap: 24px;
    align-items: end;

    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.8s ease,
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.menu-section.show .menu-heading {
    opacity: 1;
    transform: translateY(0);
}

.menu-section .menu-heading .section-label {
    grid-area: label;
    justify-self: start;
}

.menu-section .menu-heading h2 {
    grid-area: title;
    margin: 0 0 8px;
    font-size: clamp(28px, 3.6vw, 46px);
    white-space: nowrap;                       /* always a single line */
}

.menu-section .menu-heading .menu-subtext {
    grid-area: sub;
    margin: 0;
    color: var(--color-muted);
    font-size: 13px;
    line-height: 1.7;
}


/* "View All Menu" link - small arrow, gold underline on hover / touch */

.menu-link {
    grid-area: link;
    align-self: end;

    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 6px;

    color: var(--color-primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
}

.menu-link::after {                            /* the gold underline */
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--color-gold);

    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.menu-link svg {
    transition: transform 0.3s ease;
}

.menu-link:hover::after,
.menu-link:focus-visible::after,
.menu-link:active::after {                     /* :active = finger touching on mobile */
    transform: scaleX(1);
}

.menu-link:hover svg,
.menu-link:focus-visible svg,
.menu-link:active svg {
    transform: translateX(4px);
}


/* ---------- Cards ---------- */

.menu-grid {
    width: min(var(--container-width), 90%);
    margin: auto;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    align-items: start;
    perspective: 1200px;
}

.menu-card {
    background: var(--color-white);
    text-align: left;
    overflow: hidden;
    border-radius: 12px;
    box-shadow:
        0 6px 14px rgba(0, 0, 0, 0.10),
        0 16px 32px rgba(0, 0, 0, 0.08);

    transform-style: preserve-3d;

    opacity: 0;
    transform: translateY(60px) scale(0.96);
    transition:
        opacity 0.8s ease,
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.35s ease;
}

.menu-card:hover {
    box-shadow:
        0 20px 25px rgba(0, 0, 0, 0.15),
        0 30px 55px rgba(0, 0, 0, 0.18);
}

.menu-section.show .menu-card {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.menu-section.show .menu-card:nth-child(1) { transition-delay: 0.15s; }
.menu-section.show .menu-card:nth-child(2) { transition-delay: 0.30s; }
.menu-section.show .menu-card:nth-child(3) { transition-delay: 0.45s; }
.menu-section.show .menu-card:nth-child(4) { transition-delay: 0.60s; }

.menu-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1078 / 1459;
    overflow: hidden;
}

.menu-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;

    transition: transform 0.5s ease;
}

.menu-image::after {                           /* soft shade that fades in on hover */
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.18),
        transparent 50%
    );

    opacity: 0;
    transition: opacity 0.5s ease;
}

.menu-card:hover .menu-image img {
    transform: scale(1.07);
}

.menu-card:hover .menu-image::after {
    opacity: 1;
}

.menu-card-content {
    padding: 14px 12px 6px;
    text-align: center;
    transition: transform 0.4s ease;
}

.menu-card:hover .menu-card-content {
    transform: translateY(-3px);
}

.menu-card-content h3 {
    margin: 0;

    font-family: var(--font-heading);
    font-size: 21px;
    font-weight: 500;
    color: var(--color-primary);

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* ---------- Menu: responsive ---------- */

@media (max-width: 1000px) {

    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {

    .menu-section {
        padding: 70px 0 35px;
    }

    /* link moves up beside "OUR MENU" */
    .menu-section .menu-heading {
        width: 88%;
        margin-bottom: 26px;
        row-gap: 10px;
        grid-template-areas:
            "label link"
            "title title"
            "sub   sub";
    }

    .menu-section .menu-heading .section-label {
        margin: 0;
    }

    .menu-section .menu-heading h2 {
        margin: 0;
        font-size: clamp(22px, 6.8vw, 30px);
    }

    .menu-section .menu-heading .menu-link {
        align-self: center;
        padding-bottom: 4px;
    }

    .menu-grid {
        width: 88%;
        grid-template-columns: 1fr;
    }

    .menu-image {
        height: 300px;
    }
}


/* =========================================================
   8. GALLERY
   Desktop: 5 columns x 3 rows, masonry-style placement.
   Mobile : 2 columns, repeating 8-photo pattern.
========================================================= */

.gallery-section .section-label {
    margin-bottom: 20px;
}

.gallery-section .section-heading {
    margin-bottom: 20px;
}

.gallery-section .section-heading h2 {
    margin-top: -8px;
}

.gallery-grid {
    width: 98%;
    max-width: 1700px;
    height: 750px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr 2.05fr 1.05fr 1.15fr 1.05fr;
    grid-template-rows: 1fr 1.3fr 1.2fr;
    gap: 4px;
}

.item-1  { grid-column: 1;     grid-row: 1; }
.item-2  { grid-column: 2;     grid-row: 1; }
.item-3  { grid-column: 3;     grid-row: 1; }
.item-4  { grid-column: 4 / 6; grid-row: 1 / 3; }    /* large, right */
.item-5  { grid-column: 1 / 3; grid-row: 2; }        /* large, left */
.item-6  { grid-column: 3;     grid-row: 2; }
.item-6b { grid-column: 3;     grid-row: 3; }
.item-7  { grid-column: 1;     grid-row: 3; }
.item-8  { grid-column: 2;     grid-row: 3; }
.item-9  { grid-column: 4;     grid-row: 3; }
.item-10 { grid-column: 5;     grid-row: 3; }

.gallery-item {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 12px;

    background: var(--color-deep-green);       /* shown behind each photo while it loads */

    opacity: 0;
    transform: scale(0.94);
    cursor: pointer; 
    transition:
        opacity 0.8s ease,
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;

    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-item:hover img {
    transform: scale(1.06);
}

/* photos pop in one after another */

.gallery-grid.show .gallery-item {
    opacity: 1;
    transform: scale(1);
}

.gallery-grid.show .gallery-item:nth-child(1)  { transition-delay: 0.01s; }
.gallery-grid.show .gallery-item:nth-child(2)  { transition-delay: 0.12s; }
.gallery-grid.show .gallery-item:nth-child(3)  { transition-delay: 0.19s; }
.gallery-grid.show .gallery-item:nth-child(4)  { transition-delay: 0.26s; }
.gallery-grid.show .gallery-item:nth-child(5)  { transition-delay: 0.33s; }
.gallery-grid.show .gallery-item:nth-child(6)  { transition-delay: 0.40s; }
.gallery-grid.show .gallery-item:nth-child(7)  { transition-delay: 0.47s; }
.gallery-grid.show .gallery-item:nth-child(8)  { transition-delay: 0.54s; }
.gallery-grid.show .gallery-item:nth-child(9)  { transition-delay: 0.61s; }
.gallery-grid.show .gallery-item:nth-child(10) { transition-delay: 0.68s; }
.gallery-grid.show .gallery-item:nth-child(11) { transition-delay: 0.75s; }

/* .images-fade is added by main.js, so if JS fails the photos still show */

.gallery-grid.images-fade .gallery-item img {
    opacity: 0;
    transition:
        opacity 0.9s ease,
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-grid.images-fade .gallery-item img.is-loaded {
    opacity: 1;
}


/* ---------- Gallery: responsive ---------- */

@media (max-width: 650px) {

    .gallery-section {
        padding: 70px 0 30px;
    }

    .gallery-section .section-heading {
        text-align: left;
    }

    .gallery-grid {
        width: 92%;
        height: auto;

        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: none;
        grid-auto-rows: auto;
        row-gap: 2px;
        column-gap: 6px;
    }

    .gallery-item {
        min-width: 0;
        height: auto;
        grid-column: auto;
        grid-row: auto;
    }

    .gallery-item img {
        height: 100%;
    }

    /* pattern repeats every 8 photos: wide, 2 squares, 2 landscape, 2 squares, wide */

    .gallery-item:nth-child(8n+1),
    .gallery-item:nth-child(8n) {
        grid-column: 1 / -1;
        aspect-ratio: 1 / 1;
    }

    .gallery-item:nth-child(8n+2),
    .gallery-item:nth-child(8n+3),
    .gallery-item:nth-child(8n+6),
    .gallery-item:nth-child(8n+7) {
        aspect-ratio: 1 / 1;
    }

    .gallery-item:nth-child(8n+4),
    .gallery-item:nth-child(8n+5) {
        grid-column: 1 / -1;
        aspect-ratio: 16 / 9;
    }
}


/* =========================================================
   9. VISIT US
   Desktop: text on the left (column is only as wide as the
            text), map fills the remaining width and the full
            height of the section.
   Mobile : (700px and below) stacked - text, then map.
========================================================= */

.visit-section {
    width: 100%;
    height: 350px;
    margin-bottom: 25px;

    display: grid;
    grid-template-columns: max-content 1fr;    /* text column = width of the text */

    background: #ffffff;
    color: var(--color-primary);
    overflow: hidden;
}


/* ---------- Left: text ---------- */

.visit-content {
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 0 0 0 30px;
    text-align: left;
    background: #ffffff;

    opacity: 0;
    transform: translate(-50px, 20px);
    transition:
        opacity 0.9s ease,
        transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.visit-section.show .visit-content {
    opacity: 1;
    transform: translate(0, 20px);
}

.visit-content .section-label {
    align-self: flex-start;
    margin: 0 0 10px;

    color: var(--color-gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.visit-content h2 {
    margin: 0 0 6px -10px;

    font-family: var(--font-heading);
    font-size: clamp(44px, 4.5vw, 58px);
    font-weight: 500;
    line-height: 1.05;

    color: var(--color-primary);
}

.visit-content h2 span {
    display: block;
    color: var(--color-gold);
}

.visit-content > p:not(.section-label) {
    margin: 0;

    color: var(--color-muted);
    font-size: 15px;
    line-height: 1.7;
}

.visit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: fit-content;
    margin-top: 20px;
    padding: 12px 18px;

    background: var(--color-primary);
    border: 1px solid var(--color-primary);
    border-radius: 18px;

    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;

    transition:
        background 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.visit-button:hover {
    background: var(--color-gold);
    border-color: var(--color-gold);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}


/* ---------- Right: map ---------- */

.visit-map {
    height: 100%;
    margin-left: 20px;
    align-self: stretch;
    overflow: hidden;

    transform: translate(50px, 0);
    transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.visit-section.show .visit-map {
    transform: translate(0, 0);
}

.visit-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}


/* ---------- Visit Us: responsive ---------- */

@media (max-width: 700px) {

    .visit-section {
        height: auto;
        grid-template-columns: 1fr;
    }

    .visit-content {
        height: auto;
        min-height: 280px;
        padding: 0 5px 0 30px;
    }

    .visit-content h2 {
        margin: 0 -10px 6px;
    }

    .visit-map {
        width: 100%;
        height: 260px;
        margin: -38px 0 0 5px;
        align-self: start;
        transform: translateY(15px);
    }

    .visit-section.show .visit-map {
        transform: translate(0, 45px);
    }

    .visit-map iframe {
        height: 260px;
    }
}

@media (max-width: 650px) {

    .visit-content h2 {
        font-size: clamp(40px, 10vw, 55px);
    }
}


/* =========================================================
   10. REDUCED MOTION
   Anyone who asks their device for less motion gets every
   section fully visible straight away, with no animation.
========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    .hero-slide {
        transition: none;
    }

    .hero h1 .letter {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .about-section,
    .menu-section,
    .gallery-grid,
    .visit-section,
    .about-image,
    .about-content,
    .menu-card,
    .gallery-item,
    .visit-content,
    .visit-map {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        animation: none !important;
    }

    .gallery-grid.images-fade .gallery-item img {
        opacity: 1;
        transition: none;
    }
}

/* =========================================================
   GALLERY LIGHTBOX
========================================================= */

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: rgba(2, 35, 26, 0.96);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.45s ease, visibility 0.45s ease;
}

.gallery-lightbox.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.gallery-lightbox-content {
    width: auto;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.80) translateY(25px);
    transition:
        opacity 0.45s ease,
        transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-lightbox.active .gallery-lightbox-content {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.gallery-lightbox-content img {
    display: block;
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
}

.gallery-lightbox-close {
    position: absolute;
    top: 22px;
    right: 28px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(228, 199, 122, 0.75);
    border-radius: 50%;
    background: transparent;
    color: #ffffff;
    font-size: 32px;
    font-family: Arial, sans-serif;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    opacity: 0;
    transform: scale(0.7) rotate(-45deg);
    transition:
        opacity 0.35s ease,
        transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
        background 0.3s ease,
        color 0.3s ease;
}

.gallery-lightbox.active .gallery-lightbox-close {
    opacity: 1;
    transform: scale(1) rotate(0);
}

.gallery-lightbox-close:hover {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: var(--color-deep-green);
}

@media (max-width: 600px) {
    .gallery-lightbox-close {
        top: 14px;
        right: 14px;
        width: 40px;
        height: 40px;
        font-size: 26px;
    }
}