/* ============================================
   RESTAURANTE YANAY – CSS PREMIUM (OPCIÓN B)
   Fondo pantalla completa + nitidez mejorada
   ============================================ */

/* Reset anti-rosado */
* {
    -webkit-tap-highlight-color: transparent !important;
}

/* --------------------------------------------
   SECCIÓN PRINCIPAL CON FONDO NÍTIDO - OPCIÓN A
-------------------------------------------- */
.restaurante-section {
    min-height: 100vh;
    padding: 0;
    margin: 0;
    position: relative;
    color: #fff;

    /* Cubre toda la pantalla sin deformar */
    background-size: cover !important;
    background-position: center 35% !important;
    background-repeat: no-repeat !important;
    background-attachment: scroll !important;

    /* Nitidez máxima */
    image-rendering: -webkit-optimize-contrast !important;
    image-rendering: crisp-edges !important;
    
    filter: none !important;
    transform: translateZ(0);
    -webkit-font-smoothing: antialiased;

    overflow-x: hidden;
}

/* OVERLAY SUAVE */
.overlay-dark {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
    pointer-events: none;
}

/* --------------------------------------------
   OVERLAY PARA OSCURECER Y DAR CLARIDAD
-------------------------------------------- */
.overlay-dark {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
    pointer-events: none;
}

/* --------------------------------------------
   LOGO
-------------------------------------------- */
.restaurante-logo {
    text-align: center;
    padding: 25px 0 10px;
    position: relative;
    z-index: 10;
}

.restaurante-logo img {
    max-width: 250px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.8));
}

/* --------------------------------------------
   TABS
-------------------------------------------- */
.restaurante-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 35px;
    z-index: 10;
    position: relative;
    margin-top: 20px;
}

.tab-btn {
    background: transparent !important;
    border: none !important;
    color: #fff !important;
    font-size: 1.3rem;
    font-weight: 600;
    padding: 12px 18px;
    cursor: pointer;
    transition: 0.3s ease;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    outline: none !important;
    box-shadow: none !important;
}

.tab-btn:hover {
    color: #d4f1d4 !important;
}

.tab-btn.active {
    text-decoration: underline;
    color: #fff !important;
}

/* --------------------------------------------
   CONTENIDO DE CATEGORÍAS
-------------------------------------------- */
.categoria-contenido {
    display: none;
    position: relative;
    z-index: 10;
    padding: 50px 20px 80px;
    animation: fadeIn 0.4s ease;
}

.categoria-contenido.active {
    display: block;
}

/* --------------------------------------------
   GRID DEL MENÚ
-------------------------------------------- */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 35px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.menu-item-card {
    transition: 0.3s ease;
}

.menu-item-card:hover {
    transform: translateY(-3px);
}

.item-precio {
    font-size: 2rem;
    font-weight: 700;
    color: #b8e6b8;
}

.item-nombre {
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 5px;
}

.item-descripcion {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* --------------------------------------------
   HORARIO
-------------------------------------------- */
.horario-info {
    text-align: center;
    margin-top: 50px;
    z-index: 10;
    position: relative;
}

/* --------------------------------------------
   RESPONSIVE – TABLET
-------------------------------------------- */
@media (max-width: 1024px) {
    .tab-btn {
        font-size: 1.15rem;
    }
}

/* --------------------------------------------
   RESPONSIVE – MÓVILES (768px)
-------------------------------------------- */
@media (max-width: 768px) {
    .restaurante-logo img {
        max-width: 130px;
    }

    .restaurante-tabs {
        gap: 20px;
    }

    .tab-btn {
        font-size: 1.1rem;
    }

    .menu-grid {
        gap: 40px;
    }
}

/* --------------------------------------------
   RESPONSIVE – MÓVILES PEQUEÑOS (480px)
-------------------------------------------- */
@media (max-width: 480px) {
    .tab-btn {
        font-size: 1rem;
    }

    .menu-grid {
        grid-template-columns: 1fr;
    }

    .item-precio {
        font-size: 1.7rem;
    }
}

/* --------------------------------------------
   ANIMACIÓN FADE-IN
-------------------------------------------- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------
   FIX ANTI-ROSADO DEFINITIVO
-------------------------------------------- */
.tab-btn,
.tab-btn:focus,
.tab-btn:active,
.tab-btn:focus-visible {
    background: transparent !important;
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

*:focus {
    outline: none !important;
    box-shadow: none !important;
}
