
/* 768px üzeri (Bilgisayar) ekranlarda devreye gir */
@media (min-width: 768px) {
    
    /* 1. TÜM HEADER'I TEK BİR KUTU GİBİ YAP */
    .navbar-default .container-fluid {
        display: flex !important;
   
        justify-content: space-between !important;
    }

    /* Bootstrap'in görünmez duvarlarını kaldır */
    .navbar-default .container-fluid:before,
    .navbar-default .container-fluid:after,
    .navbar-header:before,
    .navbar-header:after {
        display: none !important;
    }

    /* 2. LOGO ALANI AYARLARI */
    .navbar-header {
        float: none !important;
        margin-right: 30px; /* Menü ile mesafe */
        width: auto !important;
        flex-shrink: 0; /* Logonun sıkışmasını engelle */
    }

    .navbar-brand {
        float: none !important;
        padding: 0 !important;
        height: auto !important;
        display: flex;
        align-items: center;
    }



    /* 3. MENÜ VE BUTONLARI İÇEREN KAPSAYICI */
    #navbar.navbar-collapse {
        display: flex !important;
        flex-grow: 1; /* Kalan tüm boşluğu kapla */
        align-items: center !important;
        justify-content: space-between !important; /* İçindekileri (Menü ve Buton) iki uca yasla */
        width: auto !important;
        float: none !important;
        padding: 0 !important;
        border: none !important;
        box-shadow: none !important;
    }

    /* 4. MENÜ (ORTADA DURSUN) */
    .navbar-nav.main-nav {
        float: none !important;
        margin: 0 auto !important; /* Bu kod menüyü tam ortalar */
        display: flex !important;
        flex-direction: row;
    }




    /* 5. SAĞ BUTONLAR */
    .header-actions {
        float: none !important;
        display: flex !important;
        align-items: center;
        margin: 0 !important;
        gap: 10px;
    }
}


.header-actions li a {
    padding: 10px 10px !important;
    border-radius: 50px !important;

}

/* Hesap Numaraları */
.btn-accounts {
    background: #fff;
    color: #444 !important;
    border: 1px solid #ccc;
}
.btn-accounts:hover {
    background: #f4f4f4;
    color: #000 !important;
    transform: translateY(-2px);
}

/* Bağış Yap */
.btn-donate {
    background: #e53935;
    color: #fff !important;
    border: 1px solid #e53935;
    box-shadow: 0 4px 10px rgba(229, 57, 53, 0.3);
}
.btn-donate:hover {
    background: #d32f2f;
    color:#b20000 !important;
    transform: translateY(-2px);
}

