html {
    scroll-behavior: smooth;
}
/* 1. GENEL AYARLAR */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
    color: #333; /* Genel metinler koyu gri (açık zemin için) */
    background-color: #f4f7f6;
}

/* 2. ÜST MENÜ (NAVBAR) - Zemin Koyu Lacivert */
.navbar {
    background-color: #002d5b;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffcc00; /* Logo her zaman sarı kalsın */
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
}

.nav-links li {
    margin-left: 20px;
}

/* Menüdeki Normal Yazılar */
.nav-links a {
    color: #ffffff !important; 
    text-decoration: none;
    font-weight: 500;
}

/* Menüdeki TELEFON NUMARASI (Parlak ve Görünür) */
.nav-links a[href^="tel"] {
    color: #ffcc00 !important; 
    font-weight: bold;
    font-size: 1.1rem;
    border: 1px solid #ffcc00;
    padding: 5px 12px;
    border-radius: 5px;
}

/* 3. ANA GİRİŞ ALANI (HERO) */
.hero {
    background: linear-gradient(rgba(0,45,91,0.7), rgba(0,45,91,0.7)); 
    background-size: cover;
    background-position: center;
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white; /* Yazılar beyaz */
    padding: 0 20px;
}

.hero h1 {
    font-size: 2.5rem;
    color: #ffcc00; /* Başlık sarı olsun, dikkat çeksin */
    margin-bottom: 1rem;
}

.btn-ana {
    display: inline-block;
    background: #ffcc00;
    color: #002d5b !important;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    margin-top: 20px;
}

/* 4. HİZMET KARTLARI (Açık Zemin - Koyu Yazı) */
.bolum-basligi {
    text-align: center;
    margin: 40px 0;
    font-size: 2rem;
    color: #002d5b;
}

.kart-konteynir {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 0 5%;
}

.kart {
    background: white;
    width: 300px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.kart h3 {
    color: #002d5b; /* Kart başlığı koyu mavi */
    margin-bottom: 10px;
}

.kart p {
    color: #555; /* Kart açıklaması gri (okunabilir) */
}

.kart img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
}

/* 5. VİDEO ALANI */
.yaptiklarimiz {
    background: #eef2f7;
    padding: 60px 5%;
    text-align: center;
}

.video-kutu {
    max-width: 750px;
    margin: 20px auto;
    border: 4px solid #002d5b;
    border-radius: 12px;
    overflow: hidden;
}

/* 6. ALT KISIM (FOOTER) - Koyu Zemin - Açık Yazı */
footer {
    background: #001a33;
    color: #ffffff;
    padding: 50px 5% 20px;
}

.footer-kutu {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-sutun h3, .footer-sutun h4 {
    color: #ffcc00 !important; /* Footer başlıkları sarı */
    margin-bottom: 15px;
}

.footer-sutun p {
    color: #ffffff !important; /* Footer metinleri bembeyaz */
    margin-bottom: 10px;
}

.footer-sutun b {
    color: #ffcc00; /* Kalın yazılar sarı (Örn: Tel:, Adres:) */
}

.sosyal-medya a {
    display: inline-block;
    background: #004ead;
    color: #ffffff !important;
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 5px;
    margin-right: 10px;
    font-size: 0.9rem;
}

.copyright {
    text-align: center;
    padding: 20px;
    margin-top: 30px;
    border-top: 1px solid #1a3a5a;
    color: #aaa; /* En alttaki telif yazısı sönük gri */
}

/* 7. SABİT WHATSAPP BUTONU */
.whatsapp-fixed {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25d366;
    color: white !important;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 9999;
}
.slider-section {
    padding: 60px 5%;
    background: #f0f5ff;
    overflow: hidden;
}

.slider-konteynir {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    overflow: hidden; /* Dışarı taşan resimleri gizle */
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 15px;
}

.slide {
    min-width: calc(33.33% - 10px); /* Aynı anda 3 tane gösterir */
}

.slide img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    border: 3px solid #002d5b;
}

/* Butonlar */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 45, 91, 0.8);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
}

.prev { left: 10px; }
.next { right: 10px; }

@media (max-width: 768px) {
    .slide { min-width: 100%; } /* Mobilde tek resim gösterir */
}
/* Arka plandaki siyah karartma */
.modal {
  display: none; 
  position: fixed;
  z-index: 10000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.9); /* Resim açılınca arkası kararsın */
}

/* Kapatma butonu (X) */
.kapat {
  position: absolute;
  top: 20px; right: 35px;
  color: #fff; font-size: 40px; font-weight: bold;
  cursor: pointer;
}

/* Açılan büyük resim */
.modal-icerik {
  margin: auto;
  display: block;
  max-width: 80%;
  max-height: 80vh;
  margin-top: 5%;
  border: 5px solid white;
  border-radius: 10px;
}
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1; /* Yazıların arkasında kalsın */
}

.hero-icerik {
    position: relative;
    z-index: 2; /* Yazılar önde görünsün */
}

.hero {
    position: relative; /* Efektin hero dışına taşmaması için */
    overflow: hidden;
}
@keyframes titret {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.whatsapp-fixed {
    animation: titret 2s infinite; /* 2 saniyede bir hafifçe büyüyüp küçülür */
}
/* --- MOBİL UYUMLULUK AYARLARI --- */
@media screen and (max-width: 768px) {
    
    /* 1. Menü: Yan yana sığmaz, o yüzden dikey yapıyoruz */
    .nav-links {
        display: none; /* Şimdilik menüyü gizleyebiliriz ya da alt alta dizebiliriz */
        /* Eğer menü görünsün istersen 'flex' yapıp 'flex-direction: column' ekle */
    }
    
    .navbar {
        justify-content: center; /* Logoyu ortala */
        padding: 15px;
    }

    /* 2. Hero (Giriş): Yazıları küçültelim ki ekrandan taşmasın */
    .hero h1 {
        font-size: 1.8rem !important;
        padding: 0 10px;
    }
    
    .hero p {
        font-size: 1rem;
    }

    /* 3. Hizmet Kartları: 3 tane yan yana sığmaz, tek tek alt alta dizelim */
    .kart-konteynir {
        flex-direction: column;
        align-items: center;
    }

    .kart {
        width: 90% !important; /* Ekranın %90'ını kaplasın */
        margin-bottom: 20px;
    }

    /* 4. Sayılar (Sayaç): Yan yana çok sıkışır, alt alta gelsin */
    .sayac-alani {
        flex-direction: column;
        gap: 40px;
    }

    /* 5. Galeri (Slider): Mobilde tek resim gösterelim */
    .slide {
        min-width: 100% !important;
    }
    
    .slider-track {
        gap: 0;
    }

    /* 6. Footer: Sütunları alt alta diz */
    .footer-kutu {
        flex-direction: column;
        text-align: center;
    }

    .footer-sutun {
        width: 100%;
        margin-bottom: 30px;
    }

    /* 7. WhatsApp Butonu: Mobilde biraz daha küçük ve yukarıda dursun */
    .whatsapp-fixed {
        padding: 10px 15px;
        font-size: 14px;
        bottom: 15px;
        right: 15px;
    }

    /* 8. Resim Modal (Büyük Resim): Mobilde ekranı tam kaplasın */
    .modal-icerik {
        max-width: 95%;
        margin-top: 25%;
    }
}
.form-bolumu {
    padding: 80px 5%;
    background-color: #f4f7f6;
    text-align: center;
}

.form-konteynir {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.input-grubu {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-konteynir input, .form-konteynir textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
}

.form-konteynir input:focus, .form-konteynir textarea:focus {
    border-color: #002d5b;
}

.btn-gonder {
    background-color: #ffcc00;
    color: #002d5b;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: 0.3s;
    width: 100%;
}

.btn-gonder:hover {
    background-color: #e6b800;
    transform: translateY(-3px);
}

/* Mobilde inputları alt alta getir */
@media (max-width: 600px) {
    .input-grubu {
        flex-direction: column;
    }
}
.logo img {
    height: 50px;       /* Logonu yüksekliğini belirle (Navbar yüksekliğinden az olsun) */
    width: auto;        /* Genişliği oranlı şekilde kendi ayarlar */
    display: block;     /* Altındaki hayalet boşlukları siler */
    transition: 0.3s;   /* Fare gelince küçülme/büyüme efekti için hazırlık */
    cursor: default;
}

.logo img:hover {
    transform: scale(1.05); /* Fare üzerine gelince logoyu %5 büyütür, tatlı durur */
}
/* 1. Linklerin temel hali (Daha yumuşak geçiş için transition şart) */
.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    font-size: 1.1rem;
    display: inline-block; /* Büyüme efektinin (transform) çalışması için bu şart */
    transition: all 0.3s ease; /* Renk ve boyut değişimini 0.3 saniyeye yayar, yağ gibi kayar */
}

/* 2. Mouse üzerine geldiğinde (Hover durumu) */
.nav-links a:hover {
    color: #ffcc00; /* İstediğin o sarı tona döner */
    transform: scale(1.2)  translateY(-5px); /* Linki %15 oranında büyütür */
    text-shadow: 0 0 10px rgba(255, 204, 0, 0.4); /* Yazının arkasına hafif bir parlama verir */
}

/* 3. Tıklandığı an (Active durumu - opsiyonel) */
.nav-links a:active {
    transform: scale(0.95); /* Basıldığında hafifçe içe çöker, buton hissi verir */
}
/* Linklerin altına görünmez bir çizgi ekler */
.nav-links a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #ffcc00;
    transition: width 0.3s;
}

