/* ==========================================
   1. VARIABLES & RESET
   ========================================== */
:root {
    --bg-dark: #1b2200;
    --bg-darker: #05070a;
    --accent-gold: #e5a95c;
    --accent-hover: #f5b768;
    --text-light: #f8f9fa;
    --text-muted: #9aa0a6;
    --border-color: rgba(255, 255, 255, 0.1);
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-sans);
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }

/* ==========================================
   2. HEADER (FIJO Y CORREGIDO)
   ========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000;
    background: rgba(5, 7, 10, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    height: 80px;
    display: flex;
    align-items: center;
}

.header-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Hamburguesa a la izquierda */
.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2001;
}

.menu-toggle .bar {
    width: 25px;
    height: 2px;
    background-color: var(--accent-gold);
    transition: 0.3s;
}

/* Logo a la derecha en móvil */
.logo {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--text-light);
}

/* Navegación lateral (Móvil) */
.nav {
    position: fixed;
    top: 0;
    left: -100%; /* Sale desde la izquierda */
    width: 280px;
    height: 100vh;
    background: var(--bg-darker);
    display: flex;
    flex-direction: column;
    padding: 100px 40px;
    gap: 2rem;
    transition: 0.4s cubic-bezier(0.77,0.2,0.05,1.0);
    z-index: 1999;
}

.nav.active { left: 0; }

.nav a {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s;
}

.nav a:hover { color: var(--accent-gold); }

/* Escritorio (A partir de 992px) */
@media (min-width: 992px) {
    .menu-toggle { display: none; }
    .nav {
        position: static;
        flex-direction: row;
        width: auto;
        height: auto;
        padding: 0;
        background: transparent;
        left: auto;
    }
}

/* ==========================================
   3. HERO & SECCIONES
   ========================================== */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
    url('https://images.unsplash.com/photo-1544025162-d76694265947') center/cover;
    padding-top: 80px;
}

.title-serif { font-family: var(--font-serif); text-transform: uppercase; }

.menu-intro { text-align: center; padding: 100px 20px 40px; }
.gold-center { color: var(--accent-gold); font-size: 2.5rem; }

/* ==========================================
   4. ACORDEÓN
   ========================================== */
.accordion-item {
    max-width: 800px;
    margin: 0 auto;
    border-bottom: 1px solid var(--border-color);
}

.accordion-header {
    width: 100%;
    padding: 25px;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    color: var(--accent-gold);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: 0.4s ease-out;
    opacity: 0;
    padding: 0 25px;
}

.accordion-item.active .accordion-content {
    max-height: 2000px;
    opacity: 1;
    padding-bottom: 30px;
}

/* Estilo Platos */
.dish { margin-bottom: 20px; }
.dish-header { display: flex; justify-content: space-between; border-bottom: 1px dotted var(--border-color); }
.dish h4 { color: var(--text-light); font-size: 1rem; }
.dish .price { color: var(--accent-gold); font-weight: bold; }
.dish p { font-size: 0.85rem; color: var(--text-muted); }

/* Animación Hamburguesa Activa */
.menu-toggle.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.active .bar:nth-child(2) { opacity: 0; }
.menu-toggle.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }