:root {
    /* Creative & Eye-Catching Palette */
    --bg-color: #F7F5F0; /* Soft warm off-white */
    --sidebar-bg: #0F172A; /* Deep dark slate */
    --text-dark: #1E293B; /* Charcoal */
    --text-light: #F8FAFC; 
    --text-muted: #64748B;
    
    /* The "Eye-Catching" Accents */
    --accent-primary: #FF4F18; /* Vibrant Orange-Red (Appetizing & Modern) */
    --accent-secondary: #FFB01D; /* Warm Yellow/Gold */
    --card-bg: #FFFFFF;
    
    --font-heading: 'DM Serif Display', serif;
    --font-body: 'Outfit', sans-serif;
    
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 20px 50px rgba(255, 79, 24, 0.15);
    --radius-lg: 24px;
    --radius-md: 16px;
    --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

[data-theme="dark"] {
    --bg-color: #0B1120;
    --sidebar-bg: #070B14;
    --text-dark: #F8FAFC;
    --text-muted: #94A3B8;
    --card-bg: #1E293B;
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.4);
    --shadow-hover: 0 20px 50px rgba(255, 79, 24, 0.25);
}

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

html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

/* Layout */
.layout {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

@media (min-width: 1024px) {
    .layout {
        flex-direction: row;
    }
}

/* Sidebar / Navigation */
.sidebar {
    background-color: var(--sidebar-bg);
    color: var(--text-light);
    position: relative; /* Normal flow on mobile */
    z-index: 50;
    overflow: hidden;
}

.sidebar-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--accent-secondary) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.05;
    z-index: 0;
}

@media (min-width: 1024px) {
    .sidebar {
        width: 320px;
        height: 100vh;
        display: flex;
        flex-direction: column;
        position: sticky;
        top: 0;
    }
}

.logo-wrapper {
    padding: 2.5rem 1rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-the {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1.2rem;
    letter-spacing: 4px;
    color: var(--accent-secondary);
    margin-bottom: -10px;
    text-transform: uppercase;
}

.logo-central {
    font-family: var(--font-heading);
    font-size: 3rem; /* Scaled down for mobile */
    letter-spacing: 2px;
    line-height: 1;
    color: var(--text-light);
}

@media (min-width: 1024px) {
    .logo-central {
        font-size: 4rem;
    }
}

.logo-sub {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.8rem;
    letter-spacing: 3px;
    margin-top: 5px;
    color: var(--text-muted);
}

.store-info {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    align-items: center;
}

.badge-self-service {
    background-color: var(--accent-primary);
    color: white;
    padding: 0.35rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 4px 12px rgba(255, 79, 24, 0.3);
}

.badge-working-hours {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--accent-secondary);
    border: 1px solid rgba(255, 176, 29, 0.3);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.category-nav {
    display: flex;
    overflow-x: auto;
    padding: 1rem;
    gap: 0.75rem;
    scrollbar-width: none;
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--sidebar-bg);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.category-nav::-webkit-scrollbar { display: none; }

@media (min-width: 1024px) {
    .category-nav {
        flex-direction: column;
        padding: 1rem 2rem;
        overflow-y: auto;
        flex-grow: 1;
        position: relative;
        box-shadow: none;
    }
}

.nav-btn {
    background: rgba(255,255,255,0.03);
    color: var(--text-muted);
    border: 1px solid rgba(255,255,255,0.05);
    text-align: left;
    padding: 1rem 1.25rem;
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: var(--radius-md);
    white-space: nowrap;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.nav-btn:hover {
    color: var(--text-light);
    background: rgba(255,255,255,0.08);
    transform: translateX(5px);
}

.nav-btn.active {
    color: #fff;
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    font-weight: 600;
    box-shadow: 0 10px 20px rgba(255, 79, 24, 0.3);
}

.sidebar-footer {
    display: none;
}

@media (min-width: 1024px) {
    .sidebar-footer {
        display: block;
        padding: 2rem;
        text-align: center;
        font-family: var(--font-heading);
        color: var(--accent-secondary);
        font-size: 1.2rem;
        font-style: italic;
        position: relative;
        z-index: 1;
        opacity: 0.8;
    }
}

/* Main Content Area */
.main-content {
    flex: 1;
    position: relative;
}

.mobile-header {
    display: none; 
}

.menu-container {
    padding: 2rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .menu-container {
        padding: 4rem;
    }
}

.category-section {
    margin-bottom: 5rem;
    animation: slideUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

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

.category-title {
    font-family: var(--font-heading);
    font-size: 2.2rem; /* Scaled down for mobile */
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

@media (min-width: 768px) {
    .category-title {
        font-size: 3.5rem;
    }
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    height: 15px;
    background-color: var(--accent-secondary);
    z-index: -1;
    opacity: 0.4;
    transform: skewX(-15deg);
}

.category-desc {
    font-size: 1.1rem;
    color: var(--accent-primary);
    font-weight: 500;
    margin-bottom: 3rem;
    font-style: italic;
    opacity: 0.9;
}

.menu-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 1280px) {
    .menu-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
}

/* Modern Card Design */
.menu-item {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-soft);
    position: relative;
    border: 1px solid transparent;
}

.menu-item:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: var(--shadow-hover);
    border-color: rgba(255, 79, 24, 0.1);
}

.item-image-wrapper {
    width: 100%;
    height: 260px;
    position: relative;
    overflow: hidden;
    background-color: #f1f5f9;
}

.item-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.menu-item:hover .item-image {
    transform: scale(1.08);
}

.item-content {
    padding: 1.2rem;
}

@media (min-width: 768px) {
    .item-content {
        padding: 1.8rem;
    }
}

.item-header {
    margin-bottom: 0.5rem;
}

.item-name {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .item-name {
        font-size: 1.4rem;
    }
}

.item-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.item-prices {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.price-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-color);
    padding: 0.8rem 1rem;
    border-radius: 12px;
}

