/* ==========================================================================
   Ferris' Burger & Oyster Bar - Fun, Bright & Approachable Design
   Inspired by Scaddabush & CRAFT Beer Market
   Since 1991 | Victoria, BC
   ========================================================================== */

:root {
    /* Core Brand Colors - Warmer, More Inviting */
    --ferris-green: #2d7a4e;
    --ferris-green-dark: #1a5c38;
    --ferris-green-light: #3d9660;
    
    /* Warm Backgrounds */
    --cream: #faf8f3;
    --cream-dark: #f0ece2;
    --warm-white: #fffefa;
    --sand: #f5f0e6;
    
    /* Text Colors */
    --text-dark: #2a2a2a;
    --text-body: #4a4a4a;
    --text-muted: #777777;
    
    /* Fun Accent Colors - Coral/Terracotta (like Scaddabush) */
    --coral: #e57455;
    --coral-light: #f08c70;
    --coral-dark: #d45a3c;
    
    /* Secondary Accent - Teal (like CRAFT) */
    --teal: #2a9d8f;
    --teal-light: #40b4a6;
    --teal-dark: #21867a;
    
    /* Golden Accent */
    --gold: #d4a84b;
    --gold-light: #e5c06a;
    
    /* Friendly Rounded Corners */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --radius-full: 50px;
}

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

::selection {
    background: var(--coral);
    color: white;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--cream);
    color: var(--text-body);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   Typography - Bold & Playful (Oswald for headlines)
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', 'Impact', sans-serif;
    font-weight: 600;
    line-height: 1.15;
    color: var(--text-dark);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.display-xl {
    font-size: clamp(3rem, 10vw, 7rem);
    line-height: 0.95;
    font-weight: 700;
}

.display-lg {
    font-size: clamp(2.5rem, 7vw, 5rem);
    line-height: 1;
    font-weight: 600;
}

.display-md {
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 600;
}

p {
    font-size: 1.125rem;
    line-height: 1.8;
}

p.lead {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    line-height: 1.7;
    color: var(--text-muted);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s ease;
}

/* Utility Classes */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5vw, 4rem);
}

.container-narrow {
    max-width: 900px;
}

.container-wide {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5vw, 4rem);
}

.text-center { text-align: center; }
.text-green { color: var(--ferris-green); }
.text-coral { color: var(--coral); }
.text-muted { color: var(--text-muted); }

/* Reveal animations - Bouncy & Fun */
.reveal {
    opacity: 0;
    transform: translateY(25px) translateZ(0);
    transition: opacity 0.5s ease-out, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0) translateZ(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ==========================================================================
   Navigation - Clean & Friendly
   ========================================================================== */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.25rem 0;
    min-height: 100px;
}

.nav::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 254, 250, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    opacity: 0;
    transition: opacity 0.2s ease-out;
    z-index: -1;
    transform: translateZ(0);
    will-change: opacity;
}

.nav.scrolled::before {
    opacity: 1;
}

.nav.nav-dark {
    background: transparent;
}

.nav.nav-dark::before {
    background: rgba(26, 92, 56, 0.97);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.15);
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    height: 80px;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(1.5rem, 3vw, 2.5rem);
    list-style: none;
}

.nav-links a {
    font-family: 'Oswald', sans-serif;
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-dark);
    position: relative;
    padding: 0.5rem 0;
}

.nav-dark .nav-links a {
    color: var(--cream);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--coral);
    border-radius: 2px;
    transition: width 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Book Now CTA - Coral & Prominent (crisp rendering) */
.nav-links a.nav-cta {
    display: inline-block;
    background: var(--coral);
    color: white;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out, background-color 0.2s ease-out;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
}

.nav-links a.nav-cta::after {
    display: none !important;
}

.nav-links a.nav-cta:hover {
    background: var(--coral-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(229, 116, 85, 0.5);
}

.nav-links a.nav-cta:active {
    transform: translateY(0);
}

/* Mobile Menu */
.mobile-cta {
    background: var(--coral);
    color: white !important;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 1.5rem;
    /* Crisp rendering */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
}

.mobile-menu-btn {
    display: none;
    width: 32px;
    height: 24px;
    flex-direction: column;
    justify-content: space-between;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-menu-btn span {
    width: 100%;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-dark .mobile-menu-btn span {
    background: var(--cream);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--ferris-green) 0%, var(--ferris-green-light) 100%);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.75rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu.open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--cream);
    font-size: 2.5rem;
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
}

