/* =========================================
   ANA SAYFA HERO SLIDER (slider.css)
========================================= */
.hero-slider-section {
    position: relative;
    height: 100vh; /* Masaüstünde tam ekran */
    min-height: 600px;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Resimlerin bulunduğu alan */
.slider-container {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    image-rendering: -webkit-optimize-contrast; 
}

.slide.active {
    opacity: 1;
}

/* Siyah Karartma Katmanı */
.slider-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.45); 
    z-index: 2;
}

/* İçerik (Yazılar ve Butonlar) */
.hero-slider-section .hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    padding: 0 20px;
    width: 100%;
}

/* Slider Yönlendirme Okları */
.slider-prev, .slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    font-size: 24px;
    padding: 15px 20px;
    cursor: pointer;
    z-index: 4;
    transition: background 0.3s ease;
    border-radius: 8px;
}

.slider-prev:hover, .slider-next:hover {
    background: rgba(255, 255, 255, 0.5);
}

.slider-prev { left: 20px; }
.slider-next { right: 20px; }

/* Alt Noktalar (Dots) */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    gap: 12px;
}

.slider-dot {
    width: 12px; height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: background 0.3s ease;
}

.slider-dot.active, .slider-dot:hover {
    background: white;
}

/* =========================================
   MOBİL UYUMLULUK (TAM DİKDÖRTGEN GÖRÜNÜM)
========================================= */
@media (max-width: 768px) {
    .hero-slider-section {
        /* Ekranın yüksekliğini iyice kısarak masaüstündeki gibi 'yatay dikdörtgen' yaptık */
        height: 260px; 
        min-height: 260px; 
    }
    
    .hero-slider-section .hero-baslik {
        font-size: 22px !important; 
        margin-bottom: 5px;
    }

    .hero-slider-section .hero-alt-baslik {
        font-size: 14px !important;
        margin-bottom: 15px;
    }

    /* Mobilde dikey alanı daralttığımız için butonları tekrar YAN YANA alıyoruz */
    .hero-slider-section .hero-butonlar {
        display: flex;
        flex-direction: row;
        gap: 10px;
        justify-content: center;
    }

    .hero-slider-section .hero-btn {
        width: auto;
        padding: 8px 12px;
        font-size: 12px;
    }

    /* Okları ve noktaları bu yeni kutuya göre ufaltıyoruz */
    .slider-prev, .slider-next {
        padding: 6px 10px;
        font-size: 14px;
        left: 5px;
    }
    .slider-next { right: 5px; left: auto; }
    
    .slider-dots {
        bottom: 10px;
    }
    .slider-dot {
        width: 8px; height: 8px;
    }
}