/* Ana sayfa slider — maske + CSS animasyon (slickAnimation bağımlılığı yok) */

.banner-carousel-2 .banner-carousel-item {
    position: relative;
    overflow: hidden;
}

.banner-carousel-2 .slider-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        95deg,
        rgba(12, 28, 48, 0.72) 0%,
        rgba(12, 28, 48, 0.38) 38%,
        rgba(12, 28, 48, 0.14) 62%,
        rgba(12, 28, 48, 0.04) 100%
    );
}

.banner-carousel-2 .banner-carousel-item > .slider-hero-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    z-index: 2;
    height: 100%;
}

.banner-carousel-2 .slider-hero-caption {
    position: absolute;
    top: 50%;
    left: 0;
    right: auto;
    transform: translateY(-50%);
    max-width: 720px;
    padding: 0 15px;
    background: none;
    box-shadow: none;
}

.banner-carousel-2 .slider-hero-kicker {
    font-size: 17px;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.92);
    margin: 0 0 14px;
    line-height: 1.4;
}

.banner-carousel-2 .slider-hero-title {
    font-size: clamp(1.65rem, 3.8vw, 2.65rem);
    font-weight: 700;
    line-height: 1.22;
    color: #fff;
    margin: 0 0 18px;
    text-shadow: 0 2px 28px rgba(0, 0, 0, 0.35);
}

.banner-carousel-2 .slider-hero-desc {
    font-size: 1.05rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 26px;
    max-width: 580px;
}

.banner-carousel-2 .slider-hero-cta {
    margin-top: 4px;
}

.banner-carousel-2 .slider-hero-cta .btn {
    padding: 12px 28px;
    font-weight: 600;
    letter-spacing: 0.02em;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

/* style.css içindeki [data-animation-in]{opacity:0} kuralını bu slider için devre dışı bırak */
.banner-carousel-2 [data-animation-in] {
    opacity: 1 !important;
}

@keyframes sliderHeroFadeUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Slick yüklenmeden önce metin görünsün */
.banner-carousel-2:not(.slick-initialized) .slider-hero-caption > * {
    opacity: 1;
    transform: none;
}

/* Slick sonrası: yalnızca aktif slaytta animasyon */
.banner-carousel-2.slick-initialized .slider-hero-caption > * {
    opacity: 0;
    transform: translateY(28px);
}

.banner-carousel-2.slick-initialized .slider-hero-caption.slider-hero-play > .slider-hero-kicker {
    animation: sliderHeroFadeUp 0.75s ease forwards;
    animation-delay: 0.1s;
}

.banner-carousel-2.slick-initialized .slider-hero-caption.slider-hero-play > .slider-hero-title {
    animation: sliderHeroFadeUp 0.85s ease forwards;
    animation-delay: 0.28s;
}

.banner-carousel-2.slick-initialized .slider-hero-caption.slider-hero-play > .slider-hero-desc {
    animation: sliderHeroFadeUp 0.75s ease forwards;
    animation-delay: 0.46s;
}

.banner-carousel-2.slick-initialized .slider-hero-caption.slider-hero-play > .slider-hero-cta {
    animation: sliderHeroFadeUp 0.7s ease forwards;
    animation-delay: 0.62s;
}

@media (max-width: 767px) {
    .banner-carousel-2 .slider-hero-overlay {
        background: linear-gradient(
            180deg,
            rgba(12, 28, 48, 0.55) 0%,
            rgba(12, 28, 48, 0.72) 55%,
            rgba(12, 28, 48, 0.45) 100%
        );
    }

    .banner-carousel-2 .slider-hero-caption {
        top: auto;
        bottom: 28px;
        transform: none;
        left: 0;
        max-width: 100%;
    }

    .banner-carousel-2 .slider-hero-title {
        font-size: 1.45rem;
    }

    .banner-carousel-2 .slider-hero-kicker {
        font-size: 14px;
    }

    .banner-carousel-2 .slider-hero-desc {
        font-size: 0.95rem;
        margin-bottom: 18px;
    }
}
