@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --primary: #003399;
    --accent: #00a8e8;
    --success: #00C194;
    --bg-body: #fff;
    --bg-light: #f8f9fa;
    --text-main: #333;
    --text-muted: #6c757d;
    --card-bg: #fff;
    --footer-bg: #0a1628;
}

body { 
    font-family: 'Poppins', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; 
    overflow-x: hidden; 
    color: var(--text-main);
    background: var(--bg-body);
    transition: background 0.3s ease, color 0.3s ease;
}

/* --- Hero Section --- */
.hero-section {
    /* Senin yüklediğin fotoğraf */
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                url('tir.png') no-repeat center center;
    background-size: cover;
    background-attachment: fixed; /* Parallax efekti sağlar */
    height: 90vh; /* Navbar'dan sonraki yüksekliği ayarlar */
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-primary-custom {
    background-color: #003399; /* Orka kurumsal mavi */
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    transition: 0.3s;
    border: none;
}

.btn-primary-custom:hover {
    background-color: #00d4ff;
    color: #000;
    transform: translateY(-3px);
}

/* --- Hakkımızda --- */
.about-section .about-img { 
    transition: 0.5s;
}

.about-section:hover .about-img {
    transform: scale(1.02);
}

/* --- Kayan Ülkeler Bandı --- */
.marquee-wrapper { position: relative; width: 100%; background: #fdfdfd; }
.marquee-content {
    display: flex;
    animation: scrollMarquee 30s linear infinite;
    width: max-content;
}

.country-item {
    display: flex;
    align-items: center;
    margin: 0 30px;
    font-weight: 600;
    color: #555;
}

.country-item img {
    width: 32px;
    height: auto;
    margin-right: 12px;
    border-radius: 2px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

@keyframes scrollMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* --- ORKA Resimli Yazı Efekti (E Bölümü) --- */
/* Premium İstatistik Alanı */
.stats-premium {
    background-color: #fff;
    padding: 100px 0;
}

/* ORKA Yazısı İçine Resim Gömme (Kesin Çözüm) */
.masked-orka {
    font-size: 18vw;
    font-weight: 900;
    margin: 0;
    line-height: 1;
    letter-spacing: -10px;
    text-align: center;
    text-transform: uppercase;
    
    /* Resim yolu (Buraya kendi tır/depo resmini de koyabilirsin) */
    background: url('https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?q=80&w=1500') no-repeat;
    background-size: cover;
    background-position: center;
    
    /* Tarayıcı Uyumluluğu İçin Maskeleme */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    
    /* Kenar Yumuşatma */
    -webkit-font-smoothing: antialiased;
}

/* Sayılar ve Metinler */
.counter {
    font-size: 6rem;
    font-weight: 800;
    color: #003399; /* Kurumsal Mavi */
    margin: 0;
}

.stat-suffix {
    font-size: 2.5rem;
    font-weight: 700;
    color: #003399;
    margin-left: 10px;
}

.stat-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #555;
    margin-top: 5px;
}

/* Mobil Görünüm Düzenlemesi */
@media (max-width: 768px) {
    .masked-orka {
        font-size: 25vw;
        letter-spacing: -3px;
    }
    .counter {
        font-size: 4rem;
    }
}

/* Hizmet Kartları Modernizasyon */
.service-card {
    border-radius: 20px;
    border: 1px solid rgba(0,0,0,0.05);
    text-align: left; /* Kurumsal duruş için sola yaslı */
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Üzerine gelince arkadan hafif bir renk dalgası geçsin */
.service-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    opacity: 0;
    z-index: -1;
    transition: 0.4s ease;
}

.service-card:hover {
    color: #fff !important;
    transform: translateY(-10px);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover p, .service-card:hover h4 {
    color: #fff !important;
}

/* İkon Dairesi */
.icon-circle {
    width: 70px;
    height: 70px;
    background: rgba(0, 51, 153, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary);
    transition: 0.4s;
}

.service-card:hover .icon-circle {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    transform: rotateY(360deg);
}

.divider {
    width: 50px;
    height: 3px;
    background: var(--accent);
    margin-top: 10px;
}

/* --- Form ve İletişim (G Bölümü) --- */
/* --- Gelişmiş Teklif Formu (Quote Section) --- */
.quote-section {
    background-color: #f8f9fa;
    position: relative;
}

.quote-info-panel {
    background: linear-gradient(135deg, rgba(0, 51, 153, 0.95), rgba(0, 168, 232, 0.85)), 
                url('https://images.unsplash.com/photo-1578575437130-527eed3abbec?q=80&w=1200');
    background-size: cover;
    background-position: center;
}

.custom-input {
    border: 1px solid #e0e0e0 !important;
    border-radius: 4px !important;
    padding: 12px 15px !important;
    font-size: 0.95rem;
    background-color: #fff !important;
    transition: all 0.3s ease;
}

.custom-input:focus {
    border-color: var(--accent) !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 168, 232, 0.1) !important;
    background-color: #fff !important;
}

.btn-quote-submit {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--success); /* G görselindeki yeşilimsi ton */
    border-radius: 4px 4px 20px 4px; /* G görselindeki özel kavis */
    transition: all 0.3s ease;
}

.btn-quote-submit:hover {
    background-color: var(--success);
    color: white;
    transform: translateY(-2px);
}

.ls-2 { letter-spacing: 2px; }
.w-fit { width: fit-content; }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15); }

