/* ========================================
   Tropical Cafe & Bistro - Design System
   Based on Impeccable Frontend Design + UI/UX Pro Max
   ======================================== */

/* ========================================
   CSS Custom Properties (Design Tokens)
   Using OKLCH for perceptual uniformity
   ======================================== */
:root {
    /* Color System - OKLCH (lightness chroma hue) */
    /* Primary: Deep Jungle Green */
    --color-primary: oklch(55% 0.15 145);
    --color-primary-light: oklch(70% 0.12 145);
    --color-primary-dark: oklch(40% 0.12 145);
    
    /* Secondary: Warm Terracotta */
    --color-secondary: oklch(70% 0.18 40);
    --color-secondary-light: oklch(80% 0.14 40);
    
    /* Accent: Golden Honey */
    --color-accent: oklch(85% 0.15 85);
    --color-accent-dark: oklch(75% 0.16 85);
    
    /* Neutrals - Tinted toward green for cohesion */
    --color-text: oklch(25% 0.02 145);
    --color-text-light: oklch(40% 0.015 145);
    --color-text-muted: oklch(55% 0.01 145);
    --color-bg: oklch(98% 0.005 90);
    --color-bg-alt: oklch(96% 0.008 145);
    --color-surface: oklch(100% 0.002 145);
    --color-border: oklch(90% 0.01 145);
    
    /* Semantic Colors */
    --color-success: oklch(65% 0.15 145);
    --color-warning: oklch(80% 0.15 85);
    --color-error: oklch(60% 0.2 25);
    
    /* Typography Scale - Fluid with clamp() */
    --font-heading: 'Fraunces', Georgia, serif;
    --font-body: 'DM Sans', system-ui, sans-serif;
    
    /* Modular Type Scale (1.25 ratio) */
    --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
    --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
    --text-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
    --text-lg: clamp(1.125rem, 1rem + 0.6vw, 1.25rem);
    --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
    --text-2xl: clamp(1.5rem, 1.2rem + 1.5vw, 2rem);
    --text-3xl: clamp(1.875rem, 1.5rem + 2vw, 2.5rem);
    --text-4xl: clamp(2.25rem, 1.8rem + 2.5vw, 3.5rem);
    --text-hero: clamp(2.5rem, 2rem + 3vw, 5rem);
    
    /* Spacing Scale */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.5rem;
    --space-6: 2rem;
    --space-8: 3rem;
    --space-10: 4rem;
    --space-12: 5rem;
    --space-16: 8rem;
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px oklch(0% 0 0 / 0.05);
    --shadow-md: 0 4px 12px oklch(0% 0 0 / 0.08);
    --shadow-lg: 0 12px 24px oklch(0% 0 0 / 0.12);
    --shadow-xl: 0 20px 40px oklch(0% 0 0 / 0.16);
    
    /* Transitions */
    --transition-fast: 150ms ease-out;
    --transition-base: 250ms ease-out;
    --transition-slow: 400ms ease-out;
    --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
    
    /* Container */
    --container-max: 1200px;
    --container-padding: var(--space-4);
}

/* ========================================
   Dark Mode Theme
   ======================================== */
[data-theme="dark"] {
    /* Darker surfaces for depth, not pure black */
    --color-text: oklch(95% 0.005 145);
    --color-text-light: oklch(85% 0.008 145);
    --color-text-muted: oklch(70% 0.01 145);
    --color-bg: oklch(15% 0.015 145);
    --color-bg-alt: oklch(18% 0.018 145);
    --color-surface: oklch(22% 0.015 145);
    --color-border: oklch(30% 0.02 145);
    
    /* Desaturated accent for dark mode */
    --color-primary: oklch(65% 0.12 145);
    --color-primary-light: oklch(75% 0.1 145);
    --color-secondary: oklch(75% 0.14 40);
    --color-accent: oklch(80% 0.12 85);
    
    /* Shadows in dark mode use lighter surfaces */
    --shadow-sm: 0 1px 2px oklch(0% 0 0 / 0.2);
    --shadow-md: 0 4px 12px oklch(0% 0 0 / 0.3);
    --shadow-lg: 0 12px 24px oklch(0% 0 0 / 0.4);
    --shadow-xl: 0 20px 40px oklch(0% 0 0 / 0.5);
}

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

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

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

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    transition: background-color var(--transition-base), color var(--transition-base);
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

ul, ol {
    list-style: none;
}

button {
    font: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input, textarea, select {
    font: inherit;
}

/* Focus styles for accessibility */
:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
}

:focus:not(:focus-visible) {
    outline: none;
}

/* ========================================
   Layout Utilities
   ======================================== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* ========================================
   Typography System
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-primary);
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); font-weight: 600; }

p {
    max-width: 65ch;
    margin-bottom: var(--space-4);
}

.lead {
    font-size: var(--text-lg);
    color: var(--color-text-light);
}

.section-tag {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-secondary);
    margin-bottom: var(--space-2);
}

.section-title {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-4);
}

.section-description {
    font-size: var(--text-lg);
    color: var(--color-text-light);
    max-width: 60ch;
}

/* ========================================
   Skip Link (Accessibility)
   ======================================== */