.mobile-menu a {
    color: var(--cream);
    font-family: 'Oswald', sans-serif;
    font-size: 1.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.3s ease, transform 0.3s ease;
}

.mobile-menu a:hover {
    color: var(--coral-light);
    transform: translateX(5px);
}

/* ==========================================================================
   Buttons - Rounded & Fun (with proper anti-aliasing)
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-family: 'Oswald', sans-serif;
    font-size: 0.9375rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: var(--radius-full);
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out, background-color 0.2s ease-out;
    cursor: pointer;
    border: none;
    /* Proper GPU acceleration without jagged edges */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    /* Prevent subpixel rendering issues */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.btn-primary {
    background: var(--coral);
    color: white;
    position: relative;
    /* Crisp edges - no overflow hidden which causes jagged borders */
    box-shadow: 0 4px 16px rgba(229, 116, 85, 0.35);
}

.btn-primary:hover {
    background: var(--coral-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(229, 116, 85, 0.45);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(229, 116, 85, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--ferris-green);
    border: 2px solid var(--ferris-green);
    box-shadow: 0 2px 8px rgba(45, 122, 78, 0.15);
}

.btn-secondary:hover {
    background: var(--ferris-green);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(45, 122, 78, 0.25);
}

.btn-secondary:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(45, 122, 78, 0.15);
}

.btn-ghost {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.4);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-ghost:hover {
    background: white;
    color: var(--ferris-green-dark);
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.btn-ghost:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.btn-lg {
    padding: 1.25rem 2.75rem;
    font-size: 1rem;
}

.btn-icon {
    width: 20px;
    height: 20px;
}

/* Link with arrow */
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ferris-green);
}

.link-arrow svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.link-arrow:hover {
    color: var(--coral);
}

.link-arrow:hover svg {
    transform: translateX(6px);
}

/* ==========================================================================
   Hero Section - Brighter & More Inviting
   ========================================================================== */

.hero {
    position: relative;
    min-height: 85vh;
    min-height: 85svh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-bg img.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-bg img.hero-slide.active {
    opacity: 1;
}

/* Dark gradient bands at top/bottom for nav + text readability, darker middle */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(20, 20, 20, 0.8) 0%,
        rgba(20, 20, 20, 0.5) 18%,
        rgba(20, 20, 20, 0.35) 35%,
        rgba(20, 20, 20, 0.3) 50%,
        rgba(20, 20, 20, 0.35) 65%,
        rgba(20, 20, 20, 0.5) 82%,
        rgba(20, 20, 20, 0.8) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 8rem 0 5rem;
    color: var(--cream);
}

.hero-centered .hero-content {
    text-align: center;
}

.hero-centered .hero-title,
.hero-centered .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
}

.hero-centered .hero-actions {
    justify-content: center;
}

.hero-eyebrow {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: white;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
    margin-bottom: 1.25rem;
    animation: fadeUp 0.7s ease 0.1s both;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: white;
    max-width: 850px;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 30px rgba(0,0,0,0.25);
    animation: fadeUp 0.7s ease 0.2s both;
    line-height: 1.2;
    font-weight: 600;
}

.hero-subtitle {
    font-size: clamp(1.0625rem, 2vw, 1.25rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    max-width: 580px;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    animation: fadeUp 0.7s ease 0.3s both;
}

.hero-actions {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    animation: fadeUp 0.7s ease 0.4s both;
}

.hero-actions .btn-primary {
    background: var(--coral);
    color: white;
    font-weight: 600;
    box-shadow: 0 6px 25px rgba(229, 116, 85, 0.5);
}

.hero-actions .btn-primary:hover {
    background: var(--coral-light);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 40px rgba(229, 116, 85, 0.6);
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Sticky Mobile CTA
   ========================================================================== */

.sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 900;
    padding: 1rem;
    background: linear-gradient(to top, rgba(255, 254, 250, 0.98), rgba(255, 254, 250, 0.92));
    backdrop-filter: blur(10px);
    box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.08);
}

