.gallery-container {
    
    width: 100%;
    /*background: rgba(255, 255, 255, 0.08);*/
    border-radius: 25px;
    /*box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);*/
    padding: 40px;
    /*backdrop-filter: blur(15px);*/
    /*border: 1px solid rgba(255, 255, 255, 0.15);*/
}

.carousel-wrapper {
    position: relative;
    margin-bottom: 40px;
}

.carousel-container {
    position: relative;
    aspect-ratio: 16/10;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.carousel-slide {
    min-width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 30px 25px 20px;
    transform: translateY(0);
}

.photo-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.photo-description {
    font-size: 1rem;
    opacity: 0.95;
    line-height: 1.4;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* Navigation Buttons */
.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 10;
}

.nav-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.prev-button {
    left: 20px;
}

.next-button {
    right: 20px;
}

/* Dots Indicator */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 25px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dot.active {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.1);
}

/* Auto-play pause/play button */
.play-pause-button {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 10;
}

.play-pause-button:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: scale(1.1);
}

.description-text {
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #e8e8e8;
    max-width: 800px;
    margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .gallery-container {
        padding: 25px;
    }
    
    .carousel-container {
        aspect-ratio: 4/3;
    }
    
    .photo-title {
        font-size: 1.4rem;
    }
    
    .photo-description {
        font-size: 0.9rem;
    }
    
    .nav-button {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .prev-button {
        left: 15px;
    }
    
    .next-button {
        right: 15px;
    }
}

@media (max-width: 480px) {
    
    .gallery-container {
        padding: 20px;
    }
    
    .photo-overlay {
        padding: 20px 15px 15px;
    }
    
    .photo-title {
        font-size: 1.2rem;
    }
    
    .photo-description {
        font-size: 0.85rem;
    }
    
    .nav-button {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .prev-button {
        left: 10px;
    }
    
    .next-button {
        right: 10px;
    }
}

/* Smooth fade animation for slides */
.carousel-slide {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.carousel-slide.active {
    opacity: 1;
}