/* =========================
   INDEX.CSS - LAYOUT Y COMPONENTES ESPECÍFICOS (MARRÓN)
   ========================= */

/* --- GENERAL LAYOUT --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.menu-section {
    padding: 80px 0;
}

.bg-texture-light { 
    background-color: var(--color-crema-claro);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    color: var(--color-marron-chocolate); /* Títulos en marrón */
    text-transform: uppercase;
    font-weight: 900;
    border-bottom: 5px solid var(--color-coral-atardecer); 
    display: inline-block;
    padding-bottom: 5px;
    letter-spacing: 2px;
}

/* --- HERO SECTION - NUEVO DISEÑO --- */
#hero-section {
    background-image: url('images/hero_vintage_main.jpg'); 
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; 
    position: relative;
    text-align: center;
}

.hero-overlay {
    /* Oscurecimiento de la imagen para que el texto resalte */
    background-color: rgba(74, 59, 48, 0.6); 
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Nuevo Contenedor de Contenido */
.hero-content-v2 {
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* El Rótulo VINTAGE */
.hero-title-box {
    background-color: rgba(74, 59, 48, 0.85); /* Marrón Chocolate semi-opaco para la caja */
    padding: 35px 70px;
    margin-bottom: 40px;
    border: 8px solid var(--color-beige-oscuro); /* Marco de madera desgastada */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6); /* Sombra intensa para que flote */
    border-radius: 5px;
    max-width: 90%;
}

.hero-title-box h1 {
    font-size: 5rem; /* Título principal más grande */
    color: var(--color-crema-claro); /* Texto principal en Crema/Blanco */
    margin: 0;
    padding-bottom: 10px;
    border-bottom: 3px dashed var(--color-coral-atardecer); /* Línea divisoria en Coral */
    line-height: 1.1;
    text-transform: uppercase;
}

/* Palabra acentuada 'AL CIELO' */
.hero-title-box .accent-word {
    color: var(--color-coral-atardecer);
}

/* Subtítulo */
.hero-title-box .subtitle {
    font-size: 2.2rem;
    color: var(--color-fondo-arena); /* Color más suave */
    margin-top: 15px;
    font-weight: 400;
}

/* Asegura que el h2 no tome el color Coral por defecto del h2 general */
.hero-title-box h2.subtitle {
    color: var(--color-fondo-arena); 
}


/* --- TAPAS GRID --- */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.menu-item {
    background-color: var(--color-crema-claro);
    border: 1px solid var(--color-beige-oscuro);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.menu-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    border-bottom: 8px solid var(--color-marron-chocolate); /* Marco de foto más fuerte */
}

.item-info {
    padding: 15px;
    text-align: center;
}

.item-name {
    color: var(--color-marron-chocolate); 
    margin-top: 0;
    margin-bottom: 5px;
}

.item-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-coral-atardecer);
    margin: 10px 0 0;
    padding-top: 10px;
    border-top: 1px dashed var(--color-beige-oscuro);
}

.item-desc {
    font-size: 0.9rem;
    color: #666;
}

/* --- GALLERY SECTION --- */
.gallery-section {
    padding: 60px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.gallery-grid img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    border: 5px solid var(--color-beige-oscuro);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* --- MENU LISTS (PRINCIPAL, ENSALADAS, BOCADILLOS) --- */
.menu-group {
    margin-bottom: 40px;
    padding: 0 40px; 
}

.group-title {
    text-align: center;
    color: var(--color-marron-chocolate);
    margin-bottom: 20px;
    border-bottom: 3px solid var(--color-coral-atardecer);
    display: inline-block;
    padding-bottom: 5px;
    width: auto;
    margin-left: auto;
    margin-right: auto;
    text-transform: uppercase;
}

.menu-list {
    list-style: none;
    padding: 0;
}

.list-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 10px 0;
    border-bottom: 1px dashed var(--color-beige-oscuro); 
}

.list-item:last-child {
    border-bottom: none;
}

.list-item .item-text {
    flex-grow: 1;
    margin-right: 20px;
}

.list-item .item-name {
    margin: 0;
    color: var(--color-marron-chocolate);
}

.list-item .item-desc {
    margin: 3px 0 0;
    font-size: 0.9rem;
    font-style: italic;
    color: #555;
}

.list-item .item-price {
    font-weight: 700;
    color: var(--color-coral-atardecer);
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Ensaladas and Image Layout */
.image-with-list-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: start;
}

.section-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    border: 4px solid var(--color-marron-chocolate);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Platos Especiales (2 columnas) */
.menu-list.two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 30px;
}

/* Menú Infantil */
.kids-menu-group {
    background-color: var(--color-fondo-arena);
    border: 2px solid var(--color-beige-oscuro);
    border-radius: 8px;
    padding: 20px;
    margin-top: 50px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.kid-menu-group .group-title {
    margin-bottom: 10px;
    border-bottom: none;
}

/* Bocadillos, Sandwiches, Torraetas (2 columnas) */
.two-cols-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.list-item-image {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

/* --- CALL TO ACTION --- */
#cta {
    background-color: var(--color-marron-chocolate); /* Fondo de CTA en marrón */
}

/* --- RESPONSIVENESS --- */
@media (max-width: 900px) {
    
    .hero-title-box h1 {
        font-size: 3rem; /* Reducción del tamaño de la fuente principal */
    }

    .hero-title-box .subtitle {
        font-size: 1.5rem;
    }
    
    .image-with-list-layout {
        grid-template-columns: 1fr;
    }

    .section-image {
        margin-bottom: 20px;
    }

    .two-cols-layout {
        grid-template-columns: 1fr;
    }

    .menu-list.two-cols {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 600px) {
    .section-title {
        font-size: 1.8rem;
    }

    .hero-title-box {
        padding: 20px 30px;
    }

    .hero-title-box h1 {
        font-size: 2rem;
    }

    .hero-title-box .subtitle {
        font-size: 1.2rem;
    }
}