/* =======================================================
   ESTILOS PREMIUM - LIO SAN (RESTAURANTE)
======================================================== */

:root {
    /* Paleta Armónica basada en Hierro y Fuego (Sartén) */
    --primary-color: #D35400; /* Naranja/Terracota (Estimula el apetito) */
    --primary-light: #FFF3E0; /* Fondo sutil para el precio */
    --text-main: #2C3E50; /* Gris Pizarra (Más elegante que el negro puro) */
    --text-muted: #7F8C8D;
    --bg-light: #F8F9FA;
    --wpp-color: #25d366;
}

body.bg-light-gray {
    background-color: var(--bg-light);
    font-family: 'Red Hat Display', sans-serif;
    color: var(--text-main);
    /* ELIMINADO EL PADDING-TOP QUE ROMPÍA TODO */
}

/* ================== NAVBAR ================== */
.modern-navbar {
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    padding: 0.5rem 0;
}
.logo-sarten { height: 45px; object-fit: contain; }
.logo-main { height: 40px; object-fit: contain; }

.modern-link {
    color: var(--text-main);
    font-weight: 600;
    border-radius: 8px;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s;
}
.modern-link:hover {
    color: var(--primary-color);
    background: var(--primary-light);
}

/* ================== CABECERA DE VIDEO ================== */
.video-header-wrapper {
    position: relative;
    width: 100%;
    height: 35vh; /* En celular */
    background-color: #111;
    display: flex;
    align-items: center; /* Centra el título verticalmente */
    justify-content: center; /* Centra el título horizontalmente */
    overflow: hidden;
}

@media (min-width: 992px) {
    .video-header-wrapper { height: 50vh; /* Más grande en PC */ }
}

.video-container {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6; /* Oscurece el video sin necesidad de capas extra */
}

.header-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.menu-title {
    color: #ffffff;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.8);
}

/* ================== TARJETAS DE PLATILLOS ================== */
.modern-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: 0 8px 20px rgba(0,0,0,0.03);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

@media (min-width: 992px) {
    .modern-card:hover { transform: translateY(-5px); box-shadow: 0 12px 25px rgba(0,0,0,0.08); }
}

.img-container {
    width: 100%;
    aspect-ratio: 4 / 3; /* Magia pura: todas las fotos serán del mismo tamaño exacto */
    overflow: hidden;
}

.img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: zoom-in;
    transition: transform 0.5s ease;
}
.img-container img:hover { transform: scale(1.05); }

.modern-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.dish-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.dish-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

/* EL PRECIO ELEGANTE (Tipo Etiqueta/Badge) */
.price-badge {
    background-color: var(--primary-light);
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 800;
    padding: 6px 16px;
    border-radius: 12px;
    display: inline-block;
    align-self: flex-start; /* Lo mantiene alineado a la izquierda */
    margin: 0;
}
/* ================== BOTONES FLOTANTES (Fijos en PC y Móvil) ================== */
.btn-wpp, .btn-tel {
    position: fixed;
    width: 60px; 
    height: 60px;
    bottom: 25px;
    border-radius: 50%;
    display: flex; 
    justify-content: center; 
    align-items: center;
    font-size: 32px; 
    color: #FFF !important; /* Fuerza a que el icono sea blanco siempre */
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 9999; /* Se asegura de estar por encima de CUALQUIER elemento en PC o móvil */
    text-decoration: none;
    transition: transform 0.3s ease;
}

.btn-wpp:hover, .btn-tel:hover {
    transform: scale(1.1); /* Efecto de crecimiento al pasar el mouse en PC */
}

.btn-wpp { 
    right: 25px; 
    background-color: var(--wpp-color); 
    animation: pulse 2s infinite; 
}

.btn-tel { 
    left: 25px; 
    background-color: #3498DB; 
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ================== MENÚ MÓVIL FLOTANTE ================== */
@media (max-width: 991.98px) {
    .navbar-collapse {
        position: absolute;
        top: 100%; /* Se coloca exactamente debajo de la barra */
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        padding: 1.5rem;
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
        z-index: 1050;
    }
}

/* ================== BOTÓN DE COMENTARIOS (FOOTER) ================== */
.btn-comentarios {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-comentarios:hover, .btn-comentarios:focus {
    background-color: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(211, 84, 0, 0.3);
}