.skip-link {
    position: absolute;
    top: -100%;
    left: var(--space-4);
    background: var(--color-primary);
    color: var(--color-surface);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-sm);
    z-index: 10000;
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: var(--space-4);
}

/* ========================================
   Button System
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-size: var(--text-sm);
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-surface);
    box-shadow: var(--shadow-md);
}

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

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: transparent;
    color: var(--color-surface);
    border: 2px solid currentColor;
}

.btn-secondary:hover {
    background: var(--color-surface);
    color: var(--color-primary);
}

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

.btn-outline:hover {
    background: var(--color-primary);
    color: var(--color-surface);
}

.btn-ghost {
    background: transparent;
    color: var(--color-text);
}

.btn-ghost:hover {
    background: var(--color-bg-alt);
}

.btn-icon {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: var(--radius-full);
}

.btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: oklch(100% 0.002 145 / 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    transition: all var(--transition-base);
}

[data-theme="dark"] .navbar {
    background: oklch(15% 0.015 145 / 0.95);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: var(--text-xl);
    color: var(--color-primary);
    transition: transform var(--transition-fast);
}

.logo:hover {
    transform: scale(1.02);
}

.logo-icon {
    width: 32px;
    height: 32px;
    color: var(--color-primary);
}

.logo-icon svg {
    width: 100%;
    height: 100%;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.nav-link {
    padding: var(--space-2) var(--space-4);
    font-weight: 500;
    color: var(--color-text);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.nav-link:hover {
    background: var(--color-bg-alt);
    color: var(--color-primary);
}

.nav-link.active {
    background: var(--color-primary);
    color: var(--color-surface);
}

.cta-button {
    background: var(--color-secondary);
    color: var(--color-surface) !important;
    margin-left: var(--space-2);
}

.cta-button:hover {
    background: var(--color-secondary-light);
}

.mobile-menu-btn {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    transition: background var(--transition-fast);
}

.mobile-menu-btn:hover {
    background: var(--color-bg-alt);
}

.mobile-menu-btn svg {
    width: 24px;
    height: 24px;
    color: var(--color-text);
}

/* Dark Mode Toggle */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: var(--color-bg-alt);
    transition: all var(--transition-fast);
}

.theme-toggle:hover {
    background: var(--color-border);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
    color: var(--color-text);
}

.theme-toggle .sun-icon { display: none; }
.theme-toggle .moon-icon { display: block; }

[data-theme="dark"] .theme-toggle .sun-icon { display: block; }
[data-theme="dark"] .theme-toggle .moon-icon { display: none; }

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-surface);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
}

@media (prefers-reduced-motion: no-preference) {
    .hero-bg {
        animation: hero-zoom 30s ease-in-out infinite alternate;
    }
}

@keyframes hero-zoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        180deg,
        oklch(0% 0 0 / 0.3) 0%,
        oklch(0% 0 0 / 0.5) 50%,
        oklch(0% 0 0 / 0.6) 100%
    );
}

/* Organic Floating Shapes */
.hero-shapes {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    opacity: 0.1;
    animation: float-shape 20s ease-in-out infinite;
}

.hero-shape--1 {
    top: 10%;
    left: 5%;
    width: 200px;
    height: 200px;
    animation-delay: 0s;
}

.hero-shape--2 {
    top: 60%;
    right: 10%;
    width: 150px;
    height: 150px;
    animation-delay: -7s;
}

.hero-shape--3 {
    bottom: 20%;
    left: 15%;
    width: 100px;
    height: 100px;
    animation-delay: -14s;
}

@keyframes float-shape {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(20px, -30px) rotate(5deg); }
    50% { transform: translate(-10px, -20px) rotate(-3deg); }
    75% { transform: translate(15px, 10px) rotate(2deg); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: var(--space-6);
}

.hero-tagline {
    display: inline-block;
    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: var(--space-4);
    opacity: 0.9;
}

.hero-title {
    font-size: var(--text-hero);
    line-height: 1.05;
    margin-bottom: var(--space-5);
    text-shadow: 0 4px 20px oklch(0% 0 0 / 0.3);
}

.hero-title span {
    display: block;
}

.hero-subtitle {
    font-size: var(--text-lg);
    margin-bottom: var(--space-8);
    opacity: 0.9;
    max-width: 50ch;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.scroll-mouse {
    width: 28px;
    height: 44px;
    border: 2px solid var(--color-surface);
    border-radius: 14px;
    position: relative;
    opacity: 0.7;
}

.scroll-mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--color-surface);
    border-radius: 2px;
    animation: scroll-wheel 2s ease-in-out infinite;
}

