﻿/* === Temel Yapı === */
.owl-carousel {
    display: none;
    width: 100%;
    position: relative;
    z-index: 1;
    -webkit-tap-highlight-color: transparent;
}

    .owl-carousel.owl-loaded {
        display: block;
    }

    .owl-carousel .owl-stage {
        position: relative;
        touch-action: pan-y;
    }

        .owl-carousel .owl-stage:after {
            content: "";
            display: block;
            clear: both;
        }

    .owl-carousel .owl-stage-outer {
        position: relative;
        overflow: hidden;
        -webkit-transform: translate3d(0, 0, 0);
    }

    .owl-carousel .owl-item {
        position: relative;
        float: left;
        min-height: 1px;
        user-select: none;
    }

        .owl-carousel .owl-item img {
            display: block;
            width: 100%;
            transform-style: preserve-3d;
            object-fit: cover;
        }

/* === Kontroller === */
.owl-theme .owl-controls {
    display: block;
}

    .owl-theme .owl-controls .owl-nav [class*="owl-"] {
        cursor: pointer;
        display: inline-block;
        color: #898f9f;
        margin: 0 10px;
        transition: all 0.5s ease;
    }

        .owl-theme .owl-controls .owl-nav [class*="owl-"]:hover {
            color: #f2be00;
        }

.owl-theme .owl-dots .owl-dot {
    display: inline-block;
}

    .owl-theme .owl-dots .owl-dot span {
        background: #222;
        display: block;
        margin: 0 5px;
        width: 15px;
        height: 15px;
        transition: opacity 0.2s ease;
    }

    .owl-theme .owl-dots .owl-dot.active span {
        background: #cda274;
    }

/* === Banner Ayarları === */
.banner-section {
    position: relative;
    overflow: hidden;
    /* min-height: 800px;*/
    /*aspect-ratio: 1920 / 800;*/
}

.banner-carousel.owl-carousel:not(.owl-loaded) {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.banner-carousel.owl-carousel.owl-loaded {
    opacity: 1;
}

.banner-carousel img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* === Mobil Ekranlar === */
@media (max-width: 768px) {
    .banner-section {
        min-height: 220px !important;
    }

    .banner-carousel img {
        max-height: 220px;
    }

    .slide-item .content-box {
        padding: 15px;
        font-size: 14px;
        text-align: center;
    }

        .slide-item .content-box h2 {
            font-size: 18px;
            line-height: 1.3;
        }

        .slide-item .content-box p {
            font-size: 14px;
            line-height: 1.5;
        }

    .slide-item .btn-box {
        margin-top: 10px;
    }
}

/* === Tablet Ekranlar === */
@media (min-width: 769px) and (max-width: 1024px) {
    .banner-section {
        min-height: 400px;
    }

    .banner-carousel img {
        max-height: 400px;
    }

    .slide-item .content-box {
        padding: 25px;
    }

        .slide-item .content-box h2 {
            font-size: 28px;
        }
}

/* === Gereksiz Animasyonların Temizlenmesi === */
.owl-carousel .animated,
.owl-carousel .owl-animated-in,
.owl-carousel .owl-animated-out,
.banner-carousel .slide-item,
.banner-carousel .slide-item img,
.banner-carousel .image-layer,
[class*="animate__"],
[class*="animated"] {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
}
