/*
   LA PLAZA BEST FOOD TRUCKS - LIQUID GLASS DESIGN

   A premium website using Apple's Liquid Glass design language
   with a warm terracotta and gold color palette.

   Represents the warmth of Latin American cuisine and community.
*/

/* ====================
   CSS CUSTOM PROPERTIES (Design Tokens)
   ==================== */

:root {
    /* Terracotta Palette - Primary Brand Colors */
    --terracotta-50: #fef8f0;
    --terracotta-100: #fef0e0;
    --terracotta-200: #fdd8b8;
    --terracotta-300: #f5a366;
    --terracotta-400: #e07c3e;
    --terracotta-500: #c46830;
    --terracotta-600: #a85628;
    --terracotta-700: #8b4522;
    --terracotta-800: #6d3720;
    --terracotta-900: #5a2e1d;

    /* Gold Accents */
    --gold-light: #f0d48a;
    --gold: #d4a853;
    --gold-dark: #b8923e;

    /* Earth Tones */
    --earth-light: #a67c52;
    --earth: #8b5e3c;
    --earth-dark: #5c3d26;
    --cream: #fef8f0;
    --cream-dark: #f5ebe0;

    /* Semantic Brand Colors */
    --plaza-terracotta: #e07c3e;
    --plaza-terracotta-dark: #c46830;
    --plaza-terracotta-light: #f5a366;
    --plaza-gold: #d4a853;
    --plaza-cream: #fef8f0;
    --plaza-earth: #8b5e3c;

    /* Semantic Colors - Light Mode */
    --text-primary: #1d1d1f;
    --text-secondary: #6e6e73;
    --text-tertiary: #86868b;
    --text-on-vibrant: rgba(255, 255, 255, 0.97);
    --text-on-terracotta: #ffffff;

    /* Glass Materials - Light Mode */
    --glass-thick: rgba(255, 255, 255, 0.72);
    --glass-regular: rgba(255, 255, 255, 0.56);
    --glass-thin: rgba(255, 255, 255, 0.32);
    --glass-ultra-thin: rgba(255, 255, 255, 0.16);

    /* Terracotta-Tinted Glass Materials */
    --glass-warm: rgba(224, 124, 62, 0.12);
    --glass-warm-light: rgba(245, 163, 102, 0.16);
    --glass-warm-vibrant: rgba(224, 124, 62, 0.24);
    --glass-warm-strong: rgba(224, 124, 62, 0.36);
    --glass-gold: rgba(212, 168, 83, 0.20);
    --glass-cream: rgba(254, 248, 240, 0.64);

    /* Borders & Separators */
    --border-glass: rgba(255, 255, 255, 0.48);
    --border-glass-subtle: rgba(255, 255, 255, 0.24);
    --border-glass-warm: rgba(224, 124, 62, 0.24);
    --border-divider: rgba(0, 0, 0, 0.08);

    /* Shadows - Light Mode */
    --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.08),
                    0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-glass-elevated: 0 16px 48px rgba(0, 0, 0, 0.12),
                             0 4px 16px rgba(0, 0, 0, 0.06);
    --shadow-glass-floating: 0 24px 64px rgba(0, 0, 0, 0.16),
                             0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-warm-glow: 0 8px 32px rgba(224, 124, 62, 0.28);
    --shadow-warm-glow-intense: 0 12px 40px rgba(224, 124, 62, 0.40);
    --shadow-gold-glow: 0 8px 24px rgba(212, 168, 83, 0.32);

    /* Blur Amounts */
    --blur-thick: 40px;
    --blur-regular: 24px;
    --blur-thin: 16px;
    --blur-subtle: 8px;

    /* Spacing (8pt Grid) */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;

    /* Typography */
    --font-system: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text',
                   'Helvetica Neue', 'Segoe UI', Roboto, sans-serif;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-round: 9999px;

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Background Gradients */
    --bg-base: #fef8f0;
    --bg-elevated: #ffffff;

    /* Sunset Terracotta Hero Gradient */
    --bg-gradient-hero: linear-gradient(135deg,
        #fef8f0 0%,
        #f5a366 25%,
        #e07c3e 50%,
        #c46830 75%,
        #8b5e3c 100%);

    /* Warm Terracotta Gradient */
    --bg-gradient-warm: linear-gradient(135deg,
        #f5a366 0%,
        #e07c3e 40%,
        #c46830 70%,
        #a85628 100%);

    /* Golden Hour Gradient */
    --bg-gradient-gold: linear-gradient(135deg,
        #fef8f0 0%,
        #f0d48a 50%,
        #d4a853 100%);

    /* Earth Tones Gradient */
    --bg-gradient-earth: linear-gradient(135deg,
        #c46830 0%,
        #8b5e3c 50%,
        #5c3d26 100%);
}

/* ====================
   DARK MODE SUPPORT
   ==================== */

@media (prefers-color-scheme: dark) {
    :root {
        --text-primary: #f5f5f7;
        --text-secondary: #a1a1a6;
        --text-tertiary: #6e6e73;

        --glass-thick: rgba(44, 44, 46, 0.82);
        --glass-regular: rgba(44, 44, 46, 0.64);
        --glass-thin: rgba(44, 44, 46, 0.40);
        --glass-ultra-thin: rgba(44, 44, 46, 0.24);

        --glass-warm: rgba(224, 124, 62, 0.20);
        --glass-warm-light: rgba(245, 163, 102, 0.24);
        --glass-warm-vibrant: rgba(224, 124, 62, 0.32);
        --glass-warm-strong: rgba(224, 124, 62, 0.44);

        --border-glass: rgba(255, 255, 255, 0.16);
        --border-glass-subtle: rgba(255, 255, 255, 0.08);
        --border-glass-warm: rgba(224, 124, 62, 0.32);

        --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.32),
                        0 2px 8px rgba(0, 0, 0, 0.24);
        --shadow-warm-glow: 0 8px 32px rgba(224, 124, 62, 0.36);

        --bg-base: #1a1412;
        --bg-elevated: #2c2420;

        --bg-gradient-hero: linear-gradient(135deg,
            rgba(90, 46, 29, 0.95) 0%,
            rgba(139, 94, 60, 0.90) 35%,
            rgba(168, 86, 40, 0.85) 65%,
            rgba(92, 61, 38, 0.90) 100%);
    }
}

/* ====================
   REDUCED MOTION SUPPORT
   ==================== */

@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;
    }
}