@keyframes scroll-wheel {
    0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0.3; transform: translateX(-50%) translateY(12px); }
}

/* Hero Animations */
.animate-fade-in { animation: fade-in 0.8s ease-out; }
.animate-fade-in-delay { animation: fade-in 0.8s ease-out 0.2s backwards; }
.animate-fade-in-delay-2 { animation: fade-in 0.8s ease-out 0.4s backwards; }
.animate-fade-in-delay-3 { animation: fade-in 0.8s ease-out 0.6s backwards; }

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

/* ========================================
   About Section
   ======================================== */
.about {
    padding: var(--space-16) 0;
    background: var(--color-bg);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
}

.about-text {
    padding-right: var(--space-8);
}

.about-text .section-description {
    margin-bottom: var(--space-4);
}

/* Feature Grid with Visual Rhythm */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-3);
    margin-top: var(--space-8);
}

.feature {
    text-align: center;
    padding: var(--space-5);
    background: var(--color-bg-alt);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.feature:nth-child(2) {
    transform: translateY(var(--space-4));
}

.feature:hover {
    background: var(--color-surface);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.feature:nth-child(2):hover {
    transform: translateY(calc(var(--space-4) - 4px));
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--space-3);
    color: var(--color-primary);
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature span {
    display: block;
    font-weight: 600;
    font-size: var(--text-sm);
}

/* About Image */
.about-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.experience-badge {
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 110px;
    height: 110px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--color-secondary);
    color: var(--color-surface);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-lg);
    animation: badge-pulse 4s ease-in-out infinite;
}

@keyframes badge-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.experience-badge .years {
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.experience-badge .text {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 700;
}

/* ========================================
   Menu Section
   ======================================== */
.menu {
    padding: var(--space-16) 0;
    background: var(--color-bg-alt);
    position: relative;
    overflow: hidden;
}

/* Coffee Steam Animation */
.coffee-steam-container {
    position: absolute;
    top: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
    opacity: 0.6;
}

.coffee-steam {
    width: 60px;
    height: 80px;
}

.steam-path {
    fill: none;
    stroke: var(--color-secondary);
    stroke-width: 2;
    stroke-linecap: round;
    opacity: 0.4;
    animation: steam-rise 3s ease-in-out infinite;
}

.steam-1 { animation-delay: 0s; }
.steam-2 { animation-delay: -1s; }
.steam-3 { animation-delay: -2s; }

@keyframes steam-rise {
    0% {
        opacity: 0;
        transform: translateY(0);
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 0;
        transform: translateY(-30px);
    }
}

/* Animated Section Icons */
.animated-section-icon {
    display: flex;
    justify-content: center;
    margin-bottom: var(--space-6);
}

.leaf-svg,
.heart-svg,
.pin-svg {
    width: 60px;
    height: 60px;
    color: var(--color-secondary);
}

.leaf-path {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    animation: leaf-sway 3s ease-in-out infinite;
    transform-origin: center bottom;
}

@keyframes leaf-sway {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}

.heart-path {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    animation: heart-beat 2s ease-in-out infinite;
    transform-origin: center center;
}

@keyframes heart-beat {
    0%, 100% { transform: scale(1); }
    15% { transform: scale(1.15); }
    30% { transform: scale(1); }
    45% { transform: scale(1.1); }
    60% { transform: scale(1); }
}

.pin-path {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    animation: pin-drop 2s ease-in-out infinite;
    transform-origin: center center;
}

.pin-circle {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    animation: pin-pulse 2s ease-in-out infinite;
}

@keyframes pin-drop {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes pin-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.menu .section-header {
    position: relative;
    z-index: 1;
    margin-bottom: var(--space-10);
}

/* Asymmetric Menu Grid */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--space-5);
}

.menu-card {
    background: var(--color-surface);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    position: relative;
}

/* Featured item (large) */
.menu-card:nth-child(1) {
    grid-column: span 6;
    grid-row: span 2;
}

/* Regular items */
.menu-card:nth-child(n+2):nth-child(-n+4) {
    grid-column: span 3;
}

.menu-card:nth-child(n+5):nth-child(-n+8) {
    grid-column: span 3;
}

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

.menu-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.menu-card:nth-child(1) .menu-img {
    aspect-ratio: 1;
}

.menu-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

/* Image Skeleton Loading */
.image-skeleton {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        var(--color-bg-alt) 25%,
        var(--color-border) 50%,
        var(--color-bg-alt) 75%
    );
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
}

.image-skeleton + img {
    opacity: 0;
    transition: opacity var(--transition-slow);
}

.image-skeleton + img.loaded {
    opacity: 1;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.price-tag {
    position: absolute;
    top: var(--space-3);
    right: var(--space-3);
    background: var(--color-surface);
    color: var(--color-primary);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 700;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
}

.menu-card:hover .price-tag {
    background: var(--color-primary);
    color: var(--color-surface);
}

.menu-info {
    padding: var(--space-5);
}

.menu-info h3 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-2);
    transition: color var(--transition-fast);
}

