/* =========================================
   GENEL AYARLAR & FONTLAR
   ========================================= */

   /* =========================================
   GENEL TAŞMA (OVERFLOW) ENGELLEYİCİ
   ========================================= */
html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

.hero-creative {
    overflow: hidden; /* Arka plandaki şekillerin dışarı taşmasını engeller */
    width: 100%;
}

/* Transparan SVG Logo İçin Sadece Dış Işıma (Glow) Efekti */
.navbar:not(.navbar-scrolled) .logo-img {
    filter: drop-shadow(0px 0px 12px rgba(255, 255, 255, 0.7));
}

/* Sayfa aşağı kayıp menü beyazlaşınca arka planı kaldır */
.navbar-scrolled .logo-img {
    filter: none;
    background-color: transparent;
    padding: 0;
}


:root {
    --primary-blue: #004b93; /* Daha derin kurumsal mavi */
    --secondary-blue: #009ce4; /* Açık mavi */
    --text-dark: #2c3e50;
    --light-bg: #f8f9fc;
}

body {
    font-family: 'Poppins', sans-serif; /* Modern, yuvarlak ve kurumsal font */
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Metin İçi Degrade (Gradient Text) Efekti */
.text-gradient {
    background: linear-gradient(to right, #00d2ff, #3a7bd5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.global-text-primary { color: var(--primary-blue) !important; }
.tracking-wide { letter-spacing: 2px; }

/* =========================================
   NAVİGASYON (HEADER)
   ========================================= */
.transition-navbar {
    transition: all 0.4s ease-in-out;
    background-color: transparent;
    padding: 20px 0;
}

/* Bu class JS ile scroll olunca eklenecek */
.navbar-scrolled {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    padding: 10px 0;
}

.logo-img { height: 65px; transition: height 0.3s; }
.navbar-scrolled .logo-img { height: 50px; }

.custom-nav-link {
    color: #fff !important;
    font-weight: 600;
    position: relative;
    padding-bottom: 5px;
}

.navbar-scrolled .custom-nav-link { color: var(--primary-blue) !important; }

/* Menü Altı Çizgi Animasyonu */
.custom-nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 0;
    background-color: var(--secondary-blue);
    transition: width 0.3s ease;
    border-radius: 5px;
}
.custom-nav-link:hover::after { width: 100%; }

.btn-glow-primary {
    background: linear-gradient(45deg, var(--primary-blue), var(--secondary-blue));
    border: none;
    transition: all 0.3s ease;
}
.btn-glow-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 156, 228, 0.4) !important;
}

/* =========================================
   HERO (ANA GÖRSEL) BÖLÜMÜ (MUAZZAM TASARIM)
   ========================================= */
.hero-creative {
    background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%); /* Çok şık ve derin bir gradient */
    position: relative;
    min-height: 100vh;
    padding-top: 80px;
}

/* Arka planda uçuşan soyut şekiller */
.shape-blob {
    position: absolute;
    background: linear-gradient(180deg, rgba(0,156,228,0.2) 0%, rgba(0,75,147,0.4) 100%);
    border-radius: 50%;
    filter: blur(60px);
    z-index: 1;
    animation: floatShape 10s infinite alternate ease-in-out;
}
.shape-blob-1 { width: 400px; height: 400px; top: -100px; left: -100px; }
.shape-blob-2 { width: 300px; height: 300px; bottom: 10%; right: 5%; animation-delay: -5s; }

@keyframes floatShape {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.1); }
}

.z-index-2 { z-index: 2; }
.hero-title { letter-spacing: -1px; }

/* Cam Efekti (Glassmorphism) */
.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}
.icon-circle {
    width: 50px; height: 50px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px;
}
 
.hover-scale { transition: transform 0.3s ease; }
.hover-scale:hover { transform: scale(1.05); }

/* =========================================
   HİZMET KARTLARI
   ========================================= */
.service-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: #fff;
    border: 1px solid rgba(0,0,0,0.05) !important;
}
.service-card .icon-box {
    width: 80px; height: 80px;
    background-color: var(--light-bg);
    border-radius: 20px;
    display: flex; align-items: center; justify-content: center;
    font-size: 35px; color: var(--secondary-blue);
    transition: all 0.3s ease;
}
.service-card:hover { transform: translateY(-15px); box-shadow: 0 20px 40px rgba(0,0,0,0.1) !important; }
.service-card:hover .icon-box {
    background-color: var(--primary-blue); color: #fff;
    transform: rotate(10deg);
}