/* ====================
   BASIC SETUP
   ==================== */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-system);
    font-weight: var(--font-weight-regular);
    line-height: 1.5;
    color: var(--text-primary);
    background-color: var(--bg-base);
    overflow-x: hidden;
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    width: 100%;
}

/* ====================
   NAVIGATION BAR
   ==================== */

.navbar {
    position: sticky;
    top: 0;
    z-index: 100;

    background: var(--glass-thick);
    backdrop-filter: blur(var(--blur-thick)) saturate(180%);
    -webkit-backdrop-filter: blur(var(--blur-thick)) saturate(180%);

    border-bottom: 1px solid var(--border-glass-subtle);
    box-shadow: var(--shadow-glass);

    padding: var(--space-md) 0;
    padding-top: max(var(--space-md), env(safe-area-inset-top));
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
        rgba(224, 124, 62, 0.06) 0%,
        rgba(212, 168, 83, 0.04) 100%);
    pointer-events: none;
    z-index: -1;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--plaza-terracotta);
    letter-spacing: -0.02em;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--space-xl);
    align-items: center;
}

.nav-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    font-size: 0.9375rem;
    letter-spacing: -0.01em;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-round);
    transition: all var(--transition-fast);
}

.nav-menu a:hover {
    background: var(--glass-warm);
    color: var(--plaza-terracotta);
}

.nav-menu a:focus-visible {
    outline: 2px solid var(--plaza-terracotta);
    outline-offset: 2px;
}

/* Language Toggle Button */
.lang-toggle-item {
    list-style: none;
}

.lang-toggle {
    background: var(--glass-warm-vibrant);
    border: 1px solid var(--border-glass-warm);
    color: var(--plaza-terracotta-dark);
    font-weight: var(--font-weight-semibold);
    font-size: 0.875rem;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-round);
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: 0 2px 8px rgba(224, 124, 62, 0.15);
    backdrop-filter: blur(var(--blur-regular));
    -webkit-backdrop-filter: blur(var(--blur-regular));
}

.lang-toggle:hover {
    background: var(--glass-warm-strong);
    border-color: var(--plaza-terracotta);
    transform: translateY(-2px);
}