/* Üzerine gelince çizgi %100 uzar */
.nav-links a:hover::after {
    width: 100%;
}
/* --- MOBİL MENÜ MEKANİZMASI --- */

/* 1. Hamburger Buton Tasarımı (PC'de Gizli) */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001; /* Menünün üstünde kalsın */
}

.bar {
    width: 25px;
    height: 3px;
    background-color: white;
    transition: 0.3s;
}

/* 2. MOBİL AYARLAR (768px altı ekranlar için) */
@media screen and (max-width: 768px) {
    .menu-toggle {
        display: flex; /* Sadece mobilde göster */
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%; /* Başlangıçta ekranın dışında gizli */
        width: 70%; /* Ekranın %70'ini kaplasın */
        height: 100vh;
        background-color: #002d5b; /* Navbar ile aynı renk */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: 0.4s ease-in-out;
        box-shadow: -5px 0 15px rgba(0,0,0,0.5);
        z-index: 1000;
    }

    /* JS ile 'active' sınıfı gelince menü içeri kayar */
    .nav-links.active {
        right: 0;
    }

    /* Hamburger butonu 'X' animasyonu (opsiyonel ama şık durur) */
    .menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.is-active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}
/* Arka plandaki siyah karartma */
.modal {
    display: none; 
    position: fixed;
    z-index: 10000; /* Her şeyin üstünde olması için */
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.9);
}

/* Kapatma butonu (X) */
.kapat {
    position: absolute;
    top: 20px; right: 35px;
    color: #fff; font-size: 40px; font-weight: bold;
    cursor: pointer;
}

/* Açılan büyük resim */
.modal-icerik {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    margin-top: 5vh;
    border: 5px solid white;
    border-radius: 10px;
    animation: zoom 0.3s; /* Açılış efekti */
}

@keyframes zoom {
    from {transform: scale(0)} 
    to {transform: scale(1)}
}

/* Slider içindeki resimlere büyüteç kursörü ekle */
.slide img { cursor: zoom-in; }
@media screen and (max-width: 768px) {
    /* Navbar elemanlarını birbirinden uzaklaştır */
    .navbar {
        justify-content: space-between !important; /* Logoyu sola, butonu sağa iter */
        padding: 10px 5% !important;
        display: flex !important;
        align-items: center !important;
    }

    /* Menü butonunun yerini sabitle */
    .menu-toggle {
        display: flex !important;
        order: 2; /* Logodan sonra gelmesini sağlar */
    }

    .logo {
        order: 1; /* Logonun en başta kalmasını sağlar */
    }
    
    /* Logo mobilde çok büyükse biraz küçültelim ki butona alan kalsın */
    .logo img {
        height: 40px !important;
    }
}
/* --- MOBİL ÇAKIŞMA VE MENÜ DÜZELTMESİ --- */
@media screen and (max-width: 768px) {
    /* 1. Navbar Elemanlarını Birbirinden Uzaklaştır */
    .navbar {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 10px 5% !important;
    }

    .logo {
        flex: 0 1 auto !important;
    }

    .logo img {
        height: 40px !important; /* Mobilde logoyu biraz küçült ki butona yer kalsın */
        width: auto !important;
    }

    /* 2. Menü Butonunu Görünür Yap ve Sağa Yasla */
    .menu-toggle {
        display: flex !important;
        flex-direction: column !important;
        cursor: pointer !important;
        margin-left: auto !important;
        z-index: 1100 !important;
    }

    /* 3. Açılır Menü Ayarları (Görünmüyorsa Bunu Düzeltir) */
    .nav-links {
        display: flex !important; /* display: none varsa onu ezer */
        position: fixed !important;
        top: 0 !important;
        right: -100% !important; /* Kapalıyken gizler */
        width: 70% !important;
        height: 100vh !important;
        background-color: #002d5b !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        transition: 0.4s ease-in-out !important;
        z-index: 1050 !important;
    }

    /* JavaScript tıklandığında menüyü içeri çeker */
    .nav-links.active {
        right: 0 !important;
    }

    .nav-links li {
        margin: 20px 0 !important;
        margin-left: 0 !important; /* Masaüstü marginini sıfırla */
    }

    /* 4. Hamburger Çizgilerini Renklendir */
    .bar {
        background-color: #ffcc00 !important; /* Çizgileri sarı yap ki lacivertte görünsün */
        width: 25px !important;
        height: 3px !important;
        margin-bottom: 5px !important;
    }
}
/* --- MOBİL NİHAİ DÜZELTME (HİÇBİR ŞEYİ SİLMEDEN EKLE) --- */
@media screen and (max-width: 768px) {
    /* Navbar'ı yatay düzleme zorla ve elemanları iki uca fırlat */
    .navbar {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important; 
        align-items: center !important;
        padding: 10px 5% !important;
        height: 70px !important;
    }

    /* Logo Konumu: En Sol */
    .logo {
        margin: 0 !important;
        display: block !important;
        order: 1 !important; /* En başta durmasını garanti eder */
    }

    .logo img {
        height: 40px !important;
        width: auto !important;
    }

    /* Menü Butonu Konumu: En Sağ */
    .menu-toggle {
        display: flex !important;
        flex-direction: column !important;
        margin-left: auto !important; /* Sağa yaslar */
        order: 2 !important; /* Logodan sonra gelmesini garanti eder */
        z-index: 1100 !important;
        padding: 5px !important;
    }

    /* Çizgilerin görünürlüğü */
    .bar {
        background-color: #ffcc00 !important; 
        display: block !important;
        width: 25px !important;
        height: 3px !important;
        margin: 4px 0 !important;
    }

    /* Menü Listesi (Açılan Çekmece) */
    .nav-links {
        display: flex !important; 
        position: fixed !important;
        top: 0 !important;
        right: -100% !important; /* Kapalıyken gizli */
        width: 75% !important;
        height: 100vh !important;
        background-color: #002d5b !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        transition: 0.4s ease-in-out !important;
        z-index: 1050 !important;
        list-style: none !important;
    }

    /* Menü Açıldığında */
    .nav-links.active {
        right: 0 !important;
    }

    .nav-links li {
        margin: 20px 0 !important;
        display: block !important;
    }
}
/* --- LOGO ORTADA, MENÜ SOLDAN AÇILSIN --- */
@media screen and (max-width: 768px) {
    .navbar {
        display: flex !important;
        justify-content: center !important; /* Logoyu ortalamak için ana kutuyu merkeze odakla */
        position: relative !important;
        height: 80px !important;
        padding: 0 10px !important;
    }

    /* Üç Çizgi Butonunu En Sola Sabitle */
    .menu-toggle {
        display: flex !important;
        position: absolute !important;
        left: 15px !important; /* Sol kenardan boşluk */
        top: 50% !important;
        transform: translateY(-50%) !important; /* Dikeyde ortala */
        z-index: 1100 !important;
    }

    /* Logoyu Tam Merkeze Al */
    .logo {
        margin: 0 auto !important;
        display: block !important;
    }

    .logo img {
        height: 45px !important; /* Boyutu koru */
        width: auto !important;
    }

    /* Menü Çekmecesi Soldan Gelsin (Buton Solda Olduğu İçin) */
    .nav-links {
        display: flex !important;
        position: fixed !important;
        top: 0 !important;
        left: -100% !important; /* Başlangıçta solda gizli */
        right: auto !important; /* Sağ ayarı iptal et */
        width: 75% !important;
        height: 100vh !important;
        background-color: #002d5b !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        transition: 0.4s ease-in-out !important;
        z-index: 1050 !important;
    }

    /* Menü Açıldığında Soldan İçeri Girer */
    .nav-links.active {
        left: 0 !important;
    }

    .nav-links li {
        margin: 15px 0 !important;
    }
}
/* WHATSAPP LOGO SABİTLEME */
.whatsapp-fixed {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    width: 60px !important;
    height: 60px !important;
    background-color: #25d366 !important;
    border-radius: 50% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    z-index: 9999 !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3) !important;
    animation: titret 2s infinite !important;
}