/* Koltuk Yıkama (Ortadaki Renkli Kart) */
.active-card { background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue)) !important; }
.active-card h4 { color: #fff; }

/* =========================================
   HİZMET BÖLGELERİ[cite: 2] (3D EFEKTLİ)
   ========================================= */
.region-card {
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    z-index: 1;
}
.region-card::before {
    content: ''; position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0,156,228,0.1), transparent);
    transition: left 0.5s ease; z-index: -1;
}
.region-card:hover::before { left: 100%; }
.region-card:hover {
    border-color: var(--secondary-blue);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 156, 228, 0.2) !important;
}
.region-icon {
    font-size: 40px; color: var(--secondary-blue);
    transition: transform 0.3s ease;
}
.region-card:hover .region-icon { transform: scale(1.2) translateY(-5px); color: var(--primary-blue); }

/* =========================================
   FOOTER (MODERN ALT BÖLÜM)
   ========================================= */
.modern-footer { background-color: #0b151a; color: #fff; }
.footer-links a {
    color: rgba(255,255,255,0.7); text-decoration: none;
    transition: all 0.3s ease; display: inline-block;
}
.footer-links a:hover { color: var(--secondary-blue); transform: translateX(10px); }
.footer-contact-icon {
    width: 45px; height: 45px; border-radius: 12px;
    background: rgba(255,255,255,0.05); display: flex;
    align-items: center; justify-content: center; font-size: 20px; color: var(--secondary-blue);
}

/* =========================================
   YENİ YÜKSEK KONTRASTLI HERO KARTI STİLLERİ
   ========================================= */

.hero-image-wrapper {
    position: relative;
    z-index: 5;
}

/* Bembeyaz, Şık Gölgeli Kart */
.contact-card-modern {
    border: 1px solid rgba(0,0,0,0.03);
    transform: translateY(0);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.contact-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.4) !important;
}

/* Nabız Gibi Atan Animasyonlu İkon */
.icon-pulse {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(0, 156, 228, 0.15); /* Logodaki açık mavi tonu */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.icon-pulse::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: rgba(0, 156, 228, 0.5);
    animation: pulseAnim 2s infinite ease-out;
    z-index: -1;
}