.price-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 1.5px;
}

.price {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--accent-primary);
}

/* Custom Price Badge (if single price) */
.price-group:only-child {
    background: transparent;
    padding: 0;
    justify-content: flex-start;
    gap: 1rem;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 1rem;
    margin-top: 0.5rem;
}

.price-group:only-child .price {
    font-size: 1.3rem;
    background: var(--accent-primary);
    color: white;
    padding: 0.4rem 1.2rem;
    border-radius: 30px;
}

@media (min-width: 768px) {
    .price-group:only-child .price {
        font-size: 1.6rem;
    }
}

.price-group:only-child .price-label {
    display: none;
}

/* Floating Review Button */
.floating-review-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--accent-primary);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 10px 25px rgba(255, 79, 24, 0.4);
    z-index: 100;
    animation: gentle-bounce 3s infinite;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.floating-review-btn:hover {
    background-color: var(--sidebar-bg);
    animation-play-state: paused;
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 15px 30px rgba(15, 23, 42, 0.3);
}

.review-icon {
    font-size: 1.3rem;
    display: inline-block;
    animation: wobble 2.5s infinite;
}

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

@keyframes wobble {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-15deg); }
    75% { transform: rotate(15deg); }
}

@media (max-width: 768px) {
    .floating-review-btn {
        bottom: 20px;
        right: 20px;
        padding: 10px 16px;
    }
    .review-text {
        font-size: 0.85rem;
    }
}

@media (max-width: 600px) {
    .floating-review-btn {
        bottom: 15px;
        right: 15px;
        padding: 10px 14px;
        border-radius: 50px;
        width: auto;
        height: auto;
        box-shadow: 0 8px 20px rgba(255, 79, 24, 0.4);
    }
    .review-text {
        display: inline-block;
        font-size: 0.85rem;
    }
    .review-icon {
        margin: 0;
        font-size: 1.1rem;
    }
}