.menu-card:hover .menu-info h3 {
    color: var(--color-primary);
}

.menu-info p {
    font-size: var(--text-sm);
    color: var(--color-text-light);
    margin-bottom: var(--space-3);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Dietary Icons - SVG based */
.dietary-icons {
    display: flex;
    gap: var(--space-2);
}

.dietary-icon {
    width: 24px;
    height: 24px;
    padding: 4px;
    background: var(--color-bg-alt);
    border-radius: var(--radius-full);
    color: var(--color-text-muted);
    transition: all var(--transition-fast);
}

.dietary-icon:hover {
    background: var(--color-primary);
    color: var(--color-surface);
    transform: scale(1.1);
}

.dietary-icon svg {
    width: 100%;
    height: 100%;
}

.menu-footer {
    margin-top: var(--space-10);
    text-align: center;
}

/* ========================================
   Team Section
   ======================================== */
.team {
    padding: var(--space-16) 0;
    background: var(--color-bg);
}

.team-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-10);
    background: var(--color-surface);
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.team-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.team-wrapper:hover .team-image img {
    transform: scale(1.03);
}

.team-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.team-content p {
    color: var(--color-text-light);
}

.team-content .team-icon {
    margin-bottom: var(--space-4);
}

.signature {
    font-family: 'Dancing Script', cursive;
    font-size: var(--text-2xl);
    color: var(--color-primary);
    margin-top: var(--space-5);
    opacity: 0.8;
}

/* ========================================
   Location Section
   ======================================== */
.location {
    padding: var(--space-16) 0;
    background: linear-gradient(
        135deg,
        var(--color-primary) 0%,
        var(--color-primary-dark) 100%
    );
    color: var(--color-surface);
}

.location .section-tag {
    color: var(--color-accent);
}

.location .section-title {
    color: var(--color-surface);
}

.location .section-description {
    color: oklch(100% 0 0 / 0.9);
}

