/* Kulinaria - Main Design System & Style Rules */

:root {
    /* Color Palette - Light Mode (Warm, Organic & Premium) */
    --primary: hsl(16, 76%, 50%);         /* Vibrant Terracotta */
    --primary-hover: hsl(16, 76%, 42%);   /* Deep Terracotta */
    --primary-light: hsl(16, 76%, 95%);   /* Pale Terracotta */
    --secondary: hsl(42, 63%, 52%);       /* Culinary Gold */
    --secondary-hover: hsl(42, 63%, 45%);
    --bg-base: hsl(30, 22%, 97%);         /* Soft Sand Cream */
    --bg-surface: hsl(0, 0%, 100%);       /* Pure White */
    --bg-surface-elevated: hsl(30, 18%, 94%);
    --bg-overlay: rgba(0, 0, 0, 0.4);
    
    --text-main: hsl(210, 24%, 12%);      /* Dark Slate */
    --text-muted: hsl(210, 12%, 46%);     /* Medium Slate */
    --text-inverse: hsl(0, 0%, 100%);
    
    --border-color: hsl(30, 12%, 88%);
    --border-color-glow: hsl(16, 76%, 85%);
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 16px -8px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 35px -10px rgba(0, 0, 0, 0.08), 0 10px 20px -12px rgba(0, 0, 0, 0.06);
    
    --success: hsl(142, 68%, 38%);        /* Sage Green */
    --success-light: hsl(142, 68%, 93%);
    --warning: hsl(38, 92%, 48%);
    --danger: hsl(0, 78%, 46%);
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    
    /* Simulated Interactive Map Colors - Light */
    --map-bg: hsl(30, 12%, 92%);
    --map-road: hsl(0, 0%, 100%);
    --map-building: hsl(30, 8%, 86%);
    --map-accent: hsl(16, 76%, 88%);
}

/* Dark Mode Theme Definition */
[data-theme="dark"] {
    --primary: hsl(16, 85%, 56%);
    --primary-hover: hsl(16, 85%, 48%);
    --primary-light: hsl(16, 40%, 16%);
    --secondary: hsl(42, 70%, 58%);
    --secondary-hover: hsl(42, 70%, 50%);
    --bg-base: hsl(210, 20%, 9%);          /* Elegant Charcoal Black */
    --bg-surface: hsl(210, 16%, 13%);      /* Rich Dark Slate */
    --bg-surface-elevated: hsl(210, 14%, 18%);
    --bg-overlay: rgba(0, 0, 0, 0.7);
    
    --text-main: hsl(30, 15%, 92%);        /* Warm White */
    --text-muted: hsl(210, 10%, 65%);      /* Soft Silver */
    --text-inverse: hsl(210, 20%, 9%);
    
    --border-color: hsl(210, 12%, 20%);
    --border-color-glow: hsl(16, 50%, 25%);
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.3), 0 8px 16px -8px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 20px 35px -10px rgba(0, 0, 0, 0.4), 0 10px 20px -12px rgba(0, 0, 0, 0.3);
    
    --success: hsl(142, 60%, 48%);
    --success-light: hsl(142, 50%, 16%);
    
    /* Simulated Interactive Map Colors - Dark */
    --map-bg: hsl(210, 16%, 11%);
    --map-road: hsl(210, 12%, 18%);
    --map-building: hsl(210, 10%, 24%);
    --map-accent: hsl(16, 50%, 22%);
}

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

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-base);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
}

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

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

button, select {
    font-family: inherit;
    font-size: 100%;
    border: none;
    background: none;
    cursor: pointer;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--text-inverse);
    box-shadow: 0 4px 14px rgba(239, 93, 40, 0.25);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 93, 40, 0.35);
}

.btn-secondary {
    background-color: var(--bg-surface);
    color: var(--text-main);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background-color: var(--bg-surface-elevated);
    border-color: var(--text-muted);
    transform: translateY(-2px);
}

.btn-block {
    display: flex;
    width: 100%;
    padding: 16px;
}

/* Navbar Style */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 76px;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 100;
    transition: background-color var(--transition-normal), border-color var(--transition-normal);
}

[data-theme="dark"] .navbar {
    background-color: rgba(20, 24, 33, 0.8);
}