/* --- New Professional Features --- */

/* Top Controls */
.top-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1rem 0;
    max-width: 1200px;
    margin: 0 auto;
    gap: 1rem;
    flex-wrap: wrap;
}

@media (min-width: 1024px) {
    .top-controls {
        padding: 2rem 4rem 0;
    }
}

.search-wrapper {
    display: flex;
    align-items: center;
    background: var(--card-bg);
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    flex-grow: 1;
    max-width: 400px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}

[data-theme="dark"] .search-wrapper {
    border: 1px solid rgba(255,255,255,0.05);
}

.search-wrapper:focus-within {
    border-color: var(--accent-primary);
    box-shadow: 0 4px 20px rgba(255, 79, 24, 0.15);
}

#search-input {
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
    padding: 0.5rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-dark);
}

.actions-wrapper {
    display: flex;
    gap: 0.8rem;
}

.action-btn {
    background: var(--card-bg);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    color: var(--text-dark);
}

[data-theme="dark"] .action-btn {
    border: 1px solid rgba(255,255,255,0.05);
}

.action-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    color: var(--accent-primary);
}

.lang-text {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
}

.theme-icon {
    font-size: 1.2rem;
}

/* Badges */
.item-badges {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
    flex-wrap: wrap;
}

.badge {
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-weight: 700;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 4px;
    letter-spacing: 0.5px;
}

.badge-vegan, .badge-vegetarian { background: rgba(34, 197, 94, 0.15); color: #166534; }
[data-theme="dark"] .badge-vegan, [data-theme="dark"] .badge-vegetarian { color: #4ade80; }

.badge-healthy { background: rgba(14, 165, 233, 0.15); color: #075985; }
[data-theme="dark"] .badge-healthy { color: #38bdf8; }

.badge-spicy { background: rgba(239, 68, 68, 0.15); color: #991b1b; }
[data-theme="dark"] .badge-spicy { color: #f87171; }

.badge-popular { background: rgba(234, 179, 8, 0.15); color: #854d0e; }
[data-theme="dark"] .badge-popular { color: #facc15; }

.badge-chef { background: rgba(168, 85, 247, 0.15); color: #6b21a8; }
[data-theme="dark"] .badge-chef { color: #c084fc; }

/* Scroll Top Button */
.scroll-top-btn {
    position: fixed;
    bottom: 90px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--text-dark);
    color: var(--bg-color);
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 99;
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    transform: translateY(-5px);
    background-color: var(--accent-primary);
}

@media (max-width: 600px) {
    .scroll-top-btn {
        bottom: 85px;
        right: 15px;
        width: 45px;
        height: 45px;
    }
}

/* Instagram Button */
.instagram-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    padding: 0 1rem;
    border-radius: 50px;
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(220, 39, 67, 0.3);
    transition: var(--transition);
    height: 45px;
    white-space: nowrap;
}

.instagram-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(220, 39, 67, 0.5);
    color: white;
}

.insta-icon {
    font-size: 1.2rem;
    animation: instaPulse 2s infinite;
}

@keyframes instaPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2) rotate(5deg); }
    100% { transform: scale(1); }
}

@media (max-width: 380px) {
    .insta-text {
        font-size: 0.75rem;
    }
    .instagram-btn {
        padding: 0 0.6rem;
        gap: 5px;
    }
}

/* Site Footer */
.site-footer {
    text-align: center;
    padding: 2rem 1rem 6rem; /* Extra bottom padding to clear floating buttons */
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(0,0,0,0.05);
    margin-top: 2rem;
}

[data-theme="dark"] .site-footer {
    border-top: 1px solid rgba(255,255,255,0.05);
}

.agency-link {
    color: var(--text-dark);
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}

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

[data-theme="dark"] .agency-link {
    color: var(--text-light);
}

[data-theme="dark"] .agency-link:hover {
    color: var(--accent-secondary);
}
