/* --- ESTILOS PARA EL CARRUSEL DE IMÁGENES --- */
.carousel-section {
    margin: 3rem 0;
    text-align: center;
}

.carousel-container {
    max-width: 750px; /* Ancho del banner reducido */
    position: relative;
    margin: auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.carousel-slide {
    display: none; /* Oculto por defecto */
    width: 100%;
    height: 420px; /* Altura del banner reducida */
    overflow: hidden;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Asegura que la imagen cubra el espacio */
}

/* Botones de navegación (siguiente/anterior) */
.prev-carousel, .next-carousel {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    user-select: none;
    background-color: rgba(0,0,0,0.5);
}

.prev-carousel {
    left: 0;
    border-radius: 0 3px 3px 0;
}

.next-carousel {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev-carousel:hover, .next-carousel:hover {
    background-color: rgba(0,0,0,0.8);
}

/* Puntos indicadores */
.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}