#gallery-lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}
#gallery-lightbox-modal.show { display: flex !important; }

.gallery-lightbox-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    height: 90%;
    max-height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#gallery-lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10001;
    padding: 10px;
    line-height: 1;
}
#gallery-lightbox-close:hover { color: var(--color-primary); }

.gallery-lightbox-swiper { width: 100%; height: 100%; }
.gallery-lightbox-swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}
.gallery-lightbox-swiper .swiper-slide img,
.gallery-lightbox-swiper .swiper-slide video {
    width: auto;
    height: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 8px;
}

.gallery-lightbox-prev,
.gallery-lightbox-next {
    color: white !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
}
.gallery-lightbox-prev:hover,
.gallery-lightbox-next:hover { background: var(--color-primary) !important; }

.gallery-lightbox-trigger {
    cursor: pointer;
    transition: transform 0.3s ease;
}

@media screen and (max-width: 768px) {
    .gallery-lightbox-content { width: 95%; height: 85%; }
    #gallery-lightbox-close { top: -35px; font-size: 1.5rem; }
}