.location-container {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.map-embed {
    margin-top: var(--space-8);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.map-embed iframe {
    display: block;
    width: 100%;
    height: 400px;
}

@media (max-width: 768px) {
    .map-embed iframe {
        height: 300px;
    }
}

.info-list {
    margin: var(--space-8) auto 0;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.info-list li {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    background: oklch(100% 0 0 / 0.1);
    padding: var(--space-5);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(8px);
    transition: all var(--transition-base);
    text-align: left;
}

.info-list li:hover {
    background: oklch(100% 0 0 / 0.15);
    transform: translateX(8px);
}

.info-list a {
    color: var(--color-surface);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color var(--transition-fast);
}

.info-list a:hover {
    color: var(--color-accent);
}

.info-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    color: var(--color-accent);
}

.info-icon svg {
    width: 100%;
    height: 100%;
}

.info-content strong {
    display: block;
    margin-bottom: var(--space-1);
}

.info-content p {
    margin-bottom: var(--space-1);
    color: oklch(100% 0 0 / 0.9);
}

.info-content p:last-child {
    margin-bottom: 0;
}

.social-links-lg {
    display: flex;
    justify-content: center;
    gap: var(--space-4);
    margin-top: var(--space-8);
}

.social-links-lg a {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: oklch(100% 0 0 / 0.15);
    border-radius: var(--radius-full);
    color: var(--color-surface);
    font-size: var(--text-lg);
    transition: all var(--transition-base);
}

.social-links-lg a:hover {
    background: var(--color-secondary);
    transform: translateY(-4px) scale(1.05);
}

.social-links-lg svg {
    width: 24px;
    height: 24px;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    padding: var(--space-6) 0;
    background: var(--color-primary-dark);
    color: oklch(100% 0 0 / 0.7);
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    color: var(--color-surface);
    margin-bottom: var(--space-2);
}

.footer p {
    font-size: var(--text-sm);
    max-width: none;
    margin-bottom: 0;
}

/* ========================================
   Scroll Reveal Animations
   ======================================== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Stagger children */
.reveal-stagger > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.2s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.3s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.4s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.5s; }
.reveal-stagger.visible > *:nth-child(7) { transition-delay: 0.6s; }
.reveal-stagger.visible > *:nth-child(8) { transition-delay: 0.7s; }

.reveal-stagger.visible > * {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }
    
    .about-text {
        padding-right: 0;
    }
    
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .menu-card:nth-child(1) {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .menu-card:nth-child(n+2) {
        grid-column: span 1;
    }
    
    .team-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: var(--space-5);
    }
    
    /* Mobile Navigation */
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        flex-direction: column;
        align-items: stretch;
        padding: calc(72px + var(--space-5)) var(--space-5) var(--space-5);
        background: var(--color-surface);
        box-shadow: var(--shadow-xl);
        transform: translateX(100%);
        transition: transform var(--transition-slow);
        z-index: 1001;
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-menu .nav-link {
        padding: var(--space-4);
        border-radius: var(--radius-md);
    }
    
    .nav-menu .cta-button {
        margin-left: 0;
        margin-top: var(--space-4);
        text-align: center;
    }
    
    .nav-menu .theme-toggle {
        margin-top: var(--space-4);
        align-self: flex-start;
    }
    
    /* Mobile overlay */
    .nav-menu::before {
        content: '';
        position: fixed;
        inset: 0;
        background: oklch(0% 0 0 / 0.5);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
        z-index: -1;
    }
    
    .nav-menu.active::before {
        opacity: 1;
        visibility: visible;
    }
    
    /* Hero */
    .hero-title {
        font-size: var(--text-3xl);
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    /* Features */
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature:nth-child(2) {
        transform: none;
    }
    
    .feature:hover {
        transform: translateY(-4px);
    }
    
    /* Menu */
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .menu-card:nth-child(1),
    .menu-card:nth-child(n+2) {
        grid-column: span 1;
    }
    
    /* Experience Badge */
    .experience-badge {
        width: 90px;
        height: 90px;
        right: var(--space-3);
        bottom: calc(-1 * var(--space-3));
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: var(--space-4);
    }
    
    .scroll-indicator {
        display: none;
    }
    
    .info-list li {
        padding: var(--space-4);
    }
}

/* ========================================
   Print Styles
   ======================================== */
@media print {
    .navbar,
    .scroll-indicator,
    .hero-shapes,
    .coffee-steam-container,
    .theme-toggle {
        display: none !important;
    }
    
    .hero {
        min-height: auto;
        padding: var(--space-8) 0;
    }
    
    .reveal, .reveal-stagger > * {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ========================================
   High Contrast Mode Support
   ======================================== */
@media (prefers-contrast: high) {
    :root {
        --color-text: oklch(10% 0 0);
        --color-text-light: oklch(20% 0 0);
        --color-border: oklch(30% 0 0);
        --color-bg: oklch(100% 0 0);
        --color-bg-alt: oklch(100% 0 0);
        --color-surface: oklch(100% 0 0);
    }

    .btn {
        border: 2px solid currentColor;
    }

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

    .lightbox-panel,
    .lightbox-header,
    .lightbox-footer {
        background: var(--color-bg);
        color: var(--color-text);
        border-color: var(--color-border);
    }

    .lightbox-tab {
        border-color: var(--color-border);
        color: var(--color-text-light);
    }

    .lightbox-tab.active {
        background: var(--color-text);
        color: var(--color-bg);
        border-color: var(--color-text);
    }

    .menu-item {
        background: var(--color-bg);
        border-color: var(--color-border);
    }
}

/* ========================================
   Full Menu Lightbox
   ======================================== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox[hidden] {
    display: none;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    animation: lightbox-fade-in 0.2s ease-out;
}

@keyframes lightbox-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.lightbox-panel {
    position: relative;
    background: var(--color-surface);
    color: var(--color-text);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    width: min(90vw, 860px);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: lightbox-slide-up 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes lightbox-slide-up {
    from { opacity: 0; transform: translateY(24px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
    .lightbox-panel,
    .lightbox-backdrop {
        animation: none;
    }
}

/* Header */
.lightbox-header {
    padding: var(--space-6) var(--space-8);
    border-bottom: 1px solid var(--color-border);
    background: var(--color-bg-alt);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-2);
    flex-shrink: 0;
}

.lightbox-title {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--color-primary);
    margin: 0;
    flex: 1;
}

.lightbox-subtitle {
    font-size: var(--text-sm);
    color: var(--color-text-light);
    margin: 0;
    width: 100%;
    order: 3;
}

.lightbox-close {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--color-text);
    transition: background var(--transition-fast), transform var(--transition-fast);
    flex-shrink: 0;
}

.lightbox-close svg {
    width: 18px;
    height: 18px;
}

.lightbox-close:hover {
    background: var(--color-bg-alt);
    transform: rotate(90deg);
}

.lightbox-close:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Category Tabs */
.lightbox-tabs {
    display: flex;
    gap: var(--space-1);
    padding: var(--space-3) var(--space-8);
    overflow-x: auto;
    border-bottom: 1px solid var(--color-border);
    flex-shrink: 0;
    scrollbar-width: none;
}

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

.lightbox-tab {
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    padding: var(--space-1) var(--space-4);
    font-size: var(--text-sm);
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--color-text-light);
    cursor: pointer;
    white-space: nowrap;
    transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.lightbox-tab:hover {
    background: var(--color-bg-alt);
    color: var(--color-text);
}

.lightbox-tab.active {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

.lightbox-tab:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Body / Scroll area */
.lightbox-body {
    flex: 1;
    overflow-y: auto;
    padding: var(--space-6) var(--space-8);
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--color-border) transparent;
}

