/* ═══════════════════════════════════════════
 * Gallery Section — standalone styles
 * Overrides main.css gallery rules
 * ═══════════════════════════════════════════ */

.gallery {
    overflow: hidden;
}

.gallery-slider-wrap {
    position: relative;
    padding: 0 40px;
}

.gallery-slider {
    overflow: visible !important;
}

.gallery-slider .swiper-slide {
    width: 60%;
    transition: all 0.6s ease;
    opacity: 0.35;
    transform: scale(0.85);
}

.gallery-slider .swiper-slide-active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.gallery-slide {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.gallery-slide a {
    display: block;
    position: relative;
}

.gallery-slide img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s;
}

.swiper-slide-active .gallery-slide:hover img {
    transform: scale(1.05);
}

.gallery-slide__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 43, 80, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.4s;
    font-size: 32px;
    color: #fff;
    opacity: 0;
}

.swiper-slide-active .gallery-slide:hover .gallery-slide__overlay {
    background: rgba(10, 43, 80, 0.4);
    opacity: 1;
}

.gallery-slide__overlay--video img {
    width: 70px !important;
    height: 70px !important;
    object-fit: contain;
}

.gallery-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.gallery-nav div {
    width: 54px;
    height: 54px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
    color: #fff;
    font-size: 16px;
    backdrop-filter: blur(6px);
    background: rgba(255, 255, 255, 0.12);
}

.gallery-nav div:hover {
    background: #fff;
    color: #0a2b50;
    border-color: #fff;
}

@media (max-width: 1199px) {
    .gallery-slider .swiper-slide {
        width: 70%;
    }
    .gallery-slide img {
        height: 420px;
    }
}

@media (max-width: 991px) {
    .gallery-slider .swiper-slide {
        width: 80%;
    }
    .gallery-slide img {
        height: 360px;
    }
    .gallery-slider-wrap {
        padding: 0 20px;
    }
}

@media (max-width: 575px) {
    .gallery-slider .swiper-slide {
        width: 90%;
    }
    .gallery-slide img {
        height: 260px;
    }
    .gallery-slider-wrap {
        padding: 0 10px;
    }
    .gallery-nav {
        bottom: 15px;
    }
    .gallery-nav div {
        width: 42px;
        height: 42px;
    }
}
