/* Hero Section - Premium Kurumsal Tasarım */
.hero-section {
    position: relative;
    height: 100vh; /* Tam ekran yüksekliği */
    min-height: 650px; /* Çok küçük ekranlarda sıkışmasın */
    overflow: hidden;
    /* Modern Kurumsal Mavi Gradient - Daha canlı ve şık */
    background: linear-gradient(135deg, #0f172a 0%, #172554 50%, #1e3a8a 100%);
    color: #f8fafc;
    margin-top: 0; /* Fixed header olduğu için negatif margine gerek yok */
    padding-top: 0; /* Padding'i slide içine taşıyoruz */
}

/* --- SLIDER YAPISI --- */
.hero-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-slide {
    position: absolute; /* Klasik ve güvenli yöntem */
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s;
    z-index: 1;
    display: flex;
    align-items: center;
    padding-top: 154px; /* Desktop: Header (110px) + TopBar (44px) boşluğu */
    box-sizing: border-box;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Arka Plan Görseli ve Animasyonu */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
    opacity: 0.15; /* Çok silik, sadece doku versin */
    filter: grayscale(100%); /* Renk karmaşası olmasın */
    transition: transform 6s ease; /* Zoom efekti için */
}

.hero-slide.active .hero-bg {
    transform: scale(1.1); /* Aktif slaytta hafif zoom */
}

/* Premium Gradient Overlay (Metin Okunabilirliği İçin) */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Daha şeffaf ve mavi tonlu overlay - Görseli boğmadan okunabilirlik sağlar */
    background: radial-gradient(circle at 70% 50%, rgba(30, 58, 138, 0.2) 0%, rgba(15, 23, 42, 0.85) 80%);
    z-index: 1;
}

/* Teknik Izgara Deseni (Blueprint Effect) - Mühendislik Vurgusu */
.hero-grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 1;
}

/* İçerik Düzeni */
.hero-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding-top: 0; /* Slide padding'i zaten var */
}

.hero-text-col {
    flex: 1;
    max-width: 650px;
    padding-right: 40px;
}

.hero-visual-col {
    flex: 0 0 450px; /* Sabit genişlikli görsel alan */
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Tipografi */
.hero-badge {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 24px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.3);
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
    position: relative;
    padding-bottom: 0;
}

/* Badge Altındaki Şık Çizgi */
.hero-badge::after {
    display: none;
}

/* Metin Animasyonları (Slayt değişince çalışır) */
.hero-slide.active .hero-badge,
.hero-slide.active .hero-title,
.hero-slide.active .hero-desc,
.hero-slide.active .hero-btns,
.hero-slide.active .hero-trust-row {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

.hero-slide.active .hero-badge { animation-delay: 0.1s; }
.hero-slide.active .hero-title { animation-delay: 0.3s; }
.hero-slide.active .hero-desc { animation-delay: 0.5s; }
.hero-slide.active .hero-btns { animation-delay: 0.7s; }
.hero-slide.active .hero-trust-row { animation-delay: 0.9s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge i {
    display: inline-block;
    margin-right: 8px;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
    color: #ffffff;
    letter-spacing: -1px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Pırıltı Efekti (Shimmer Animation) */
.shimmer-text {
    background: none;
    background-size: auto;
    color: var(--secondary-color);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: initial;
    animation: none;
    font-weight: 700;
}


/* Vurgulu Metin */
.text-highlight {
    color: var(--secondary-color);
    text-shadow: none;
}

.hero-desc {
    font-size: 1.35rem; /* Okunabilirlik için büyütüldü (SEO) */
    color: #f1f5f9; /* Neredeyse beyaz, çok net */
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 90%;
    border-left: none; /* Çizgiyi kaldırdık, daha ferah */
    padding-left: 0;
    font-weight: 400;
    text-shadow: none;
}

/* Buton Grubu */
.hero-btns {
    display: flex;
    gap: 20px;
}

.btn-hero {
    padding: 18px 35px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    text-align: center;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-primary-glow {
    background: var(--secondary-color);
    color: #fff;
    border: 1px solid transparent;
}

.btn-primary-glow:hover {
    background: #0284c7;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.6);
    color: #fff;
}

.btn-outline-light {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    transform: translateY(-3px);
    color: #fff;
}

/* Alt Güven İkonları */
.hero-trust-row {
    margin-top: 40px;
    display: flex;
    gap: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #94a3b8;
    font-size: 14px;
    font-weight: 500;
}

.trust-item i {
    color: var(--secondary-color);
}

/* --- SAĞ TARAF GÖRSEL ALANI (YENİ) --- */

.hero-image-wrapper {
    position: relative;
    width: 420px;
    height: 520px;
    z-index: 5;
}

/* Görsel Animasyonu */
.hero-slide.active .hero-image-wrapper {
    animation: fadeInRight 1s ease forwards;
    opacity: 0;
    transform: translateX(50px);
    animation-delay: 0.4s;
}

@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Ana Görsel */
.hero-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Sanatsal Maskeleme: Köşeleri asimetrik yuvarla (İlk Hali) */
    border-radius: 150px 20px 150px 20px;
    box-shadow: 20px 20px 0 rgba(14, 165, 233, 0.1); /* Katı gölge efekti */
    position: relative;
    z-index: 2;
}

/* Görsel Arkasındaki Dekoratif Çerçeve */
.img-frame-accent {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(14, 165, 233, 0.3);
    border-radius: 150px 20px 150px 20px;
    z-index: 1;
    transition: all 0.5s ease;
    background: transparent;
}

.hero-image-wrapper:hover .img-frame-accent {
    transform: translate(10px, -10px);
}

/* Yüzen Güven Kartı */
.floating-trust-card {
    position: absolute;
    bottom: 40px;
    left: -40px;
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 25px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    z-index: 3;
    animation: float-card 4s ease-in-out infinite;
    max-width: 220px;
}

.ft-icon {
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.ft-content {
    display: flex;
    flex-direction: column;
}

.ft-number {
    font-weight: 800;
    font-size: 20px;
    color: var(--primary-color);
    line-height: 1;
}

.ft-label {
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
}

@keyframes float-card {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* --- SLIDER KONTROLLERİ --- */
.slider-controls {
    position: absolute;
    bottom: 50px;
    right: 80px; /* Sağ alt köşeye konumlandırma */
    z-index: 20;
    display: flex;
    gap: 15px;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: scale(1.1);
}

.slider-dots {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--secondary-color);
    width: 30px; /* Aktif olan uzasın */
    border-radius: 10px;
}

/* Responsive Ayarlar */
@media (max-width: 1100px) {
    .hero-title { font-size: 3rem; }
    .hero-visual-col { display: none; } /* Tablette görseli gizle */
    .hero-text-col { padding-right: 0; max-width: 100%; text-align: center; }
    .hero-btns { justify-content: center; }
    .hero-badge { margin-left: auto; margin-right: auto; }
    .hero-desc { margin-left: auto; margin-right: auto; }
    .hero-trust-row { justify-content: center; }
    .slider-controls { display: none; } /* Tablette okları gizle */
}

@media (max-width: 576px) {
    .hero-title { font-size: 2.2rem; }
    .hero-btns { flex-direction: column; }
    .btn-hero { width: 100%; justify-content: center; }
    .hero-section { height: 100vh; min-height: 100vh; padding-top: 0; } /* Mobilde tam ekran */
    .hero-slide { padding-top: 110px; position: absolute; height: 100%; width: 100%; padding-bottom: 50px; justify-content: center; } /* Absolute ile üst üste */
    .hero-desc { font-size: 1rem; }
    .slider-dots { bottom: 30px; }
}