@font-face {
    font-family: 'AvantGarde';
    src: url('fonts/avant-garde-regular.ttf');
    font-weight: normal;
    font-style: normal;
}

/* === CONFIGURACIÓN GENERAL === */
body {
    margin: 0;
    padding: 0;
    height: 100%;
    background-color: #b3f4ef;
    overflow: hidden;
    font-family: 'AvantGarde', sans-serif; 
    color: #333;
}

/* === FONDOS DINÁMICOS === */
.fondo-dinamico {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center; background-repeat: no-repeat;
    z-index: -1; transition: opacity 1.5s ease-in-out;
}
#fondo-capa-1 { opacity: 1; }
#fondo-capa-2 { opacity: 0; }

/* === ESTRUCTURA PRINCIPAL === */
main {
    height: 100vh;
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pagina {
    display: none; 
    width: 95%; 
    max-width: 1700px; 
    height: 96vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between; 
    align-items: center;
    box-sizing: border-box;
    padding: 20px 0;
}

/* === TÍTULO PRINCIPAL === */
.titulo-principal {
    font-weight: 900; 
    font-size: 4.5rem; 
    text-align: center;
    margin: 0 0 20px 0; 
    text-transform: uppercase; 
    letter-spacing: 2px;
    color: #1a3c4b; 
    text-shadow: 2px 2px 4px rgba(255,255,255,0.7); 
}

/* === CONTENEDOR BLANCO ESTILO TARJETA === */
.tabla-contenedor {
    background: #ffffff; 
    border-radius: 30px; 
    box-shadow: 0 15px 40px rgba(0,0,0,0.15); 
    padding: 20px 40px 40px 40px;
    width: 100%;
    box-sizing: border-box;
    flex-grow: 1; 
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* === TABLA Y CUADRÍCULA === */
.tabla-actividades {
    width: 100%;
    border-collapse: collapse; 
}

.tabla-actividades thead th {
    font-weight: 900; 
    font-size: 1.6rem; 
    padding: 15px 10px;
    text-align: center; 
    text-transform: uppercase; 
    color: #333;
    border-bottom: 2px solid #e0e0e0;
}

.tabla-actividades thead th.col-hora-header {
    width: 140px; 
    border-bottom: none;
}

.tabla-actividades tbody tr {
    border-bottom: 1px solid #e8e8e8;
}
.tabla-actividades tbody tr:last-child {
    border-bottom: none;
}

.tabla-actividades tbody td {
    border-right: 1px solid #e8e8e8;
    padding: 15px 10px;
    vertical-align: middle;
}
.tabla-actividades tbody td:last-child {
    border-right: none;
}

.tabla-actividades tbody th.col-hora {
    font-weight: 900; 
    font-size: 2.2rem; 
    text-align: center;
    color: #222; 
    padding: 10px; 
    border-right: 1px solid #e8e8e8;
    line-height: 1.1;
}

.ninos-text {
    font-size: 1.2rem; 
    color: #6a95a8; 
    font-weight: 700;
}
.mini-text {
    font-size: 1.2rem; 
    color: #8c6a4f; /* Tono arena para el texto */
    font-weight: 700;
}

/* === FRANJA COLOR PARA ZONA NIÑOS === */
tr.fila-kids {
    background-color: #a3c4cf; /* Azul grisáceo */
}
tr.fila-kids td, 
tr.fila-kids th {
    border-color: rgba(255,255,255,0.4); 
}
tr.fila-kids th.col-hora,
tr.fila-kids .ninos-text {
    color: #173847; 
}

/* === NUEVO: FRANJA COLOR PARA ZONA MINI === */
tr.fila-mini {
    background-color: #fae0ff; /* Tono cálido / arena suave */
}
tr.fila-mini td, 
tr.fila-mini th {
    border-color: rgba(255,255,255,0.4); 
}
tr.fila-mini th.col-hora,
tr.fila-mini .mini-text,
tr.fila-mini .ninos-text {
    color: #4a3625; /* Tono marrón oscuro para contraste */
}

/* === RECUADROS BLANCOS INDIVIDUALES (Pictogramas) === */
.picto-container {
    background: #ffffff;
    border-radius: 20px; 
    padding: 5px;
    width: 130px; 
    height: 130px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    box-shadow: 0 5px 15px rgba(0,0,0,0.06); 
}

img.picto {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

/* === SECCIÓN SHOWS === */
.contentShows {
    display: flex; 
    justify-content: center; 
    gap: 30px;
    margin-top: 25px;
}
img.shows {
    height: 250px; 
    border-radius: 15px; 
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}
.espacio-shows {
    height: 20px; 
}

/* === PIE DE PÁGINA (Aviso Legal) === */
.footer-info {
    margin-top: 20px;
    text-align: center;
    width: 100%;
}
.footer-info h2 {
    font-weight: 900; 
    font-size: 1.6rem; 
    color: #222;
    margin: 0; 
    text-transform: uppercase; 
    line-height: 1.4;
    text-shadow: 2px 2px 4px rgba(255,255,255,0.8); 
}