/* SVG Logonun Boyutu */
.whatsapp-fixed svg {
    width: 35px !important;
    height: 35px !important;
}

/* Üstüne gelince hafif büyüme efekti */
.whatsapp-fixed:hover {
    transform: scale(1.1) !important;
    background-color: #1ebea5 !important;
}

/* Mobilde butonun biraz küçülmesi */
@media screen and (max-width: 768px) {
    .whatsapp-fixed {
        width: 50px !important;
        height: 50px !important;
        bottom: 15px !important;
        right: 15px !important;
    }
    .whatsapp-fixed svg {
        width: 30px !important;
        height: 30px !important;
    }
}
/* WHATSAPP BUTON TASARIMI */
.whatsapp-fixed {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    background-color: #25d366 !important;
    display: flex !important;
    align-items: center !important;
    padding: 5px 20px 5px 5px !important; /* Sol tarafı logonun yuvarlağına göre daralttık */
    border-radius: 50px !important;
    text-decoration: none !important;
    z-index: 10001 !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2) !important;
    transition: 0.3s !important;
    animation: titret 2s infinite !important;
}

/* Logonun olduğu beyaz yuvarlak alan (isteğe bağlı, daha şık durur) */
.wa-logo-kutu {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1); /* Hafif şeffaf beyaz */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
}

.wa-logo-kutu svg {
    width: 30px;
    height: 30px;
}

.wa-yazi {
    color: white !important;
    font-weight: bold !important;
    font-size: 15px !important;
    white-space: nowrap !important;
}

.whatsapp-fixed:hover {
    transform: scale(1.05) !important;
    background-color: #1ebea5 !important;
}

/* Mobilde boyut ayarı */
@media screen and (max-width: 768px) {
    .whatsapp-fixed {
        padding: 4px 15px 4px 4px !important;
        bottom: 15px !important;
        right: 15px !important;
    }
    .wa-logo-kutu {
        width: 35px;
        height: 35px;
    }
    .wa-logo-kutu svg {
        width: 22px;
        height: 22px;
    }
    .wa-yazi {
        font-size: 13px !important;
    }
}
/* SADECE YUVARLAK WHATSAPP LOGOSU */
.whatsapp-fixed {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    width: 60px !important;
    height: 60px !important;
    background-color: #25d366 !important;
    border-radius: 50% !important; /* Tam yuvarlak */
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    z-index: 9999 !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3) !important;
    transition: transform 0.3s ease !important;
    animation: titret 2s infinite !important;
}

.whatsapp-fixed svg {
    width: 35px !important;
    height: 35px !important;
}

.whatsapp-fixed:hover {
    transform: scale(1.1) !important; /* Üstüne gelince hafif büyüme */
}

/* Mobilde boyutu biraz küçültelim */
@media screen and (max-width: 768px) {
    .whatsapp-fixed {
        width: 50px !important;
        height: 50px !important;
        bottom: 15px !important;
        right: 15px !important;
    }
    .whatsapp-fixed svg {
        width: 30px !important;
        height: 30px !important;
    }
}
#my-form-status {
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

/* --- WHATSAPP LOGO MILIMETRIK ORTALAMA --- */
.whatsapp-fixed {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    width: 60px !important;
    height: 60px !important;
    background-color: #25d366 !important;
    border-radius: 50% !important;
    
    /* Ortalamayı Garanti Eden Ayarlar */
    display: flex !important;
    justify-content: center !important; /* Yatayda orta */
    align-items: center !important;     /* Dikeyde orta */
    padding: 0 !important;              /* Kaymaya sebep olan iç boşluğu siler */
    margin: 0 !important;
    
    z-index: 10001 !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3) !important;
    animation: titret 2s infinite !important;
}

.whatsapp-fixed svg {
    width: 35px !important;
    height: 35px !important;
    display: block !important;
    margin: 0 !important; /* Dış boşluğu sıfırla */
    flex-shrink: 0 !important; /* Logonun ezilmesini engeller */
}

/* Mobilde Ortalama ve Boyut */
@media screen and (max-width: 768px) {
    .whatsapp-fixed {
        width: 50px !important;
        height: 50px !important;
        bottom: 15px !important;
        right: 15px !important;
    }
    .whatsapp-fixed svg {
        width: 28px !important;
        height: 28px !important;
    }
}
/* TEL NUMARALARINI MOBİLDE DÜZELT */
@media screen and (max-width: 768px) {
    .nav-links a[href^="tel"] {
        display: block !important;
        width: 90% !important;
        text-align: center !important;
        margin: 10px auto !important;
        padding: 12px 20px !important;
        font-size: 1rem !important;
    }
}
/* MOBİLDE BUTONLARI ALT ALTA DİZ */
@media screen and (max-width: 768px) {
    .hero-icerik {
        padding: 0 15px !important;
    }
    
    .btn-ana {
        display: block !important;
        width: 90% !important;
        max-width: 350px !important;
        margin: 15px auto !important;
        padding: 15px 20px !important;
        font-size: 1rem !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }
    
    /* Hero başlığını da küçült ki taşmasın */
    .hero h1 {
        font-size: 1.4rem !important;
        line-height: 1.3 !important;
        margin-bottom: 20px !important;
    }
    
    .hero p {
        font-size: 0.95rem !important;
        margin-bottom: 10px !important;
    }
}
.sayac-alani {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 60px 5%;
    background: white;
    flex-wrap: wrap;
}

.sayac-kutu {
    text-align: center;
    min-width: 150px;
}

.sayac-kutu .sayi {
    display: block;
    font-size: 3rem;
    font-weight: bold;
    color: #002d5b;
}

.sayac-kutu p {
    font-size: 1rem;
    color: #555;
    margin-top: 10px;
}

/* SAYAÇ ALANINI MOBİLE UYARLA */
.sayac-alani {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 50px 5%;
    background: white;
    flex-wrap: wrap;
}

.sayac-kutu {
    text-align: center;
    min-width: 120px;
    padding: 20px;
}

.sayac-kutu .sayi {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: #002d5b;
    margin-bottom: 10px;
}

.sayac-kutu p {
    font-size: 0.9rem;
    color: #555;
    font-weight: 500;
}

