/* CSS para el carrusel */
#carousel-container {
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
    margin-top: 20px;
}

#carousel-slides {
    display: flex;
    width: 300%; /* 100% × número de slides */
    height: 100%;
    transition: transform 0.6s ease-in-out;
}

.carousel-slide {
    width: 33.33%; /* 100% ÷ número de slides */
    height: 100%;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.slide-caption {
    position: absolute;
    bottom: 20%;
    left: 10%;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    max-width: 80%;
}

.slide-caption h2 {
    font-family: "Bruno Ace SC", sans-serif;
    font-size: 2.5em;
    margin-bottom: 10px;
    color: aqua;
}

.slide-caption p {
    font-family: "Chakra Petch", sans-serif;
    font-size: 1.2em;
}

.carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: aqua;
    border: 2px solid aqua;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.5em;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-nav-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
    color: rgb(101, 255, 255);
    border-color: rgb(101, 255, 255);
}

#carousel-prev-btn {
    left: 20px;
}

#carousel-next-btn {
    right: 20px;
}

#carousel-counter {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    color: aqua;
    padding: 8px 15px;
    border-radius: 20px;
    font-family: "Chakra Petch", sans-serif;
    font-size: 1em;
    z-index: 10;
}

#carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator-btn.active {
    background-color: aqua;
    transform: scale(1.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #carousel-container {
        height: 60vh;
    }
    
    .slide-caption h2 {
        font-size: 1.8em;
    }
    
    .slide-caption p {
        font-size: 1em;
    }
    
    .carousel-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2em;
    }
}

@media (max-width: 480px) {
    #carousel-container {
        height: 50vh;
    }
    
    .slide-caption h2 {
        font-size: 1.5em;
    }
    
    .carousel-nav-btn {
        width: 35px;
        height: 35px;
        font-size: 1em;
    }
}