@keyframes pulseAnim {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* Havada Süzülen Rozet (Floating Badge) */
.floating-badge {
    position: absolute;
    bottom: -30px;
    left: -40px;
    z-index: 10;
    animation: floatAnim 4s ease-in-out infinite;
    border: 1px solid rgba(0,0,0,0.05);
}

@keyframes floatAnim {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* =========================================
   MOBİL UYUM (RESPONSIVE) DÜZELTMELERİ
   ========================================= */
@media (max-width: 991px) {
    /* Mobil Menü Arka Planı (Okunabilirliği Artırmak İçin) */
    .navbar-collapse {
        background-color: #ffffff;
        border-radius: 15px;
        padding: 15px 20px;
        margin-top: 15px;
        box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    }
    
    /* Mobilde link renkleri her zaman kurumsal mavi olsun */
    .custom-nav-link {
        color: var(--primary-blue) !important;
        padding: 12px 0;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    
    /* Mobil Menü Açma Butonu (Hamburger İkonu) */
    .navbar-toggler i {
        color: #ffffff !important;
        background-color: var(--primary-blue);
        padding: 5px 10px;
        border-radius: 8px;
    }
    
    /* Sayfa kaydırıldığında (Scrolled) hamburger butonu rengi */
    .navbar-scrolled .navbar-toggler i {
        color: var(--primary-blue) !important;
        background-color: transparent;
    }
    
    /* Ana Görsel (Hero) Mobil Düzenlemeleri */
    .hero-creative {
        padding-top: 130px; /* Mobilde yazılar menünün altında kalmasın */
        text-align: center;
        min-height: auto;
        padding-bottom: 60px;
    }
    
    .hero-title {
        font-size: 2.3rem; /* Mobilde başlığı bir tık küçültüyoruz */
    }
    
    /* Butonların mobilde alt alta ve tam genişlikte durması */
    .hero-creative .d-flex.flex-wrap {
        flex-direction: column;
        gap: 15px !important;
    }
    
    .hero-creative .btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Mobilde Yüzen Rozet (Floating Badge) Taşıyıp Ekranı Bozmasın Diye Ortalanır */
    .floating-badge {
        left: 50%;
        bottom: -20px;
        transform: translateX(-50%) !important;
        width: 90%;
        justify-content: center;
        animation: floatAnimMobile 4s ease-in-out infinite;
    }
    
    @keyframes floatAnimMobile {
        0% { transform: translateX(-50%) translateY(0px); }
        50% { transform: translateX(-50%) translateY(-10px); }
        100% { transform: translateX(-50%) translateY(0px); }
    }
    
    /* Hizmet kartlarının arasındaki boşluklar mobilde biraz açılsın */
    .service-card {
        margin-bottom: 15px;
    }
}

/* =========================================
   YENİ BÖLÜM STİLLERİ (SÜREÇ, YORUMLAR, İSTATİSTİK)
   ========================================= */

/* Süreç Adımları (How it works) */
.process-card {
    background: #fff;
    border-radius: 20px;
    transition: transform 0.3s;
    height: 100%;
}
.process-card:hover {
    transform: translateY(-10px);
}
.process-step {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: #fff;
    font-size: 24px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto;
    box-shadow: 0 10px 20px rgba(0, 156, 228, 0.3);
}

@media (min-width: 992px) {
    /* Bilgisayarda süreç adımları arasına çizgi çeker */
    .process-row::before {
        content: '';
        position: absolute;
        top: 50px;
        left: 10%;
        width: 80%;
        height: 2px;
        background: rgba(0, 156, 228, 0.2);
        z-index: 0;
    }
    .process-card {
        position: relative;
        z-index: 1;
        background: transparent;
    }
}

/* Neden Biz & İstatistikler Bölümü */
.feature-section {
    background: #091a26; /* Çok koyu şık lacivert */
}
.backdrop-blur {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.stat-card {
    transition: transform 0.3s;
}
.stat-card:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.15) !important;
}

/* Yorumlar (Testimonials) */
.testimonial-card {
    transition: all 0.3s ease;
    border-color: rgba(0,0,0,0.05) !important;
}
.testimonial-card:hover {
    background-color: #fff !important;
    box-shadow: 0 15px 30px rgba(0,0,0,0.08) !important;
    transform: translateY(-5px);
}

/* CTA (Harekete Geçirici Banner) */
.cta-banner {
    position: relative;
    overflow: hidden;
}
.cta-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.5;
}


/* =========================================
   SABİT WHATSAPP BUTONU (SOL ALT KAYAN)
   ========================================= */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    left: 30px; /* Sol tarafta durması için left kullanıldı */
    background-color: #25d366; /* Orijinal WhatsApp Yeşili */
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: floatWa 3s ease-in-out infinite;
}

.whatsapp-float:hover {
    color: #fff;
    background-color: #20b858;
    transform: scale(1.1);
    box-shadow: 2px 2px 15px rgba(37, 211, 102, 0.5);
}

/* Hafif Aşağı-Yukarı Süzülme Animasyonu */
@keyframes floatWa {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}

/* Mobilde boyutları ve konumu biraz küçültelim ki ekranı kapatmasın */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        left: 20px;
        font-size: 26px;
    }
}

/* =========================================
   SOSYAL MEDYA İKON STİLLERİ
   ========================================= */
.social-icon {
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    color: #ffffff;
    transform: translateY(-5px);
    border-color: transparent;
    box-shadow: 0 10px 20px rgba(214, 36, 159, 0.3);
}

/* Üst menüdeki ikon üzerine gelince Instagram rengi olsun */
.navbar-scrolled .custom-nav-link:hover .bi-instagram {
    color: #d6249f !important;
}
/* =========================================
   ALT SAYFA BAŞLIKLARI (PAGE HEADERS)
   ========================================= */
.page-header {
    background: linear-gradient(135deg, #091a26 0%, var(--primary-blue) 100%);
    padding: 140px 0 70px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-header::after {
    content: ''; position: absolute;
    bottom: -50px; left: 0; right: 0; height: 100px;
    background: #ffffff;
    transform: skewY(-2deg);
}