:root {
    --white: #ffffff;
    --black: #000000;
    --grey: #757575;
    --greyLight: #dfe4ea;
    --greyWhite: #f9f9f9;
}



.hero_bg1 video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vh;
    object-fit: cover; /* Asegura que el video se expanda correctamente */
    z-index: -1; /* Coloca el video detrás del texto */
}

.photos-360 {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--greyWhite);
    position: relative;
    margin-top: -94px;
    
}
#panorama {
    width: 80%;
    height: 80%;
    border-radius: 18px;
    overflow: hidden; 
}



.map-container {
    width: 80%;
    max-width: 1720px;
    height: 600px;
    border-radius: 20px;
    overflow: hidden;
    margin: auto; 
    padding-bottom: 50px;
}

iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.text-map {
    font-size: 2rem;
    font-weight: bold;
    color: #312e88;
    text-align: center;
    margin-bottom: 8px;
}


.horario-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px;
    background-color: white;
    margin-top: -51px;
    margin-bottom: -31px;
    gap: 20px;

}



.horario-imagen img {
    width: 700px;
    height: 725px;
    object-fit: cover;
    border-radius: 15px;
}


.horario-container {
 
    max-width: 50%;
}

.horario-card {
    background: var(--greyWhite);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
    text-align: left;
}

.horario-card p{
    color: #313C49;
}

.horario-container h2 {
    color: #312e88;
    margin-top: 20px;
    margin-bottom: 10px;
}

.hora {
    font-weight: bold;
    color: #313C49;
}


/* Estilos responsivos para la sección de horarios */
@media (max-width: 1366px) {
    .horario-wrapper {
        padding: 40px 30px;
        gap: 30px;
    }
    
    .horario-imagen img {
        width: 100%;
        height: 450px;
    }
}

@media (max-width: 1200px) {
    .horario-wrapper {
        padding: 35px 25px;
        gap: 25px;
    }
    
    .horario-imagen img {
        height: 400px;
    }
    
    .horario-card {
        padding: 15px;
    }
    
    .horario-container h2 {
        font-size: 1.3rem;
    }
}

@media (max-width: 992px) {
    .horario-wrapper {
        flex-direction: column;
        padding: 30px 20px;
    }
    
    .horario-imagen,
    .horario-container {
        max-width: 100%;
    }
    
    .horario-imagen {
        margin-bottom: 30px;
    }
    
    .horario-imagen img {
        width: 100%;
        height: auto;
        max-height: 450px;
    }
}

@media (max-width: 768px) {
    .horario-wrapper {
        padding: 25px 15px;
    }
    
    .horario-imagen {
        margin-bottom: 25px;
    }
    
    .horario-container h2 {
        font-size: 1.2rem;
        margin-top: 15px;
    }
    
    .horario-card {
        padding: 12px;
        margin-bottom: 12px;
    }
    
    .horario-card p {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .horario-wrapper {
        padding: 20px 10px;
    }
    
    .horario-imagen {
        margin-bottom: 20px;
    }
    
    .horario-container h2 {
        font-size: 1.1rem;
    }
    
    .horario-card {
        padding: 10px;
    }
    
    .horario-card p {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }
    
    .hora {
        display: block;
        margin-top: 3px;
    }
}

@media (max-width: 360px) {
    .horario-card p {
        font-size: 0.85rem;
    }
    
    .horario-container h2 {
        font-size: 1rem;
    }
}

/* Ajustes adicionales para la sección de horarios */
@media (max-width: 1366px) and (min-width: 1201px) {
    .horario-wrapper {
        margin: 0 auto;
    }
}

@media (max-width: 992px) and (min-width: 769px) {
    .horario-imagen img {
        max-height: 400px;
        object-position: center;
    }
    
    .horario-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .horario-container h2 {
        grid-column: span 1;
    }
    
    .horario-card {
        grid-column: span 1;
        height: 100%;
    }
}

@media (max-width: 576px) {
    /* Ajuste para mejorar la visualización en móvil */

    .horario-wrapper {
        padding: 20px 50px;
    }

    .horario-container i {
        display: none; /* Ocultar iconos en versión móvil para ahorrar espacio */
    }
    
    .horario-container h2 {
        margin-top: 12px;
        margin-bottom: 8px;
    }
    
    /* Agregar bordes más suaves en móvil */
    .horario-card {
        border-radius: 8px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    }
}
