/* ==========================================================================
   RESTAURANTE.CSS - Basado en el sistema de diseño de base.css
   ========================================================================== */

.restaurant-page {
    background-color: var(--color-bg); /* Color crema de base.css */
    padding: 30px 1.5rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* --- TÍTULOS DE SECCIÓN --- */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-family: var(--font-serif); /* Playfair Display de base.css */
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--color-text);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 12px;
}

.divider {
    width: 60px;
    height: 4px;
    background-color: var(--color-brand); /* Rojo de base.css */
    margin: 0 auto;
    border-radius: 2px;
}

/* --- CATEGORÍAS --- */
.menu-category {
    margin-bottom: 80px;
}

.menu-category h3 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--color-text);
    border-left: 5px solid var(--color-brand);
    padding-left: 20px;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
}

/* --- GRID Y TARJETAS DE PLATOS --- */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 32px;
}

.menu-item {
    background: white;
    border-radius: 20px; /* Bordes suaves como en nosotros.css */
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05); /* Sombra sutil de tu sistema */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
}

.menu-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Contenedor de Imagen */
.menu-item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-item:hover img {
    transform: scale(1.08);
}

/* Bloque de Texto */
.item-text {
    padding: 24px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: white;
}

.item-text h4 {
    font-family: var(--font-main); /* Inter de base.css */
    margin: 0;
    font-size: 1.15rem;
    color: var(--color-text);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Precio (Opcional si decides agregarlo al HTML) */
.item-price {
    display: block;
    margin-top: 12px;
    color: var(--color-brand);
    font-weight: 800;
    font-size: 1.3rem;
    font-family: var(--font-main);
}

/* --- RESPONSIVO --- */
@media (max-width: 768px) {
    .restaurant-page {
        padding: 40px 1rem;
    }

    .section-title h2 {
        font-size: 2rem;
        letter-spacing: 2px;
    }

    .menu-category h3 {
        font-size: 1.5rem;
    }

    .menu-grid {
        grid-template-columns: 1fr; /* Una columna en móvil para mejor visibilidad */
        gap: 24px;
    }

    .menu-item img {
        height: 210px;
    }
}

/* Ajuste para pantallas muy grandes */
@media (min-width: 1400px) {
    .menu-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}