/* Photo Gallery Section Styles */

.gallery-section {
    position: relative;
    display: block;
    padding: 20px 0 60px;
    background: #f7f9fc;
}

.gallery-section .sec-title {
    margin-bottom: 60px;
}

.single-gallery-item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.5s ease;
}

.single-gallery-item .img-box {
    position: relative;
    display: block;
    overflow: hidden;
    height: 350px;
}

.single-gallery-item .img-box img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: all 0.7s ease;
}

.single-gallery-item:hover .img-box img {
    transform: scale(1.1);
}

.single-gallery-item .img-box .overlay-btn {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(26, 43, 94, 0.8);
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
    z-index: 1;
    transform: scale(0.5);
}

.single-gallery-item:hover .img-box .overlay-btn {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.single-gallery-item .img-box .overlay-btn a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #ffffff;
    border-radius: 50%;
    color: var(--thm-base);
    font-size: 20px;
    transition: all 0.3s ease;
}

.single-gallery-item .img-box .overlay-btn a:hover {
    background: var(--thm-base);
    color: #ffffff;
}

/* Owl Carousel Navigation Styles */
.gallery-carousel.owl-carousel .owl-nav {
    position: absolute;
    top: 50%;
    left: -60px;
    right: -60px;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.gallery-carousel.owl-carousel .owl-nav button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #ffffff !important;
    border-radius: 50% !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    color: var(--thm-base) !important;
    font-size: 20px !important;
    pointer-events: auto;
    transition: all 0.3s ease;
}

.gallery-carousel.owl-carousel .owl-nav button:hover {
    background: var(--thm-base) !important;
    color: #ffffff !important;
}

/* Responsive Navigation */
@media (max-width: 1400px) {
    .gallery-carousel.owl-carousel .owl-nav {
        left: 0;
        right: 0;
        position: relative;
        top: 0;
        transform: none;
        justify-content: center;
        margin-top: 40px;
        pointer-events: auto;
    }

    .gallery-carousel.owl-carousel .owl-nav button {
        margin: 0 10px;
    }
}