/* MOBİLDE TEK SÜTUN OLSUN */
@media screen and (max-width: 768px) {
    .sayac-alani {
        flex-direction: column;
        align-items: center;
        gap: 40px;
        padding: 40px 20px;
    }
    
    .sayac-kutu {
        width: 100%;
        max-width: 250px;
        background: #f8f9fa;
        border-radius: 15px;
        padding: 25px;
        box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    }
    
    .sayac-kutu .sayi {
        font-size: 3rem;
        color: #ffcc00;
        text-shadow: 2px 2px 0 #002d5b;
    }
    
    .sayac-kutu p {
        font-size: 1rem;
        color: #002d5b;
        font-weight: 600;
    }
}
/* SAYAÇ ALANINI DÜZELT (PC + MOBİL) */
.sayac-alani {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    padding: 60px 5%;
    background: #ffffff; /* Beyaz zemin */
    flex-wrap: wrap;
}

.sayac-kutu {
    text-align: center;
    min-width: 150px;
}

.sayac-kutu .sayi {
    display: block;
    font-size: 3.5rem;
    font-weight: bold;
    color: #002d5b !important; /* Koyu mavi (PC'deki gibi) */
    margin-bottom: 15px;
}

.sayac-kutu p {
    font-size: 1.1rem;
    color: #555555 !important; /* Alt yazılar gri */
    font-weight: 500;
}

/* MOBİLDE DÜZEN */
@media screen and (max-width: 768px) {
    .sayac-alani {
        flex-direction: row !important; /* Yan yana kalsın */
        gap: 30px;
        padding: 50px 20px;
        justify-content: space-around;
    }
    
    .sayac-kutu {
        min-width: 90px;
        flex: 1;
    }
    
    .sayac-kutu .sayi {
        font-size: 2.2rem !important;
        color: #002d5b !important; /* Mobilde de koyu mavi */
    }
    
    .sayac-kutu p {
        font-size: 0.85rem !important;
        color: #555555 !important; /* Mobilde de gri */
        line-height: 1.3;
    }
}
/* MOBİLDE SAYAÇ TAŞMASINI ÖNLE */
@media screen and (max-width: 768px) {
    .sayac-alani {
        flex-direction: row !important;
        gap: 15px !important; /* Boşluğu azalt */
        padding: 50px 10px !important;
        justify-content: space-between !important;
    }
    
    .sayac-kutu {
        min-width: 80px !important; /* Genişliği azalt */
        max-width: 100px !important;
        flex: 1 !important;
        padding: 10px 5px !important;
    }
    
    .sayac-kutu .sayi {
        font-size: 1.8rem !important; /* Sayıyı küçült */
        color: #002d5b !important;
        white-space: nowrap !important;
    }
    
    .sayac-kutu p {
        font-size: 0.75rem !important;
        color: #555555 !important;
        line-height: 1.2 !important;
        word-break: break-word !important; /* Uzun kelimeleri böl */
    }
}

/* Çok küçük ekranlar için (360px altı) */
@media screen and (max-width: 400px) {
    .sayac-kutu .sayi {
        font-size: 1.5rem !important;
    }
    
    .sayac-kutu p {
        font-size: 0.7rem !important;
    }
}
.logo a {
    font-size: 1.8rem;
    font-weight: 900;
    color: #ffcc00 !important;
    text-decoration: none;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    font-family: 'Arial Black', sans-serif;
}

.logo a:hover {
    color: #ffffff !important;
    transform: scale(1.05);
    transition: 0.3s;
}

/* Mobilde logoyu küçült */
@media screen and (max-width: 768px) {
    .logo a {
        font-size: 1.3rem !important;
        letter-spacing: 1px;
    }
}
/* PC İÇİN LOGO HOVER EFEKTLERİ */
.logo a {
    font-size: 1.8rem;
    font-weight: 900;
    color: #ffcc00 !important;
    text-decoration: none;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    font-family: 'Arial Black', sans-serif;
    display: inline-block;
    position: relative;
    transition: all 0.3s ease;
}

/* Alt çizgi (başlangıçta boş) */
.logo a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 3px;
    background: #ffcc00;
    transition: width 0.4s ease;
}

/* Hover: Büyüt, yukarı çık, alt çizgi dolsun */
.logo a:hover {
    transform: scale(1.15) translateY(-5px);
    color: #ffffff !important;
}

.logo a:hover::after {
    width: 100%; /* Alt çizgi tamamen dolar */
}

/* Mobilde hover efektlerini kaldır */
@media screen and (max-width: 768px) {
    .logo a {
        font-size: 1.3rem !important;
        letter-spacing: 1px;
    }
    
    .logo a:hover {
        transform: none !important; /* Mobilde büyüme/kaydırma yok */
    }
    
    .logo a::after {
        display: none; /* Mobilde alt çizgi yok */
    }
}

/* PC İÇİN LOGO HOVER EFEKTLERİ */
.logo {
    display: inline-block;
    overflow: visible !important; /* Çizginin taşmasına izin ver */
}

.logo a {
    font-size: 1.8rem;
    font-weight: 900;
    color: #ffcc00 !important;
    text-decoration: none;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    font-family: 'Arial Black', sans-serif;
    display: inline-block;
    position: relative;
    transition: all 0.3s ease;
    padding-bottom: 5px; /* Çizgi ile yazı arasına mesafe */
}

/* Alt çizgi (başlangıçta boş) */
.logo a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0; /* Başlangıçta genişlik yok */
    height: 3px;
    background: #ffcc00;
    transition: width 0.4s ease-in-out;
    z-index: 99; /* En üstte göründüğünden emin ol */
}

/* Hover: Büyüt ve alt çizgi dolsun */
.logo a:hover {
    transform: scale(1.1) translateY(-3px);
    color: #ffffff !important;
}

.logo a:hover::after {
    width: 100%; /* Hover olunca çizgi boydan boya dolar */
}

/* Mobilde efektleri kapat */
@media screen and (max-width: 768px) {
    .logo a {
        font-size: 1.3rem !important;
        transform: none !important;
    }
    .logo a::after {
        display: none !important;
    }
}


