/* =========================================
   1. VARIABLES GLOBALES (Personalización)
   ========================================= */
:root {
    /* COLORES PRINCIPALES - ¡Cámbialos según el cliente! */
    --primary-color: #2A8C82;   /* Color principal de acción (Turquesa por defecto) */
    --secondary-color: #D4AF37; /* Color secundario/adornos (Dorado) */
    --accent-color: #A85C45;    /* Color de contraste (Terracota) */
    
    /* NEUTROS */
    --dark-bg: #1A1A1A;         
    --light-bg: #F8F9FA;        
    --white: #ffffff;
    --text-color: #334155;      
    --text-muted: #64748B;      

    /* TIPOGRAFÍA */
    --font-heading: 'Merriweather', serif;
    --font-body: 'Open Sans', sans-serif;

    /* EFECTOS */
    --border-radius: 8px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================
   2. RESET Y ESTILOS BASE
   ========================================= */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--light-bg);
    line-height: 1.8;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}

a { text-decoration: none; transition: var(--transition); color: inherit; }
img { max-width: 100%; display: block; object-fit: cover; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; color: var(--dark-bg); }
.text-center { text-align: center; }

/* =========================================
   3. NAVEGACIÓN (HEADER)
   ========================================= */
header {
    background-color: var(--white);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border-bottom: 3px solid var(--primary-color);
}

.navbar {
    display: flex; justify-content: space-between; align-items: center;
    max-width: 1200px; margin: 0 auto;
}

/* Fallback si no hay logo: texto elegante */
.logo-text { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 900; color: var(--dark-bg); }
.logo-img { height: 60px; width: auto; }

.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a { 
    color: var(--text-color); 
    font-weight: 600; 
    text-transform: uppercase; 
    font-size: 0.85rem; 
    letter-spacing: 0.5px;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary-color); }

.btn-reserva {
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 0.8rem 1.6rem;
    border-radius: var(--border-radius);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(42, 140, 130, 0.3);
}
.btn-reserva:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(42, 140, 130, 0.4); filter: brightness(1.05); }

/* =========================================
   4. SECCIÓN HERO
   ========================================= */
.hero {
    height: 80vh;
    background-size: cover; background-position: center;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; color: var(--white); padding: 0 1.5rem; position: relative;
}
.hero h1 { font-size: 4rem; margin-bottom: 1rem; color: var(--white); text-shadow: 0 4px 15px rgba(0,0,0,0.5); }
.hero p { font-size: 1.3rem; max-width: 700px; margin-bottom: 2.5rem; text-shadow: 0 2px 10px rgba(0,0,0,0.5); font-weight: 300; }

/* =========================================
   5. CONTENEDORES Y TARJETAS
   ========================================= */
.container { max-width: 1100px; margin: 0 auto; padding: 5rem 1.5rem; }
.section-title { font-size: 2.5rem; margin-bottom: 1rem; }
.section-title::after {
    content: ''; display: block; width: 60px; height: 4px;
    background-color: var(--primary-color); margin: 15px auto 0; border-radius: 2px;
}

.card-style { background: var(--white); padding: 3rem; border-radius: 12px; box-shadow: var(--shadow); }

/* =========================================
   6. CARTA Y MENÚ (Mejorado visualmente)
   ========================================= */
.menu-category-title {
    color: var(--accent-color); 
    margin: 3rem 0 1.5rem 0; 
    border-bottom: 2px dashed #e2e8f0; 
    padding-bottom: 0.5rem;
    font-size: 1.5rem;
}

.menu-item {
    display: flex; justify-content: space-between; align-items: flex-start;
    padding: 1.5rem; border-bottom: 1px solid #f1f5f9; cursor: pointer;
    transition: var(--transition); border-radius: var(--border-radius);
}
.menu-item:hover { background-color: #f8fafc; transform: translateX(5px); border-left: 4px solid var(--primary-color); }

.item-desc h4 { font-size: 1.2rem; margin-bottom: 0.3rem; display: flex; align-items: center; gap: 8px;}
.item-desc .short-desc { font-size: 0.95rem; color: var(--text-muted); line-height: 1.4; max-width: 80%;}
.item-price { font-weight: 800; color: var(--primary-color); font-size: 1.3rem; font-family: var(--font-body); }

/* =========================================
   7. MODAL (Pop-up de platos - Optimizado)
   ========================================= */
.modal-overlay {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.8); backdrop-filter: blur(4px);
    z-index: 2000; justify-content: center; align-items: center; padding: 1rem;
    opacity: 0; transition: opacity 0.3s ease;
}

.modal-content {
    background: var(--white); max-width: 500px; width: 100%;
    border-radius: 16px; overflow: hidden; position: relative;
    transform: translateY(20px) scale(0.95); transition: all 0.3s ease;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Clases activas para animación via JS */
.modal-overlay.active { display: flex; opacity: 1; }
.modal-overlay.active .modal-content { transform: translateY(0) scale(1); }

.modal-image { width: 100%; height: 280px; object-fit: cover; background-color: #f1f5f9; }
.modal-body { padding: 2rem; text-align: center; }
.modal-title { font-size: 1.8rem; margin-bottom: 0.5rem; }
.modal-price { color: var(--primary-color); font-weight: 900; font-size: 1.5rem; display: block; margin-bottom: 1