.carrusel-container {
    position: relative;
    width: 70%; /* Reducido respecto al 90% anterior */
    margin: 0 auto;
    overflow: hidden;
    max-width: 3780px;
    height: auto;
    aspect-ratio: 2/1; /* Mantiene proporción de 3780x1890 */
}




.carrusel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carrusel img {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    transition: filter 0.3s ease, transform 0.3s ease;
    object-fit: cover;
}

/* Flechas de navegación */
.flecha {
    position: absolute;
    top: 70%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    z-index: 10;
    font-size: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ajuste exacto de posición */
.flecha.left {
    left: 20px;
}

.flecha.right {
    right: 20px;
}

.flecha:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Responsividad */
@media screen and (max-width: 768px) {
    .carrusel-container {
        width: 100%;
        height: 250px;
    }

    .flecha {
        font-size: 18px;
        padding: 10px;
    }
}

@media screen and (max-width: 480px) {
    .carrusel-container {
        height: 200px;
    }

    .flecha {
        font-size: 16px;
        padding: 8px;
    }
}


.carrusel-wrapper {
    margin-bottom: 60px; /* Este valor puedes ajustarlo a tu preferencia */
}
