/*
Theme Name: ISGEED Ozel Tema
Author: Fırat KARAKAŞ
Description: İstanbul Görme Engelliler Eğitim Derneği için özel erişilebilir tema.
Version: 1.2 (Optimize Edildi ve Mobil Hatalar Giderildi)
Text Domain: isgeed
*/

/* =========================================
   GENEL AYARLAR & TİPOGRAFİ
========================================= */
* { margin: 0; padding: 0; box-sizing: border-box; text-decoration: none; list-style: none; }
html, body { 
    font-family: 'Montserrat', sans-serif; 
    color: #333; 
    overflow-x: hidden; /* Sağ/sol taşmasını (kaymayı) kesin olarak engeller */
    background-color: #fafafa; 
    width: 100vw;
    max-width: 100%;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; width: 100%; }

/* Ortak Bölüm Başlığı */
.bolum-basligi { color: #1a237e; font-size: 32px; font-weight: 900; text-align: center; margin-bottom: 50px; text-transform: uppercase; position: relative; }
.bolum-basligi::after { content: ""; display: block; width: 80px; height: 4px; background-color: #8bc34a; margin: 15px auto 0; border-radius: 2px; }

/* Genel Buton Stilleri */
.btn { padding: 14px 30px; border-radius: 50px; font-weight: 700; font-size: 15px; border: none; cursor: pointer; transition: all 0.3s ease; display: inline-block; text-transform: uppercase; letter-spacing: 0.5px; }
.btn-green { background: #8bc34a; color: white; box-shadow: 0 4px 15px rgba(139, 195, 74, 0.4); }
.btn-green:hover { background: #7cb042; transform: translateY(-3px); box-shadow: 0 6px 20px rgba(139, 195, 74, 0.6); }
.btn-orange { background: #ff9800; color: white; box-shadow: 0 4px 15px rgba(255, 152, 0, 0.4); }
.btn-orange:hover { background: #e68a00; transform: translateY(-3px); box-shadow: 0 6px 20px rgba(255, 152, 0, 0.6); }
.btn-outline { background: transparent; color: #1a237e; border: 2px solid #1a237e; }
.btn-outline:hover { background: #1a237e; color: white; }



/* =========================================
   HEADER VE LOGO (MASAÜSTÜ)
========================================= */
.header-main {
    background: #ffffff;
    height: 80px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    position: relative;
    z-index: 100;
}
.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    position: relative;
}

/* Masaüstü - Logonun Dışarı Taşması */
.logo-wrapper {
    position: absolute;
    left: 15px;
    top: -25px; /* Yukarı taşma */
    z-index: 101;
}
.logo-wrapper img {
    width: 200px; /* Boyutu toparladık */
    height: auto;
    background: #ffffff;
    border: 3px solid #1a237e;
    border-radius: 40px;
    padding: 5px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* Masaüstü - Menü */
.nav-links {
    margin-left: auto; /* Menüyü sağa iter */
}
.nav-links ul {
    display: flex;
    gap: 25px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-links a {
    color: #333;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: color 0.3s;
    padding: 30px 0;
    display: block;
}
.nav-links a:hover { color: #8bc34a; }

/* Masaüstü - Hamburger Butonunu Gizle */
.mobil-menu-butonu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 22px;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
    z-index: 105;
}
.mobil-menu-butonu span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #1a237e;
    border-radius: 2px;
    transition: 0.3s ease;
}

/* =========================================
   MOBİL GÖRÜNÜM (TELEFON & TABLET KESİN ÇÖZÜM)
========================================= */
@media (max-width: 992px) {
    /* Logoyu Dışarı Taşırmaktan Vazgeç, İçeri Al */
    .logo-wrapper {
        position: static;
        margin-top: 5px;
    }
    .logo-wrapper img {
        width: 140px;
        border-width: 2px;
        padding: 3px;
        border-radius: 20px;
    }

    /* Hamburger Butonunu Göster */
    .mobil-menu-butonu { display: flex; }

    /* Menüyü Gizle ve Açılır Yapıya Çevir */
    .nav-links {
        position: absolute;
        top: 80px; /* Header'ın hemen altı */
        left: 0;
        width: 100%;
        background: #ffffff;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        display: none; /* JS ile açılacak */
        z-index: 100;
        border-top: 1px solid #f0f0f0;
    }
    
    .nav-links.aktif { display: block; }

    .nav-links ul { flex-direction: column; gap: 0; }
    
    .nav-links a {
        padding: 15px 20px;
        border-bottom: 1px solid #f5f5f5;
        width: 100%;
    }

    /* Çarpı (X) Animasyonu */
    .mobil-menu-butonu.acik span:nth-child(1) { transform: translateY(9.5px) rotate(45deg); }
    .mobil-menu-butonu.acik span:nth-child(2) { opacity: 0; }
    .mobil-menu-butonu.acik span:nth-child(3) { transform: translateY(-9.5px) rotate(-45deg); }
}




/* =========================================
   HEADER VE LOGO
========================================= */
.top-nav-bar { background: #1a237e; color: white; padding: 10px 0; font-size: 13px; }
.flex-right { display: flex; justify-content: flex-end; gap: 30px; }

.header-main { height: 70px; padding: 0; background: #fff; box-shadow: 0 4px 15px rgba(0,0,0,0.05); position: relative; z-index: 99; display: flex; align-items: center; }
.header-flex { position: relative; width: 100%; height: 100%; display: flex; justify-content: flex-end; align-items: center; }

.logo-wrapper { position: absolute; left: 15px; top: -35px; z-index: 999; }
.logo-wrapper img { width: 240px; height: 115px; object-fit: contain; background: #ffffff; border: 4px solid #1a237e; border-radius: 50px; padding: 5px; box-shadow: 0 5px 15px rgba(0,0,0,0.15); margin: 0; }

.nav-links { height: 100%; display: flex; align-items: center; }
.nav-links ul { display: flex; gap: 25px; align-items: center; }
.nav-links a { color: #333; font-weight: 700; font-size: 14px; transition: 0.3s; padding: 25px 0; display: inline-block; }
.nav-links a:hover, .nav-links a.active { color: #8bc34a; border-bottom: 2px solid #8bc34a; padding-bottom: 5px; }

/* =========================================
   MANŞET (HERO) BÖLÜMÜ
========================================= */
.hero { background-size: cover; background-position: center; background-repeat: no-repeat; min-height: 600px; display: flex; align-items: center; position: relative; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(90deg, rgba(26,35,126,0.1) 0%, rgba(26,35,126,0.8) 100%); z-index: 1; }
.hero-container { display: flex; justify-content: flex-end; width: 100%; position: relative; z-index: 2; }
.hero-content-right { max-width: 550px; text-align: right; }
.hero-content-right h1 { font-size: 56px; color: white; font-weight: 900; line-height: 1.1; margin-bottom: 20px; text-shadow: 0 4px 15px rgba(0,0,0,0.3); }
.hero-content-right h1 span { color: #8bc34a; }
.hero-subtitle { color: #e3f2fd; font-size: 18px; margin-bottom: 35px; font-weight: 500; }
.hero-btns { display: flex; gap: 15px; justify-content: flex-end; }

/* =========================================
   EĞİTİMLER BÖLÜMÜ
========================================= */
.egitimler-section { background: #ffffff; padding: 80px 0; margin-top: -40px; position: relative; z-index: 10; }
.egitim-flex-container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.egitim-kart { background: #ffffff; padding: 30px; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.06); display: flex; align-items: center; gap: 20px; transition: transform 0.3s ease, box-shadow 0.3s ease; border: 1px solid #f0f0f0; }
.egitim-kart:hover { transform: translateY(-8px); box-shadow: 0 15px 35px rgba(26, 35, 126, 0.1); border-color: #8bc34a; }
.egitim-ikon img { width: 60px; height: auto; filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1)); }
.egitim-metin h3 { font-size: 16px; color: #1a237e; font-weight: 900; margin-bottom: 5px; }
.egitim-metin p { font-size: 13px; color: #666; line-height: 1.5; }

/* =========================================
   PROJELER & HABERLER ORTAK İSKELET
========================================= */
.isgorder-projeler-alani, .basari-hikayeleri { padding: 80px 0; background-color: #f4f6f9; }
.basari-hikayeleri { background-color: #ffffff; }

.isgorder-projeler-grid, .hikaye-grid { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 35px; }

/* Proje Kartı */
.isgorder-proje-kart { background: #ffffff; border-radius: 16px; box-shadow: 0 8px 25px rgba(0,0,0,0.05); overflow: hidden; transition: transform 0.3s ease; display: flex; flex-direction: column; }
.isgorder-proje-kart:hover { transform: translateY(-8px); box-shadow: 0 15px 35px rgba(0,0,0,0.1); }
.isgorder-proje-resim { position: relative; height: 180px; overflow: hidden; }
.isgorder-proje-resim img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.isgorder-proje-kart:hover .isgorder-proje-resim img { transform: scale(1.05); }
.isgorder-proje-icerik { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; }
.isgorder-proje-icerik h3 { color: #1a237e; font-size: 17px; font-weight: 800; margin-bottom: 12px; line-height: 1.3; }
.isgorder-proje-icerik p { color: #666; font-size: 13px; line-height: 1.6; margin-bottom: 15px; flex-grow: 1; }
.isgorder-proje-link { color: #1a237e; font-weight: 700; font-size: 14px; border-bottom: 2px solid #8bc34a; padding-bottom: 2px; align-self: flex-start; transition: color 0.3s; }
.isgorder-proje-link:hover { color: #8bc34a; }
.isgorder-proje-buton-alani { text-align: center; margin-top: 50px; }

.isgorder-durum-etiketi { position: absolute; top: 15px; right: 15px; background: #8bc34a; color: #fff; font-size: 12px; font-weight: 700; padding: 6px 14px; border-radius: 30px; box-shadow: 0 4px 10px rgba(0,0,0,0.15); }

/* Haber Kartı */
.hikaye-kart-link { display: block; color: inherit; }
.hikaye-kart { background: #fff; border: 1px solid #eee; border-radius: 16px; padding: 15px; text-align: center; transition: all 0.3s ease; height: 100%; }
.hikaye-kart-link:hover .hikaye-kart { border-color: #8bc34a; transform: translateY(-8px); box-shadow: 0 15px 30px rgba(139, 195, 74, 0.1); }
.ogrenci-foto img { width: 90px; height: 90px; border-radius: 50%; object-fit: cover; margin-bottom: 15px; border: 3px solid #f4f6f9; transition: border-color 0.3s ease; }
.hikaye-kart-link:hover .ogrenci-foto img { border-color: #8bc34a; }
.haber-tarihi { display: block; color: #999; font-size: 12px; margin-bottom: 10px; font-weight: 600; }
.hikaye-metin h3 { color: #1a237e; font-size: 16px; margin-bottom: 10px; font-weight: 800; line-height: 1.4; }
.hikaye-metin p { color: #666; font-size: 13px; line-height: 1.6; margin-bottom: 10px; }
.hikaye-devami { color: #8bc34a; font-weight: 700; font-size: 13px; text-transform: uppercase; }

/* =========================================
   HAKKIMIZDA & DİĞER İÇ SAYFALAR (TİPOGRAFİ)
========================================= */
.about-hero { position: relative; background-size: cover; background-position: center; background-repeat: no-repeat; min-height: 350px; display: flex; align-items: center; justify-content: center; text-align: center; color: white; overflow: hidden; }
.about-hero .hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(26, 35, 126, 0.7); z-index: 1; }
.about-hero .hero-content { position: relative; z-index: 2; }
.about-hero h1 { font-size: 42px; font-weight: 900; margin-bottom: 10px; text-transform: uppercase; }
.about-content { background-color: #ffffff; padding: 80px 0; position: relative; z-index: 5; }
.content-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 60px; align-items: start; }
.sidebar-info { display: flex; flex-direction: column; gap: 30px; }
.info-card { padding: 30px; border-radius: 16px; box-shadow: 0 5px 25px rgba(0,0,0,0.06); }
.info-card.misyon { background-color: #e8f5e9; border-left: 5px solid #8bc34a; }
.info-card.vizyon { background-color: #e8eaf6; border-left: 5px solid #1a237e; }
.info-card.degerler { background-color: #ffffff; border: 1px solid #eaeaea; }
.info-card h3 { font-size: 18px; font-weight: 800; margin-top: 0; margin-bottom: 15px; }
.info-card.misyon h3 { color: #2e7d32; }
.info-card.vizyon h3 { color: #1a237e; }
.info-card.degerler h3 { color: #333333; }
.info-card p { font-size: 14px; line-height: 1.7; color: #555; margin: 0; }
.degerler-listesi ul { padding-left: 20px; margin: 0; }
.degerler-listesi li { font-size: 14px; line-height: 1.7; color: #555; margin-bottom: 10px; list-style-type: square; }

.proje-metin-icerik { font-size: 17px; line-height: 1.85; color: #4a4a4a; letter-spacing: 0.2px; }
.proje-metin-icerik p { margin-bottom: 25px; }
.proje-metin-icerik h2, .proje-metin-icerik h3 { color: #1a237e; font-weight: 800; margin-top: 45px; margin-bottom: 20px; line-height: 1.3; }
.proje-metin-icerik blockquote { background-color: #f8f9fa; border-left: 5px solid #8bc34a; padding: 25px 30px; margin: 40px 0; font-style: italic; border-radius: 0 12px 12px 0; font-size: 19px; color: #1a237e; box-shadow: 0 5px 15px rgba(0,0,0,0.03); }
.proje-metin-icerik img { border-radius: 12px; box-shadow: 0 8px 25px rgba(0,0,0,0.08); margin: 30px 0; max-width: 100%; height: auto; display: block; }

/* Galeri (Gutenberg/Klasik) */
.proje-galeri-grid, .proje-metin-icerik .wp-block-gallery, .proje-metin-icerik .gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; margin: 50px 0; padding: 0; }
.galeri-item, .proje-metin-icerik .wp-block-image, .proje-metin-icerik .gallery-item { margin: 0; width: 100%; border-radius: 12px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.06); background: #f8f9fa; }
.galeri-item img, .proje-metin-icerik .wp-block-image img, .proje-metin-icerik .gallery-item img { width: 100%; height: 200px; object-fit: cover; transition: transform 0.4s ease; display: block; margin: 0; border-radius: 0; box-shadow: none; }
.galeri-item:hover img, .proje-metin-icerik .wp-block-image:hover img, .proje-metin-icerik .gallery-item:hover img { transform: scale(1.08); }

/* Sayfalama */
.isgorder-sayfalama { text-align: center; margin-top: 60px; }
.isgorder-sayfalama .nav-links { display: inline-flex; gap: 10px; align-items: center; justify-content: center; flex-wrap: wrap; }
.isgorder-sayfalama a, .isgorder-sayfalama span.page-numbers { padding: 10px 18px; border-radius: 8px; background: #fff; color: #1a237e; font-weight: bold; border: 1px solid #ddd; transition: all 0.3s; }
.isgorder-sayfalama .current { background: #8bc34a; color: #fff; border-color: #8bc34a; }
.isgorder-sayfalama a:hover { background: #1a237e; color: #fff; border-color: #1a237e; }

/* =========================================
   İLETİŞİM SAYFASI
========================================= */
.iletisim-icerik { padding: 80px 0; background-color: #f8f9fa; }
.iletisim-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 50px; align-items: flex-start; }
.iletisim-bilgileri { display: flex; flex-direction: column; gap: 30px; width: 100%; }
.bilgi-kartlari { display: flex; flex-direction: column; gap: 20px; }
.bilgi-kart { display: flex; align-items: center; background: #ffffff; padding: 25px; border-radius: 12px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); transition: transform 0.3s ease; border-left: 5px solid #8bc34a; }
.bilgi-kart:hover { transform: translateX(8px); }
.bilgi-ikon { font-size: 26px; margin-right: 20px; background: #f4f6f9; width: 65px; height: 65px; min-width: 65px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.bilgi-metin h4 { color: #1a237e; font-size: 17px; font-weight: 800; margin: 0 0 5px 0; }
.bilgi-metin p, .bilgi-metin a { color: #555; font-size: 14px; margin: 0; }
.bilgi-metin a:hover { color: #8bc34a; }
.harita-kapsayici { width: 100%; border-radius: 16px; overflow: hidden; box-shadow: 0 5px 25px rgba(0,0,0,0.08); height: 300px; background: #eaeaea; margin-top: 20px; }
.harita-kapsayici iframe { width: 100%; height: 100%; border: none; display: block; }
.form-kart { background: #ffffff; padding: 40px; border-radius: 16px; box-shadow: 0 10px 35px rgba(0,0,0,0.08); }
.form-kart h3 { color: #1a237e; font-size: 26px; font-weight: 800; margin: 0 0 30px 0; }
.form-grup { margin-bottom: 25px; width: 100%; }
.form-grup label { display: block; color: #1a237e; font-size: 15px; font-weight: 700; margin-bottom: 10px; }
.form-grup input, .form-grup textarea { width: 100%; box-sizing: border-box; padding: 15px 20px; border: 2px solid #eaeaea; border-radius: 10px; font-family: 'Montserrat', sans-serif; font-size: 15px; color: #333; background-color: #fcfcfc; transition: all 0.3s ease; }
.form-grup input:focus, .form-grup textarea:focus { outline: none; border-color: #8bc34a; background-color: #ffffff; box-shadow: 0 0 0 4px rgba(139, 195, 74, 0.15); }

/* =========================================
   FOOTER (ALT BÖLÜM)
========================================= */
.main-footer { background-color: #1a237e; color: #ffffff; padding: 60px 0 0; margin-top: 60px; flex-shrink: 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.footer-logo-wrapper { background: #ffffff; padding: 15px; border-radius: 8px; display: inline-block; margin-bottom: 20px; width: 180px; }
.footer-logo-wrapper img { width: 100%; height: auto; display: block; }
.logo-col p { font-size: 14px; line-height: 1.6; opacity: 0.9; }
.footer-col h4 { color: #8bc34a; font-size: 18px; margin-bottom: 25px; font-weight: 700; }
.footer-col h4::after { content: ""; display: block; width: 40px; height: 3px; background: #8bc34a; margin-top: 8px; }
.footer-links, .contact-list { padding: 0; }
.footer-links li, .contact-list li { margin-bottom: 12px; font-size: 14px; }
.footer-links a { color: #ffffff; transition: 0.3s; }
.footer-links a:hover { color: #8bc34a; padding-left: 5px; }
.social-icons { display: flex; gap: 12px; flex-wrap: wrap; }
.social-btn { width: 38px; height: 38px; background: rgba(255, 255, 255, 0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-weight: bold; transition: 0.3s; }
.social-btn:hover { background: #8bc34a; transform: translateY(-3px); }
.footer-bottom { background: rgba(0, 0, 0, 0.2); padding: 20px 0; text-align: center; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.footer-bottom p { font-size: 12px; opacity: 0.7; }

/* =========================================
   MOBİL UYUMLULUK (RESPONSIVE)
========================================= */
@media (max-width: 992px) {
    .hero-content-right h1 { font-size: 42px; }
    .egitim-flex-container, .isgorder-projeler-grid, .hikaye-grid, .content-grid, .iletisim-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    /* Mobilde Header ve Menü Kaymasını Önleme */
    .header-main { height: auto; padding: 15px 0; }
    .header-flex { flex-direction: column; justify-content: center; }
    .logo-wrapper { position: static; transform: none; margin-bottom: 15px; }
    .logo-wrapper img { width: 180px; height: auto; border-radius: 20px; }
    .nav-links ul { flex-wrap: wrap; justify-content: center; gap: 15px; }
    .nav-links a { padding: 5px 10px; }
    
    .hero-content-right { text-align: center; margin: 0 auto; }
    .hero-container { justify-content: center; }
    .hero-btns { justify-content: center; flex-wrap: wrap; }
    .hero-content-right h1 { font-size: 36px; }
    
    .form-kart { padding: 30px 20px; }
}

@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-col h4::after { margin: 8px auto; }
    .social-icons { justify-content: center; }
    .bolum-basligi { font-size: 26px; }
}

/* =========================================
   PROJELER ALANINI KORUMAYA ALAN KODLAR
========================================= */
.isgorder-projeler-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important; /* Yan yana 3'lü dizilim garanti */
    gap: 35px !important;
    max-width: 1000px !important;
    margin: 0 auto !important;
}

.isgorder-proje-kart {
    display: flex !important;
    flex-direction: column !important;
    background: #fff !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05) !important;
}

.isgorder-proje-resim {
    width: 100% !important;
    height: 200px !important; /* Resim yüksekliği kilitlendi */
    position: relative !important;
}

.isgorder-proje-resim img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important; /* Resmi bozmadan sığdırır */
    display: block !important;
}

/* =========================================
   MOBİL MENÜYÜ GÖSTEREN KESİN CSS
========================================= */
/* Masaüstünde gizle */
.mobil-menu-butonu {
    display: none !important; 
    flex-direction: column;
    justify-content: space-between;
    width: 32px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1005;
}
.mobil-menu-butonu span {
    width: 100%;
    height: 4px;
    background: #1a237e;
    border-radius: 4px;
    transition: 0.3s ease;
}

/* Mobilde (992px altı) Devreye Giren Kurallar */
@media (max-width: 992px) {
    /* Butonu görünür yap */
    .mobil-menu-butonu { display: flex !important; }

    /* Menüyü gizle ve dropdown (açılır) yap */
    .nav-links {
        position: absolute !important;
        top: 80px !important; /* Menü çubuğunun hemen altı */
        left: 0 !important;
        width: 100% !important;
        background: #ffffff !important;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1) !important;
        display: none !important; /* Başlangıçta gizli */
        z-index: 1000 !important;
    }
    
    /* JS ile tıklanınca bu sınıf eklenir ve menü açılır */
    .nav-links.aktif { display: block !important; }

    /* Mobil link tasarımı */
    .nav-links ul { flex-direction: column !important; padding: 0 !important; margin: 0 !important; }
    .nav-links a { display: block !important; padding: 15px 25px !important; border-bottom: 1px solid #f0f0f0 !important; }

    /* Projeler mobilde tek sütun olsun */
    .isgorder-projeler-grid { grid-template-columns: 1fr !important; }
}

/* =========================================
   MOBİL MENÜ BUTONUNU SAĞA YASLAMA
========================================= */
@media (max-width: 992px) {
    .header-flex {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
    }
    
    .mobil-menu-butonu {
        margin-left: auto !important; /* Butonu zorla en sağa iter */
        margin-right: 15px !important; /* Ekranın sağ kenarından hafif nefes boşluğu bırakır */
    }
}

/* =========================================
   ERİŞİLEBİLİRLİK (ACCESSIBILITY) ARAÇLARI
========================================= */

/* Üst Bar Buton Tasarımları */
.acc-tool {
    background: transparent;
    border: none;
    color: #ffffff;
    cursor: pointer;
    font-size: 13px;
    font-family: inherit;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 4px;
}

.acc-tool:hover, 
.acc-tool:focus {
    background: rgba(255, 255, 255, 0.1);
    outline: 2px solid #8bc34a; /* Klavye ile gezenler için odak çerçevesi */
}

/* YÜKSEK KONTRAST MODU (Siyah Zemin - Sarı/Camgöbeği Yazı) */
body.yuksek-kontrast-aktif {
    background-color: #000000 !important;
}

body.yuksek-kontrast-aktif * {
    background-color: #000000 !important;
    color: #ffff00 !important; /* Standart yüksek görünürlük sarısı */
    border-color: #ffff00 !important;
    box-shadow: none !important;
}

/* Linkler fark edilsin diye farklı renk */
body.yuksek-kontrast-aktif a, 
body.yuksek-kontrast-aktif a * {
    color: #00ffff !important; /* Camgöbeği (Cyan) */
    text-decoration: underline !important;
}

/* Resimler göz almasın diye siyah-beyaz ve yüksek kontrastlı yapılır */
body.yuksek-kontrast-aktif img {
    filter: grayscale(100%) contrast(150%) !important;
}

/* Sesli Okuma aktifken tıklanan metnin vurgulanması */
.okunan-metin-vurgusu {
    background-color: rgba(139, 195, 74, 0.4) !important;
    color: #000 !important;
    border-radius: 4px;
}


/* =========================================
   BÜYÜK METİN MODU (AZ GÖRENLER İÇİN)
========================================= */
body.metin-buyuk-aktif p,
body.metin-buyuk-aktif h1,
body.metin-buyuk-aktif h2,
body.metin-buyuk-aktif h3,
body.metin-buyuk-aktif h4,
body.metin-buyuk-aktif h5,
body.metin-buyuk-aktif h6,
body.metin-buyuk-aktif a,
body.metin-buyuk-aktif li,
body.metin-buyuk-aktif span,
body.metin-buyuk-aktif div {
    font-size: 130% !important; /* Yazıları %30 oranında büyütür */
    line-height: 1.8 !important; /* Satır aralıklarını açarak okunabilirliği artırır */
    transition: font-size 0.3s ease;
}