﻿.carousel-container {
    position: relative;
    /*width: 100%;*/
    max-width: 100%;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 600px;
}

.carousel-slide {
    min-width: 100%;
    position: relative;
}

    .carousel-slide img {
        width: 100%;
        height: 100%;
        /*object-fit: cover;*/
        object-fit: fill;
    }

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 30px;
    text-align: center;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.5);
    color: #333;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 1.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 1;
    width: 4rem;
}

    .carousel-btn:hover {
        background: rgba(255, 255, 255, 0.8);
    }

#prevBtn {
    left: 20px;
}

#nextBtn {
    right: 20px;
}

.carousel-indicators {
    position: absolute;
    /*bottom: 20px;
    left: 50%;
    transform: translateX(-50%);*/
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

    .indicator.active {
        background: white;
        transform: scale(1.2);
    }



@media (max-width: 768px) {
    .carousel-container {
        height: 300px;
    }

    .carousel {
        height: 300px;
    }

    .slide-caption {
        padding: 10px;
        font-size: 0.9rem;
    }

    .carousel-btn {
        padding: 10px;
        font-size: 1.2rem;
    }
}
