/* Gallery Container */
.wgs-gallery-container {
    max-width: 100%;
    margin: 0 auto;
    position: relative;
}

/* Main Image */
.wgs-main-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    margin-bottom: 20px;
    overflow: hidden;
}

.wgs-image-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.wgs-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: none;
}

.wgs-slide.active {
    opacity: 1;
    display: block;
}

.wgs-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Zoom effect */
.wgs-slide:hover img {
    transform: scale(1.2);
}

/* Navigation arrows */
.wgs-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s ease;
}

.wgs-nav:hover {
    background: rgba(0, 0, 0, 0.8);
}

.wgs-prev {
    left: 10px;
}

.wgs-next {
    right: 10px;
}

/* Thumbnails */
.wgs-thumbnails {
    position: relative;
    width: 100%;
    padding: 10px 0;
}

/* Dots */
.wgs-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.wgs-dot {
    width: 8px;
    height: 8px;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.wgs-dot.active {
    background: #666;
}

/* Thumbnails carousel */
.wgs-thumbs-carousel {
    display: none;
    gap: 10px;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: white;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.wgs-thumbnails:hover .wgs-thumbs-carousel {
    display: flex;
}

.wgs-thumb {
    width: 60px;
    height: 60px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.wgs-thumb.active {
    opacity: 1;
}

.wgs-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}