/* Gallery Slider Component Styles */

/* Main swiper container - scoped to gallery only */
.reference-single-gallery .gallery-swiper.swiper {
    width: 100%;
    max-width: 100%;
    margin: 20px auto 40px;
    overflow: hidden;
    position: relative;
    height: 400px;
    
}

.reference-single-gallery .gallery-swiper .swiper-slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

/* Custom Navigation Buttons */
.reference-single-gallery .swiper-custom-nav {
    position: absolute;
    bottom: 16px;
    right: 60%;
    z-index: 1000;
    display: flex;
    gap: 10px;
    flex-direction: row;
}

.reference-single-gallery .swiper-custom-nav button {
    width: 48px;
    height: 48px;
    background-color: #1A21C7;
    border: none;
    border-radius: 0px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 0;
}

.reference-single-gallery .swiper-custom-nav button:hover {
    background-color: #0f14a3;
    transform: scale(1.05);
}

.reference-single-gallery .swiper-custom-nav button:active {
    transform: scale(0.95);
}

.reference-single-gallery .swiper-custom-nav button svg {
    width: 24px;
    height: 24px;
    fill: white;
}

/* Hide default Swiper navigation */
.swiper-button-next,
.swiper-button-prev {
    display: none;
}

/* Responsive Design */
@media screen and (max-width: 1280px) {
    .reference-single-gallery .swiper-custom-nav {
        right: 75%;
    }
}

@media screen and (max-width: 744px) {
    .reference-single-gallery .gallery-swiper.swiper {
        height: 185px;
    }

    .reference-single-gallery .swiper-custom-nav {
        right: 55%;
    }
}