.lang-toggle:focus-visible {
    outline: 2px solid var(--plaza-terracotta);
    outline-offset: 2px;
}

/* ====================
   HERO SECTION
   ==================== */

.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-3xl) var(--space-lg);
    overflow: hidden;
    width: 100%;

    background-image: url('hero-image.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.5) 100%);
    pointer-events: none;
}

.hero-content {
    z-index: 2;
    position: relative;
    max-width: 100%;
    width: 100%;
    padding: 0 var(--space-md);
}

.hero-title {
    font-size: clamp(2.2rem, 7vw, 4rem);
    font-weight: var(--font-weight-bold);
    color: var(--text-on-vibrant);
    letter-spacing: -0.03em;
    margin-bottom: var(--space-md);
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
    animation: gentle-float 6s ease-in-out infinite;
    line-height: 1.1;
}

.hero-title-sub {
    font-size: 0.85em;
    display: block;
}

.hero-subheader {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: var(--font-weight-bold);
    color: var(--text-on-vibrant);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: var(--space-md);
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
}

.hero-tagline {
    font-size: clamp(1.25rem, 4vw, 2rem);
    font-weight: var(--font-weight-semibold);
    color: var(--text-on-vibrant);
    letter-spacing: -0.02em;
    margin-bottom: var(--space-sm);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.15);
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.25rem);
    font-weight: var(--font-weight-regular);
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: var(--space-xl);
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--space-xl);
}

/* CTA Button - Glass Pill */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md) var(--space-xl);
    font-size: 1.0625rem;
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
    border-radius: var(--radius-round);
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);

    background: var(--glass-thick);
    backdrop-filter: blur(var(--blur-regular)) saturate(180%);
    -webkit-backdrop-filter: blur(var(--blur-regular)) saturate(180%);
    color: var(--plaza-terracotta);
    border: 1px solid var(--border-glass);
    box-shadow: var(--shadow-glass);
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-glass-elevated), var(--shadow-warm-glow);
    background: rgba(254, 248, 240, 0.95);
    color: var(--plaza-terracotta-dark);
}

.cta-button:active {
    transform: translateY(0);
}

.cta-button:focus-visible {
    outline: 2px solid var(--text-on-vibrant);
    outline-offset: 2px;
}

/* Secondary CTA */
.cta-secondary {
    background: var(--glass-thin);
    color: var(--text-on-vibrant);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.cta-secondary:hover {
    background: var(--glass-regular);
    border-color: rgba(255, 255, 255, 0.6);
    color: var(--text-on-vibrant);
}

/* Floating Sprinkles */
.sprinkles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}

.sprinkle {
    position: absolute;
    font-size: 2.5rem;
    opacity: 0.7;
    animation: float 8s infinite ease-in-out;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.sprinkle:nth-child(1) { top: 10%; left: 8%; animation-delay: 0s; }
.sprinkle:nth-child(2) { top: 15%; right: 10%; animation-delay: 1s; }
.sprinkle:nth-child(3) { top: 60%; left: 5%; animation-delay: 2s; }
.sprinkle:nth-child(4) { bottom: 20%; right: 8%; animation-delay: 3s; }
.sprinkle:nth-child(5) { top: 40%; left: 85%; animation-delay: 4s; }
.sprinkle:nth-child(6) { bottom: 35%; left: 12%; animation-delay: 5s; }
.sprinkle:nth-child(7) { top: 25%; left: 50%; animation-delay: 6s; }

/* ====================
   SECTION TITLES
   ==================== */

.section-title {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: var(--font-weight-bold);
    text-align: center;
    color: var(--plaza-terracotta);
    letter-spacing: -0.02em;
    margin-bottom: var(--space-md);
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    font-weight: var(--font-weight-regular);
    color: var(--text-secondary);
    margin-bottom: var(--space-2xl);
}

/* ====================
   FOOD TRUCKS SECTION
   ==================== */

.trucks {
    padding: var(--space-3xl) 0;
    background-color: var(--bg-base);
    position: relative;
}

.trucks::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg,
        rgba(224, 124, 62, 0.04) 0%,
        transparent 100%);
    pointer-events: none;
}

/* Filter Tabs */
.truck-filters {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
}

