/* Desktop Styles */
.desktop-gallery {
    display: none;
}

@media (min-width: 768px) {
    .desktop-gallery {
        display: block;
    }
}

/* Mobile Styles */
.mobile-gallery {
    position: relative;
    overflow: hidden;
    height: auto;
}

.mobile-carousel-track {
    display: flex;
    transition: transform 0.3s ease;
}

.mobile-carousel-item {
    width: 100%;
    flex-shrink: 0;
}

.dots-container {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 5px;
}

.dots-container .dot {
    width: 12px;
    height: 12px;
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dots-container .dot.active {
    background-color: #ffffff;
}

.photo-counter {
    font-size: 14px;
    color: #ffffff;
}

/* Shared Styles */
.pb-full {
    padding-bottom: 100%;
}

.main-image-container {
    max-width: 500px;
}

.main-image {
    object-fit: contain;
}

.thumbnail-images {
    max-width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 10px;
    z-index: 10;
    position: relative;
}

.thumbnail {
    flex: 0 0 auto;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.thumbnail:hover {
    transform: scale(1.05);
}

.gallery-section .main-image-container {
    z-index: 1;
    position: relative;
}
