/* Hero Slider Styles */
.hero-slider-section {
    position: relative;
    width: 100%;
    padding: var(--section-padding);
    overflow: hidden;
}

.hero-viewport {
    width: 100%;
    overflow: visible;
    /* Important: allow seeing peek slides */
}

.hero-track {
    display: flex;
    will-change: transform;
}

.hero-slider-section.is-ready .hero-track {
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.hero-slide {
    flex: 0 0 80%;
    /* Genişlik %80 olarak dengelendi */
    margin: 0 -1.5%;
    /* Negatif margin ile ölçeklemeden kaynaklanan boşluk kapatıldı */
    background-color: var(--primary-color);
    border-radius: 8px;
    /* User requested 8px */
    position: relative;
    overflow: hidden;
    opacity: 0.5;
    filter: blur(1px);
    transform: scale(0.88);
    /* Pasif kartlar biraz daha küçültüldü */
    cursor: pointer;
    z-index: 1;
    aspect-ratio: 15 / 5;
}

.hero-slider-section.is-ready .hero-slide {
    transition: transform 0.6s ease, opacity 0.6s ease, filter 0.6s ease;
}

.hero-slide.active {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
    /* Aktif kart tam boyutunda */
    z-index: 2;
}

.hero-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    padding: 0 8rem;
    /* Masaüstünde kenarlardan daha fazla pay vererek içeriği ortaya çektik */
    height: 100%;
}

.hero-left {
    flex: 1.2;
    /* Başlık alanı dengelendi */
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    /* Boşluk daha da azaltıldı */
    z-index: 2;
}

.hero-right {
    flex: 0.8;
    /* Görsel alanı biraz daha genişletildi */
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-image-placeholder {
    width: 100%;
    max-width: 480px;
    /* Görsel boyutu artırıldı */
    aspect-ratio: 1/1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Typography */
.hero-title {
    font-size: clamp(1.75rem, 4vw, 3rem);
    /* Başlık boyutu düşürüldü */
    font-weight: 800;
    line-height: 1.1;
    color: #ffffff;
    letter-spacing: -0.03em;
    max-width: 650px;
    /* Başlığı daha toplu tutalım */
}

.hero-description {
    font-size: 1.15rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    max-width: 500px;
    /* Metin alanı daraltıldı */
    line-height: 1.6;
}

.hero-divider {
    width: 300px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 0.75rem 0;
    /* Boşluk azaltıldı */
}

.btn-hero-white {
    background-color: #ffffff;
    color: var(--primary-color);
    border: none;
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: inline-flex;
    width: fit-content;
    font-size: 1rem;
    letter-spacing: 0.01em;
}

.btn-hero-white:hover {
    background-color: #f0f0f0;
    transform: scale(1.03);
    /* Hafif scale eklendi */
}

.hero-nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0.5rem auto 0;
    padding: 0 var(--container-padding) !important;
}

/* Controls */
.hero-controls {
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.hero-prev,
.hero-next {
    background: white;
    border: 1px solid var(--border-color);
    width: 40px;
    height: 40px;
    border-radius: 8px;
    /* Yuvarlaklık kaldırıldı, 8px yapıldı */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-color);
}

.hero-prev:hover,
.hero-next:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

/* Indicators */
.hero-indicators {
    display: flex;
    gap: 0.75rem;
    z-index: 10;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--primary-color);
    width: 30px;
    border-radius: 10px;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-slide {
        flex: 0 0 90%;
    }
}

@media (max-width: 768px) {
    .hero-slide {
        flex: 0 0 95%;
        aspect-ratio: auto;
        /* Mobilde sabit oran kaldırıldı */
    }

    .hero-content-wrapper {
        flex-direction: column-reverse;
        /* Resim üste metin alta alındı */
        text-align: center;
        padding: 4rem 2rem;
        height: auto;
        min-height: auto;
        gap: 1rem;
        /* Elemanlar arası boşluk azaltıldı */
    }

    .hero-left {
        align-items: center;
        /* Elemanları mobilde ortala */
    }

    .hero-title {
        font-size: 1.75rem;
        /* Mobilde başlık küçültüldü */
    }

    .hero-description {
        max-width: 100%;
        font-size: 1rem;
        /* Mobilde açıklama boyutu düşürüldü */
        line-height: 1.4;
        /* Satır aralığı daraltıldı */
    }

    .hero-divider {
        margin: 0.75rem auto;
        /* Divider'ı mobilde ortala */
    }

    .btn-hero-white {
        padding: 0.4rem 1rem;
        font-size: 0.9rem;
        margin: 0;
    }

    .hero-actions {
        display: flex !important;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px !important;
    }

    .hero-right {
        display: flex;
        width: 100%;
        justify-content: center;
        margin-top: 0;
        /* Üst boşluk kaldırıldı, gap devrede */
    }

    .hero-image-placeholder {
        width: 240px;
        /* Mobilde boyut 240px'e düşürüldü */
        height: 240px;
    }

    .hero-indicators {
        position: static;
        transform: none;
    }

    .hero-nav-container {
        margin-top: 0.5rem;
        width: 100%;
        /* Spans full container width */
        padding: 0 var(--container-padding) !important;
    }
}