/* Reset y Configuración Base (Con bloqueo de scroll horizontal) */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth; 
    overflow-x: hidden; 
    width: 100%;
}

body {
    background-color: #0a0a0a; 
    color: #f5f5f5;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    overflow-x: hidden; 
    width: 100%;
    position: relative;
}

/* Header Fijo */
header {
    background-color: #000;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #333;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-container img {
    height: 70px;
    border-radius: 5px; 
}

/* Estilo del botón hamburguesa (Oculto en PC) */
.mobile-menu-btn {
    display: none;
    background-color: transparent !important;
    background: none !important;
    border: none !important;
    outline: none !important; /* Mata el borde de enfoque automático */
    box-shadow: none !important; /* Mata la sombra blanca del iPhone */
    color: #d4af37 !important;
    font-size: 35px; 
    cursor: pointer;
    -webkit-appearance: none !important; /* Magia anti-iPhone/WebKit */
    appearance: none !important;
    padding: 0;
    margin: 0;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: #fff;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 2px;
    transition: color 0.3s;
}

nav a:hover {
    color: #d4af37; 
}

/* Secciones Generales para el Scroll */
section {
    padding: 100px 20px 50px; 
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Inicio / Hero */
.hero {
    background: radial-gradient(circle, #222 0%, #0a0a0a 100%);
}

.hero-container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    gap: 50px;
}

.hero-img {
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

.hero-right h1 {
    font-size: 4rem;
    line-height: 1;
    margin-bottom: 10px;
}

.hero-right span {
    font-weight: 300;
    font-size: 3rem;
}

.subtitle {
    font-size: 1.2rem;
    letter-spacing: 5px;
    color: #d4af37; 
    margin-bottom: 30px;
}

.btn-primary {
    background-color: #d4af37;
    color: #000;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 3px;
    text-transform: uppercase;
    display: inline-block;
}

/* Sección Menú */
.menu-section {
    background-color: #111;
    align-items: flex-start;
}

.menu-container {
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.menu-grid {
    display: flex;
    gap: 50px;
}

.menu-col {
    flex: 1;
}

.category-title {
    color: #d4af37;
    border-bottom: 1px dotted #555;
    padding-bottom: 10px;
    margin-top: 30px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.price {
    font-weight: bold;
    color: #fff;
}

.side-options {
    color: #aaa;
    font-size: 0.9rem;
    margin-bottom: 15px;
    font-style: italic;
}

.menu-decor-img {
    width: 100%;
    margin-top: 30px;
    border-radius: 10px;
    opacity: 0.8;
}

/* Somos y Contacto */
.somos-section, .contacto-section {
    text-align: center;
    background-color: #0a0a0a;
}

.somos-container, .contacto-container {
    max-width: 600px;
    margin: 0 auto;
}

.somos-container h2, .contacto-container h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #d4af37;
}

.btn-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 30px;
    display: inline-block;
    margin-top: 20px;
    transition: transform 0.3s ease; 
}

.btn-instagram:hover {
    transform: scale(1.05);
}

/* =========================================================
   NUEVO RESPONSIVO MEJORADO PARA CELULARES (CON HAMBURGUESA)
========================================================= */
@media (max-width: 768px) {
    /* Ajuste general de secciones */
    section {
        padding: 80px 15px 30px; 
        min-height: auto; 
        display: block; 
    }

  
    /* --- Header / Navegación Hamburguesa --- */
    .header-container {
        display: flex !important;
        flex-direction: row !important; /* Logo a la izq, botón a la der */
        justify-content: space-between !important; 
        align-items: center !important;
        padding: 10px 20px;
        width: 100%;
    }

    .logo-container {
        width: auto;
    }
    
    .logo-container img {
        height: 50px; 
    }

    .mobile-menu-btn {
        display: block; /* Muestra el botón de 3 rayitas */
    }

    nav {
        display: none; /* Oculto por defecto */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #000;
        border-top: 1px solid #333;
        padding-bottom: 15px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.8); /* Sombra para que se note al bajar */
    }

    nav.active {
        display: block; /* El JS activa esto al tocar el botón */
    }

    nav ul {
        flex-direction: column;
        gap: 0;
        text-align: center;
        width: 100%;
        padding: 0;
    }
    
    nav a {
        display: block;
        padding: 15px;
        border-bottom: 1px solid #222;
        font-size: 16px;
        letter-spacing: 1px;
    }

    /* --- Sección Inicio Centrada --- */
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding-top: 30px;
    }

    .hero-left, .hero-right {
        max-width: 100%;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-img {
        max-width: 80%;
        margin: 0 auto;
    }

    .hero-right h1 {
        font-size: 2.2rem; 
        margin-bottom: 5px;
    }

    .hero-right span {
        font-size: 1.8rem;
    }

    .subtitle {
        font-size: 1rem;
        letter-spacing: 3px;
        margin-bottom: 20px;
    }

    /* --- Sección Menú Centrada --- */
    .section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .menu-grid {
        flex-direction: column; 
        gap: 15px;
        align-items: center; 
    }

    .menu-col {
        width: 100%;
        max-width: 320px; 
        margin: 0 auto; 
    }

    .category-title {
        text-align: center;
        font-size: 1.1rem;
        margin-top: 20px;
    }

    .menu-item {
        font-size: 1rem;
        margin-bottom: 10px;
        padding: 0 10px; 
    }

    .side-options {
        text-align: center;
        margin-bottom: 15px;
    }

    .menu-decor-img {
        max-width: 250px; 
        display: block;
        margin: 20px auto;
    }

    /* --- Secciones de Texto --- */
    .somos-container, .contacto-container {
        max-width: 100%;
        padding: 0 10px;
    }

    .somos-container h2, .contacto-container h2 {
        font-size: 2rem;
    }

    .btn-instagram {
        width: 100%; 
        max-width: 280px; 
    }
}

/* =========================================================
   ESTILOS ADICIONALES PREMIUM (Remodelación)
========================================================= */

/* --- Split Layout para "Sobre Nosotros" --- */
.somos-split {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1100px;
}

.somos-text, .somos-image {
    flex: 1; /* Ocupan 50% cada uno */
}

.somos-text h2 {
    text-align: left !important; /* Forzamos alineación izquierda */
}

.somos-text p {
    text-align: left;
    margin-bottom: 30px;
    font-size: 1.1rem;
    color: #aaa;
}

.img-somos-decor {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.8);
    border: 1px solid #d4af37; /* Borde dorado premium */
    opacity: 0.9;
    transition: transform 0.3s ease;
}

