/* Menu Preview Styles */
:root {
    /* Modern Theme */
    --modern-primary: #2563eb;
    --modern-secondary: #64748b;
    --modern-accent: #06b6d4;
    --modern-bg: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --modern-text: #1e293b;
    --modern-light: #f1f5f9;
    
    /* Elegant Theme */
    --elegant-primary: #1f2937;
    --elegant-secondary: #6b7280;
    --elegant-accent: #d4af37;
    --elegant-bg: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    --elegant-text: #f9fafb;
    --elegant-light: rgba(249, 250, 251, 0.1);
    
    /* Rustic Theme */
    --rustic-primary: #dc2626;
    --rustic-secondary: #7c2d12;
    --rustic-accent: #f59e0b;
    --rustic-bg: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    --rustic-text: #fef2f2;
    --rustic-light: rgba(254, 242, 242, 0.1);
    
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.15);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    min-height: 100vh;
}

/* Theme Controls */
.theme-controls {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
}

.theme-controls .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.theme-selector {
    display: flex;
    gap: 10px;
}

.theme-btn {
    padding: 8px 16px;
    border: 2px solid transparent;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.theme-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.theme-btn.active {
    background: white;
    color: #1f2937;
    border-color: white;
}

.back-link .btn {
    border-radius: 20px;
}

/* Menu Container */
.menu-container {
    max-width: 800px;
    margin: 80px auto 0;
    padding: 40px 20px;
    min-height: calc(100vh - 80px);
}

/* Modern Theme */
.menu-container {
    background: var(--modern-bg);
    color: var(--modern-text);
}

.menu-container .menu-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
}

.restaurant-logo {
    width: 80px;
    height: 80px;
    background: var(--modern-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
}

.restaurant-name {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--modern-primary);
    margin-bottom: 10px;
}

.restaurant-description {
    font-size: 1.2rem;
    color: var(--modern-secondary);
    margin-bottom: 20px;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    font-size: 0.9rem;
    color: var(--modern-secondary);
}

.contact-info span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Menu Sections */
.menu-section {
    background: rgba(255, 255, 255, 0.95);
    margin-bottom: 30px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.section-title {
    background: var(--modern-primary);
    color: white;
    padding: 20px;
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.menu-items {
    padding: 20px;
}

.menu-item {
    padding: 20px 0;
    border-bottom: 1px solid #e5e7eb;
    position: relative;
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item.featured {
    background: linear-gradient(135deg, #fef3c7, #fed7aa);
    margin: 0 -20px;
    padding: 25px 20px;
    border-radius: 8px;
}

.item-header {
    display: flex;
    justify-content: between;
    align-items: flex-start;
    margin-bottom: 8px;
    gap: 15px;
}

.item-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--modern-text);
    flex: 1;
    margin: 0;
}

.item-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--modern-primary);
    white-space: nowrap;
}

.chef-special {
    background: #dc2626;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.item-description {
    color: var(--modern-secondary);
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

/* Menu Footer */
.menu-footer {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    text-align: center;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    margin-top: 30px;
}

.footer-text {
    color: var(--modern-secondary);
    font-size: 1rem;
    margin-bottom: 20px;
}

.qr-code {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--modern-secondary);
}

.qr-code i {
    font-size: 2rem;
}

/* Elegant Theme */
.menu-container.elegant-theme {
    background: var(--elegant-bg);
    color: var(--elegant-text);
}

.elegant-theme .menu-header {
    background: rgba(31, 41, 55, 0.95);
    color: var(--elegant-text);
}

.elegant-theme .restaurant-logo {
    background: var(--elegant-accent);
    color: var(--elegant-primary);
}

.elegant-theme .restaurant-name {
    color: var(--elegant-accent);
    font-family: 'Playfair Display', serif;
}

.elegant-theme .restaurant-description,
.elegant-theme .contact-info {
    color: var(--elegant-secondary);
}

.elegant-theme .menu-section {
    background: rgba(31, 41, 55, 0.95);
}

.elegant-theme .section-title {
    background: var(--elegant-accent);
    color: var(--elegant-primary);
}

.elegant-theme .item-name {
    color: var(--elegant-text);
    font-family: 'Playfair Display', serif;
}

.elegant-theme .item-price {
    color: var(--elegant-accent);
}

.elegant-theme .item-description {
    color: var(--elegant-secondary);
}

.elegant-theme .menu-item.featured {
    background: rgba(212, 175, 55, 0.1);
}

.elegant-theme .menu-footer {
    background: rgba(31, 41, 55, 0.95);
    color: var(--elegant-text);
}

.elegant-theme .footer-text,
.elegant-theme .qr-code {
    color: var(--elegant-secondary);
}

/* Rustic Theme */
.menu-container.rustic-theme {
    background: var(--rustic-bg);
    color: var(--rustic-text);
}

.rustic-theme .menu-header {
    background: rgba(220, 38, 38, 0.95);
    color: var(--rustic-text);
}

.rustic-theme .restaurant-logo {
    background: var(--rustic-accent);
    color: var(--rustic-primary);
}

.rustic-theme .restaurant-name {
    color: var(--rustic-accent);
    font-family: 'Caveat', cursive;
    font-size: 3rem;
}

.rustic-theme .restaurant-description,
.rustic-theme .contact-info {
    color: rgba(254, 242, 242, 0.8);
}

.rustic-theme .menu-section {
    background: rgba(220, 38, 38, 0.95);
}

.rustic-theme .section-title {
    background: var(--rustic-accent);
    color: var(--rustic-primary);
    font-family: 'Caveat', cursive;
    font-size: 1.8rem;
}

.rustic-theme .item-name {
    color: var(--rustic-text);
    font-family: 'Caveat', cursive;
    font-size: 1.5rem;
}

.rustic-theme .item-price {
    color: var(--rustic-accent);
    font-family: 'Caveat', cursive;
}

.rustic-theme .item-description {
    color: rgba(254, 242, 242, 0.8);
}

.rustic-theme .menu-item.featured {
    background: rgba(245, 158, 11, 0.1);
}

.rustic-theme .menu-footer {
    background: rgba(220, 38, 38, 0.95);
    color: var(--rustic-text);
}

.rustic-theme .footer-text,
.rustic-theme .qr-code {
    color: rgba(254, 242, 242, 0.8);
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-container {
        margin-top: 100px;
        padding: 20px 15px;
    }
    
    .theme-selector {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .theme-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .theme-controls .container {
        flex-direction: column;
        gap: 15px;
    }
    
    .menu-header {
        padding: 20px !important;
    }
    
    .restaurant-name {
        font-size: 2rem !important;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 10px;
    }
    
    .item-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .item-name {
        font-size: 1.1rem !important;
    }
    
    .chef-special {
        align-self: flex-start;
    }
}

@media (max-width: 480px) {
    .rustic-theme .restaurant-name {
        font-size: 2.5rem !important;
    }
    
    .rustic-theme .section-title {
        font-size: 1.5rem !important;
    }
    
    .rustic-theme .item-name {
        font-size: 1.3rem !important;
    }
}