/* Bölüm boşlukları */
.gallery-section {
    padding: 30px 0;
}

/* Owl iç boşluk ve hizalama */
.gallery-carousel .owl-stage {
    display: flex;
}

.gallery-carousel .gallery-block {
    padding: 8px;
}

.gallery-carousel .inner-box {
    height: 100%;
}

/* Görsel kutusu: oran sabitle + hover */
.gallery-carousel .image-box {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    background: #f8fafc;
    aspect-ratio: 4 / 3;
    transition: transform .25s ease, box-shadow .25s ease;
}

@supports not (aspect-ratio: 4/3) {
    .gallery-carousel .image-box {
        padding-top: 75%;
    }

    .gallery-carousel .image-box img {
        position: absolute;
        inset: 0;
    }
}

.gallery-carousel .image-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
}

/* Görsel boyutu */
.gallery-carousel .image-box img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
}

/* Overlay */
.gallery-section .overlay-box {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: end;
    justify-content: center;
    padding: 12px;
    background: linear-gradient(transparent, rgba(0, 0, 0, .35));
    opacity: 0;
    transition: opacity .25s;
}

.gallery-section .image-box:hover .overlay-box {
    opacity: 1;
}

.gallery-section .icon {
    color: #fff;
    font-size: 18px;
    border: 1px solid rgba(255, 255, 255, .6);
    padding: 10px 12px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .15);
    backdrop-filter: blur(2px);
}

/* Hata görseli */
.image-box.img-error {
    background: repeating-linear-gradient(45deg, #f3f4f6, #f3f4f6 10px, #eef2f7 10px, #eef2f7 20px);
}

/* Owl nav/dots kozmetik */
.gallery-section .owl-nav {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.gallery-section .owl-nav button {
    position: absolute;
    top: 45%;
    width: 36px;
    height: 36px;
    line-height: 36px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .12);
    pointer-events: auto;
}

.gallery-section .owl-nav .owl-prev {
    left: -6px;
}

.gallery-section .owl-nav .owl-next {
    right: -6px;
}

.gallery-section .owl-nav span {
    font-size: 18px;
    display: inline-block;
}

.gallery-section .owl-dots {
    margin-top: 10px;
}

.gallery-section .owl-dot span {
    width: 8px;
    height: 8px;
}