:root {
    /* Base Colors */
    --background-color: #121212;
    --surface-color: #1e1e1e;
    --text-color: #e0e0e0;
    --text-muted: #a0a0a0;

    /* Default Theme (Gold) */
    --primary-color: #d4af37;

    /* Fonts */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;

    /* Spacing & Layout */
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --border-radius: 12px;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

/* Themes */
body.theme-gold {
    --primary-color: #d4af37;
}

body.theme-ocean {
    --primary-color: #00b4d8;
}

body.theme-sunset {
    --primary-color: #ff6b6b;
}

body.theme-forest {
    --primary-color: #2ec4b6;
}

body.theme-lavender {
    --primary-color: #a663cc;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* Hamburger Menu */
.menu-toggle {
    display: none;
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 200;
    background: var(--surface-color);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.5rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 150;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu-link {
    color: var(--text-color);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    text-decoration: none;
    margin: 1rem 0;
    transition: color 0.3s;
}

.mobile-menu-link:hover,
.mobile-menu-link.active {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1514933651103-005eec06c04b?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.subtitle {
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Home Button */
.home-btn {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--surface-color);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    z-index: 100;
}

.home-btn:hover {
    background: var(--primary-color);
    color: var(--background-color);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

/* Container */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Menu Sections */
.menu-section {
    margin-bottom: 3rem;
    animation: fadeIn 0.5s ease-in-out;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
    display: inline-block;
}

/* Menu Items */
.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-lg);
    background-color: var(--surface-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: transform 0.2s;
}

.menu-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.item-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: var(--spacing-md);
    flex-shrink: 0;
}

.subsection-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary-color);
    border-left: 4px solid var(--primary-color);
    padding-left: 0.75rem;
    margin: 1rem 0;
}

.item-image { cursor: zoom-in; }

.item-details {
    flex: 1;
    padding-right: var(--spacing-lg);
}

.item-name {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-family: var(--font-heading);
}

.item-description {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.item-price {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
    white-space: nowrap;
}

.loading {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-muted);
    padding: 2rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 3rem 1rem;
    margin-top: 3rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-top: 1px solid var(--surface-color);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Category Grid (Index Page) */
.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.category-card {
    background: var(--surface-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    text-decoration: none;
    color: var(--text-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: var(--shadow);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}

.category-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background-color: #2a2a2a;
}

.category-card-title {
    padding: 1.5rem 1.5rem 0.5rem 1.5rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
}

.category-card-description {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .hero {
        height: 30vh;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .menu-item {
        flex-direction: column;
        padding: var(--spacing-md);
    }

    .item-image {
        width: 100%;
        height: 150px;
        margin-right: 0;
        margin-bottom: var(--spacing-md);
    }

    .item-details {
        padding-right: 0;
        margin-bottom: var(--spacing-md);
    }

    .item-price {
        align-self: flex-end;
        font-size: 1.4rem;
    }
}

/* Image Modal */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 250;
}

.image-modal.open { display: flex; }

.image-modal-content {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

@media (max-width: 600px) {
    .category-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .category-card-image {
        height: 150px;
    }
}
