body {
    font-family: Arial, sans-serif;
    background-color: #111;
    margin: 0;
    padding: 20px;
    color: #fff;
}

.gallery-container {
    max-width: 800px;
    margin: 0 auto;
}

/* Slideshow Container */
.slideshow {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    background: #000;
    border-radius: 8px;
}

/* Individual Slides */
.slide {
    display: none;
    width: 100%;
    height: 100%;
}

.slide.active {
    display: block;
    animation: fade 0.5s ease-in-out;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Captions */
.caption {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.7);
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 14px;
}

/* Navigation Buttons */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 20px;
    transition: background 0.3s;
    border-radius: 0 4px 4px 0;
}

.next {
    right: 0;
    border-radius: 4px 0 0 4px;
}

.prev:hover, .next:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Thumbnails Row */
.thumbnails {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.thumb {
    width: 80px;
    height: 60px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s, border 0.3s;
    border: 2px solid transparent;
    border-radius: 4px;
}

.thumb:hover, .thumb.active-thumb {
    opacity: 1;
    border-color: #3498db;
}

/* Simple Animation */
@keyframes fade {
    from { opacity: 0.4; }
    to { opacity: 1; }
}