/* Arka plan için ekstra dokunuş */
.quote-section::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 50%;
    background-color: var(--primary);
    z-index: 0;
}

.quote-section .container {
    position: relative;
    z-index: 1;
}

/* --- Footer --- */
/* --- MODERN FOOTER STİLLERİ --- */
.modern-footer {
    background-color: #2c3034; /* Gri/Antrasit arka plan */
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/e/ec/World_map_blank_without_borders.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    position: relative;
    color: #ffffff;
}

/* Noktasal görünüm efekti ve haritayı hafifletme */
.modern-footer::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    /* Haritayı gri temanın üzerine hafifçe gömer ve noktasal his verir */
    background: radial-gradient(circle, rgba(44, 48, 52, 0.7) 0%, rgba(44, 48, 52, 0.95) 100%);
    z-index: 1;
}

/* Footer içindeki içeriğin haritanın önünde kalması için */
.modern-footer .container {
    position: relative;
    z-index: 2;
}

.footer-title {
    color: #00d4ff; /* Orka mavisi başlıklar */
    font-weight: bold;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-divider {
    height: 2px;
    width: 50px;
    background: #00d4ff;
    margin-bottom: 20px;
}

.footer-links a, .footer-bottom-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #00d4ff;
    padding-left: 5px;
}



/* Linkler */
.footer-links li { margin-bottom: 12px; }
.footer-links a {
    color: #adb5bd;
    text-decoration: none;
    transition: 0.3s;
}
.footer-links a:hover {
    color: #ffffff;
    padding-left: 5px;
}

/* İletişim Bilgileri */
.footer-contact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    color: #adb5bd;
}
.footer-contact i {
    color: #ffffff;
    margin-right: 15px;
    margin-top: 5px;
    font-size: 1.1rem;
}

/* Sosyal Medya İkonları */
.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    border-radius: 50%;
    transition: 0.4s;
}
.social-icon:hover {
    background: var(--primary);
    transform: translateY(-5px);
    color: #fff;
}

