﻿body{

}
.gallery-modal {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 99999;
}

.gallery-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    max-height: 85vh;
    width: 90%;
    max-width: 900px;
}

.gallery-swiper {
    height: 500px;
    width: 100%;
}

.swiper-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.swiper-button-next, .swiper-button-prev {
    color: white;
    background: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    backdrop-filter: blur(5px);
}

    .swiper-button-next:after, .swiper-button-prev:after {
        font-size: 20px;
    }

.swiper-pagination-bullet {
    background: white;
    opacity: 0.5;
    width: 8px;
    height: 8px;
}

.swiper-pagination-bullet-active {
    background: #3b82f6;
    opacity: 1;
}

.close-gallery {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 100;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .close-gallery:hover {
        background: rgba(0, 0, 0, 0.8);
        transform: scale(1.1);
    }

.slide-counter {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    z-index: 10;
}

@media (max-width: 768px) {
    .gallery-container {
        width: 95%;
        max-height: 80vh;
    }

    .gallery-swiper {
        height: 400px;
    }

    .swiper-button-next, .swiper-button-prev {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .gallery-swiper {
        height: 350px;
    }
}