/* Mobilde Düzenleme */
@media (max-width: 767px) {
    .navbar-header { text-align: center; float: none; display: block; }
    .navbar-brand { justify-content: center; }
    .header-actions { display: block; text-align: center; margin-top: 10px; }
    .header-actions li { display: inline-block; margin: 5px; }
}

    #modern-sayfa-wrapper {
        font-family: 'Poppins', sans-serif;
        background-color: #f8fafc;
        color: #1f2937;
        line-height: 1.6;
        width: 100%;
        overflow-x: hidden; /* Taşmayı engelle */
        position: relative;
        z-index: 1;
    }

    /* Reset işlemleri sadece bu alan için */
    #modern-sayfa-wrapper * {
        box-sizing: border-box;
    }

    #modern-sayfa-wrapper a { text-decoration: none; color: inherit; transition: 0.3s; }
    #modern-sayfa-wrapper ul { list-style: none; padding: 0; margin: 0; }
    #modern-sayfa-wrapper img { max-width: 100%; display: block; object-fit: cover; }
    
    /* Özel Container (Bootstrap container ile karışmasın diye) */
    .mn-container {
        width: 100%;
        max-width: 1280px;
        margin: 0 auto;
        padding: 0 24px;
    }

    /* RENK TANIMLARI */
    #modern-sayfa-wrapper {
        --mn-accent: #D32F2F; 
        --mn-accent-dark: #b71c1c; 
        --mn-secondary: #FBC02D;
        --mn-text: #1f2937;
        --mn-text-light: #6b7280;
        --mn-border: #e2e8f0;
        --mn-bg-white: #ffffff;
        --mn-radius: 16px;
        --mn-shadow: 0 10px 40px -10px rgba(0,0,0,0.06);
    }

    /* --- BUTONLAR --- */
    .mn-btn {
        padding: 12px 28px;
        border-radius: 99px;
        font-weight: 600;
        font-size: 14px;
        cursor: pointer;
        display: inline-flex; align-items: center; gap: 8px;
        border: 1px solid transparent;
    }
    .mn-btn-primary { background: var(--mn-accent); color: #fff !important; box-shadow: 0 4px 12px rgba(211, 47, 47, 0.2); }
    .mn-btn-primary:hover { background: var(--mn-accent-dark); transform: translateY(-2px); }
    .mn-btn-outline { background: transparent; border-color: var(--mn-border); color: var(--mn-text) !important; }
    .mn-btn-outline:hover { background: #fff; border-color: var(--mn-text); }

    /* --- SECTIONS --- */
    .mn-section { padding: 80px 0; }
    .mn-section-header { margin-bottom: 40px; max-width: 700px; }
    .mn-eyebrow { color: var(--mn-accent); font-weight: 700; text-transform: uppercase; font-size: 13px; letter-spacing: 1px; display: block; margin-bottom: 8px; }
    .mn-title { font-size: 36px; font-weight: 700; color: #111; line-height: 1.2; margin-bottom: 12px; }
    .mn-desc { font-size: 18px; color: var(--mn-text-light); }

    /* --- GRID SİSTEMİ --- */
    .mn-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
    .mn-grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
    .mn-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

    /* --- HERO ALANI --- */
    .mn-hero { padding: 80px 0; background: #f8fafc; }
    .mn-hero-content { display: flex; flex-direction: column; justify-content: center; }
    .mn-hero-title { font-size: 48px; font-weight: 800; color: #111; line-height: 1.1; margin-top: 5px; }
    .mn-hero-title span { color: var(--mn-accent); }
    .mn-hero-img { border-radius: 24px; box-shadow: var(--mn-shadow); border: 8px solid #fff; transform: rotate(2deg); width: 100%; height: 450px; object-fit: cover; }
    .mn-hero-badge { display: inline-block; padding: 6px 14px; background: #fee2e2; color: var(--mn-accent); border-radius: 99px; font-weight: 600; font-size: 13px; margin-bottom: 20px;    width: fit-content; }

    /* --- KARTLAR --- */
    .mn-card { background: #fff; border: 1px solid var(--mn-border); border-radius: var(--mn-radius); overflow: hidden; transition: 0.3s; height: 100%; display: flex; flex-direction: column; }
    .mn-card:hover { transform: translateY(-5px); box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1); border-color: rgba(211, 47, 47, 0.2); }
/* --- BAĞIŞ KARTLARI RESİM AYARI --- */
.mn-card-img { 
    width: 100%;
    height: 350px; /* Yüksekliği sabitledik, böylece devasa olmaz */
    position: relative; 
    overflow: hidden;
}

/* Resmi kutunun içine "Cover" yöntemiyle sığdır (Görüntü bozulmaz, ortalanır) */
.mn-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
}

/* --- SLIDER KART AYARI (Slider'ın düzgün görünmesi için) --- */
.mn-project-slide {
    flex: 0 0 320px; /* Genişliği sabitledik */
    height: 400px; /* Yüksekliği sabitledik */
    border-radius: var(--mn-radius); 
    overflow: hidden; 
    position: relative;
    cursor: pointer; 
    box-shadow: var(--mn-shadow);
    scroll-snap-align: start; /* Kaydırma hizalaması */
}
    .mn-card:hover .mn-card-img img { transform: scale(1.05); }
    .mn-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
    .mn-card-title { font-size: 20px; font-weight: 700; color: #111; margin-bottom: 12px; }
    .mn-card-text { font-size: 15px; color: var(--mn-text-light); margin-bottom: 20px; flex: 1; }
    .mn-badge { position: absolute; top: 16px; right: 16px; background: #fff; padding: 5px 12px; border-radius: 6px; font-size: 12px; font-weight: 700; z-index: 2; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
    
    /* --- SLIDER ÖZEL --- */
   .mn-slider-section { 
    text-align: center; 
    background: #f8fafc; /* Arkaplan rengi */
    padding-top: 50px; 
    padding-bottom: 50px; 
}

/* Başlık ve Açıklama */
.mn-slider-header {
    max-width: 800px;
    margin: 0 auto 30px;
}

/* Navigasyon Butonları (Kare ve Hafif Oval) */
.mn-slider-nav { 
    display: flex; 
    justify-content: center; 
    gap: 15px; 
    margin-bottom: 30px; 
}
.mn-nav-btn { 
    width: 44px; 
    height: 44px; 
    border-radius: 8px; /* Tam yuvarlak değil, karemsi */
    border: 1px solid #e2e8f0; 
    background: #fff; 
    cursor: pointer; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: #1f2937;
    transition: 0.3s;
}
.mn-nav-btn:hover { 
    border-color: #D32F2F; 
    color: #D32F2F; 
    background: #fff; /* İstersen hover'da arka plan değişebilir */
}

/* Slider Rayı */
.mn-slider-wrapper { 
    position: relative; 
    overflow: hidden; 
    padding: 10px 0; /* Gölgeler kesilmesin diye */
}
.mn-slider-track {
    display: flex; 
    gap: 30px; /* Kartlar arası boşluk (Görseldeki gibi geniş) */
    overflow-x: auto; 
    scroll-snap-type: x mandatory; 
    scroll-behavior: smooth; 
    scrollbar-width: none; 
    padding: 0 5px;
}
.mn-slider-track::-webkit-scrollbar { display: none; }

/* Kart Tasarımı (3'lü Görünüm ve Yatay) */
.mn-project-slide {
    /* Ekranda tam 3 tane görünsün diye hesaplama: %33.3 - boşluk payı */
    flex: 0 0 calc(33.333% - 20px); 
    height: 320px; /* Yükseklik düşürüldü (Daha basık/karemsi) */
    border-radius: 16px; 
    overflow: hidden; 
    position: relative;
    cursor: pointer; 
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    scroll-snap-align: start; 
}

/* Resim */
.mn-project-slide img {
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: transform 0.5s ease;
}
.mn-project-slide:hover img { transform: scale(1.1); }

/* Overlay (Koyu Gradient) */
.mn-project-overlay {
    position: absolute; 
    bottom: 0; left: 0; right: 0; 
    height: 80%; /* Gradient yüksekliği */
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
    display: flex; 
    align-items: flex-end; 
    padding: 24px;
    z-index: 2;
}
.mn-project-title { 
    color: #fff; 
    font-size: 20px; 
    font-weight: 700; 
    text-align: center; /* Yazı ortalı */
    width: 100%;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    line-height: 1.3;
}

/* Alt Noktalar (Dots) */
.mn-slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}
.mn-dot {
    width: 10px;
    height: 10px;
    background-color: #e2e8f0;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}
.mn-dot.active {
    background-color: #D32F2F; /* Kırmızı aktif nokta */
    width: 24px;
    border-radius: 12px;
}

/* Mobil Uyumluluk */
@media (max-width: 992px) {
    .mn-project-slide { flex: 0 0 calc(50% - 15px); } /* Tablette 2'li */
}
@media (max-width: 600px) {
    .mn-project-slide { flex: 0 0 100%; } /* Mobilde 1'li */
}
/* --- FOTO GALERİ (Düzeltilmiş ve Efektli) --- */

/* 4'lü Grid Yapısı */
.mn-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 Eşit kolon */
    gap: 24px; /* Kartlar arası boşluk */
}

/* Galeri Kartı */
.mn-gallery-item {
    position: relative; /* İkonu içinde tutmak için */
    border-radius: 24px; /* Köşeleri yuvarlat */
    overflow: hidden; /* Taşmaları gizle */
    height: 300px; /* Sabit yükseklik (Hizayı bozmaması için) */
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

/* Resim Ayarı */
.mn-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Resmi kutuya sığdır */
    transition: transform 0.5s ease; /* Yakınlaşma animasyonu */
}

/* Hover: Resim Hafif Büyüsün */
.mn-gallery-item:hover img {
    transform: scale(1.1);
}

/* Hover Overlay (Karanlık Katman ve İkon) */
.mn-gallery-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.4); /* Siyah yarı saydam perde */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0; /* Başlangıçta gizli */
    transition: all 0.3s ease;
    z-index: 2;
}

/* Hover Durumu: Göster */
.mn-gallery-item:hover .mn-gallery-overlay {
    opacity: 1;
}

/* İkon Tasarımı */
.mn-gallery-overlay i {
    color: #fff;
    font-size: 32px;
    background: rgba(255,255,255,0.2);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    transform: scale(0.8);
    transition: 0.3s;
}

.mn-gallery-item:hover .mn-gallery-overlay i {
    transform: scale(1);
}

/* Mobil Uyumluluk */
@media (max-width: 992px) {
    .mn-gallery-grid { grid-template-columns: repeat(2, 1fr); } /* Tablette 2'li */
}
@media (max-width: 600px) {
    .mn-gallery-grid { grid-template-columns: 1fr; } /* Mobilde 1'li */
    .mn-gallery-item { height: 250px; }
}
  /* --- SÜREÇ KARTLARI (Birebir Tasarım) --- */
.mn-process-item {
    background: #fff;
    padding: 32px;
    border: 1px solid var(--mn-border); /* Gri ince çerçeve */
    border-radius: 20px; /* Köşeleri yuvarlat */
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* İçeriği SOLA yasla */
    text-align: left; /* Metinleri SOLA yasla */
}

.mn-process-item:hover {
    border-color: #D32F2F; /* Hover olunca çerçeve kırmızı olsun */
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* "ADIM 01" Yazısı */
.mn-step-label {
    color: #D32F2F; /* Kırmızı Renk */
    font-size: 12px;
    font-weight: 800; /* Kalın font */
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px; /* İkonla arasındaki boşluk */
    display: block;
}

/* İkonun İçindeki Kutu */
.mn-process-icon {
    width: 60px;
    height: 60px;
    background: #fef2f2; /* Çok açık kırmızı arka plan */
    color: #D32F2F; /* İkon rengi */
    border-radius: 16px; /* Hafif yuvarlak köşe */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;

}

/* Başlık */
.mn-process-title {
    font-size: 20px;
    font-weight: 700;
    color: #111;
    margin-bottom: 12px;
}

/* Açıklama Metni */
.mn-process-desc {
    font-size: 15px;
    color: #64748b; /* Gri metin */
    line-height: 1.6;
}

    /* --- IBAN --- */
/* --- IBAN KART (KOMPAKT VERSİYON) --- */
.mn-iban-card {
    background: #0f172a;
    color: #fff;
    border-radius: 20px;
    padding: 40px 50px; /* Boşluklar azaltıldı */
    display: flex;
    align-items: center; /* Dikeyde ortaladık */
    gap: 40px;
    position: relative;
    overflow: hidden;
    max-width: 1150px; /* Genişliği sınırladık, çok yayılmasın */
    margin: 0 auto; /* Ortala */
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.5);
}

.mn-iban-content {
    flex: 1;
    z-index: 2;
}

/* Bankalar arası mesafe azaltıldı */
.mn-iban-group {
    margin-bottom: 20px; 
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding-bottom: 20px;
}
.mn-iban-group:last-child {
    border: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

/* Başlıklar sıkılaştırıldı */
.mn-label-gold {
    color: #FBC02D;
    font-size: 12px; /* Font küçüldü */
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 4px; /* Boşluk azaldı */
    display: block;
    opacity: 0.9;
}

.mn-value-white {
    font-size: 16px; /* Font küçüldü */
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px; /* Boşluk azaldı */
    display: block;
}

/* Kutu daha ince yapıldı */
.mn-copy-box {
    background: #1e293b;
    border: 1px solid rgba(255,255,255,0.1);
    padding: 10px 16px; /* İç boşluk azaldı */
    border-radius: 10px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: 0.2s;
    width: 100%;
    max-width: 380px; /* Kutu genişliği sınırlandı */
}
.mn-copy-box:hover {
    border-color: #FBC02D;
    background: #334155;
    color: #fff;
}

/* Resim küçültüldü ve kare yapıldı */
.mn-iban-img {
    width: 260px;
    height: 260px;
    border-radius: 16px;
    overflow: hidden;
    border: 4px solid rgba(255,255,255,0.1);
    flex-shrink: 0;
}

/* Mobil ayarı */
@media (max-width: 992px) {
    .mn-iban-card { flex-direction: column; padding: 30px; text-align: center; }
    .mn-iban-card { align-items: stretch; }
    .mn-iban-img { width: 100%; height: 200px; margin-top: 20px; }
    .mn-copy-box { max-width: 100%; justify-content: center; }
}
/* --- MOBİL UYUMLULUK DÜZELTMELERİ --- */
    @media (max-width: 992px) {
        
        /* 1. TÜM GRID YAPILARINI ALT ALTA AL */
        .mn-grid-2, .mn-grid-3, .mn-grid-4 {
            display: grid !important;
            grid-template-columns: 1fr !important; /* Tek kolon */
            gap: 30px !important;
        }

        /* 3. BAĞIŞ KARTLARI (Faaliyetlerimiz) */
        .mn-card-img {
            height: 250px !important; /* Mobilde kart resmini biraz kısalt */
        }

        /* 4. NASIL ÇALIŞIYORUZ (Süreç) */
        .mn-process-item {
            text-align: center !important; /* Mobilde ortalı daha şık durur */
            align-items: center !important;
        }

        /* 5. GENEL KONTEYNER AYARLARI */
        .mn-container {
            padding: 0 20px !important; /* Yan boşlukları daralt */
        }
        
        .mn-section {
            padding: 50px 0 !important; /* Dikey boşlukları azalt */
        }

        .mn-title {
            font-size: 28px !important; /* Bölüm başlıklarını mobilleştir */
        }
        
        /* Buton Grubu Mobilde Alt Alta Değil Yan Yana Sığsın veya Alt Alta Geçsin */
        .mn-hero-content div[style*="display: flex"] {
            flex-wrap: wrap;
            justify-content: center;
        }
    }
@media (max-width: 992px) {
    /* 1. Kapsayıcıyı Esnek Kutuya Çevir ve Terse Çevir (Görsel Üste) */
    .mn-hero .mn-grid-2 {
        display: flex !important;
        flex-direction: column-reverse !important; /* Görseli üste, yazıyı alta alır */
        gap: 16px !important; /* Görsel ile yazı arasındaki boşluk */
        padding-top: 20px !important; /* Üstten biraz boşluk */
    }

    /* 2. Görsel Ayarları (Daha temiz ve odaklı) */
    .mn-hero-img {
        width: 100% !important;
        height: 240px !important; /* Mobilde çok yer kaplamasın ama net görünsün */
        object-fit: cover !important;
        transform: none !important; /* Dönme efektini iptal et */
        border: none !important; /* Kalın çerçeveyi kaldır */
        border-radius: 12px !important;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1) !important;
        margin-bottom: 0 !important;
    }

    /* 3. İçerik Kapsayıcısı (Ortala ve Sıkılaştır) */
    .mn-hero-content {
        text-align: center !important;
        align-items: center !important;
        padding: 0 5px !important;
    }

    /* 4. Badge (Etiket) Ayarı */
    .mn-hero-badge {
        margin-bottom: 8px !important; /* Başlık ile arasını kıstık */
        font-size: 11px !important;
        padding: 4px 10px !important;
    }

    .mn-hero-title {
        font-size: 26px !important;
        line-height: 1.2 !important;
        margin-bottom: 10px !important; /* Açıklama ile arasını kıstık */
    }

    .mn-desc {
        font-size: 15px !important;
        line-height: 1.5 !important;
        margin-bottom: 20px !important; /* HTML'deki 30px'i ezip 20px yaptık */
        padding: 0 10px; /* Kenarlara yapışmasın */
        color: #4b5563 !important;
    }

    /* 7. Butonların Kapsayıcısı (HTML'deki inline stili hedefliyoruz) */
    .mn-hero-content > div {
        justify-content: center !important;
        gap: 10px !important; /* Butonlar birbirine yaklaşsın */
        width: 100%;
        display: flex !important;
    }

    .mn-btn {
        padding: 10px 20px !important; /* İç boşluğu biraz azalttık */
        font-size: 13px !important;
        flex: 1; /* Butonlar eşit genişlikte yayılsın */
        justify-content: center;
        max-width: 160px; /* Çok geniş ekranda butonlar devasa olmasın */
    }
    .mn-hero {
    padding: 25px 0;
    background: #f8fafc;
}
}
.left-header .navbar-brand {
    height: auto;
    padding: 5px 0;
    margin-top: 5px;
}