.nav-container {
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    font-family: var(--font-heading);
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background-color: var(--primary);
    color: var(--text-inverse);
    border-radius: 50%;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-main);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width var(--transition-fast);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.theme-toggle, .cart-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background-color: var(--bg-surface);
    color: var(--text-main);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
    position: relative;
}

.theme-toggle:hover, .cart-toggle:hover {
    background-color: var(--bg-surface-elevated);
    transform: scale(1.05);
}

.sun-icon {
    display: none;
}

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

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

.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background-color: var(--primary);
    color: var(--text-inverse);
    font-size: 0.75rem;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    padding: 0 4px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-surface);
    transition: transform var(--transition-fast);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 76px;
    color: white;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
    transform: scale(1.02);
    animation: slowZoom 25s infinite alternate ease-in-out;
}

@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}

.hero-content {
    max-width: 800px;
    padding: 40px 24px 80px 24px;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 4rem);
    margin-bottom: 24px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.hero-waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.hero-waves svg {
    position: relative;
    display: block;
    width: calc(130% + 1.3px);
    height: 60px;
    transform: rotateY(180deg);
}

.hero-waves .shape-fill {
    fill: var(--bg-base);
    transition: fill var(--transition-normal);
}

/* Section Header styling */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px auto;
}

.section-header h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    margin-bottom: 16px;
    position: relative;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--primary);
    margin: 12px auto 0 auto;
    border-radius: var(--radius-full);
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* Crowd Tracker Section */
.crowd-section {
    padding: 80px 0;
}

.crowd-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: stretch;
}

@media (max-width: 768px) {
    .crowd-grid {
        grid-template-columns: 1fr;
    }
}

.crowd-card {
    background-color: var(--bg-surface);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    padding: 40px;
    transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.crowd-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-color-glow);
}

.main-status {
    display: flex;
    align-items: center;
    gap: 40px;
}

@media (max-width: 480px) {
    .main-status {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }
}

.status-gauge-container {
    position: relative;
    width: 140px;
    height: 140px;
    flex-shrink: 0;
}

.status-gauge {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.gauge-bg {
    fill: none;
    stroke: var(--bg-surface-elevated);
    stroke-width: 8;
}

.gauge-fill {
    fill: none;
    stroke-width: 8;
    stroke-linecap: round;
    transition: stroke-dashoffset 1s ease-in-out, stroke var(--transition-normal);
}

.status-gauge-container.low .gauge-fill {
    stroke: var(--success);
}
.status-gauge-container.medium .gauge-fill {
    stroke: var(--warning);
}
.status-gauge-container.high .gauge-fill {
    stroke: var(--danger);
}

.gauge-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.gauge-value {
    font-size: 1.8rem;
    font-weight: 700;
}

.gauge-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    text-transform: uppercase;
}

.status-info h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.status-info p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--bg-surface-elevated);
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
}

.live-dot {
    width: 8px;
    height: 8px;
    background-color: var(--danger);
    border-radius: 50%;
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.9); opacity: 1; box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4); }
    70% { transform: scale(1.1); opacity: 0.8; box-shadow: 0 0 0 8px rgba(220, 38, 38, 0); }
    100% { transform: scale(0.9); opacity: 1; box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}

.times-stats h3 {
    font-size: 1.25rem;
    margin-bottom: 30px;
    text-align: center;
}

.rush-hours-chart {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 140px;
    margin-bottom: 24px;
    padding-top: 10px;
    border-bottom: 1px solid var(--border-color);
}

.chart-bar {
    position: relative;
    width: 14%;
    background-color: var(--bg-surface-elevated);
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    height: var(--height);
    display: flex;
    justify-content: center;
    transition: background-color var(--transition-fast), height var(--transition-normal);
}

.chart-bar:hover {
    background-color: var(--border-color);
}

.chart-bar.highlight {
    background-color: var(--primary);
}

.bar-value {
    position: absolute;
    top: -24px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
}

.chart-bar.highlight .bar-value {
    color: var(--primary);
    font-weight: 700;
}

.bar-label {
    position: absolute;
    bottom: -24px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
}

.chart-tip {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
}