.filter-btn {
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-round);
    border: 1px solid var(--border-glass-warm);
    background: var(--glass-warm-light);
    color: var(--plaza-terracotta-dark);
    font-weight: var(--font-weight-medium);
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-btn:hover {
    background: var(--glass-warm-vibrant);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--plaza-terracotta);
    color: var(--text-on-vibrant);
    border-color: var(--plaza-terracotta);
    box-shadow: var(--shadow-warm-glow);
}

/* Trucks Carousel Container */
.trucks-grid-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
    margin: 0 auto;
}

/* Trucks Grid - Now a Carousel */
.trucks-grid {
    display: flex;
    gap: var(--space-lg);
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    padding: var(--space-md) 0;
    cursor: grab;
    user-select: none;
}

.trucks-grid:active {
    cursor: grabbing;
}

/* Hide scrollbar for Chrome, Safari, Opera */
.trucks-grid::-webkit-scrollbar {
    display: none;
}

/* Truck Card */
.truck-card {
    position: relative;
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    text-align: center;
    flex: 0 0 320px;
    min-width: 320px;

    background: var(--glass-thick);
    backdrop-filter: blur(var(--blur-thick)) saturate(180%);
    -webkit-backdrop-filter: blur(var(--blur-thick)) saturate(180%);

    border: 1px solid var(--border-glass);
    box-shadow: var(--shadow-glass),
                inset 0 1px 0 rgba(255, 255, 255, 0.5);

    transition: all var(--transition-normal);
}

.truck-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-glass-elevated),
                var(--shadow-warm-glow),
                inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.truck-card.hidden {
    display: none;
}

/* Truck Image Placeholder */
.truck-image-placeholder {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, var(--cream) 0%, var(--cream-dark) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    border: 1px solid var(--border-glass-subtle);
}

.truck-emoji {
    font-size: 4rem;
}

/* Truck Badge */
.truck-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-md);
    background: var(--glass-gold);
    border-radius: var(--radius-round);
    font-size: 0.8125rem;
    font-weight: var(--font-weight-medium);
    color: var(--plaza-earth);
    margin-bottom: var(--space-md);
}

.truck-badge .flag {
    font-size: 1rem;
}

.truck-name {
    font-size: 1.375rem;
    font-weight: var(--font-weight-bold);
    color: var(--plaza-terracotta);
    letter-spacing: -0.02em;
    margin-bottom: var(--space-xs);
}

.truck-origin {
    font-size: 0.9375rem;
    font-weight: var(--font-weight-medium);
    color: var(--plaza-gold-dark);
    margin-bottom: var(--space-sm);
}

.truck-tagline {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: var(--space-lg);
}

/* Truck Order Button */
.truck-order-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-sm) var(--space-xl);
    border-radius: var(--radius-round);
    text-decoration: none;
    font-weight: var(--font-weight-semibold);
    font-size: 1rem;

    background: linear-gradient(135deg,
        var(--plaza-terracotta) 0%,
        var(--plaza-terracotta-dark) 100%);
    color: var(--text-on-vibrant);
    border: none;
    box-shadow: var(--shadow-warm-glow);
    transition: all var(--transition-normal);
}

.truck-order-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-warm-glow-intense);
}

/* ====================
   ABOUT SECTION
   ==================== */

.about {
    padding: var(--space-3xl) 0;
    background: var(--bg-gradient-warm);
    color: var(--text-on-vibrant);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg,
        rgba(255, 255, 255, 0.08) 0%,
        rgba(0, 0, 0, 0.04) 100%);
    pointer-events: none;
}

.about .section-title {
    color: var(--text-on-vibrant);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.about-subtitle {
    font-size: 1.5rem;
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-lg);
    letter-spacing: -0.01em;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.about-text p {
    font-size: 1.0625rem;
    margin-bottom: var(--space-lg);
    line-height: 1.7;
    opacity: 0.95;
}

/* About Highlights */
.about-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    margin: var(--space-2xl) 0;
}

.highlight-item {
    padding: var(--space-xl);
    border-radius: var(--radius-xl);

    background: var(--glass-thin);
    backdrop-filter: blur(var(--blur-regular));
    -webkit-backdrop-filter: blur(var(--blur-regular));
    border: 1px solid rgba(255, 255, 255, 0.24);

    transition: all var(--transition-normal);
}

.highlight-item:hover {
    transform: translateY(-4px);
    background: var(--glass-regular);
    border-color: rgba(255, 255, 255, 0.32);
}

