/* ============================================
   RESTAURANT MENU – PREMIUM DESIGN SYSTEM
   ============================================ */

:root {
    --color-bg: #0f0e0c;
    --color-surface: #1a1915;
    --color-surface-elevated: #242219;
    --color-gold: #c9a84c;
    --color-gold-light: #e4c96a;
    --color-gold-dim: #8a7333;
    --color-cream: #f5ead6;
    --color-cream-dim: #bfb59e;
    --color-text: #e8dcc8;
    --color-text-secondary: #9e9585;
    --color-accent: #d4763a;
    --color-border: rgba(201, 168, 76, 0.15);

    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;

    --shadow-card: 0 2px 20px rgba(0, 0, 0, 0.3), 0 0 60px rgba(201, 168, 76, 0.03);
    --shadow-glow: 0 0 30px rgba(201, 168, 76, 0.08);
}

/* ---- RESET & BASE ---- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-text);
    min-height: 100vh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-image:
        radial-gradient(ellipse at 20% 0%, rgba(201, 168, 76, 0.04) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 100%, rgba(212, 118, 58, 0.03) 0%, transparent 60%);
}

/* ---- MENU CONTAINER ---- */
.menu-container {
    max-width: 720px;
    margin: 0 auto;
    padding: 40px 24px 60px;
}

/* ---- HEADER ---- */
.menu-header {
    text-align: center;
    padding: 48px 20px 40px;
    margin-bottom: 48px;
    position: relative;
}

.header-ornament {
    display: block;
    width: 120px;
    height: 1px;
    margin: 0 auto;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    position: relative;
}

.header-ornament::before {
    content: '◆';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 8px;
    color: var(--color-gold);
    background: var(--color-bg);
    padding: 0 8px;
}

.header-ornament.top {
    margin-bottom: 28px;
}

.header-ornament.bottom {
    margin-top: 20px;
}

.menu-header h1 {
    font-family: var(--font-display);
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--color-gold);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 8px;
    text-shadow: 0 0 40px rgba(201, 168, 76, 0.15);
    animation: fadeInDown 1s ease-out;
}

.menu-header .subtitle {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.05rem;
    color: var(--color-cream-dim);
    letter-spacing: 0.08em;
    animation: fadeInUp 1s ease-out 0.2s both;
}

/* ---- LANGUAGE SWITCHER ---- */
.lang-switcher {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
    animation: fadeInDown 0.8s ease-out;
}

.lang-switcher .divider {
    color: var(--color-border);
    font-size: 0.9rem;
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--color-text-secondary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    letter-spacing: 0.05em;
}

.lang-btn:hover {
    color: var(--color-gold-light);
    background: rgba(201, 168, 76, 0.05);
}

.lang-btn.active {
    color: var(--color-gold);
    background: rgba(201, 168, 76, 0.1);
    font-weight: 600;
}

/* ---- SECTION TITLES ---- */
.menu-section {
    margin-bottom: 48px;
    animation: fadeInUp 0.8s ease-out both;
}

.menu-section:nth-child(2) {
    animation-delay: 0.1s;
}

.menu-section:nth-child(3) {
    animation-delay: 0.2s;
}

.menu-section:nth-child(4) {
    animation-delay: 0.3s;
}

.menu-section:nth-child(5) {
    animation-delay: 0.4s;
}

.menu-section:nth-child(6) {
    animation-delay: 0.5s;
}

.menu-section:nth-child(7) {
    animation-delay: 0.6s;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 28px;
}

.section-title h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-gold-light);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
}

.section-title .line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--color-gold-dim), transparent);
}

.section-title .line:first-child {
    background: linear-gradient(90deg, transparent, var(--color-gold-dim));
}

/* ---- MENU ITEMS ---- */
.menu-item {
    padding: 16px 20px;
    margin-bottom: 4px;
    border-radius: var(--radius-md);
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    cursor: default;
}

.menu-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.04), rgba(201, 168, 76, 0.01));
    opacity: 0;
    transition: opacity 0.35s ease;
}

.menu-item:hover {
    transform: translateX(4px);
}

.menu-item:hover::before {
    opacity: 1;
}

.item-header {
    display: flex;
    align-items: baseline;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.item-header h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-cream);
    flex-shrink: 0;
    transition: color 0.3s ease;
}

.menu-item:hover .item-header h3 {
    color: var(--color-gold-light);
}

.item-header::after {
    content: '';
    flex: 1;
    border-bottom: 1px dotted var(--color-border);
    margin: 0 4px;
    min-width: 30px;
    position: relative;
    top: -4px;
}

.price {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-gold);
    white-space: nowrap;
    position: relative;
    z-index: 1;
    letter-spacing: 0.02em;
}

.description {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    margin-top: 6px;
    padding-left: 2px;
    line-height: 1.5;
    font-weight: 300;
    position: relative;
    z-index: 1;
}

.portion-tag {
    font-family: var(--font-body);
    font-size: 0.7rem;
    color: var(--color-gold-dim);
    background: rgba(201, 168, 76, 0.08);
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    vertical-align: middle;
    margin-left: 4px;
}

/* ---- FOOTER ---- */
.menu-footer {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--color-border);
    margin-top: 20px;
}

.frozen-note {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    font-style: italic;
    letter-spacing: 0.04em;
}

/* ---- ANIMATIONS ---- */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--color-gold-dim);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-gold);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 640px) {
    .menu-container {
        padding: 24px 16px 40px;
    }

    .menu-header h1 {
        font-size: 2.2rem;
        letter-spacing: 0.08em;
    }

    .menu-header .subtitle {
        font-size: 0.9rem;
    }

    .section-title h2 {
        font-size: 1.2rem;
    }

    .item-header h3 {
        font-size: 1rem;
    }

    .menu-item {
        padding: 12px 14px;
    }

    .price {
        font-size: 0.95rem;
    }
}

@media (max-width: 400px) {
    .menu-header h1 {
        font-size: 1.8rem;
    }

    .section-title {
        gap: 12px;
    }

    .section-title h2 {
        font-size: 1rem;
    }
}

/* ---- PRINT ---- */
@media print {
    body {
        background: white;
        color: #1a1a1a;
    }

    .menu-header h1 {
        color: #333;
        text-shadow: none;
    }

    .section-title h2 {
        color: #444;
    }

    .item-header h3 {
        color: #1a1a1a;
    }

    .price {
        color: #333;
        font-weight: 700;
    }

    .description {
        color: #666;
    }

    .menu-item:hover {
        transform: none;
    }

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