.sticky-cta .btn {
    width: 100%;
    justify-content: center;
    font-size: 1rem;
    padding: 1.125rem;
    /* Crisp rendering on mobile */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
}

@media (max-width: 768px) {
    .sticky-cta {
        display: block;
    }
    
    body {
        padding-bottom: 85px;
    }
    
    .hero-actions {
        display: none;
    }
}

/* ==========================================================================
   Page Headers (Inner Pages)
   ========================================================================== */

.page-header {
    min-height: 55vh;
    display: flex;
    align-items: flex-end;
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, var(--ferris-green-dark) 0%, var(--ferris-green) 100%);
    color: var(--cream);
    position: relative;
    overflow: hidden;
}

.page-header[style*="background-image"] {
    background-size: cover;
    background-position: center;
}

.page-header[style*="background-image"]::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(20, 20, 20, 0.8) 0%,
        rgba(20, 20, 20, 0.4) 25%,
        rgba(20, 20, 20, 0.3) 50%,
        rgba(20, 20, 20, 0.5) 80%,
        rgba(20, 20, 20, 0.8) 100%
    );
}

.page-header-content {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    color: white;
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.page-header .eyebrow {
    color: var(--coral-light);
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 550px;
}

/* ==========================================================================
   Sections
   ========================================================================== */

section {
    padding: clamp(5rem, 12vh, 7rem) 0;
}

.section-dark {
    background: var(--ferris-green-dark);
    color: var(--cream);
}

.section-green {
    background: var(--ferris-green);
    color: var(--cream);
}

.section-alt {
    background: var(--sand);
}

/* Section eyebrow */
.eyebrow {
    font-family: 'Oswald', sans-serif;
    font-size: 0.8125rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--coral);
    margin-bottom: 0.75rem;
}

.section-dark .eyebrow,
.section-green .eyebrow {
    color: var(--coral-light);
}

/* ==========================================================================
   Story / About Section
   ========================================================================== */

.story-section {
    position: relative;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 8vw, 6rem);
    align-items: center;
}

.story-image-wrap {
    position: relative;
}

.story-image {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.story-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.story-image:hover img {
    transform: scale(1.04);
}

.story-badge {
    position: absolute;
    bottom: -1.25rem;
    right: -1.25rem;
    width: 110px;
    height: 110px;
    background: linear-gradient(135deg, var(--coral) 0%, var(--coral-dark) 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 10px 35px rgba(229, 116, 85, 0.4);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.story-badge:hover {
    transform: scale(1.08) rotate(5deg);
}

.story-badge span:first-child {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    opacity: 0.85;
}

.story-badge span:last-child {
    font-family: 'Oswald', sans-serif;
    font-size: 1.625rem;
    font-weight: 600;
}

.story-content h2 {
    margin-bottom: 1.5rem;
    text-transform: none;
}

.story-content p {
    margin-bottom: 1.25rem;
    color: var(--text-body);
}

.story-quote {
    font-family: 'Open Sans', sans-serif;
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    font-style: italic;
    font-weight: 500;
    color: var(--ferris-green);
    border-left: 4px solid var(--coral);
    padding-left: 1.5rem;
    margin: 2rem 0;
    border-radius: 2px;
}

/* ==========================================================================
   Marquee / Ticker - Fun & Energetic
   ========================================================================== */

.marquee {
    overflow: hidden;
    background: var(--ferris-green);
    padding: 1rem 0;
}

.marquee-inner {
    display: flex;
    gap: 3.5rem;
    animation: marquee 25s linear infinite;
    width: max-content;
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    white-space: nowrap;
    color: white;
    font-family: 'Oswald', sans-serif;
    font-size: 0.9375rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.marquee-item::before {
    content: '✦';
    color: var(--coral-light);
    font-size: 0.75rem;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-33.333%); }
}

/* ==========================================================================
   Showcase Section
   ========================================================================== */

.showcase {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    background: var(--ferris-green-dark);
    padding: 0;
    position: relative;
}

.showcase::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: clamp(5rem, 12vh, 7rem);
    background: var(--ferris-green-dark);
    z-index: -1;
    bottom: 100%;
}

.showcase-left,
.showcase-right {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
}

.showcase-left img,
.showcase-right img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.7s ease;
}