.img-somos-decor:hover {
    transform: scale(1.03); /* Efecto hover */
}

.btn-secondary {
    border: 1px solid #d4af37;
    color: #d4af37;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 3px;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
}

/* --- Ajuste Responsivo para Somos-Split (Móvil) --- */
@media (max-width: 768px) {
    .somos-split {
        flex-direction: column; /* Se apilan en móvil */
        gap: 30px;
        text-align: center;
    }
    
    .somos-text h2, .somos-text p {
        text-align: center !important;
    }
    
    .somos-image {
        max-width: 80%; /* Imagen más chica en móvil */
        margin: 0 auto;
    }
}

/* ==========================================
   ESTILOS DEL MODAL (Carta Visual)
   ========================================== */

/* Idea 3: La Micro-Etiqueta "FOTO" */
.clickable-dish {
    cursor: pointer;
    color: #fff;
    transition: color 0.3s ease;
}

.clickable-dish::after {
    content: "ver más";
    font-size: 0.55em; /* Letra muy pequeñita */
    background-color: #222; /* Fondo gris oscuro */
    color: #d4af37;
    padding: 2px 7px;
    border-radius: 12px; /* Bordes redondeados */
    margin-left: 10px;
    vertical-align: middle;
    letter-spacing: 1px;
    border: 1px solid #333;
    white-space: nowrap;
}

.clickable-dish:hover {
    color: #d4af37;
}


/* Fondo del Modal (Todo negro) */
.menu-modal {
    display: none; /* Oculto por defecto */
    position: fixed;
    z-index: 2000; /* Encima de todo */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9); /* Negro semitransparente */
    backdrop-filter: blur(5px); /* Desenfoque de fondo premium */
}

/* Cuando el modal está activo (Activado por JS) */
.menu-modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* El contenido (imagen) */
.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 80%;
    background-color: #111;
    border: 2px solid #d4af37; /* Borde dorado */
    border-radius: 10px;
    padding: 10px;
    animation: zoomIn 0.3s; /* Animación de entrada */
}

#modal-img {
    width: 100%;
    height: auto;
    max-height: 70vh; /* Para que no ocupe toda la pantalla a lo alto */
    object-fit: contain; /* No recorta la imagen */
    border-radius: 5px;
}

.modal-caption {
    color: #fff;
    text-align: center;
    font-size: 1.2rem;
    padding: 15px 0 5px;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Botón cerrar (×) */
.close-modal {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #d4af37;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: #fff;
}

/* Animación de entrada */
@keyframes zoomIn {
    from {transform:scale(0)}
    to {transform:scale(1)}
}

/* ==========================================
   VISTA PREVIA FLOTANTE (PC HOVER)
   ========================================== */
.hover-preview {
    display: none;
    position: fixed;
    pointer-events: none; /* Evita que el mouse choque con la foto y parpadee */
    z-index: 9999;
    background-color: #111;
    border: 2px solid #d4af37;
    border-radius: 10px;
    padding: 5px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.9);
    width: 280px; /* Tamaño de la miniatura en PC */
}

.hover-preview img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    display: block;
}