.lightbox-body::-webkit-scrollbar {
    width: 6px;
}

.lightbox-body::-webkit-scrollbar-track {
    background: transparent;
}

.lightbox-body::-webkit-scrollbar-thumb {
    background: var(--color-border);
    border-radius: 3px;
}

/* Menu Categories */
.menu-category {
    margin-bottom: var(--space-8);
}

.menu-category:last-child {
    margin-bottom: 0;
}

.category-heading {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--color-primary);
    border-bottom: 2px solid var(--color-secondary);
    padding-bottom: var(--space-2);
    margin-bottom: var(--space-4);
}

/* Menu Items */
.menu-items {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.menu-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-4);
    padding: var(--space-3) var(--space-4);
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    transition: box-shadow var(--transition-fast), transform var(--transition-fast);
}

.menu-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

@media (prefers-reduced-motion: reduce) {
    .menu-item:hover {
        transform: none;
    }
}

.menu-item-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    flex: 1;
}

.menu-item-name {
    font-weight: 600;
    font-size: var(--text-base);
    color: var(--color-text);
}

.menu-item-desc {
    font-size: var(--text-sm);
    color: var(--color-text-light);
    line-height: 1.5;
}

.dietary-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-1);
    margin-top: var(--space-1);
}

.dietary-tag {
    font-size: var(--text-xs);
    padding: 2px var(--space-2);
    border-radius: var(--radius-full);
    font-weight: 500;
}

.dietary-tag.vegan {
    background: oklch(85% 0.08 145 / 0.15);
    color: oklch(45% 0.08 145);
}

.dietary-tag.veg {
    background: oklch(85% 0.06 120 / 0.15);
    color: oklch(45% 0.06 120);
}

.dietary-tag.gf {
    background: oklch(85% 0.04 60 / 0.15);
    color: oklch(45% 0.04 60);
}

.chef-pick {
    font-size: var(--text-xs);
    color: var(--color-secondary);
    font-weight: 600;
}

.menu-item-price {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-primary);
    white-space: nowrap;
    flex-shrink: 0;
}

/* Footer */
.lightbox-footer {
    padding: var(--space-4) var(--space-8);
    border-top: 1px solid var(--color-border);
    background: var(--color-bg-alt);
    text-align: center;
    font-size: var(--text-sm);
    color: var(--color-text-light);
    flex-shrink: 0;
}

.lightbox-footer p {
    margin: 0 0 var(--space-1) 0;
}

.lightbox-footer p:last-child {
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 640px) {
    .lightbox-panel {
        width: 100vw;
        max-height: 100vh;
        border-radius: var(--radius-xl) var(--radius-xl) 0 0;
        margin-top: auto;
    }

    .lightbox-header {
        padding: var(--space-4) var(--space-5);
    }

    .lightbox-tabs {
        padding: var(--space-3) var(--space-5);
    }

    .lightbox-body {
        padding: var(--space-4) var(--space-5);
    }

    .lightbox-footer {
        padding: var(--space-3) var(--space-5);
    }

    .lightbox-title {
        font-size: var(--text-xl);
    }

    .menu-item {
        flex-direction: column;
        gap: var(--space-2);
    }

    .menu-item-price {
        align-self: flex-start;
    }
}
/* â”€â”€ Menu General Info Block â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
/* ═══════════════════════════════════════════════════════════════════
   TROPICAL CAFE — CONDENSED EDITORIAL MENU
   Impeccable Design | Taste | UI/UX Pro Max
   ═══════════════════════════════════════════════════════════════════ */