/* Menu Section */
.menu-section {
    padding: 80px 0;
    background-color: var(--bg-surface-elevated);
    transition: background-color var(--transition-normal);
}

.menu-days {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none; /* Hide standard scrollbar for layout cleanliness */
}

.menu-days::-webkit-scrollbar {
    display: none;
}

.day-btn {
    padding: 10px 24px;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.day-btn:hover {
    border-color: var(--text-muted);
    color: var(--text-main);
}

.day-btn.active {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--text-inverse);
    box-shadow: 0 4px 10px rgba(239, 93, 40, 0.2);
}

.menu-filters {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.filter-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: all var(--transition-fast);
}

.filter-btn:hover {
    background-color: var(--bg-surface-elevated);
    border-color: var(--text-muted);
}

.filter-btn.active {
    background-color: var(--text-main);
    border-color: var(--text-main);
    color: var(--bg-surface);
}

/* Dietary Dot Tags */
.diet-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.diet-dot.veg { background-color: #22c55e; }
.diet-dot.veg-vegan { background-color: #10b981; }
.diet-dot.gf { background-color: #eab308; }

/* Menu Grid */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.menu-card {
    background-color: var(--bg-surface);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: all var(--transition-normal);
}

.menu-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-color-glow);
}

.menu-card-img-container {
    height: 200px;
    overflow: hidden;
    position: relative;
    background-color: var(--bg-surface-elevated);
}

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

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

.menu-badges {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.menu-badge {
    background-color: rgba(255, 255, 255, 0.9);
    color: #111827;
    backdrop-filter: blur(4px);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.menu-badge.badge-vegan {
    background-color: rgba(16, 185, 129, 0.95);
    color: white;
}

.menu-badge.badge-veg {
    background-color: rgba(34, 197, 94, 0.95);
    color: white;
}

.menu-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.menu-card-title {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--text-main);
}

.menu-card-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.menu-card-meta {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    border-top: 1px solid var(--border-color);
    padding-top: 12px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.menu-card-meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.menu-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
}

.menu-card-price {
    display: flex;
    flex-direction: column;
}

.price-val {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-main);
}

.price-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-add-cart {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.btn-add-cart:hover {
    background-color: var(--primary);
    color: var(--text-inverse);
}

/* Info & Location Section */
.info-section {
    padding: 80px 0;
}

.info-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.info-details h2 {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.info-intro {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-list li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-text {
    display: flex;
    flex-direction: column;
}

.contact-text strong {
    font-size: 1.05rem;
    color: var(--text-main);
    margin-bottom: 2px;
}

.contact-text span {
    color: var(--text-muted);
}

.contact-text .subtext {
    font-size: 0.85rem;
    margin-top: 2px;
}

.map-link {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 4px;
}

.map-link:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

.info-map-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

/* Map Style */
.map-placeholder {
    height: 350px;
    width: 100%;
    position: relative;
    background-color: var(--map-bg);
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.map-marker {
    position: absolute;
    top: 55%;
    left: 45%;
    transform: translate(-50%, -100%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.map-marker i {
    width: 32px;
    height: 32px;
    color: var(--primary);
    fill: var(--primary-light);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
    animation: float 2.5s infinite ease-in-out;
}

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

.marker-tooltip {
    background-color: var(--text-main);
    color: var(--bg-surface);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    margin-top: 4px;
    box-shadow: var(--shadow-sm);
    white-space: nowrap;
}

.map-vector {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
}

/* Cart Slide-in Sidebar & Overlay */
.cart-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-overlay);
    backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}

.cart-sidebar-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -420px;
    width: 100%;
    max-width: 420px;
    height: 100%;
    background-color: var(--bg-surface);
    box-shadow: -10px 0 40px rgba(0,0,0,0.15);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    transition: right var(--transition-normal);
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-header h3 {
    font-size: 1.4rem;
}

.close-cart {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--bg-surface-elevated);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color var(--transition-fast);
}

.close-cart:hover {
    background-color: var(--border-color);
}

.cart-body {
    display: flex;
    flex-direction: column;
    height: calc(100% - 85px);
    overflow: hidden;
}

.cart-items {
    flex-grow: 1;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.empty-cart-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    color: var(--text-muted);
}

.empty-cart-message i {
    width: 64px;
    height: 64px;
    stroke-width: 1.5;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-cart-message p {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 4px;
}

.empty-cart-message span {
    font-size: 0.9rem;
}

/* Cart Item card style */
.cart-item {
    display: flex;
    gap: 16px;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.cart-item-img {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    background-color: var(--bg-surface-elevated);
}

.cart-item-info {
    flex-grow: 1;
}

.cart-item-title {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.cart-item-price {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--border-color);
    padding: 4px 8px;
    border-radius: var(--radius-full);
}

.qty-btn {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.qty-btn:hover {
    color: var(--text-main);
}

.qty-val {
    font-size: 0.9rem;
    font-weight: 600;
    min-width: 14px;
    text-align: center;
}

.btn-remove-item {
    color: var(--text-muted);
    transition: color var(--transition-fast);
    margin-left: 4px;
}

.btn-remove-item:hover {
    color: var(--danger);
}

/* Checkout Summary Section */
.cart-checkout-details {
    padding: 24px;
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-surface-elevated);
}

.pickup-time-container {
    margin-bottom: 20px;
}

.pickup-time-container label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.select-input {
    width: 100%;
    padding: 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background-color: var(--bg-surface);
    color: var(--text-main);
    font-weight: 500;
    outline: none;
    transition: border-color var(--transition-fast);
}

.select-input:focus {
    border-color: var(--primary);
}

.cart-total-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.total-row.discount {
    color: var(--success);
}

.total-row.grand-total {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-main);
    border-top: 1px solid var(--border-color);
    padding-top: 12px;
    margin-top: 4px;
}

/* Success Ticket Booking Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-overlay);
    backdrop-filter: blur(6px);
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.ticket-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 440px;
    background-color: transparent;
    z-index: 2001;
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition-normal) cubic-bezier(0.34, 1.56, 0.64, 1), opacity var(--transition-normal);
}

.ticket-modal.active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    pointer-events: auto;
}

.close-modal {
    position: absolute;
    top: -48px;
    right: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color var(--transition-fast);
}

.close-modal:hover {
    background-color: rgba(255,255,255,0.3);
}

.ticket-container {
    background-color: var(--bg-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.ticket-header {
    background-color: var(--primary);
    color: var(--text-inverse);
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ticket-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
}

.ticket-status-badge {
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255,255,255,0.4);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
}

.ticket-body {
    padding: 30px;
    background-image: radial-gradient(circle at top, var(--bg-surface) 10px, transparent 11px);
}

.ticket-title {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    text-align: center;
    margin-bottom: 4px;
}

.ticket-order-id {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 24px;
}

.ticket-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.ticket-detail-item {
    display: flex;
    flex-direction: column;
}

.detail-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.detail-val {
    font-weight: 600;
    font-size: 1.05rem;
}

/* Ticket tear-line decoration styling */
.ticket-divider {
    position: relative;
    margin: 24px -30px;
    display: flex;
    align-items: center;
}

.divider-dot-left, .divider-dot-right {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--bg-base);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: background-color var(--transition-normal);
}

.divider-dot-left {
    left: -10px;
    box-shadow: inset -4px 0 4px rgba(0,0,0,0.02);
}

.divider-dot-right {
    right: -10px;
    box-shadow: inset 4px 0 4px rgba(0,0,0,0.02);
}

.divider-line {
    width: 100%;
    border-top: 2px dotted var(--border-color);
}

.ticket-items-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.ticket-item-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
}

.ticket-item-qty-name {
    color: var(--text-main);
}

.ticket-item-price {
    font-weight: 600;
}

.ticket-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
    margin-bottom: 30px;
}

.ticket-total span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.ticket-total strong {
    font-size: 1.4rem;
    color: var(--primary);
}

/* CSS Simulated QR Code */
.ticket-qr-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.simulated-qr {
    width: 110px;
    height: 110px;
    border: 1px solid var(--border-color);
    padding: 8px;
    border-radius: var(--radius-sm);
    position: relative;
    background-color: white;
    margin-bottom: 12px;
    box-shadow: var(--shadow-sm);
}

.qr-corner {
    position: absolute;
    width: 24px;
    height: 24px;
    border: 4px solid #111827;
}

.qr-top-left { top: 8px; left: 8px; border-right: none; border-bottom: none; }
.qr-top-right { top: 8px; right: 8px; border-left: none; border-bottom: none; }
.qr-bottom-left { bottom: 8px; left: 8px; border-right: none; border-top: none; }

.qr-inner-dots {
    width: 100%;
    height: 100%;
    background-image: radial-gradient(#111827 20%, transparent 25%);
    background-size: 8px 8px;
    opacity: 0.85;
}

.qr-caption {
    font-size: 0.75rem;
    color: var(--text-muted);
    max-width: 260px;
}

.ticket-footer {
    padding: 24px;
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-surface-elevated);
}

/* Toast Notification Styles */
.toast {
    position: fixed;
    bottom: 32px;
    left: 32px;
    background-color: var(--text-main);
    color: var(--bg-surface);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 3000;
    transform: translateY(120px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
}

.toast.active {
    transform: translateY(0);
    opacity: 1;
}

.toast-icon {
    color: var(--success);
    flex-shrink: 0;
}

.toast-message {
    font-weight: 500;
    font-size: 0.95rem;
}

/* Footer Section */
.footer {
    background-color: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 20px 0;
    transition: background-color var(--transition-normal), border-color var(--transition-normal);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 12px;
    max-width: 320px;
}

.footer-links, .footer-legal {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links h4, .footer-legal h4 {
    font-size: 1rem;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    color: var(--text-main);
}

.footer-links a, .footer-legal a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links a:hover, .footer-legal a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* About Us Section Styles */
.about-section {
    padding: 90px 0;
    background-color: var(--bg-surface);
    transition: background-color var(--transition-normal);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 70px;
}

@media (max-width: 868px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.about-image {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.team-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    object-position: top;
    display: block;
    transition: transform var(--transition-normal);
}

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

.about-content {
    display: flex;
    flex-direction: column;
}

.about-badge {
    display: inline-block;
    color: var(--primary);
    background-color: var(--primary-light);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    align-self: flex-start;
    margin-bottom: 20px;
}

.about-content h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    margin-bottom: 20px;
    color: var(--text-main);
}

.about-text {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 30px;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon {
    color: var(--success);
    margin-top: 2px;
}

.feature-text {
    display: flex;
    flex-direction: column;
}

.feature-text strong {
    font-size: 1.05rem;
    color: var(--text-main);
    margin-bottom: 2px;
}

.feature-text span {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Fresh Counter Card Highlight */
.fresh-counter-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    background-color: var(--bg-surface-elevated);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: background-color var(--transition-normal), border-color var(--transition-normal);
}

.fresh-counter-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--border-color-glow);
}

.counter-content {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.counter-content h3 {
    font-size: 1.6rem;
    margin-bottom: 16px;
}

.counter-content p {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 1rem;
}

.counter-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.counter-image {
    height: 100%;
    min-height: 280px;
}

.counter-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .fresh-counter-card {
        grid-template-columns: 1fr;
    }
    
    .counter-content {
        padding: 30px;
    }
    
    .counter-image {
        min-height: 220px;
        order: -1;
    }
}

/* Speiseplan Image Display */
.menu-image-wrapper {
    width: 100%;
    max-width: 1150px;
    margin: 40px auto 0 auto;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

.menu-img-display {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    transition: transform var(--transition-normal);
}

.menu-img-display:hover {
    transform: scale(1.01);
}

.menu-image-fallback {
    padding: 60px 24px;
    text-align: center;
    color: var(--text-muted);
}

.menu-image-fallback .fallback-icon {
    width: 64px;
    height: 64px;
    color: var(--text-muted);
    margin-bottom: 20px;
    opacity: 0.7;
}

.menu-image-fallback h3 {
    font-family: var(--font-body);
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 12px;
}

.menu-image-fallback p {
    font-size: 1rem;
    margin-bottom: 8px;
}

.menu-image-fallback code {
    background-color: var(--bg-surface-elevated);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.9rem;
    color: var(--primary);
}

.menu-image-fallback .fallback-sub {
    font-size: 0.85rem;
    margin-top: 16px;
    opacity: 0.8;
}

