.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}


.slides {
    display: flex;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);

}

.slide {
    flex: 1 0 100%;
    position: relative;
    color: var(--text-primary);
    display: flex;
    /* Masaüstünde içeriği ortalamak için */
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    height: 100%;
    padding-bottom: 0;
}

.slide::after {
    content: "";
    position: absolute;
    inset: 0;
}

.slide h2 {
    position: relative;
    font-size: clamp(2rem, 6vw, 3.5rem);
    line-height: 1.1;
    font-weight: 700;
    max-width: 70%;
    text-align: left;
    z-index: 2;
    /* Masaüstünde h2'nin konumunu koru */
}

.caption {
    max-width: 600px;
    padding: 2rem;
    color: var(--text-primary);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    /* Varsayılan masaüstü konumu, değişmeden kalmalı */
}

.caption.left {
    left: 5%;
    text-align: left;
}

.caption.right {
    right: 5%;
}

.caption h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin: 0 0 0.5em;
    line-height: 1.2;
}

.caption p {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    margin: 0;
    line-height: 1.5;
    color: var(--text-secondary);
}

/* --- Sekmeli Navigasyon ve Dairesel İlerleme Çubuğu Stilleri --- */
.tab-nav {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    gap: 60px;
    background: transparent;
    padding: 16px 20px;
    z-index: 3;
}

.tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    user-select: none;
    font-size: .9rem;
    font-weight: 500;
    opacity: .7;
    transition: opacity .3s ease;
    position: relative;
}

/* Her tab'ın içindeki SVG için genel stiller */
.tab-progress-ring {
    transform: rotate(-90deg);
    /* Dairenin üstten başlaması için */
    margin-bottom: 6px;
    /* İkon ile yazı arasına boşluk */
}

/* Dairenin arka plan çizgisi */
.progress-bg {
    stroke: var(--text-light);
}

/* Dairenin ilerleme çizgisi */
.progress-fg {
    stroke: var(--primary-color);
    /* Ana renk */
    stroke-linecap: round;
    /* Çizgi bitişini yuvarlak yap */
    transition: stroke-dashoffset linear;
    /* Animasyon geçişi JS'ten ayarlanacak */
}


.tab.active {
    opacity: 1;
    color: var(--primary-color);
}

/* Mobil için Media Sorgusu */
@media(max-width:768px) {
    .slide {
        margin-top: 5%;

        flex-direction: column;
        /* İçeriği dikey sırala */
        align-items: center;
        /* İçeriği yatayda ortala */
        justify-content: center;
        /* Metinleri ve görseli dikeyde ortalar */
        padding-bottom: 100px;
        /* Alttaki sabit butonlar için boşluk */
    }

    .slide h2 {
        font-size: clamp(1.5rem, 8vw, 2rem);
        max-width: 90%;
        text-align: center;
        position: static;
        transform: none;
        top: auto;
        left: auto;
        margin-bottom: 0.5em;
        /* p etiketi ile arasına boşluk bırak */
        word-wrap: break-word;
        /* Uzun başlıklar için kelime kaydırma */
        padding-top: 300px;
    }

    .slide p {
        font-size: clamp(1rem, 3vw, 1.2rem);
        max-width: 90%;
        text-align: center;
        margin: 0 auto;
        /* Yatayda ortala */
        width: 100%;
        /* Tam genişlik kaplamasını sağla (max-width ile kısıtlı) */
        word-wrap: break-word;
        /* Uzun kelimeleri alt satıra geçirmek için */
        box-sizing: border-box;
        /* Padding'in genişliğe dahil olmasını sağla */
    }

    .tab-nav {
        bottom: 70px;
        /* Mobil butonların üzerine gelmesi için */
        gap: 30px;
        /* Sekmeler arası boşluğu azalt */
        padding: 10px 15px;
    }

    .tab-progress-ring {
        /* Mobil için ikon boyutu */
        width: 28px;
        height: 28px;
    }

    .tab span {
        /* Mobil için sekme yazılarını gizle */
        display: none;
    }
}