/* Alt Bar */
.footer-bottom { border-color: rgba(255,255,255,0.05) !important; }
.footer-bottom-links a {
    color: #6c757d;
    text-decoration: none;
    font-size: 0.85rem;
}
.footer-bottom-links a:hover { color: #ffffff; }
.copyright {
    color: #6c757d;
    font-size: 0.85rem;
}
/* --- Yardımcı Sınıflar --- */
.text-primary { color: var(--primary) !important; }
.text-info { color: var(--accent) !important; }

/* Responsive Düzenlemeler */
@media (max-width: 992px) {
    .orka-text-mask { font-size: 25vw; letter-spacing: -3px; }
    .hero-section h1 { font-size: 2.5rem; }
}

/* Sabit Aksiyon Butonları Konteynırı */
.fixed-actions {
    position: fixed;
    right: 25px;
    bottom: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

/* Genel Buton Stili */
.action-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* WhatsApp Buton Özel Rengi */
.whatsapp-btn {
    background-color: #25D366;
}
.whatsapp-btn:hover {
    background-color: #128C7E;
    transform: scale(1.1) rotate(5deg);
}

/* Yukarı Çık Buton Özel Rengi */
.scroll-top-btn {
    background-color: var(--primary); /* Orka Mavisi */
    display: none; /* Sayfa başında gizli */
}
.scroll-top-btn:hover {
    background-color: var(--accent);
    transform: translateY(-5px);
}

/* Mobil Düzenleme */
@media (max-width: 768px) {
    .fixed-actions { right: 15px; bottom: 15px; }
    .action-btn { width: 50px; height: 50px; font-size: 20px; }
}
.blog-img {
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hover-up {
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

.hover-up:hover {
    transform: translateY(-12px);
    box-shadow: 0 15px 35px rgba(0, 51, 153, 0.15) !important;
}

.hover-up:hover .blog-img {
    transform: scale(1.08);
}

.blog-hero {
    border-bottom: 5px solid #00d4ff; /* Alt kısma Orka Mavisi bir şerit */
}

/* Ana Navbar Stili */
/* Navbar Başlangıçta Şeffaf */
.modern-nav {
    padding: 20px 0;
    transition: all 0.4s ease;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, transparent 100%);
}

/* Sayfa Kaydırıldığında Navbar Rengi */
.modern-nav.scrolled {
    background: rgba(44, 48, 52, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

/* Hero Bölümü: Resmi Tam Oturtan Kısım */
.hero-section {
    height: 100vh; /* Ekranın tam boyu */
    min-height: 700px;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2)), 
                url('tir.png') no-repeat center center;
    background-size: cover; /* Resmi kesmeden tam yayar */
    background-attachment: fixed; /* Parallax efekti sağlar */
    margin-top: 0; /* Navbar şeffaf olduğu için sıfırladık */
}

/* Navbar Link Efektleri */
.modern-nav .nav-link {
    color: #fff !important;
    letter-spacing: 0.5px;
    margin: 0 5px;
}

.modern-nav .nav-link:hover {
    color: #00d4ff !important;
}

/* Navbar TEKLİF AL Butonu */
.btn-quote-nav {
    background: var(--accent);
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
}

.btn-quote-nav:hover {
    background: var(--primary);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 51, 153, 0.3);
}

/* Mobil Alt Menü Tasarımı */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    z-index: 2000; /* Diğer her şeyin önünde olması için */
    border-top: 1px solid #eee;
    padding-bottom: env(safe-area-inset-bottom);
}

.mobile-bottom-nav .nav-item {
    color: #333;
    text-decoration: none;
    font-size: 10px;
    font-weight: 700;
    flex: 1;
}

.mobile-bottom-nav .nav-item i {
    font-size: 18px;
}

.mobile-bottom-nav .nav-item:hover, 
.mobile-bottom-nav .nav-item.active {
    color: #00d4ff;
}

/* Ortadaki Mavi Teklif Al Butonu */
.nav-center-btn {
    background: #00d4ff;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -25px auto 5px;
    color: white;
    border: 3px solid #fff;
}

/* Masaüstünde Tamamen Gizle */
@media (min-width: 992px) {
    .mobile-bottom-nav {
        display: none !important;
    }
}

/* ===== HAMBURGER MENÜ İKONU ===== */
.navbar-toggler {
    width: 40px;
    height: 36px;
    position: relative;
    padding: 0;
    outline: none !important;
    box-shadow: none !important;
}

.toggler-icon {
    display: block;
    width: 26px;
    height: 2px;
    background-color: #fff;
    margin: 5px auto;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.navbar-toggler[aria-expanded="true"] .toggler-icon:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.navbar-toggler[aria-expanded="true"] .toggler-icon:nth-child(2) {
    opacity: 0;
}
.navbar-toggler[aria-expanded="true"] .toggler-icon:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== SCROLL ANİMASYONLARI ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Kart animasyonları için gecikme */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ===== SAYFA YÜKLEME ANİMASYONU ===== */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-content img {
    width: 120px;
    animation: loaderPulse 1.2s ease-in-out infinite;
}

.loader-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #e0e0e0;
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    margin: 20px auto 0;
    animation: spin 0.8s linear infinite;
}

@keyframes loaderPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50%      { transform: scale(1.08); opacity: 0.7; }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== ÇEREZ BİLDİRİMİ ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 29, 32, 0.97);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 20px 0;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 2px solid var(--accent);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.85;
}

.cookie-banner .btn-accept {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 8px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-banner .btn-accept:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

/* ===== DİL DEĞİŞTİRME BUTONU ===== */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(255,255,255,0.1);
    padding: 5px 12px;
    border-radius: 50px;
    text-decoration: none;
    color: #fff !important;
    font-size: 0.8rem;
    font-weight: 700;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.2);
}