.highlight-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: var(--space-md);
}

.highlight-item h4 {
    font-size: 1.125rem;
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-sm);
    letter-spacing: -0.01em;
}

.highlight-item p {
    font-size: 0.9375rem;
    margin: 0;
    opacity: 0.9;
}

.about-special {
    font-size: 1.25rem;
    font-weight: var(--font-weight-semibold);
    margin-top: var(--space-xl);
    animation: subtle-pulse 3s ease-in-out infinite;
}

/* ====================
   REVIEWS SECTION
   ==================== */

.reviews {
    padding: var(--space-3xl) 0;
    background: var(--bg-gradient-earth);
    position: relative;
}

.reviews::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg,
        rgba(255, 255, 255, 0.08) 0%,
        rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

.reviews .section-title {
    color: var(--text-on-vibrant);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.google-rating {
    text-align: center;
    margin-bottom: var(--space-2xl);
    position: relative;
    z-index: 1;
}

.rating-stars {
    font-size: 2.5rem;
    color: var(--gold-light);
    display: block;
    margin-bottom: var(--space-sm);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    letter-spacing: 4px;
}

.rating-text {
    font-size: 1.375rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-on-vibrant);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    position: relative;
    z-index: 1;
}

.review-card {
    padding: var(--space-xl);
    border-radius: var(--radius-xl);

    background: var(--glass-thick);
    backdrop-filter: blur(var(--blur-thick)) saturate(180%);
    -webkit-backdrop-filter: blur(var(--blur-thick)) saturate(180%);
    border: 1px solid var(--border-glass);
    box-shadow: var(--shadow-glass),
                inset 0 1px 0 rgba(255, 255, 255, 0.5);

    transition: all var(--transition-normal);
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glass-elevated);
}

.review-stars {
    color: var(--plaza-gold);
    font-size: 1.25rem;
    margin-bottom: var(--space-md);
    letter-spacing: 2px;
}

.review-text {
    font-size: 1rem;
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: var(--space-md);
    font-style: italic;
}

.review-author {
    font-size: 0.9375rem;
    font-weight: var(--font-weight-semibold);
    color: var(--plaza-terracotta);
    text-align: right;
}

/* ====================
   LOCATION SECTION
   ==================== */

.location {
    padding: var(--space-3xl) 0;
    background-color: var(--bg-base);
    position: relative;
}

.location::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg,
        rgba(212, 168, 83, 0.06) 0%,
        transparent 50%);
    pointer-events: none;
}

.location-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.location-info-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: start;
}

.location-info {
    padding: var(--space-xl);
    border-radius: var(--radius-xl);

    background: var(--glass-thick);
    backdrop-filter: blur(var(--blur-thick)) saturate(180%);
    -webkit-backdrop-filter: blur(var(--blur-thick)) saturate(180%);
    border: 1px solid var(--border-glass);
    box-shadow: var(--shadow-glass);
}

.location-info h3 {
    color: var(--plaza-terracotta);
    font-size: 1.0625rem;
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-sm);
    margin-top: var(--space-lg);
    letter-spacing: -0.01em;
}

.location-info h3:first-child {
    margin-top: 0;
}

.location-address {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
    line-height: 1.7;
}

.location-hours p,
.location-contact p {
    font-size: 1rem;
    color: var(--text-primary);
    line-height: 1.6;
}

.directions-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-round);
    text-decoration: none;
    font-weight: var(--font-weight-semibold);
    font-size: 1rem;
    margin-top: var(--space-md);
    margin-bottom: var(--space-md);

    background: linear-gradient(135deg,
        var(--plaza-terracotta) 0%,
        var(--plaza-gold) 100%);
    color: var(--text-on-vibrant);
    border: none;
    box-shadow: var(--shadow-warm-glow);
    transition: all var(--transition-normal);
}

.directions-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-warm-glow-intense);
}

.location-note {
    font-size: 0.875rem;
    color: var(--plaza-gold);
    font-weight: var(--font-weight-medium);
    margin-top: var(--space-md);
    font-style: italic;
}

.location-map {
    border-radius: var(--radius-xl);
    overflow: hidden;
    height: 100%;
    min-height: 450px;
    display: flex;

    box-shadow: var(--shadow-glass);
    border: 1px solid var(--border-glass-subtle);
}