.showcase-left img.active,
.showcase-right img.active {
    opacity: 1;
}

.showcase-center {
    background: var(--ferris-green-dark);
    position: relative;
    z-index: 2;
}

.showcase-slide {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 4rem 2rem;
}

.showcase-num {
    font-family: 'Oswald', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: var(--coral-light);
    margin-bottom: 1.5rem;
}

.showcase-slide h3 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.showcase-slide p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    max-width: 360px;
    margin-bottom: 2rem;
}

.showcase-btn {
    display: inline-block;
    font-family: 'Oswald', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.35);
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    transition: background-color 0.2s ease-out, border-color 0.2s ease-out, transform 0.2s ease-out;
    /* Crisp rendering */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
}

.showcase-btn:hover {
    background: var(--coral);
    color: white;
    border-color: var(--coral);
    transform: translateY(-2px);
}

/* ==========================================================================
   Mobile Photo Grid - Hidden on desktop, prominent on mobile
   ========================================================================== */

.mobile-photo-grid {
    display: none;
    padding: 0;
    background: var(--cream);
}

.photo-grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
}

.photo-grid-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.photo-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-grid-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem 0.75rem;
    background: linear-gradient(to top, rgba(42, 42, 42, 0.75) 0%, transparent 100%);
}

.photo-grid-overlay span {
    font-family: 'Oswald', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 1024px) {
    .mobile-photo-grid {
        display: block;
    }
}

/* ==========================================================================
   Mobile Photo-Rich Showcase
   ==========================================================================*/

@media (max-width: 1024px) {
    .showcase {
        display: block;
    }
    
    .showcase-left,
    .showcase-right {
        display: none;
    }
    
    .showcase-center {
        display: flex;
        flex-direction: column;
    }
    
    .showcase-slide {
        min-height: auto;
        padding: 3rem 1.5rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        position: relative;
    }
    
    .showcase-slide:last-child {
        border-bottom: none;
    }
    
    /* Add background images to mobile showcase slides */
    .showcase-slide::before {
        content: '';
        position: absolute;
        inset: 0;
        background-size: cover;
        background-position: center;
        opacity: 0.25;
        z-index: -1;
    }
    
    .showcase-slide[data-index="0"]::before {
        background-image: url('../images/ferris-oysters-plated.jpg');
    }
    
    .showcase-slide[data-index="1"]::before {
        background-image: url('../images/best-burger-victoria-bc.jpg');
    }
    
    .showcase-slide[data-index="2"]::before {
        background-image: url('../images/ferris-burger-and-oyster-bar-interior-2.jpg');
    }
}

/* ==========================================================================
   Pillars / Spaces Grid (Private Events)
   ========================================================================== */

.pillars {
    padding: clamp(6rem, 15vh, 10rem) 0;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255,255,255,0.1);
}

.pillar {
    background: var(--ferris-green-dark);
    padding: clamp(2.5rem, 5vw, 4rem);
    position: relative;
    overflow: hidden;
    transition: background 0.4s ease;
}

.pillar:hover {
    background: var(--ferris-green);
}

.pillar-number {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(4rem, 8vw, 6rem);
    font-weight: 400;
    color: rgba(255,255,255,0.08);
    position: absolute;
    top: -0.5rem;
    right: 1rem;
    line-height: 1;
    transition: color 0.4s ease;
}

.pillar:hover .pillar-number {
    color: rgba(255,255,255,0.15);
}

.pillar-content {
    position: relative;
    z-index: 1;
}

.pillar h3 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    color: var(--cream);
    margin-bottom: 1rem;
}

.pillar p {
    color: rgba(255,255,255,0.75);
    font-size: 1rem;
    line-height: 1.7;
}

/* ==========================================================================
   Horizontal Scroll Gallery
   ========================================================================== */

.gallery-section {
    background: var(--sand);
    padding: clamp(5rem, 12vh, 8rem) 0;
    overflow: hidden;
}

.gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.gallery-scroll {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding-bottom: 2rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.gallery-scroll.dragging {
    cursor: grabbing !important;
    user-select: none;
}

.gallery-scroll.dragging * {
    pointer-events: none;
}

.gallery-scroll::-webkit-scrollbar {
    display: none;
}

.gallery-item {
    flex: 0 0 auto;
    width: clamp(280px, 38vw, 420px);
    scroll-snap-align: start;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18);
}

.gallery-item:first-child {
    margin-left: clamp(1.5rem, 5vw, 4rem);
}

.gallery-item:last-child {
    margin-right: clamp(1.5rem, 5vw, 4rem);
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1.5rem;
    background: linear-gradient(to top, rgba(42, 42, 42, 0.85), transparent);
    color: white;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

.gallery-caption h4 {
    font-size: 1.125rem;
    color: white;
    margin-bottom: 0.25rem;
}

.gallery-caption p {
    font-size: 0.9375rem;
    opacity: 0.85;
}

/* ==========================================================================
   Menu Preview Grid
   ========================================================================== */

.menu-preview {
    padding: clamp(5rem, 12vh, 7rem) 0;
    background: var(--cream);
}

.menu-preview-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 3.5rem;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.menu-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 1.75rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transform: translateZ(0);
}

.menu-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.menu-card-content h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    text-transform: none;
}

.menu-card-content p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.menu-card-price {
    font-family: 'Oswald', sans-serif;
    font-size: 1.375rem;
    font-weight: 500;
    color: var(--coral);
    white-space: nowrap;
}

/* ==========================================================================
   Happy Hour Highlight
   ========================================================================== */

.happy-hour-section {
    background: linear-gradient(135deg, var(--ferris-green) 0%, var(--ferris-green-dark) 100%);
    padding: clamp(5rem, 12vh, 7rem) 0;
    position: relative;
    overflow: hidden;
}

.happy-hour-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 70%;
    height: 160%;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.08) 0%, transparent 60%);
    pointer-events: none;
}

.happy-hour-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 8vw, 5rem);
    align-items: center;
}

.happy-hour-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.happy-hour-time {
    font-family: 'Oswald', sans-serif;
    font-size: 1.375rem;
    color: var(--coral-light);
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

.happy-hour-content p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
}

