/* HERO BANNER STİLLERİ */
body { overflow-x: hidden; }
.hero-carousel-container { 
    position: relative; 
    overflow: hidden; 
    width: 100%; 
    height: 450px; 
    margin-bottom: 3rem; 
    border-radius: 8px; 
    cursor: grab; 
}
.hero-slide-wrapper, .hero-slide, .hero-slide img { 
    -webkit-user-drag: none; 
    user-select: none; 
}
.hero-slide-wrapper {
    display: flex; 
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease; 
}
.hero-slide { 
    flex: 0 0 100%; 
    max-width: 100%;
    position: relative; 
    height: 100%;
    background-size: cover; 
    background-position: center; 
}
.slide-content-wrapper { display: flex; align-items: center; justify-content: space-between; height: 100%; padding: 0 5%; position: relative; z-index: 10; }
.text-content-wrapper { z-index: 15; max-width: 450px; padding: 20px; flex-shrink: 0; }
.center-image-wrapper { position: relative; z-index: 12; max-height: 100%; flex-shrink: 0; }
.center-image-wrapper img { max-height: 400px; width: auto; object-fit: contain; }
.slide-content-wrapper.left-align { flex-direction: row; }
.slide-content-wrapper.right-align { flex-direction: row-reverse; }
.slide-content-wrapper.top-align { flex-direction: column; justify-content: center; text-align: center; padding-top: 20px; padding-bottom: 50px; }
.slide-content-wrapper.top-align .center-image-wrapper { order: 1; margin-bottom: 10px; max-height: 50%; }
.slide-content-wrapper.top-align .center-image-wrapper img { max-height: 200px; }
.slide-content-wrapper.top-align .text-content-wrapper { order: 2; max-width: 700px; width: 100%; padding: 0 10px; display: flex; flex-direction: column; align-items: center; text-align: center; margin-top: 10px; }
.hero-flag { position: absolute; top: 20px; right: 20px; width: 120px; height: 120px; z-index: 20; overflow: hidden; background-color: transparent !important; }
.hero-flag-img { position: absolute; width: 100%; height: 100%; top: 0; left: 0; object-fit: contain; }
.hero-flag-text { position: absolute; font-size: 0.8rem; font-weight: bold; text-align: center; transform: none; padding: 5px 10px; line-height: 1.1; white-space: pre-wrap; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; top: 0; right: 0; z-index: 25; }
.carousel-control { position: absolute; top: 50%; transform: translateY(-50%); z-index: 30; background: rgba(100, 100, 100, 0.5); color: white; border: none; cursor: pointer; border-radius: 50%; transition: background 0.3s; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; font-size: 1rem; padding: 0; }
.carousel-control:hover { background: rgba(0, 0, 0, 0.7); }
.carousel-control.prev { left: 15px; }
.carousel-control.next { right: 15px; }
.carousel-indicators-wrapper { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); z-index: 30; display: flex; align-items: center; padding: 5px 10px; background: rgba(255, 255, 255, 0.8); border-radius: 15px; }
.carousel-indicator { height: 3px; width: 30px; margin: 0 5px; background-color: #aaa; cursor: pointer; transition: background-color 0.3s; }
.carousel-indicator.active { background-color: #000; }
.carousel-play-pause { background: none; border: none; color: #000; margin-left: 10px; cursor: pointer; font-size: 1.2rem; }

/* HERO BANNER MOBİL UYUMLULUK */
/* 1200px - 769px ARASI DÜZENLEME (Tabletler ve Küçük Laptoplar) */
@media (max-width: 1200px) and (min-width: 769px) {
    /* Genel boyutlandırma */
    .hero-carousel-container { 
        height: 500px; /* Yüksekliği biraz küçült */
        margin-bottom: 2rem; 
    }

    /* İçerik yerleşimi: Mobile benzer ortalanmış düzeni zorla */
    .slide-content-wrapper { 
        flex-direction: column !important; /* Dikey sıralama */
        justify-content: center !important; /* Dikeyde ortala */
        padding: 0 5%; 
        text-align: center; 
    }

    /* Resim: Üstte olsun */
    .center-image-wrapper { 
        order: 1 !important; /* Sıralamada üstte */
        max-height: 40%; /* Görüntü yüksekliğini sınırla */
        margin-bottom: 10px;
    }
    .center-image-wrapper img { 
        max-height: 200px; /* Daha az yer kaplasın */
    }

    /* Metin: Altta olsun */
    .text-content-wrapper { 
        order: 2 !important; /* Sıralamada altta */
        max-width: 700px; /* Genişliği koru */
        padding: 10px 0; 
        display: flex; 
        flex-direction: column; 
        align-items: center; /* İç metinleri ortala */
    }
    .text-content-wrapper h1 { 
        font-size: 2.2rem; /* Başlık boyutu biraz küçülsün */
    }
    .text-content-wrapper p.lead { 
        font-size: 1.0rem; 
    }
    
    /* Bayrak boyutu biraz küçülsün */
    .hero-flag { 
        width: 100px; 
        height: 100px; 
        top: 15px; 
        right: 15px; 
    }
    .hero-flag-text { 
        font-size: 0.75rem; 
    }

    /* Alt Navigasyon (GizlenMESİN) - Zaten gizli değil, ek bir kurala gerek yok. */
    .carousel-indicators-wrapper {
        display: flex !important; /* Açık kalmasını garantile (Önceki 768px kuralını ezebilir) */
    }
}
@media (max-width: 768px) {
    .hero-carousel-container { height: 350px; margin-bottom: 2rem; }
    .slide-content-wrapper { flex-direction: column !important; justify-content: center !important; padding: 0 10px; text-align: center; }
    .text-content-wrapper { order: 2 !important; max-width: 90%; padding: 10px 0; display: flex; flex-direction: column; align-items: center; }
    .text-content-wrapper h1 { font-size: 1.8rem; }
    .text-content-wrapper p.lead { font-size: 0.9rem; }
    .center-image-wrapper { order: 1 !important; max-height: 40%; }
    .center-image-wrapper img { max-height: 140px; }
    .hero-flag { width: 80px; height: 80px; top: 10px; right: 10px; }
    .hero-flag-text { font-size: 0.7rem; }
    .carousel-control { width: 30px; height: 30px; font-size: 0.8rem; }
    .carousel-control.prev { left: 5px; }
    .carousel-control.next { right: 5px; }
    .slide-content-wrapper.top-align .center-image-wrapper img { max-height: 100px; }
    .carousel-indicators-wrapper { display: none !important; }
} 