.lang-switch:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.4);
}

.lang-switch img {
    width: 20px;
    height: 14px;
    border-radius: 2px;
    object-fit: cover;
}

/* ===== HERO CAROUSEL ===== */
.hero-carousel {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(0,51,153,0.7) 0%, rgba(0,0,0,0.5) 100%);
}

.hero-slide .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
}

.hero-indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.hero-indicators .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.hero-indicators .dot.active {
    background: #00d4ff;
    transform: scale(1.3);
}

/* ===== MÜŞTERİ YORUMLARI ===== */
.testimonials-section {
    background: linear-gradient(135deg, #0a1628 0%, #1a2d50 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(0,212,255,0.05) 0%, transparent 50%);
    animation: floatGlow 15s ease-in-out infinite;
}

@keyframes floatGlow {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    min-height: 280px;
}

.testimonial-card {
    position: absolute;
    top: 0; left: 0; right: 0;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.testimonial-card.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.testimonial-card .quote-icon {
    font-size: 3rem;
    color: #00d4ff;
    opacity: 0.3;
}

.testimonial-card .quote-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.85);
    font-style: italic;
}

.testimonial-card .client-name {
    color: #00d4ff;
    font-weight: 700;
}

.testimonial-card .client-title {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.testimonial-dots .t-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dots .t-dot.active {
    background: #00d4ff;
    transform: scale(1.3);
}

/* ===== WHATSAPP SOHBET BALONU ===== */
.wa-chat-widget {
    position: fixed;
    bottom: 90px;
    right: 25px;
    z-index: 9000;
}

.wa-chat-popup {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 320px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    overflow: hidden;
    transform: scale(0) translateY(20px);
    transform-origin: bottom right;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.wa-chat-popup.open {
    transform: scale(1) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.wa-chat-header {
    background: #075e54;
    color: #fff;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.wa-chat-header img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.3);
}

.wa-chat-header .name {
    font-weight: 700;
    font-size: 0.95rem;
}

.wa-chat-header .status {
    font-size: 0.75rem;
    opacity: 0.8;
}

.wa-chat-body {
    padding: 20px;
    background: #e5ddd5 url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 304 304"><path fill="%23ddd6c8" fill-opacity="0.15" d="M44.3 0h4.5L0 49.6V44zm0 58.9L88.8 0H82L0 91.8V79.5zm0 58.9L132.7 0h-6.9L0 133.5v-15.7zm0 58.9L177.1 0h-6.9L0 175.2v-15.5z"/></svg>');
}

.wa-chat-bubble {
    background: #fff;
    padding: 12px 16px;
    border-radius: 0 12px 12px 12px;
    font-size: 0.9rem;
    color: #333;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    position: relative;
    line-height: 1.5;
}

.wa-chat-bubble .time {
    font-size: 0.7rem;
    color: #999;
    float: right;
    margin-left: 10px;
    margin-top: 5px;
}

.wa-chat-footer {
    padding: 12px 16px;
    border-top: 1px solid #eee;
}

.wa-chat-footer a {
    display: block;
    text-align: center;
    background: #25D366;
    color: #fff !important;
    padding: 10px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.wa-chat-footer a:hover {
    background: #128C7E;
    transform: translateY(-1px);
}

.wa-toggle-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    border: none;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    transition: all 0.3s ease;
    position: relative;
}

.wa-toggle-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37,211,102,0.5);
}

.wa-toggle-btn .badge-dot {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 14px;
    height: 14px;
    background: #ff4444;
    border-radius: 50%;
    border: 2px solid #fff;
    animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* ===== 404 SAYFASI ===== */
.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0a1628 0%, #1a2d50 100%);
    color: #fff;
    text-align: center;
}

.error-code {
    font-size: 10rem;
    font-weight: 900;
    background: linear-gradient(135deg, #00d4ff, #003399);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

/* ===== BLOG DETAY SAYFASI ===== */
.blog-detail-hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1519003722824-194d4455a60c?q=80&w=2000') center/cover;
    padding: 120px 0 60px;
    border-bottom: 5px solid #00d4ff;
}

.blog-detail-content {
    font-size: 1.1rem;
    line-height: 2;
    color: #444;
}

.blog-detail-content h2 {
    color: var(--primary);
    margin-top: 2rem;
}

.blog-detail-content blockquote {
    border-left: 4px solid #00d4ff;
    padding: 15px 25px;
    background: #f8f9fa;
    margin: 2rem 0;
    font-style: italic;
}

@media (max-width: 768px) {
    .hero-carousel { min-height: 500px; }
    .hero-slide .hero-content h1 { font-size: 2.5rem; }
    .wa-chat-popup { width: 280px; right: -10px; }
    .error-code { font-size: 6rem; }
}

/* ===== SSS ACCORDION ===== */
.faq-section { background: var(--bg-light); }

.faq-item {
    border: none;
    border-radius: 12px !important;
    overflow: hidden;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.faq-item .accordion-button {
    font-weight: 600;
    font-size: 1rem;
    padding: 20px 25px;
    background: var(--card-bg);
    color: var(--text-main);
    box-shadow: none;
}

.faq-item .accordion-button:not(.collapsed) {
    background: var(--primary);
    color: #fff;
}

.faq-item .accordion-button::after {
    filter: none;
}

.faq-item .accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}

.faq-item .accordion-body {
    padding: 20px 25px;
    background: var(--card-bg);
    color: var(--text-muted);
    line-height: 1.8;
}

/* ===== STAT PROGRESS BAR ===== */
.stat-progress {
    height: 6px;
    background: rgba(0,168,232,0.15);
    border-radius: 3px;
    overflow: hidden;
    margin-top: 10px;
}

.stat-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), #00d4ff);
    border-radius: 3px;
    width: 0;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== BREADCRUMB ===== */
.blog-breadcrumb {
    background: transparent;
    padding: 15px 0;
}

.blog-breadcrumb .breadcrumb {
    margin-bottom: 0;
    background: transparent;
}

.blog-breadcrumb .breadcrumb-item a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

.blog-breadcrumb .breadcrumb-item.active {
    color: var(--text-muted);
}

/* ===== RELATED POSTS ===== */
.related-posts { border-top: 1px solid #eee; }

.related-post-card {
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.related-post-card:hover { transform: translateY(-5px); }

.related-post-card img {
    height: 160px;
    object-fit: cover;
    width: 100%;
}

/* ===== DARK MODE TOGGLE ===== */
.dark-toggle {
    position: fixed;
    bottom: 25px;
    left: 25px;
    z-index: 9000;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.2);
    background: var(--primary);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.dark-toggle:hover {
    transform: scale(1.1);
}

/* ===== DARK MODE ===== */
body.dark-mode {
    --bg-body: #0d1117;
    --bg-light: #161b22;
    --text-main: #e6edf3;
    --text-muted: #8b949e;
    --card-bg: #161b22;
    --footer-bg: #010409;
}

body.dark-mode .modern-nav {
    background: rgba(13,17,23,0.95) !important;
}

body.dark-mode .modern-nav.scrolled {
    background: rgba(13,17,23,0.98) !important;
}

body.dark-mode .service-card,
body.dark-mode .card {
    background: var(--card-bg) !important;
    border-color: #30363d !important;
}

body.dark-mode .bg-white {
    background: var(--card-bg) !important;
}

body.dark-mode .bg-light {
    background: var(--bg-light) !important;
}

body.dark-mode .text-muted {
    color: var(--text-muted) !important;
}

body.dark-mode .shadow-sm,
body.dark-mode .shadow,
body.dark-mode .shadow-lg {
    box-shadow: 0 4px 20px rgba(0,0,0,0.3) !important;
}

body.dark-mode .quote-form-wrapper {
    background: var(--card-bg) !important;
    border-color: #30363d !important;
}

body.dark-mode .form-control,
body.dark-mode .form-select {
    background: #0d1117;
    border-color: #30363d;
    color: #e6edf3;
}

body.dark-mode h1, body.dark-mode h2,
body.dark-mode h3, body.dark-mode h4,
body.dark-mode h5, body.dark-mode h6 {
    color: #e6edf3;
}

body.dark-mode .fw-bold { color: #e6edf3; }

body.dark-mode .table { color: #e6edf3; }
body.dark-mode .table-bordered { border-color: #30363d; }

body.dark-mode .alert-warning {
    background: rgba(255,193,7,0.1);
    color: #e6edf3;
}

body.dark-mode .dark-toggle {
    background: var(--accent);
}

body.dark-mode .blog-detail-content {
    color: #c9d1d9;
}

body.dark-mode .border-top,
body.dark-mode .border-bottom {
    border-color: #30363d !important;
}

body.dark-mode .cookie-banner {
    background: #161b22;
}