.happy-hour-deals {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.deal-item {
    text-align: left;
}

.deal-price {
    font-family: 'Oswald', sans-serif;
    font-size: 2.75rem;
    font-weight: 600;
    color: white;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.deal-label {
    font-family: 'Oswald', sans-serif;
    font-size: 0.875rem;
    color: var(--coral-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.happy-hour-image {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.5s ease;
}

.happy-hour-image:hover {
    transform: translateY(-10px) rotate(2deg);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.happy-hour-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.happy-hour-image:hover img {
    transform: scale(1.05);
}

/* ==========================================================================
   Private Events CTA
   ========================================================================== */

.events-cta {
    padding: clamp(5rem, 12vh, 8rem) 0;
    background: var(--sand);
}

.events-cta-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 8vw, 5rem);
    align-items: center;
}

.events-cta-inner.reversed,
.happy-hour-inner.reversed,
.contact-grid.reversed {
    direction: rtl;
}

.events-cta-inner.reversed > *,
.happy-hour-inner.reversed > *,
.contact-grid.reversed > * {
    direction: ltr;
}

.events-cta-content h2 {
    margin-bottom: 1.5rem;
}

.events-cta-content p {
    color: var(--text-body);
    margin-bottom: 1.25rem;
}

.events-features {
    list-style: none;
    margin: 2rem 0;
}

.events-features li {
    padding: 0.875rem 0;
    padding-left: 2rem;
    position: relative;
    font-size: 1.0625rem;
    color: var(--text-dark);
    border-bottom: 1px solid var(--cream-dark);
}

.events-features li:last-child {
    border-bottom: none;
}

.events-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: var(--coral);
    border-radius: 50%;
}

.events-cta-image {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.5s ease;
}

.events-cta-image:hover {
    transform: translateY(-10px) rotate(-2deg);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

.events-cta-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.events-cta-image:hover img {
    transform: scale(1.05);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */

.contact-section {
    background: var(--ferris-green-dark);
    color: var(--cream);
    padding: clamp(5rem, 12vh, 7rem) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(3rem, 8vw, 5rem);
}

.contact-info h2 {
    color: white;
    margin-bottom: 2rem;
}

.contact-block {
    margin-bottom: 2rem;
}

.contact-block h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--coral-light);
    margin-bottom: 0.625rem;
}

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

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

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-links a {
    width: 48px;
    height: 48px;
    border: 2px solid rgba(255,255,255,0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.social-links a:hover {
    background: var(--coral);
    border-color: var(--coral);
    transform: translateY(-3px) scale(1.1);
}

.social-links svg {
    width: 20px;
    height: 20px;
    fill: white;
    transition: fill 0.3s ease;
}

.contact-map {
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 100%;
    min-height: 380px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ==========================================================================
   Footer - Friendly & Organized
   ========================================================================== */

footer {
    background: #143d25;
    color: var(--cream);
    padding: 4rem 0 2rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr repeat(4, 1fr);
    gap: 2.5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand img {
    height: 65px;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    font-size: 1rem;
    color: rgba(255,255,255,0.75);
    max-width: 300px;
    line-height: 1.8;
}

.footer-column h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--coral-light);
    margin-bottom: 1.25rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    font-size: 1rem;
    color: rgba(255,255,255,0.75);
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.5);
}

/* ==========================================================================
   Menu Page Styles
   ========================================================================== */

.menu-page-section {
    padding: clamp(4rem, 10vh, 6rem) 0;
}

.menu-section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.menu-section-header h2 {
    margin-bottom: 0.5rem;
}

.menu-section-header p {
    color: var(--text-muted);
    font-style: italic;
}

.menu-full-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    max-width: 1000px;
    margin: 0 auto;
}

.menu-note {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.9375rem;
    color: var(--text-muted);
    font-style: italic;
}

/* ==========================================================================
   Forms
   ========================================================================== */

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-family: 'Oswald', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--cream-dark);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: 'Open Sans', sans-serif;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--ferris-green);
    box-shadow: 0 0 0 3px rgba(45, 122, 78, 0.15);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

/* ==========================================================================
   Responsive - Comprehensive Mobile Experience
   ========================================================================== */

@media (max-width: 1024px) {
    .story-grid,
    .happy-hour-inner,
    .events-cta-inner,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .story-image-wrap {
        order: -1;
    }
    
    .pillars-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
    
    /* Faster transitions on tablet/mobile */
    .btn,
    .nav-cta,
    .gallery-item,
    .menu-card {
        transition-duration: 0.15s;
    }
}

