.carousel-gallery {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.carousel-slide {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    transition: transform 0.5s ease;
    left: 0;
    top: 0;
}

.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

.carousel-slide img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 2px;
}

.carousel-controls {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.carousel-gallery:hover .carousel-controls {
    opacity: 1;
}

.carousel-prev,
.carousel-next {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    color: white;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s;
    outline: none;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
}

.carousel-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    margin: 0 4px;
    padding: 0;
}

.carousel-indicator.active {
    background: white;
    transform: scale(1.2);
}

/* Overlay to make controls more visible */
.carousel-gallery::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.25), transparent);
    pointer-events: none;
    opacity: 0.8;
}

/* Responsive adjustments */
@media screen and (max-width: 736px) {
    .carousel-controls {
        padding: 0 10px;
        bottom: 10px;
    }
    
    .carousel-prev,
    .carousel-next {
        width: 30px;
        height: 30px;
    }
    
    .carousel-indicator {
        width: 10px;
        height: 10px;
    }
}

/* Animation for slide transitions */
/* No animation here - handled by JS for slide transitions */
