/**
 * Ana açılış hero slayt — JS kontrollü geçiş + nokta navigasyonu
 */

.hero-slider .banner1,
.hero-slider .banner2,
.hero-slider .banner3,
.hero-slider .banner4 {
    animation: none !important;
}

.hero-slider .hero-slide {
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.9s ease,
        visibility 0.9s ease;
    pointer-events: none;
    z-index: 0;
}

.hero-slider .hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 1;
}

.hero-slider .text-box,
.hero-slider .text-box1,
.hero-slider .text-box2,
.hero-slider .text-box3,
.hero-slider .text-box4 {
    animation: none !important;
    animation-delay: 0s !important;
    z-index: 6;
    pointer-events: none;
}

.hero-slider .hero-slide:not(.is-active) .text-box {
    opacity: 0;
}

.hero-slider .hero-slide.is-active .text-box {
    opacity: 1;
    transition: opacity 0.7s ease 0.15s;
}

.hero-slider .hero-slide picture {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-slider .hero-slide.is-active img {
    animation: hero-slide-zoom 10s ease-out forwards !important;
}

.hero-slider .hero-slide:not(.is-active) img {
    animation: none !important;
    transform: scale(1);
}

@keyframes hero-slide-zoom {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.06);
    }
}

/* Alt noktalar */
.hero-slider__dots {
    position: absolute;
    left: 50%;
    bottom: 32px;
    transform: translateX(-50%);
    z-index: 12;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0;
    padding: 10px 16px;
    list-style: none;
    border-radius: 100px;
    background: rgba(8, 12, 20, 0.45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.hero-slider__dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.35);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.25);
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.hero-slider__dot:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.15);
}

.hero-slider__dot.is-active {
    background: #01b1af;
    box-shadow:
        0 0 0 2px rgba(45, 212, 210, 0.5),
        0 0 14px rgba(1, 177, 175, 0.65);
    transform: scale(1.2);
}

.hero-slider__dot:focus-visible {
    outline: 2px solid #2dd4d2;
    outline-offset: 3px;
}

/* ---- Başlıklarda soldan sağa gümüş parıltı ---- */
@keyframes hero-silver-shine-ltr {
    0% {
        background-position: 130% 50%;
    }
    100% {
        background-position: -30% 50%;
    }
}

.hero-slider .text-box h1 {
    display: block;
    max-width: 100%;
    font-weight: 700;
    font-size: calc(3vw + 20px);
    color: #eef2f6;
    background-image: linear-gradient(
        105deg,
        #c8d0da 0%,
        #f4f7fa 12%,
        #ffffff 24%,
        #b0bac6 36%,
        #f8fafc 48%,
        #ffffff 58%,
        #9aa6b4 68%,
        #eef2f6 80%,
        #ffffff 90%,
        #d0d8e2 100%
    );
    background-size: 220% 100%;
    background-position: 130% 50%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: hero-silver-shine-ltr 5s ease-in-out infinite;
    filter: drop-shadow(0 2px 14px rgba(0, 0, 0, 0.42));
}

.hero-slider .text-box p {
    display: block;
    position: static;
    width: auto;
    height: auto;
    margin-top: 20px;
    font-size: calc(0.6vw + 10px);
    line-height: normal;
    font-weight: 300;
    color: #e8edf2;
    -webkit-text-fill-color: #e8edf2;
    background: none;
}

.hero-slider .text-box > span:empty {
    position: static;
    display: block;
    margin: 14px 0 0;
    width: 100px;
    height: 3px;
    background: #01b1af;
    border-radius: 0;
}

/* Mobil nokta konumu: mobile-navbar.css */

@media (prefers-reduced-motion: reduce) {
    .hero-slider .text-box h1 {
        animation: none;
        background-position: 0 50%;
        -webkit-text-fill-color: #f4f8fc;
        color: #f4f8fc;
        background-image: none;
        filter: none;
    }

    .hero-slider .hero-slide,
    .hero-slider .hero-slide.is-active .text-box {
        transition: none;
    }

    .hero-slider .hero-slide.is-active img {
        animation: none;
    }
}