.location-map iframe {
    border-radius: var(--radius-xl);
    width: 100%;
    height: 100%;
    min-height: 450px;
    border: none;
}

/* ====================
   CONTACT SECTION
   ==================== */

.contact {
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg,
        var(--plaza-gold) 0%,
        var(--plaza-terracotta) 50%,
        var(--plaza-terracotta-dark) 100%);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(0, 0, 0, 0.05) 100%);
    pointer-events: none;
}

.contact .section-title {
    color: var(--text-on-vibrant);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.contact-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
}

.contact-item {
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    text-align: center;

    background: var(--glass-thick);
    backdrop-filter: blur(var(--blur-thick)) saturate(180%);
    -webkit-backdrop-filter: blur(var(--blur-thick)) saturate(180%);
    border: 1px solid var(--border-glass);
    box-shadow: var(--shadow-glass);

    transition: all var(--transition-normal);
}

.contact-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glass-elevated);
}

.contact-item h3 {
    color: var(--plaza-terracotta);
    font-size: 1.25rem;
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-md);
    letter-spacing: -0.01em;
}

.contact-item p {
    color: var(--text-primary);
    font-size: 1rem;
    line-height: 1.5;
}

/* ====================
   FOOTER
   ==================== */

.footer {
    background: var(--plaza-earth);
    color: var(--text-on-vibrant);
    text-align: center;
    padding: var(--space-2xl) var(--space-lg);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg,
        rgba(255, 255, 255, 0.08) 0%,
        rgba(0, 0, 0, 0.08) 100%);
    pointer-events: none;
}

.footer-trucks {
    margin-bottom: var(--space-xl);
    position: relative;
    z-index: 1;
}

.footer-trucks h3 {
    font-size: 1.125rem;
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-md);
    color: var(--gold-light);
}

.footer-truck-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
    font-size: 0.875rem;
    opacity: 0.9;
}

.footer-truck-links span {
    padding: var(--space-sm);
    background: var(--glass-ultra-thin);
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    line-height: 1.4;
}

.footer-social {
    margin-bottom: var(--space-xl);
    position: relative;
    z-index: 1;
}

.footer-social h3 {
    font-size: 1.25rem;
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-md);
}

.social-links {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-round);
    text-decoration: none;
    font-weight: var(--font-weight-semibold);
    font-size: 1rem;

    background: var(--glass-thin);
    backdrop-filter: blur(var(--blur-thin));
    -webkit-backdrop-filter: blur(var(--blur-thin));
    color: var(--text-on-vibrant);
    border: 1.5px solid rgba(255, 255, 255, 0.32);

    transition: all var(--transition-normal);
}

.social-link:hover {
    background: var(--glass-regular);
    border-color: rgba(255, 255, 255, 0.48);
    transform: translateY(-2px);
}

.footer p {
    margin-bottom: var(--space-sm);
    font-size: 0.9375rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

/* ====================
   ANIMATIONS
   ==================== */

@keyframes gentle-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-24px) rotate(180deg);
    }
}

@keyframes subtle-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.02);
        opacity: 0.95;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-32px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes scaleReveal {
    from {
        transform: scale(0.95);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

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

/* ====================
   SPIN WHEEL MODAL
   ==================== */

.wheel-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    justify-content: center;
    align-items: center;

    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(var(--blur-subtle));
    -webkit-backdrop-filter: blur(var(--blur-subtle));

    animation: fadeIn 400ms ease-out;
}

.wheel-modal.show {
    display: flex;
}

.wheel-container {
    position: relative;
    max-width: 540px;
    width: 90%;
    padding: var(--space-2xl) var(--space-xl) var(--space-xl);
    display: flex;
    flex-direction: column;
    align-items: center;

    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.88) 0%,
        rgba(255, 255, 255, 0.72) 100%);
    backdrop-filter: blur(var(--blur-thick)) saturate(200%);
    -webkit-backdrop-filter: blur(var(--blur-thick)) saturate(200%);

    border-radius: var(--radius-2xl);
    border: 1px solid var(--border-glass);
    box-shadow: var(--shadow-glass-floating),
                0 0 80px rgba(224, 124, 62, 0.2);

    animation: slideIn 500ms var(--transition-spring);
    text-align: center;
}

@media (prefers-color-scheme: dark) {
    .wheel-container {
        background: linear-gradient(135deg,
            rgba(44, 44, 46, 0.92) 0%,
            rgba(44, 44, 46, 0.84) 100%);
    }
}