/* --- ESKİ KODLARI EZEN MODERN NAVBAR --- */
.navbar {
    background: rgba(0, 45, 91, 0.8) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    position: fixed !important;
    padding: 0.8rem 8% !important;
    height: 80px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.logo a {
    font-family: 'Arial Black', sans-serif !important;
    color: #ffffff !important;
    font-size: 1.6rem !important;
    display: flex !important;
    align-items: center !important;
}

.logo a::before {
    content: "AGA ";
    color: #ffcc00 !important;
    margin-right: 5px;
}

.nav-links {
    gap: 30px !important;
}

.nav-links a {
    font-weight: 600 !important;
    font-size: 1rem !important;
    transition: 0.3s !important;
}

/* YENİ BUTON STİLİ */
.nav-call-btn {
    background: #ffcc00 !important;
    color: #002d5b !important;
    padding: 10px 22px !important;
    border-radius: 50px !important;
    font-weight: bold !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    box-shadow: 0 4px 15px rgba(255, 204, 0, 0.3) !important;
}

/* Mobilde çakışma olmaması için */
@media screen and (max-width: 768px) {
    .nav-call-btn {
        display: none !important;
    }
    .navbar {
        height: 70px !important;
        background: #002d5b !important; /* Mobilde şeffaflık bazen kötü durur */
    }
}
/* --- RESİM VE MENÜ DÜZELTME --- */
.hero {
    /* Klasörün içindeyse yolu böyle yazıyoruz */
    background-image: linear-gradient(rgba(0, 45, 91, 0.6), rgba(0, 45, 91, 0.6)), 
                      url('web.mp4/kamyon.jpeg') !important; 
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    height: 85vh !important; /* Resmin daha iyi görünmesi için biraz büyüttük */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* NAVBAR ELEMANLARINI YAN YANA DÜZGÜN DİZ */
.navbar {
    display: flex !important;
    flex-direction: row !important; /* Yan yana gelmeye zorla */
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0 5% !important;
    height: 85px !important;
    gap: 10px !important;
}

/* Logo ve Yazı Hizasını Düzelt */
.logo {
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
}

/* Linkleri Merkeze Al ve Sıkışıklığı Gider */
.nav-links {
    display: flex !important;
    flex-direction: row !important;
    list-style: none !important;
    gap: 20px !important; /* Linklerin arası */
    margin: 0 auto !important;
    padding: 0 !important;
}

/* Sağdaki Sarı Butonun Ezilmesini Engelle */
.nav-call-btn {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    padding: 10px 18px !important;
    font-size: 0.9rem !important;
}

/* Mobilde Menü Patlamasın Diye Linkleri ve Butonu Gizle (Hamburger kalsın) */
@media screen and (max-width: 992px) {
    .nav-links, .nav-call-btn {
        display: none !important;
    }
}
/* --- MODERN NAVBAR DÜZELTME --- */
.navbar {
    display: flex !important;
    justify-content: space-between !important; /* Elemanları iki uca fırlatır */
    align-items: center !important;
    background: rgba(0, 45, 91, 0.85) !important; /* Resimdeki o derin lacivert */
    backdrop-filter: blur(12px) !important;
    height: 85px !important;
    padding: 0 5% !important;
    position: fixed !important;
    top: 0 !important;
    width: 100% !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    z-index: 1000 !important;
}

/* Linkleri Tam Ortaya Al */
.nav-links {
    display: flex !important;
    list-style: none !important;
    gap: 30px !important; /* Linklerin arası ferah olsun */
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
}

.nav-links a {
    color: white !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    font-size: 1rem !important;
}

/* Logo Stili */
.logo a {
    font-family: 'Arial Black', sans-serif !important;
    font-size: 1.5rem !important;
    color: white !important;
}

.logo a::before {
    content: "AGA ";
    color: #ffcc00 !important;
}

/* SAĞDAKİ BUTON (Ezilmemesi için) */
.nav-call-btn {
    background: #ffcc00 !important;
    color: #002d5b !important;
    padding: 12px 24px !important;
    border-radius: 50px !important;
    font-weight: bold !important;
    text-decoration: none !important;
    white-space: nowrap !important; /* Yazı asla iki satıra bölünmez */
    box-shadow: 0 4px 15px rgba(255, 204, 0, 0.3) !important;
    margin-left: auto !important; /* Butonu en sağa iter */
}

/* Hero Resmini ve 3D Efekti Temizleme */
.hero {
    background: linear-gradient(rgba(0, 45, 91, 0.5), rgba(0, 45, 91, 0.5)), 
                url('web.mp4/kamyon.jpeg') !important;
    background-size: cover !important;
    background-position: center !important;
    height: 100vh !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding-top: 85px !important; /* Menünün altında kalmaması için */
}

/* Mobilde Menü Karmaşasını Engelle */
@media screen and (max-width: 992px) {
    .nav-links, .nav-call-btn {
        display: none !important;
    }
    .navbar {
        justify-content: space-between !important;
    }
}
/* --- MODERN NAVBAR NİHAİ DÜZELTME --- */
.navbar {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    background: rgba(0, 45, 91, 0.8) !important; /* Resimdeki cam efekti */
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    height: 85px !important;
    padding: 0 5% !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 2000 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Linkleri Tam Merkeze Almak İçin Sihirli Formül */
.nav-links {
    display: flex !important;
    list-style: none !important;
    gap: 35px !important;
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
}

.nav-links a {
    color: white !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    font-size: 1.05rem !important;
    transition: 0.3s !important;
}

/* Sağdaki Sarı Buton */
.nav-call-btn {
    background: #ffcc00 !important;
    color: #002d5b !important;
    padding: 12px 22px !important;
    border-radius: 50px !important;
    font-weight: bold !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    box-shadow: 0 4px 15px rgba(255, 204, 0, 0.4) !important;
    margin-left: auto !important; /* En sağa iter */
}

/* KAMYON RESMİNİ DÜZELTME */
.hero {
    /* Resmin klasör yoluna dikkat: web.mp4 klasörü içindeyse */
    background: linear-gradient(rgba(0, 45, 91, 0.4), rgba(0, 45, 91, 0.4)), 
                url('aganakliyat2.jpeg') !important;
    background-size: cover !important;
    background-position: center 30% !important; /* Kamyonu biraz yukarı çektik */
    background-attachment: fixed !important;
    height: 100vh !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding-top: 85px !important;
}

/* Mobilde Menü Patlamasın */
@media screen and (max-width: 992px) {
    .nav-links, .nav-call-btn {
        display: none !important;
    }
}
/* --- MOBİL ÖZEL AYARLAR --- */
@media screen and (max-width: 768px) {
    .hero {
        /* Mobilde resmi sabit tutma (fixed) devre dışı bırakılır, daha stabil çalışır */
        background-attachment: scroll !important; 
        background-position: center center !important;
        height: 70vh !important; /* Telefon ekranı için daha ideal yükseklik */
    }

    .navbar {
        height: 70px !important;
        padding: 0 5% !important;
    }

    /* Menü açıldığında görünmesi için gereken mobil CSS */
    .nav-links.active {
        display: flex !important;
        flex-direction: column !important;
        position: fixed !important;
        top: 70px !important;
        left: 0 !important;
        width: 100% !important;
        height: auto !important;
        background: rgba(0, 45, 91, 0.95) !important;
        padding: 20px 0 !important;
        z-index: 1500 !important;
    }
}
/* --- MOBİL VE RESİM NİHAİ DÜZELTME --- */
@media screen and (max-width: 768px) {
    .hero {
        /* Mobilde arka planı fixed yaparsan resim kaybolur, scroll yapıyoruz */
        background-attachment: scroll !important;
        background-image: linear-gradient(rgba(0, 45, 91, 0.6), rgba(0, 45, 91, 0.6)), 
                          url('aganakliyat2.jpeg') !important;
        background-size: cover !important;
        background-position: center center !important;
        height: 70vh !important;
    }

    /* Menü açıldığında her şeyin üstünde ve düzgün dursun */
    .nav-links.active {
        display: flex !important;
        flex-direction: column !important;
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        width: 75% !important;
        height: 100vh !important;
        background: rgba(0, 26, 51, 0.98) !important;
        justify-content: center !important;
        align-items: center !important;
        z-index: 999 !important;
        box-shadow: -5px 0 15px rgba(0,0,0,0.5) !important;
    }
}
/* --- MOBİL MENÜ YAZI VE HİZALAMA DÜZELTMESİ --- */
@media screen and (max-width: 768px) {
    /* Menü listesinin (çekmecenin) kendisi */
    .nav-links {
        display: none !important; /* Başlangıçta gizli */
        position: fixed !important;
        top: 0 !important;
        left: -100% !important; /* Soldan açılması için */
        width: 80% !important; /* Ekranın %80'ini kaplasın */
        height: 100vh !important;
        background: #002d5b !important; /* Koyu lacivert (opak, şeffaf değil) */
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        transition: 0.4s ease-in-out !important;
        z-index: 2001 !important;
        padding: 0 !important;
        box-shadow: 5px 0 15px rgba(0,0,0,0.5) !important;
    }

    /* Menü aktif olduğunda içeri kayar */
    .nav-links.active {
        display: flex !important;
        left: 0 !important;
    }

    /* İçerideki yazıların stili */
    .nav-links li {
        margin: 20px 0 !important;
        width: 100% !important;
        text-align: center !important;
    }

    .nav-links a {
        font-size: 1.4rem !important; /* Yazıları mobilde büyüttük */
        color: #ffffff !important;
        font-weight: bold !important;
        display: block !important;
        width: 100% !important;
    }

    /* Hamburger butonunun (X işaretinin) üstte kalması için */
    .menu-toggle {
        z-index: 2002 !important;
    }
}
/* --- MOBİL MENÜ YAZI ORTALAMA VE GÖRÜNÜRLÜK --- */
@media screen and (max-width: 768px) {
    /* Menü açıldığında linkleri taşıyan ana kutu */
    .nav-links {
        display: none !important; /* Kapalıyken gizli */
        position: fixed !important;
        top: 0 !important;
        left: -100% !important;
        width: 100% !important; /* Tam ekran yapalım ki yazıların yeri kalsın */
        height: 100vh !important;
        background: rgba(0, 45, 91, 0.98) !important; /* Arka planı biraz daha net yaptık */
        flex-direction: column !important;
        justify-content: center !important; /* Dikeyde orta */
        align-items: center !important;    /* Yatayda orta - Yazıları ortalayan sihir burada */
        transition: 0.4s ease-in-out !important;
        z-index: 2001 !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* Menü aktif olduğunda ekrana tam oturur */
    .nav-links.active {
        display: flex !important;
        left: 0 !important;
    }

    /* Her bir liste elemanının genişliğini ayarla */
    .nav-links li {
        width: 100% !important;
        margin: 15px 0 !important;
        text-align: center !important;
    }

    /* Yazıların kendisi */
    .nav-links a {
        font-size: 1.6rem !important; /* Biraz daha büyük ve okunaklı */
        color: #ffffff !important;
        font-weight: 700 !important;
        text-decoration: none !important;
        display: inline-block !important; /* Link alanını daraltıp ortalar */
    }

    /* Hamburger butonunun (X işaretinin) menünün üstünde kalması için */
    .menu-toggle {
        z-index: 2002 !important;
    }
}


/* --- MOBİL MENÜ YAZI VE HİZALAMA NİHAİ DÜZELTME --- */
@media screen and (max-width: 768px) {
    /* Menü açıldığında gelen koyu kutu */
    .nav-links {
        display: none !important; /* Başlangıçta gizli kalsın */
        position: fixed !important;
        top: 0 !important;
        left: -100% !important; /* Kapalıyken solda gizli */
        width: 100% !important; /* Tüm ekranı kaplasın ki hizalama şaşmasın */
        height: 100vh !important;
        background: rgba(0, 26, 51, 0.98) !important; /* Koyu lacivert opak arka plan */
        flex-direction: column !important;
        justify-content: center !important; /* Dikeyde (yukarıdan aşağı) ortalar */
        align-items: center !important;    /* Yatayda (soldan sağa) tam ortalar */
        transition: 0.4s ease-in-out !important;
        z-index: 2001 !important;
        padding: 0 !important; /* Kaymaya sebep olan iç boşlukları sıfırladık */
        margin: 0 !important;
    }

    /* Menü aktif (açık) olduğunda */
    .nav-links.active {
        display: flex !important;
        left: 0 !important; /* Ekrana tam oturur */
    }

    .nav-links li {
        width: 100% !important; /* Satırı tam kaplasın */
        margin: 15px 0 !important; /* Yazıların arasına nefes payı */
        list-style: none !important;
        text-align: center !important; /* Yazıyı kendi içinde de ortalar */
    }

    .nav-links a {
        font-size: 1.8rem !important; /* Yazılar büyük ve net */
        color: #ffffff !important;
        font-weight: 800 !important;
        text-decoration: none !important;
        display: block !important;
        width: 100% !important;
    }

    /* Menü butonunun (hamburger) her zaman en üstte kalması için */
    .menu-toggle {
        z-index: 2100 !important;
    }
}

/* --- MOBİL MENÜ YAZI HİZALAMA NİHAİ ÇÖZÜM --- */
@media screen and (max-width: 768px) {
    .nav-links {
        display: none !important; /* Kapalıyken gizli */
        position: fixed !important;
        top: 0 !important;
        left: -100% !important;
        width: 100vw !important; /* Ekran genişliğini tam kapla */
        height: 100vh !important;
        background: #002d5b !important; /* Şeffaflığı kaldırdık, yazılar netleşsin */
        
        /* MERKEZLEME AYARLARI */
        flex-direction: column !important;
        justify-content: center !important; /* Dikeyde orta */
        align-items: center !important;    /* Yatayda orta */
        
        padding: 0 !important; /* Sola iten tüm boşlukları sıfırla */
        margin: 0 !important;
        transition: 0.4s ease-in-out !important;
        z-index: 9999 !important;
    }

    /* Menü Açıldığında */
    .nav-links.active {
        display: flex !important;
        left: 0 !important;
    }

    .nav-links li {
        width: 100% !important; /* Satırı tam kaplasın */
        text-align: center !important; /* Yazıyı kendi içinde ortala */
        margin: 20px 0 !important;
        padding: 0 !important;
    }

    .nav-links a {
        font-size: 1.8rem !important;
        color: #ffffff !important;
        font-weight: 900 !important;
        text-decoration: none !important;
        display: block !important;
        width: 100% !important;
    }
}

/* --- MOBİL MENÜ YAZI MERKEZLEME OPERASYONU --- */
@media screen and (max-width: 768px) {
    .nav-links {
        display: none !important; 
        position: fixed !important;
        top: 0 !important;
        left: -100% !important; 
        width: 100vw !important; /* Ekranın tam genişliği */
        height: 100vh !important;
        background: #002d5b !important; /* Koyu lacivert zemin */
        
        /* ÖNEMLİ: Tüm hizalamayı sıfırlayıp yeniden kuruyoruz */
        flex-direction: column !important;
        justify-content: center !important; 
        align-items: center !important;    
        
        padding: 0 !important; /* Yazıları sola iten boşluğu yok ettik */
        margin: 0 !important;
        transition: 0.4s ease-in-out !important;
        z-index: 9999 !important;
    }

    .nav-links.active {
        display: flex !important;
        left: 0 !important;
    }

    /* İçindeki her bir maddeyi de merkeze zorla */
    .nav-links li {
        width: 100% !important; 
        padding: 0 !important;
        margin: 15px 0 !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .nav-links a {
        font-size: 1.8rem !important;
        color: #ffffff !important;
        font-weight: 900 !important;
        text-align: center !important; /* Yazıyı kendi içinde de ortalar */
        display: block !important;
        width: auto !important;
        padding: 0 !important;
        margin: 0 !important;
    }
}


/* --- MOBİL MENÜ KESİN HİZALAMA --- */
@media screen and (max-width: 768px) {
    /* Menü çekmecesini tam ekran yapıyoruz ki kayma ihtimali kalmasın */
    .nav-links {
        display: none !important; /* Kapalıyken gizli */
        position: fixed !important;
        top: 0 !important;
        left: -100% !important; 
        width: 100% !important; /* Ekranın tamamını kapla */
        height: 100vh !important;
        background: #002d5b !important; /* Koyu lacivert zemin */
        
        /* Yazıları tam merkeze çivileyen komutlar */
        flex-direction: column !important;
        justify-content: center !important; 
        align-items: center !important;    
        
        padding: 0 !important; 
        margin: 0 !important;
        transition: 0.4s ease-in-out !important;
        z-index: 9998 !important; /* Navbar'ın altında, içeriğin üstünde */
    }

    /* Menü aktif olduğunda ekrana tam oturur */
    .nav-links.active {
        display: flex !important;
        left: 0 !important;
    }

    /* Her bir link satırını ortala */
    .nav-links li {
        width: 100% !important;
        margin: 15px 0 !important;
        padding: 0 !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    /* Yazıların kendisi */
    .nav-links a {
        font-size: 1.8rem !important;
        color: #ffffff !important;
        font-weight: 900 !important;
        text-align: center !important;
        display: block !important;
        width: auto !important;
        border: none !important; /* Eğer varsa çerçeveyi kaldır */
    }

    /* Telefon numarası butonu mobilde normal yazı gibi görünsün (isteğe bağlı) */
    .nav-links a[href^="tel"] {
        border: 2px solid #ffcc00 !important;
        padding: 10px 20px !important;
        border-radius: 50px !important;
        color: #ffcc00 !important;
    }

    /* Hamburger butonu her zaman en üstte görünsün */
    .menu-toggle {
        display: flex !important;
        z-index: 9999 !important;
        position: relative !important;
    }
}



/* --- MOBİL NİHAİ TEMİZLİK VE HİZALAMA --- */
@media screen and (max-width: 768px) {
    /* 1. Navbar'ı Yeniden Düzenle */
    .navbar {
        display: flex !important;
        justify-content: center !important; /* Logoyu ortalamak için */
        align-items: center !important;
        height: 80px !important;
        position: relative !important;
        padding: 0 !important;
    }

    /* 2. Logo Üstte ve Ortada */
    .logo {
        margin: 0 auto !important;
        position: relative !important;
        z-index: 10 !important;
    }

    /* 3. Menü Butonu (Hamburger) En Sola Sabitle */
    .menu-toggle {
        display: flex !important;
        position: absolute !important;
        left: 20px !important; /* Sol tarafa aldık */
        top: 50% !important;
        transform: translateY(-50%) !important;
        z-index: 10001 !important;
    }

    /* 4. Menü Çekmecesi (Yazıların Olduğu Yer) */
    .nav-links {
        display: none !important; 
        position: fixed !important;
        top: 0 !important;
        left: -100% !important; 
        width: 100vw !important; /* Ekranı tam kapla */
        height: 100vh !important;
        background: #002d5b !important; /* Lacivert zemin */
        
        /* YAZILARI ORTALAYAN ASIL KISIM */
        flex-direction: column !important;
        justify-content: center !important; /* Dikeyde orta */
        align-items: center !important;    /* Yatayda orta */
        
        margin: 0 !important;
        padding: 0 !important;
        transition: 0.4s ease-in-out !important;
        z-index: 10000 !important;
    }

    /* Menü Açıldığında Sola Yasla (Soldan İçeri Girer) */
    .nav-links.active {
        display: flex !important;
        left: 0 !important;
    }

    /* 5. Yazıların Kendisi */
    .nav-links li {
        width: 100% !important;
        margin: 15px 0 !important;
        padding: 0 !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .nav-links a {
        font-size: 1.8rem !important;
        color: #ffffff !important;
        font-weight: 900 !important;
        text-align: center !important;
        display: block !important;
        width: 100% !important;
        padding: 10px 0 !important;
    }

    /* PC'den kalan sağdaki butonu mobilde gizle (karmaşayı önler) */
    .nav-call-btn {
        display: none !important;
    }
}

/* --- MOBİL SOL MENÜ & SAĞA DAYALI YAZI --- */
@media screen and (max-width: 768px) {
    /* 1. Menü Çekmecesi (Soldan açılmaya devam edecek) */
    .nav-links {
        display: none !important;
        position: fixed !important;
        top: 0 !important;
        left: -100% !important; /* Solda gizli */
        width: 80% !important;  /* Ekranın %80'i */
        height: 100vh !important;
        background: #002d5b !important;
        
        /* HİZALAMA: Dikeyde orta, Yatayda SAĞA DAYALI */
        flex-direction: column !important;
        justify-content: center !important;
        align-items: flex-end !important; /* YAZILARI SAĞA İTER */
        
        padding-right: 50px !important; /* Sağ kenardan boşluk bırak ki ekrana yapışmasın */
        margin: 0 !important;
        transition: 0.4s ease-in-out !important;
        z-index: 10000 !important;
    }

    /* Menü açıldığında */
    .nav-links.active {
        display: flex !important;
        left: 0 !important;
    }

    /* 2. Yazıları Küçült ve Sağa Hizala */
    .nav-links li {
        width: auto !important;
        margin: 15px 0 !important;
        padding: 0 !important;
    }

    .nav-links a {
        font-size: 1.15rem !important; /* Yazıları küçülttük */
        color: #ffffff !important;
        font-weight: 600 !important;
        text-align: right !important;
        text-transform: uppercase !important;
        letter-spacing: 1px !important;
        white-space: nowrap !important; /* Yazıların kırılmasını önler */
    }

    /* 3. Menü Butonu (Sol Üstte Kalsın) */
    .menu-toggle {
        display: flex !important;
        position: absolute !important;
        left: 20px !important; /* Sol üstte sabit */
        top: 50% !important;
        transform: translateY(-50%) !important;
        z-index: 10001 !important;
    }

    /* Logo Ortada Kalsın */
    .logo {
        margin: 0 auto !important;
    }
}

/* --- MOBİL MENÜ YAZI KIRPILMA DÜZELTMESİ --- */
@media screen and (max-width: 768px) {
    .nav-links {
        display: none !important;
        position: fixed !important;
        top: 0 !important;
        left: -100% !important; /* Soldan açılacak */
        width: 85% !important;  /* Ekranın çoğunu kaplasın ki yazıya yer kalsın */
        height: 100vh !important;
        background: #002d5b !important; /* Koyu lacivert zemin */
        
        /* HİZALAMA DÜZELTME */
        flex-direction: column !important;
        justify-content: center !important;
        align-items: flex-start !important; /* YAZILARI SOLA YASLA (Kırpılmayı önler) */
        
        padding-left: 60px !important; /* Yazıların başı görünmüyorsa buradan boşluk verdik */
        padding-right: 20px !important;
        margin: 0 !important;
        transition: 0.4s ease-in-out !important;
        z-index: 10000 !important;
    }

    /* Menü aktif olduğunda */
    .nav-links.active {
        display: flex !important;
        left: 0 !important;
    }

    .nav-links li {
        width: 100% !important;
        margin: 15px 0 !important;
        text-align: left !important; /* Yazıyı sola yasla */
    }

    .nav-links a {
        font-size: 1.3rem !important; /* Okunabilir ideal boyut */
        color: #ffffff !important;
        font-weight: 700 !important;
        text-decoration: none !important;
        white-space: nowrap !important; /* Yazıyı asla alt satıra atma */
        display: inline-block !important;
    }
}

/* --- MOBİL MENÜ YAZI SIKIŞMA VE KIRPILMA DÜZELTMESİ --- */
@media screen and (max-width: 768px) {
    .nav-links {
        display: none !important;
        position: fixed !important;
        top: 0 !important;
        left: -100% !important; /* Soldan açılmaya devam edecek */
        width: 80% !important;  /* Ekranın çoğunu kaplasın */
        height: 100vh !important;
        background: #002d5b !important; 
        
        /* HİZALAMA AYARLARI */
        flex-direction: column !important;
        justify-content: center !important;
        align-items: flex-start !important; /* Yazıları kutunun soluna yasla ama... */
        
        /* SOLDAKİ O BOŞLUĞU BURASI SAĞLIYOR */
        padding-left: 40px !important; /* Yazının başındaki o 'A' harfi artık görünür olacak */
        padding-right: 20px !important;
        margin: 0 !important;
        transition: 0.4s ease-in-out !important;
        z-index: 10000 !important;
    }

    /* Menü Aktifken */
    .nav-links.active {
        display: flex !important;
        left: 0 !important;
    }

    .nav-links li {
        width: 100% !important;
        margin: 15px 0 !important;
        text-align: left !important; /* Yazılar sola yaslı ama padding sayesinde boşluklu */
    }

    .nav-links a {
        font-size: 1.25rem !important; /* Okunabilir, şık boyut */
        color: #ffffff !important;
        font-weight: 800 !important;
        text-transform: uppercase !important; /* Kurumsal bir hava için hepsi büyük */
        letter-spacing: 1.5px !important; /* Harflerin arasını biraz açtık, daha ferah durur */
        white-space: nowrap !important;
    }
}

/* --- MOBİL MENÜ YAZI KAYMASI KESİN ÇÖZÜM --- */
@media screen and (max-width: 768px) {
    .nav-links {
        display: none !important;
        position: fixed !important;
        top: 0 !important;
        left: -100% !important; 
        width: 85% !important; /* Ekranın çoğunu kaplasın */
        height: 100vh !important;
        background: #002d5b !important;
        
        /* ÖNEMLİ: Hizalamayı tamamen sıfırla */
        flex-direction: column !important;
        justify-content: center !important; 
        align-items: flex-start !important; /* Sola yasla ama içeriden iteceğiz */
        
        /* YAZILARIN BAŞINDAKİ BOŞLUĞU BURASI VERİR */
        padding-left: 80px !important; /* Bu rakamı artırdıkça yazılar sağa kayar */
        padding-right: 20px !important;
        margin: 0 !important;
        transition: 0.4s ease-in-out !important;
        z-index: 10000 !important;
    }

    .nav-links.active {
        display: flex !important;
        left: 0 !important;
    }

    .nav-links li {
        width: 100% !important;
        margin: 20px 0 !important; /* Yazıların arasına dikey boşluk */
        padding: 0 !important;
        list-style: none !important;
    }

    .nav-links a {
        font-size: 1.4rem !important; 
        color: #ffffff !important;
        font-weight: 800 !important;
        text-decoration: none !important;
        display: block !important;
        width: 100% !important;
        text-align: left !important; /* Yazıyı sola yasla ama padding-left onu itecek */
    }
}

/* --- MOBİL MENÜ YAZI KAYBOLMA DÜZELTMESİ --- */
@media screen and (max-width: 768px) {
    .nav-links {
        display: none !important;
        position: fixed !important;
        top: 0 !important;
        left: -100% !important; 
        width: 100vw !important; /* Ekranı tam kapla ki yazı kaçamasın */
        height: 100vh !important;
        background: #002d5b !important;
        
        /* HER ŞEYİ SIFIRLA VE MERKEZLE */
        flex-direction: column !important;
        justify-content: center !important; 
        align-items: center !important; /* Yazıları tam ortaya zorla */
        
        padding: 0 !important; /* Yazıyı iten o fazla paddingleri sildik */
        margin: 0 !important;
        transition: 0.4s ease-in-out !important;
        z-index: 10000 !important;
    }

    .nav-links.active {
        display: flex !important;
        left: 0 !important;
    }

    .nav-links li {
        width: 100% !important;
        text-align: center !important; /* Yazıyı satırda ortala */
        margin: 15px 0 !important;
        padding: 0 !important;
    }

    .nav-links a {
        font-size: 1.5rem !important; 
        color: #ffffff !important;
        font-weight: 800 !important;
        text-decoration: none !important;
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
    }
}

/* --- MOBİL KİBAR MENÜ DÜZELTMESİ --- */
@media screen and (max-width: 768px) {
    .nav-links {
        display: none !important;
        position: fixed !important;
        top: 0 !important;
        left: -100% !important; 
        width: 70% !important; /* Ekranın %70'ini kaplasın, çok kaba durmasın */
        height: 100vh !important;
        background: #002d5b !important; /* Kurumsal lacivert */
        
        /* HİZALAMA: Yazıları kutu içinde sola ama boşluklu dizeceğiz */
        flex-direction: column !important;
        justify-content: center !important; 
        align-items: flex-start !important; 
        
        padding-left: 40px !important; /* Yazıların başındaki o kırpılmayı önleyen boşluk */
        margin: 0 !important;
        transition: 0.4s ease-in-out !important;
        z-index: 10000 !important;
        box-shadow: 5px 0 15px rgba(0,0,0,0.5) !important;
    }

    /* Menü Açıldığında */
    .nav-links.active {
        display: flex !important;
        left: 0 !important;
    }

    .nav-links li {
        width: 100% !important;
        margin: 12px 0 !important; /* Yazıların arasındaki dikey mesafe */
        padding: 0 !important;
    }

    .nav-links a {
        font-size: 1.15rem !important; /* Yazı boyutu küçültüldü (Daha kibar) */
        color: #ffffff !important;
        font-weight: 600 !important;
        text-decoration: none !important;
        display: inline-block !important;
        text-transform: uppercase !important; /* Profesyonel görünüm için büyük harf */
        letter-spacing: 1px !important;
    }

    /* Hamburger çizgilerinin rengi (Lacivert üzerinde görünmesi için sarı) */
    .bar {
        background-color: #ffcc00 !important;
    }
}

/* --- %50 GENİŞLİK VE KESİN GÖRÜNÜR YAZILAR --- */
@media screen and (max-width: 768px) {
    .nav-links {
        display: none !important;
        position: fixed !important;
        top: 0 !important;
        left: -100% !important; 
        width: 50% !important; /* İstediğin gibi tam yarı ekran */
        height: 100vh !important;
        background: #002d5b !important; 
        
        /* HİZALAMA: Yazıları kutu içinde sola yasla ama içeriden it */
        flex-direction: column !important;
        justify-content: center !important; 
        align-items: flex-start !important; 
        
        /* SOLDAKİ BOŞLUK: Yazıların başı asla kaybolmasın diye */
        padding-left: 25px !important; 
        margin: 0 !important;
        transition: 0.3s ease-in-out !important;
        z-index: 10000 !important;
        box-shadow: 5px 0 15px rgba(0,0,0,0.3) !important;
    }

    /* Menü Aktifken */
    .nav-links.active {
        display: flex !important;
        left: 0 !important;
    }

    .nav-links li {
        width: 100% !important;
        margin: 15px 0 !important;
        list-style: none !important;
    }

    .nav-links a {
        /* Yazıların %50 genişliğe sığması için ideal boyut */
        font-size: 1rem !important; 
        color: #ffffff !important;
        font-weight: 700 !important;
        text-decoration: none !important;
        text-transform: uppercase !important;
        white-space: nowrap !important; /* Yazıların alt satıra düşmesini engeller */
        display: inline-block !important;
    }
}

/* --- %50 GENİŞLİK ZORLAYICI AYAR --- */
@media screen and (max-width: 850px) {
    .nav-links {
        display: none !important;
        position: fixed !important;
        top: 0 !important;
        left: -100% !important; 
        
        /* GENİŞLİK AYARI */
        width: 800% !important; 
        max-width: 80% !important; /* Daha fazla büyümesini engeller */
        min-width: 80% !important; /* Daha fazla küçülmesini engeller */
        
        height: 100vh !important;
        background: #002d5b !important; 
        
        /* YAZILARI GÖRÜNÜR YAPMAK İÇİN */
        flex-direction: column !important;
        justify-content: center !important; 
        align-items: flex-start !important; 
        padding-left: 20px !important; /* Yazıların başı görünsün diye */
        
        margin: 0 !important;
        transition: 0.3s ease-in-out !important;
        z-index: 10000 !important;
        box-shadow: 5px 0 15px rgba(0,0,0,0.3) !important;
    }

    .nav-links.active {
        display: flex !important;
        left: 0 !important;
    }

    /* Yazılar %50'ye sığsın diye biraz küçültüyoruz */
    .nav-links a {
        font-size: 0.95rem !important; 
        white-space: nowrap !important;
        color: white !important;
        font-weight: bold !important;
    }
}


/* --- MOBİL SADELEŞTİRME (MENÜSÜZ TASARIM) --- */
@media screen and (max-width: 768px) {
    /* Menü linklerini ve çekmeceyi tamamen kapat */
    .nav-links, .menu-toggle {
        display: none !important;
    }

    /* Navbar'ı Logo solda, Buton sağda olacak şekilde düzenle */
    .navbar {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        height: 70px !important;
        padding: 0 5% !important;
        background: #002d5b !important; /* Net lacivert */
    }

    /* Logoyu sola yasla */
    .logo {
        margin: 0 !important;
        font-size: 1.2rem !important;
    }

    /* "Hemen Ara" butonunu mobilde görünür ve sağa yaslı yap */
    .nav-call-btn {
        display: flex !important; /* Gizliyse açıyoruz */
        padding: 8px 15px !important;
        font-size: 0.85rem !important;
        border-radius: 50px !important;
        background: #ffcc00 !important;
        color: #002d5b !important;
        font-weight: bold !important;
        margin-left: auto !important;
    }
}
.modal {
    display: none; 
    position: fixed;
    z-index: 99999; /* En üstte durması için */
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
}

.modal-icerik {
    max-width: 95%;
    max-height: 80vh;
    object-fit: contain;
    border: 2px solid white;
}

.kapat {
    position: absolute;
    top: 20px; right: 30px;
    color: #ffcc00;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
}