@media (max-width: 768px) {
    /* ==========================================================================
       Mobile Performance Optimizations
       ========================================================================== */
    
    /* Reduce animation complexity for smoother scrolling */
    .reveal {
        transform: translateY(15px) translateZ(0);
        transition: opacity 0.4s ease-out, transform 0.4s ease-out;
    }
    
    /* Faster, simpler hover states */
    .btn:hover,
    .nav-cta:hover {
        transform: translateY(-1px);
    }
    
    /* Remove complex hover effects on touch devices */
    .gallery-item:hover,
    .happy-hour-image:hover,
    .events-cta-image:hover,
    .story-image:hover img {
        transform: none;
    }
    
    .gallery-item:hover .gallery-caption {
        transform: translateY(0);
    }
    
    /* ==========================================================================
       Mobile Navigation
       ========================================================================== */
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav {
        padding: 1rem 0;
        min-height: 80px;
    }
    
    .nav-logo {
        height: 60px;
    }
    
    /* ==========================================================================
       Mobile Hero - Compact & Impactful
       ========================================================================== */
    
    .hero-content {
        padding: 8rem 0 4rem;
    }
    
    .hero-title {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 2rem;
    }
    
    .hero-eyebrow {
        font-size: 0.75rem;
        margin-bottom: 1rem;
    }
    
    /* ==========================================================================
       Mobile Gallery - Prominent & Photo-Rich
       ========================================================================== */
    
    .gallery-section {
        padding: 3rem 0 4rem;
    }
    
    .gallery-header {
        padding: 0 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .gallery-header h2 {
        font-size: 1.5rem;
    }
    
    .gallery-scroll {
        gap: 1rem;
        padding-bottom: 1.5rem;
        scroll-padding-left: 1.5rem;
    }
    
    .gallery-item {
        width: 75vw;
        max-width: 320px;
    }
    
    .gallery-item:first-child {
        margin-left: 1.5rem;
    }
    
    .gallery-item:last-child {
        margin-right: 1.5rem;
    }
    
    /* Always show captions on mobile */
    .gallery-caption {
        transform: translateY(0);
        padding: 1.25rem 1rem;
        background: linear-gradient(to top, rgba(42, 42, 42, 0.85) 0%, rgba(42, 42, 42, 0.6) 70%, transparent 100%);
    }
    
    .gallery-caption h4 {
        font-size: 1rem;
    }
    
    .gallery-caption p {
        font-size: 0.875rem;
    }
    
    /* ==========================================================================
       Mobile Story Section
       ========================================================================== */
    
    .story-section {
        padding: 3rem 0;
    }
    
    .story-grid {
        gap: 2rem;
    }
    
    .story-image {
        border-radius: var(--radius-sm);
    }
    
    .story-badge {
        width: 85px;
        height: 85px;
        bottom: -0.75rem;
        right: -0.5rem;
    }
    
    .story-badge span:first-child {
        font-size: 0.5rem;
    }
    
    .story-badge span:last-child {
        font-size: 1.25rem;
    }
    
    .story-content h2 {
        font-size: 1.5rem;
    }
    
    .story-quote {
        font-size: 1rem;
        padding-left: 1rem;
        margin: 1.5rem 0;
    }
    
    /* ==========================================================================
       Mobile Menu Preview
       ========================================================================== */
    
    .menu-preview {
        padding: 3rem 0;
    }
    
    .menu-preview-header {
        margin-bottom: 2rem;
    }
    
    .menu-grid,
    .menu-full-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .menu-card {
        padding: 1.25rem;
        border-radius: var(--radius-sm);
    }
    
    .menu-card-content h4 {
        font-size: 1rem;
    }
    
    .menu-card-price {
        font-size: 1.125rem;
    }
    
    /* ==========================================================================
       Mobile Happy Hour
       ========================================================================== */
    
    .happy-hour-section {
        padding: 3rem 0;
    }
    
    .happy-hour-inner {
        gap: 2rem;
    }
    
    .happy-hour-content h2 {
        font-size: 1.75rem;
    }
    
    .happy-hour-time {
        font-size: 1.125rem;
    }
    
    .happy-hour-deals {
        gap: 1.5rem;
    }
    
    .deal-price {
        font-size: 2rem;
    }
    
    .deal-label {
        font-size: 0.75rem;
    }
    
    .happy-hour-image {
        border-radius: var(--radius-sm);
    }
    
    /* ==========================================================================
       Mobile Events CTA
       ========================================================================== */
    
    .events-cta {
        padding: 3rem 0;
    }
    
    .events-cta-content h2 {
        font-size: 1.5rem;
    }
    
    .events-features li {
        padding: 0.625rem 0;
        padding-left: 1.5rem;
        font-size: 0.9375rem;
    }
    
    .events-features li::before {
        width: 8px;
        height: 8px;
    }
    
    .events-cta-image {
        border-radius: var(--radius-sm);
    }
    
    /* ==========================================================================
       Mobile Showcase - With Photos
       ========================================================================== */
    
    .showcase-slide {
        padding: 2.5rem 1.5rem;
    }
    
    .showcase-slide h3 {
        font-size: 2rem;
    }
    
    .showcase-slide p {
        font-size: 0.9375rem;
        max-width: 100%;
    }
    
    .showcase-btn {
        padding: 0.875rem 1.75rem;
        font-size: 0.8125rem;
    }
    
    /* ==========================================================================
       Mobile Contact
       ========================================================================== */
    
    .contact-section {
        padding: 3rem 0;
    }
    
    .contact-info h2 {
        font-size: 1.75rem;
    }
    
    .contact-map {
        min-height: 280px;
        border-radius: var(--radius-sm);
    }
    
    .social-links a {
        width: 44px;
        height: 44px;
    }
    
    /* ==========================================================================
       Mobile Footer
       ========================================================================== */
    
    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-brand {
        margin-bottom: 1rem;
    }
    
    .footer-brand img {
        height: 55px;
    }
    
    .footer-brand p {
        margin: 0 auto;
        font-size: 0.9375rem;
    }
    
    .footer-column h4 {
        margin-bottom: 0.75rem;
    }
    
    .footer-column li {
        margin-bottom: 0.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        padding-top: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    /* ==========================================================================
       Mobile Marquee
       ========================================================================== */
    
    .marquee {
        padding: 0.75rem 0;
    }
    
    .marquee-item {
        font-size: 0.8125rem;
        gap: 0.625rem;
    }
    
    .marquee-inner {
        gap: 2.5rem;
    }
    
    /* ==========================================================================
       Mobile Sticky CTA - Always Visible
       ========================================================================== */
    
    .sticky-cta {
        padding: 0.875rem 1rem;
        background: rgba(255, 254, 250, 0.98);
    }
    
    .sticky-cta .btn {
        padding: 1rem;
        font-size: 0.9375rem;
        border-radius: var(--radius-lg);
    }
}

/* ==========================================================================
   Small Mobile (480px and below)
   ========================================================================== */

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .gallery-item {
        width: 85vw;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .display-md {
        font-size: 1.5rem;
    }
    
    .container {
        padding: 0 1.25rem;
    }
}

/* ==========================================================================
   OpenTable Booking Modal
   ========================================================================== */

.booking-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 1rem;
}

.booking-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.booking-modal {
    background: white;
    border-radius: var(--radius-md);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    transform: translateY(20px) scale(0.97);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
}

.booking-modal-overlay.active .booking-modal {
    transform: translateY(0) scale(1);
}

.booking-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--cream-dark);
    background: var(--cream);
}