.close-wheel {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-round);
    z-index: 20;

    background: var(--glass-warm);
    backdrop-filter: blur(var(--blur-subtle));
    -webkit-backdrop-filter: blur(var(--blur-subtle));
    color: var(--plaza-terracotta);
    border: 1px solid var(--border-glass-warm);

    font-size: 0.875rem;
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.close-wheel:hover {
    background: var(--glass-warm-vibrant);
    transform: scale(1.02);
}

.wheel-header {
    margin-bottom: var(--space-lg);
    width: 100%;
}

.wheel-title {
    font-size: 1.75rem;
    font-weight: var(--font-weight-bold);
    color: var(--plaza-terracotta);
    letter-spacing: -0.02em;
    margin-bottom: var(--space-sm);
}

.wheel-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: var(--font-weight-regular);
}

.wheel-wrapper {
    position: relative;
    margin: var(--space-xl) auto;
    width: 400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wheel-pointer {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2.5rem;
    color: var(--plaza-terracotta);
    z-index: 10;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    animation: pointerBounce 1s infinite;
}

#wheelCanvas {
    border-radius: 50%;
    box-shadow: 0 8px 32px rgba(224, 124, 62, 0.3),
                inset 0 0 0 4px rgba(255, 255, 255, 0.5);
}

.spin-button {
    margin-top: var(--space-lg);
    padding: var(--space-md) var(--space-2xl);
    border-radius: var(--radius-round);
    width: auto;
    max-width: 100%;

    background: linear-gradient(135deg,
        var(--plaza-terracotta) 0%,
        var(--plaza-terracotta-dark) 100%);
    color: var(--text-on-vibrant);
    border: none;

    font-size: 1.25rem;
    font-weight: var(--font-weight-bold);
    letter-spacing: -0.01em;
    cursor: pointer;

    box-shadow: var(--shadow-warm-glow);
    transition: all var(--transition-normal);
}

.spin-button:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: var(--shadow-warm-glow-intense);
}

.spin-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.prize-display {
    display: none;
    margin-top: var(--space-xl);
    padding: var(--space-xl);
    width: 100%;
    box-sizing: border-box;

    background: var(--glass-gold);
    backdrop-filter: blur(var(--blur-regular));
    -webkit-backdrop-filter: blur(var(--blur-regular));
    border: 1px solid rgba(212, 168, 83, 0.48);
    border-radius: var(--radius-xl);

    animation: scaleReveal 500ms ease-out;
}

.prize-display.show {
    display: block;
}

.prize-display h3 {
    font-size: 1.25rem;
    font-weight: var(--font-weight-semibold);
    color: var(--plaza-terracotta);
    margin-bottom: var(--space-md);
}

#prizeText {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.order-truck-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-sm) var(--space-xl);
    border-radius: var(--radius-round);
    text-decoration: none;
    font-weight: var(--font-weight-semibold);
    font-size: 1rem;
    margin-bottom: var(--space-md);

    background: linear-gradient(135deg,
        var(--plaza-terracotta) 0%,
        var(--plaza-terracotta-dark) 100%);
    color: var(--text-on-vibrant);
    border: none;
    box-shadow: var(--shadow-warm-glow);
    transition: all var(--transition-normal);
}

.order-truck-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-warm-glow-intense);
}

.claim-button {
    padding: var(--space-sm) var(--space-xl);
    border-radius: var(--radius-round);
    display: block;
    margin: 0 auto;

    background: var(--glass-thick);
    backdrop-filter: blur(var(--blur-thin));
    -webkit-backdrop-filter: blur(var(--blur-thin));
    color: var(--plaza-terracotta);
    border: 1px solid var(--border-glass);

    font-size: 1rem;
    font-weight: var(--font-weight-semibold);
    cursor: pointer;

    box-shadow: var(--shadow-glass);
    transition: all var(--transition-normal);
}

.claim-button:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-glass-elevated);
}

/* ====================
   RESPONSIVE DESIGN
   ==================== */