/* ── Info Bar ─────────────────────────────────────────────────── */
.tcinfo-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 0;
    align-items: center;
    background: #1a3a2a;
    color: #c8e6c9;
    border-radius: 14px;
    padding: 13px 20px;
    margin-bottom: 12px;
    font-size: 0.81rem;
    line-height: 1.5;
}
.tcinfo-item {
    display: flex;
    align-items: center;
    gap: 7px;
    flex: 1;
    min-width: 220px;
}
.tcinfo-item svg { width: 14px; height: 14px; flex-shrink: 0; stroke: #66bb6a; }
.tcinfo-item strong { color: #a5d6a7; }
.tcinfo-sep {
    width: 1px;
    height: 16px;
    background: #3a6a4a;
    flex-shrink: 0;
}

/* ── Dietary Legend ────────────────────────────────────────────── */
.tcdiet-legend {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    margin-bottom: 20px;
    padding: 10px 16px;
    background: #f0faf4;
    border: 1px solid #c8e6c9;
    border-radius: 12px;
    font-size: 0.78rem;
}
.tcdiet-label { font-weight: 700; color: #2d6a4f; }
.tcdiet-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 9px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.02em;
}
.tcdiet-v  { background: #c8e6c9; color: #1b5e20; }
.tcdiet-ve { background: #a5d6a7; color: #1b5e20; }
.tcdiet-gf { background: #ffe0b2; color: #bf360c; }
.tcdiet-df { background: #bbdefb; color: #0d47a1; }
.tcdiet-nf { background: #f8bbd9; color: #880e4f; }
.tcdiet-note { color: #888; font-style: italic; margin-left: auto; }

/* ── Category Filter Pills ────────────────────────────────────── */
.tccat-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 16px;
    margin-bottom: 28px;
    border-bottom: 2px solid #e8f5e9;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.tccat-nav::-webkit-scrollbar { display: none; }

.tccat-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border: 1.5px solid var(--cat-color, #2d6a4f);
    border-radius: 30px;
    background: transparent;
    color: var(--cat-color, #2d6a4f);
    font-size: 0.8rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.18s ease, color 0.18s ease, transform 0.12s ease;
    flex-shrink: 0;
    letter-spacing: 0.01em;
}
.tccat-btn:hover {
    background: var(--cat-color, #2d6a4f);
    color: #fff;
    transform: translateY(-1px);
}
.tccat-btn.active {
    background: var(--cat-color, #2d6a4f);
    color: #fff;
}
.tccat-btn-name { font-size: 0.76rem; }

/* ── Main: Sidebar + Content Grid ─────────────────────────────── */
.tcmain {
    display: grid;
    grid-template-columns: 170px 1fr;
    gap: 0 40px;
    align-items: start;
}

/* ── Sidebar ──────────────────────────────────────────────────── */
.tcsidebar {
    position: sticky;
    top: 90px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.tcside-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border-radius: 8px;
    text-decoration: none;
    color: #666;
    font-size: 0.79rem;
    font-weight: 500;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
    border-left: 3px solid transparent;
}
.tcside-link span:first-child { font-size: 1rem; line-height: 1; }
.tcside-link:hover,
.tcside-link.active {
    background: #f0faf4;
    color: var(--cat-color, #2d6a4f);
    border-left-color: var(--cat-color, #2d6a4f);
    font-weight: 700;
}

/* ── Category Block ───────────────────────────────────────────── */
.tccontent { min-width: 0; }
.tccat { margin-bottom: 52px; }

.tccat-head {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 12px;
    padding-bottom: 9px;
    border-bottom: 2.5px solid var(--cat-color, #2d6a4f);
}
.tccat-emoji { font-size: 1.3rem; line-height: 1; }
.tccat-name {
    font-family: 'Fraunces', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--cat-color, #2d6a4f);
    letter-spacing: -0.01em;
}
.tccat-count {
    margin-left: auto;
    font-size: 0.7rem;
    color: #bbb;
    font-weight: 500;
}

/* ── Item Rows ───────────────────────────────────────────────── */
.tcitm-list { list-style: none; margin: 0; padding: 0; }
.tcitm {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 9px 0;
    border-bottom: 1px solid #f2f2f2;
    transition: background 0.12s;
}
.tcitm:last-child { border-bottom: none; }
.tcitm:hover .tcitm-name { color: var(--cat-color, #2d6a4f); }
.tcitm-left { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.tcitm-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: #1a1a1a;
    transition: color 0.15s;
    line-height: 1.3;
}
.tcitm-desc {
    font-size: 0.76rem;
    color: #777;
    line-height: 1.45;
}
.tcitm-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 3px; }

/* Dietary tags */
.tctag {
    display: inline-block;
    padding: 1px 7px;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}
.tctag-v  { background: #e8f5e9; color: #2e7d32; }
.tctag-ve { background: #c8e6c9; color: #1b5e20; }
.tctag-gf { background: #fff3e0; color: #e65100; }
.tctag-df { background: #e3f2fd; color: #0d47a1; }
.tctag-nf { background: #fce4ec; color: #880e4f; }

/* Price */
.tcitm-right { flex-shrink: 0; }
.tcitm-price {
    font-weight: 700;
    font-size: 0.9rem;
    color: #1a3a2a;
    background: #e8f5e9;
    padding: 3px 10px;
    border-radius: 20px;
    white-space: nowrap;
}

/* ── Mobile ───────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .tcmain { grid-template-columns: 1fr; }
    .tcsidebar { display: none; }
    .tcinfo-bar { flex-direction: column; gap: 8px; }
    .tcinfo-sep { display: none; }
    .tcdiet-note { margin-left: 0; }
    .tcitm { gap: 8px; }
}
@media (max-width: 480px) {
    .tcitm-name { font-size: 0.85rem; }
    .tcitm-desc { font-size: 0.72rem; }
    .tcitm-price { font-size: 0.83rem; padding: 2px 8px; }
    .tccat-name { font-size: 1rem; }
}


/* Filter Buttons */
.menu-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}

.filter-btn {
  padding: var(--space-2) var(--space-5);
  border: 2px solid var(--color-primary);
  background: transparent;
  color: var(--color-primary);
  border-radius: var(--radius-full);
  font-family: "DM Sans", sans-serif;
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  background: var(--color-primary);
  color: var(--color-surface);
  transform: translateY(-2px);
}

.filter-btn.active {
  background: var(--color-primary);
  color: var(--color-surface);
}

.menu-item-hidden {
  display: none;
}

.menu-item-visible {
  display: block;
  animation: fadeIn 0.3s ease-in-out;
}

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

/* ========================================
   MENU SECTION - Redesigned Layout
   ======================================== */

/* General Info Strip */
.menu-info-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-3);
  font-size: var(--text-sm);
}

.info-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-text);
}

.info-icon {
  width: 18px;
  height: 18px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.info-item strong {
  color: var(--color-text);
  font-weight: 600;
}

/* Notice Banner */
.menu-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  background: oklch(95% 0.08 85 / 0.3);
  border: 1px solid oklch(85% 0.1 85 / 0.5);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-6);
  font-size: var(--text-xs);
  color: var(--color-text);
}

.notice-icon {
  width: 16px;
  height: 16px;
  color: var(--color-accent-dark);
  flex-shrink: 0;
}

/* Dietary Legend */
.dietary-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: var(--color-surface);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-6);
  font-size: var(--text-xs);
  border: 1px solid var(--color-border);
}

.legend-title {
  font-weight: 600;
  color: var(--color-text);
  margin-right: var(--space-2);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  color: var(--color-text-light);
}

.legend-item.legend-option {
  color: var(--color-text-muted);
  font-style: italic;
}

.dietary-badge {
  width: 14px;
  height: 14px;
  padding: 2px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-sm);
  color: var(--color-primary);
}

/* Menu Wrapper */
.menu-wrapper {
  margin-bottom: var(--space-8);
}

/* Category Title */
.menu-category {
  margin-bottom: var(--space-6);
}

.category-title {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-primary-dark);
  padding-bottom: var(--space-3);
  margin-bottom: var(--space-4);
  border-bottom: 2px solid var(--color-primary-light);
  position: relative;
}

.category-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--color-secondary);
}

.category-icon {
  width: 24px;
  height: 24px;
  color: var(--color-secondary);
}

/* Menu List */
.menu-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.menu-list-compact {
  gap: var(--space-2);
}

/* Menu Item */
.menu-item {
  padding: var(--space-4);
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: all var(--transition-fast);
}

.menu-item:hover {
  border-color: var(--color-primary-light);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.menu-item-compact {
  padding: var(--space-3) var(--space-4);
}

.menu-item-main {
  flex: 1;
}

/* Item Header */
.item-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-3);
  margin-bottom: var(--space-2);
}

.item-name {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.3;
}

.item-price {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-secondary);
  white-space: nowrap;
}

.item-price.addon-inline {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
}

/* Item Description */
.item-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: var(--space-2);
}

/* Dietary Tags */
.item-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
}

.dietary-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 600;
  color: var(--color-primary-dark);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.tag-icon {
  width: 10px;
  height: 10px;
}

/* Add-on Chips */
.item-addons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-2);
}

.addon-chip {
  display: inline-block;
  padding: 4px 10px;
  background: oklch(90% 0.08 145 / 0.4);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  color: var(--color-text-light);
}

.addon-chip.option {
  background: oklch(85% 0.12 85 / 0.3);
  color: var(--color-accent-dark);
  font-style: italic;
}

/* Ice Note */
.ice-note {
  font-size: var(--text-xs);
  font-weight: 400;
  color: var(--color-text-muted);
  font-style: italic;
}

/* Menu Note */
.menu-note {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-style: italic;
  padding: var(--space-2) var(--space-4);
}

/* Menu Footer */
.menu-footer {
  text-align: center;
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border);
}

/* ========================================
   RESPONSIVE MENU STYLES
   ======================================== */

@media (max-width: 768px) {
  .menu-info-strip {
    gap: var(--space-3);
    padding: var(--space-3);
  }
  
  .info-item {
    font-size: var(--text-xs);
  }
  
  .info-icon {
    width: 14px;
    height: 14px;
  }
  
  .dietary-legend {
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
  }
  
  .category-title {
    font-size: var(--text-lg);
  }
  
  .category-icon {
    width: 20px;
    height: 20px;
  }
  
  .menu-item {
    padding: var(--space-3);
  }
  
  .item-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-1);
  }
  
  .item-price {
    font-size: var(--text-base);
  }
  
  .item-name {
    font-size: var(--text-sm);
  }
  
  .item-addons {
    gap: var(--space-1);
  }
  
  .addon-chip {
    font-size: 10px;
    padding: 2px 8px;
  }
}

@media (max-width: 480px) {
  .menu-notice {
    flex-direction: column;
    text-align: center;
    gap: var(--space-1);
  }
  
  .dietary-legend {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  
  .dietary-legend::-webkit-scrollbar {
    display: none;
  }
  
  .menu-wrapper {
    margin-bottom: var(--space-6);
  }
}