.booking-modal-header h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-dark);
    margin: 0;
}

.booking-modal-close {
    background: none;
    border: none;
    font-size: 1.75rem;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.25rem;
    line-height: 1;
    transition: color 0.2s ease;
}

.booking-modal-close:hover {
    color: var(--text-dark);
}

.booking-modal-body {
    height: 550px;
    overflow: hidden;
}

.booking-modal-body iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 768px) {
    .booking-modal {
        max-width: 100%;
        max-height: 85vh;
        border-radius: var(--radius-md) var(--radius-md) 0 0;
        margin-top: auto;
    }
    
    .booking-modal-overlay {
        align-items: flex-end;
        padding: 0;
    }
    
    .booking-modal-body {
        height: 70vh;
    }
}

/* ==========================================================================
   Gift Cards Section
   ========================================================================== */

.gift-cards-section {
    background: var(--warm-white);
    padding: clamp(4rem, 10vh, 6rem) 0;
}

.gift-cards-inner {
    text-align: center;
    max-width: 650px;
    margin: 0 auto;
}

.gift-cards-inner h2 {
    margin-bottom: 1rem;
}

.gift-cards-inner p {
    color: var(--text-body);
    margin-bottom: 2rem;
}

.gift-card-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================================================
   Reduced Motion - Accessibility
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
    
    .marquee-inner {
        animation: none;
    }
}

/* ==========================================================================
   Touch Device Optimizations
   ========================================================================== */

@media (hover: none) and (pointer: coarse) {
    /* Remove hover effects on touch devices */
    .btn:hover,
    .nav-cta:hover,
    .gallery-item:hover,
    .menu-card:hover {
        transform: none;
        box-shadow: inherit;
    }
    
    /* Make tap targets larger */
    .nav-links a:not(.nav-cta),
    .footer-column a {
        padding: 0.5rem 0;
    }
    
    /* Always show gallery captions on touch */
    .gallery-caption {
        transform: translateY(0);
    }
    
    /* Improve touch response */
    .btn,
    a,
    button {
        -webkit-tap-highlight-color: transparent;
    }
}