@media (max-width: 768px) {
    body {
        padding-left: max(env(safe-area-inset-left), var(--space-sm));
        padding-right: max(env(safe-area-inset-right), var(--space-sm));
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-tagline {
        font-size: 1.25rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .nav-container {
        flex-direction: column;
        align-items: center;
        gap: var(--space-md);
        padding: 0 var(--space-md);
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-sm);
        width: 100%;
    }

    .nav-menu a {
        font-size: 0.875rem;
        padding: var(--space-xs) var(--space-sm);
    }

    .logo {
        font-size: 1.375rem;
        text-align: center;
    }

    .truck-card {
        flex: 0 0 280px;
        min-width: 280px;
    }

    .truck-filters {
        gap: var(--space-xs);
    }

    .filter-btn {
        padding: var(--space-xs) var(--space-md);
        font-size: 0.875rem;
    }

    .sprinkle {
        font-size: 1.75rem;
    }

    .location-info-wrapper {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .location-map {
        min-height: 300px;
    }

    .location-map iframe {
        min-height: 300px;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    #wheelCanvas {
        width: 280px !important;
        height: 280px !important;
    }

    .wheel-wrapper {
        width: 280px;
        height: 280px;
    }

    .wheel-container {
        padding: var(--space-lg);
        max-width: 95%;
    }

    .wheel-title {
        font-size: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: var(--space-sm);
        width: 100%;
        padding: 0 var(--space-md);
    }

    .hero-buttons .cta-button {
        width: 100%;
        max-width: 320px;
    }

    .close-wheel {
        top: var(--space-xs);
        right: var(--space-xs);
        padding: var(--space-xs) var(--space-sm);
        font-size: 0.75rem;
    }
}

@media (max-width: 400px) {
    .hero-title {
        font-size: 1.875rem;
    }

    .hero-tagline {
        font-size: 1.125rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .logo {
        font-size: 1.25rem;
    }

    .nav-menu a {
        font-size: 0.8125rem;
    }

    .truck-name {
        font-size: 1.25rem;
    }

    .truck-emoji {
        font-size: 3.5rem;
    }

    #wheelCanvas {
        width: 250px !important;
        height: 250px !important;
    }

    .wheel-wrapper {
        width: 250px;
        height: 250px;
    }

    .wheel-title {
        font-size: 1.375rem;
    }

    .container {
        padding: 0 var(--space-md);
    }
}

/* ====================
   ACCESSIBILITY
   ==================== */

*:focus-visible {
    outline: 2px solid var(--plaza-terracotta);
    outline-offset: 2px;
}

.nav-menu a,
.cta-button,
.truck-order-btn,
.social-link,
.directions-btn,
.spin-button,
.claim-button,
.close-wheel,
.filter-btn {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (prefers-contrast: high) {
    :root {
        --glass-thick: rgba(255, 255, 255, 0.95);
        --glass-regular: rgba(255, 255, 255, 0.85);
        --border-glass: rgba(0, 0, 0, 0.3);
    }

    .truck-card,
    .review-card,
    .contact-item,
    .location-info,
    .highlight-item {
        border-width: 2px;
    }
}

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

/* ====================
   PROGRESSIVE ENHANCEMENT
   ==================== */

@supports not (backdrop-filter: blur(1px)) {
    .navbar {
        background: rgba(254, 248, 240, 0.98);
    }

    .truck-card,
    .review-card,
    .contact-item,
    .location-info {
        background: rgba(255, 255, 255, 0.98);
    }

    .wheel-container {
        background: rgba(255, 255, 255, 0.98);
    }

    .cta-button,
    .cta-secondary {
        background: rgba(255, 255, 255, 0.95);
    }

    .highlight-item {
        background: rgba(255, 255, 255, 0.3);
    }

    .social-link {
        background: rgba(255, 255, 255, 0.25);
    }

    .wheel-modal {
        background: rgba(0, 0, 0, 0.85);
    }
}

/* ====================
   PRINT STYLES
   ==================== */

@media print {
    .navbar,
    .wheel-modal,
    .sprinkles,
    .hero-buttons,
    .truck-order-btn,
    .social-links,
    .directions-btn,
    .truck-filters {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .hero {
        background: none;
        min-height: auto;
        padding: 2rem;
    }

    .hero-title,
    .hero-tagline,
    .hero-subtitle {
        color: black;
        text-shadow: none;
    }

    .truck-card,
    .review-card,
    .contact-item,
    .location-info {
        background: white;
        box-shadow: none;
        border: 1px solid #ddd;
        page-break-inside: avoid;
    }

    .section-title {
        color: black;
    }
}
