/* =========================================================
   1. BÖLÜM: MASAÜSTÜ (BİLGİSAYAR) TASARIMI
   ========================================================= */

* { margin: 0; padding: 0; box-sizing: border-box; }

/* HTML ve Body Ayarları */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    background-color: #f4f6fb;
    color: #1f2937;
    line-height: 1.6;
    display: block; 
}

/* Sayfa Kapsayıcısı (Sticky Footer İçin) */
.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a { text-decoration: none; color: inherit; transition: color 0.3s; }
ul { list-style: none; }

/* Main, footer'ı aşağı iter */
main { 
    flex: 1; 
    width: 100%; 
}

/* Script etiketlerini gizle */
script { display: none !important; }

/* HTML Kaydırma Ayarı */
html {
    scroll-padding-top: 110px; 
    scroll-behavior: smooth;   
}

/* --- Navbar (Header) --- */
header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #e5e7eb;
}
.nav {
    max-width: 1200px; margin: auto; padding: 10px 20px;
    display: flex; justify-content: space-between; align-items: center;
}
.brand-area { display: flex; align-items: center; gap: 15px; }
.brand-area .logo-img { height: 60px; width: auto; }
.brand-area .logo-text { height: 40px; width: auto; }
.nav ul { display: flex; gap: 26px; align-items: center; }
.nav ul li a { font-weight: 500; color: #374151; }
.nav ul li a:hover { color: #2563eb; }
.hamburger { display: none; } 

/* --- Butonlar --- */
.nav-btn, .hero .btn, .contact-box .btn, 
.all-kadro-btn, .all-gallery-btn, .all-duyuru-btn, 
.download-btn, .view-btn, .back-btn, .submit-btn {
    background: #2563eb !important; color: #fff !important;
    border-radius: 50px !important; transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2); text-align: center;
    display: inline-block; cursor: pointer; border: none; text-decoration: none;
}
.nav-btn { padding: 10px 24px; }
.hero .btn, .contact-box .btn { padding: 14px 30px; font-weight: 700; margin-top: 20px; }
.download-btn, .view-btn { padding: 10px 20px; border-radius: 12px !important; }
.view-btn { background: #10b981 !important; box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2); }
.back-btn { padding: 12px 24px; border-radius: 12px !important; font-weight: 600; }
.submit-btn {
    width: 100%; font-size: 1.1rem; font-weight: 700; text-transform: uppercase; padding: 18px; border-radius: 12px !important; margin-top: 30px;
}

.nav-btn:hover, .hero .btn:hover, .contact-box .btn:hover,
.all-kadro-btn:hover, .all-gallery-btn:hover, .all-duyuru-btn:hover,
.download-btn:hover, .view-btn:hover, .back-btn:hover, .submit-btn:hover {
    background: #1d4ed8 !important; transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(37, 99, 235, 0.3);
}
.all-kadro-btn, .all-gallery-btn, .all-duyuru-btn {
    display: block; margin: 40px auto 0; max-width: 260px; padding: 14px 32px;
}

/* --- Genel Yapı --- */
section, .container, .wrapper {
    width: 100%; max-width: 1200px; margin: 120px auto 60px; padding: 0 20px;
}
h1 { text-align: center; font-size: 2.8rem; margin-bottom: 20px; color: #1f2937; }
h2 { text-align: center; font-size: 2.3rem; margin-bottom: 18px; }
.desc { text-align: center; max-width: 800px; margin: 0 auto 40px; opacity: 0.8; font-size: 1.1rem; }
.back-btn-wrapper { margin-bottom: 30px; text-align: left; width: 100%; display: block; }

/* --- BAĞIŞ KARTI TASARIMI (YENİ) --- */
.donation-card {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 900px;
    margin: 3rem auto 0;
    position: relative;
    overflow: hidden;
}
.donation-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 6px; height: 100%;
    background: #2563eb; /* Mavi vurgu çubuğu */
}
.bank-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: #eff6ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
}
.bank-icon svg { width: 40px; height: 40px; }
.bank-info { flex: 1; }
.bank-info h3 { margin: 0 0 10px; color: #1e293b; font-size: 1.4rem; }
.bank-name { font-weight: 700; color: #dc2626; font-size: 1.1rem; margin-bottom: 5px; } /* Ziraat Kırmızısı */
.account-owner { color: #475569; margin-bottom: 15px; font-size: 1rem; }
.iban-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8fafc;
    padding: 12px 18px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    width: fit-content;
}
.iban-label { font-weight: 700; color: #1e293b; }
.iban-number { font-family: monospace; font-size: 1.1rem; letter-spacing: 1px; color: #334155; }
.copy-btn {
    background: #2563eb; color: #fff; border: none; padding: 6px 14px;
    border-radius: 8px; cursor: pointer; font-size: 0.85rem; font-weight: 600;
    display: flex; align-items: center; gap: 5px; transition: all 0.2s;
}
.copy-btn:hover { background: #1d4ed8; }
.copy-success-msg { color: #16a34a; font-size: 0.9rem; font-weight: 600; margin-left: 15px; opacity: 0; transition: opacity 0.3s; }

/* --- GRID SİSTEMLERİ --- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-center { display: flex; justify-content: center; }
.grid-center .card { width: 100%; max-width: 380px; }
.duyuru-list { display: flex; flex-direction: column; width: 100%; gap: 40px; }
.duyuru-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 40px; margin-top: 50px; }
.belgeler-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 32px; }

/* --- GALERİ CAROUSEL --- */
.gallery-carousel-wrapper {
    position: relative; margin-top: 40px; overflow: hidden;
}
.gallery-carousel {
    display: flex;
    transition: transform 0.5s ease;
    gap: 30px;
}
.gallery-carousel .gallery-item {
    width: 320px;
    height: 240px;
    flex-shrink: 0;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}
.gallery-carousel .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease; 
}
.gallery-carousel .gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
.gallery-carousel .gallery-item:hover img {
    transform: scale(1.1);
}
.gallery-carousel .caption {
    display: none !important;
}

/* --- KART TASARIMLARI --- */
.card, .kadro-item {
    background: #fff; border: 1px solid #e5e7eb; border-radius: 18px;
    padding: 24px; text-align: center; box-shadow: 0 10px 30px rgba(15,23,42,.06);
    transition: all 0.3s ease;
}
.card:hover, .kadro-item:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(15,23,42,.12); }
.card img, .kadro-item img {
    width: 140px; height: 140px; border-radius: 50%; object-fit: cover; margin-bottom: 16px; border: 4px solid #eff6ff;
}
.card h3, .kadro-item h3 { font-size: 1.3rem; margin-bottom: 8px; }
.card span, .kadro-item span { font-size: 0.95rem; color: #64748b; display: block; }
.group-title { text-align: center; font-size: 1.8rem; margin: 50px 0 30px; color: #2563eb; border-bottom: 2px solid #dbeafe; padding-bottom: 10px; }

/* --- DUYURU KARTI --- */
.duyuru-card {
    background: #fff; border-radius: 16px; overflow: hidden;
    box-shadow: 0 8px 28px rgba(0,0,0,0.08); display: flex; flex-direction: row;
    width: 100%; min-height: 280px; border: 1px solid #e5e7eb; transition: all 0.28s;
}
.duyuru-card:hover { transform: translateY(-8px); box-shadow: 0 20px 48px rgba(0,0,0,0.12); }
.foto-side { flex: 0 0 400px; position: relative; background: #f1f5f9; min-height: 100%; }
.foto-side img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s; }
.duyuru-card:hover .foto-side img { transform: scale(1.06); }
.text-side { flex: 1; padding: 2.5rem; display: flex; flex-direction: column; justify-content: center; text-align: left; }
.date { color: #64748b; font-size: 0.94rem; margin-bottom: 0.9rem; }
.read-more { color: #2563eb; font-weight: 600; margin-top: auto; }

/* --- DUYURU DETAY --- */
.duyuru-detail-card { background: #fff; border-radius: 24px; box-shadow: 0 15px 40px rgba(0,0,0,0.08); overflow: hidden; border: 1px solid #e5e7eb; margin-top: 20px; }
.duyuru-detail-img-wrapper { width: 100%; height: 450px; background: #f1f5f9; }
.duyuru-detail-img { width: 100%; height: 100%; object-fit: cover; }
.duyuru-detail-content { padding: 3rem 4rem; }
.duyuru-detail-content h1 { text-align: left; margin-bottom: 15px; font-size: 2.2rem; color: #1e293b; line-height: 1.2; }
.duyuru-detail-meta { display: flex; align-items: center; gap: 8px; color: #64748b; font-size: 0.95rem; margin-bottom: 30px; padding-bottom: 20px; border-bottom: 1px solid #e2e8f0; }
.duyuru-detail-text { font-size: 1.15rem; line-height: 1.8; color: #334155; text-align: justify; }

/* --- KADRO CAROUSEL --- */
.kadro-carousel-wrapper { position: relative; margin-top: 40px; overflow: hidden; }
.kadro-carousel { display: flex; transition: transform 0.5s ease; gap: 30px; }
.kadro-item { flex-shrink: 0; width: 280px; }

.carousel-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(0,0,0,0.6); color: white; border: none;
    width: 50px; height: 50px; border-radius: 50%; cursor: pointer; z-index: 10;
    display: flex; align-items: center; justify-content: center;
}
.carousel-btn:hover { background: rgba(0,0,0,0.9); }
.carousel-btn.prev { left: 10px; } .carousel-btn.next { right: 10px; }
.carousel-btn svg { width: 24px; height: 24px; stroke: white; stroke-width: 3; fill: none; }

/* Hero */
.hero {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    text-align: center; padding: 120px 20px;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('img/hero-bg.jpg');
    background-size: cover; background-position: center; background-attachment: fixed;
    color: #fff; margin: 0; max-width: 100% !important;
}
.hero h1 { color: #fff; font-size: 3rem; text-shadow: 0 2px 10px rgba(0,0,0,0.3); }

/* Diğer Bileşenler */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.contact-box { background: #fff; border: 1px solid #e5e7eb; border-radius: 18px; padding: 34px; box-shadow: 0 10px 30px rgba(15,23,42,.06); }
.socials { display: flex; gap: 15px; margin-top: 18px; }
.socials a { width: 42px; height: 42px; transition: transform 0.2s; }
.socials a:hover { transform: scale(1.1); }

.form-box { background: #ffffff; border: 1px solid #e5e7eb; border-radius: 22px; padding: 50px; box-shadow: 0 40px 90px rgba(15,23,42,.08); }
.row { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 26px; margin-bottom: 26px; }
.field { display: flex; flex-direction: column; }
.field.full { grid-column: 1/-1; }
label { font-size: .9rem; margin-bottom: 8px; color: #374151; }
input, textarea, select { background: #f9fafb; border: 1px solid #d1d5db; border-radius: 14px; padding: 14px 16px; width: 100%; }
.section-title { margin: 40px 0 20px; padding: 14px 20px; background: #2563eb; color: #fff; border-radius: 14px; font-weight: 700; }
.radio-group { display: flex; gap: 30px; margin-top: 6px; }

.kvkk-container { margin: 40px 0; padding: 30px; background: #eff6ff; border: 1px solid #dbeafe; border-radius: 24px; position: relative; }
.kvkk-container h3 { font-size: 1.1rem; color: #1e3a8a; margin-bottom: 5px; font-weight: 700; text-align: center; } /* Başlık Ortalı */
.kvkk-container h4 { font-size: 0.95rem; color: #1f2937; margin-bottom: 15px; font-weight: 600; text-align: left; }
.kvkk-small { max-height: 220px; overflow: hidden; position: relative; transition: max-height 0.5s ease; color: #334155; font-size: 0.95rem; line-height: 1.6; }
.kvkk-small.expanded { max-height: 5000px; }
.kvkk-small::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 120px; background: linear-gradient(to bottom, rgba(239, 246, 255, 0), #eff6ff); pointer-events: none; }
.kvkk-small.expanded::after { display: none; }
.kvkk-toggle { display: block; margin: 10px auto 0; padding: 12px 40px; background: #2563eb; color: white; border: none; border-radius: 12px; font-weight: 600; font-size: 0.95rem; cursor: pointer; transition: all 0.3s; z-index: 10; position: relative; }
.kvkk-toggle:hover { background: #1d4ed8; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3); }

.checkbox-box { margin: 40px 0; padding: 28px; background: #fff; border: 1px solid #e5e7eb; border-radius: 18px; }
.checkbox-box label { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; cursor: pointer; font-size: 0.95rem; color: #374151; line-height: 1.4; }
.checkbox-box input[type="checkbox"] { width: 20px; height: 20px; margin: 0; cursor: pointer; flex-shrink: 0; accent-color: #2563eb; }
.radio-group label { display: flex; align-items: center; gap: 8px; margin-bottom: 0; cursor: pointer; font-size: 0.95rem; color: #374151; }
.radio-group input[type="radio"] { width: 20px; height: 20px; margin: 0; cursor: pointer; accent-color: #2563eb; }

/* Lightbox */
.lightbox { display: none !important; position: fixed; inset: 0; background: rgba(0,0,0,0.9); z-index: 9999; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: 0.3s; }
.lightbox.show { display: flex !important; opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 90%; max-height: 90vh; object-fit: contain; border-radius: 12px; }
.lightbox-caption { position: absolute; bottom: 30px; color: white; background: rgba(0,0,0,0.6); padding: 12px 24px; border-radius: 12px; font-size: 1.1rem; text-align: center; }

/* Footer */
footer { background-color: #0f172a; color: #e2e8f0; padding: 80px 20px 30px; margin-top: auto; text-align: left; font-size: 0.95rem; border-top: none; }
.footer-content { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 60px; padding-bottom: 60px; border-bottom: 1px solid #1e293b; }
.footer-col h3 { color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: 25px; text-transform: uppercase; letter-spacing: 1px; }
.brand-col p { color: #94a3b8; line-height: 1.8; max-width: 350px; }
.footer-col ul li { margin-bottom: 14px; }
.footer-col ul li a { color: #cbd5e1; transition: all 0.3s; font-weight: 400; }
.footer-col ul li a:hover { color: #3b82f6; padding-left: 5px; }
.contact-row { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 20px; color: #cbd5e1; }
.contact-row svg { width: 20px; height: 20px; flex-shrink: 0; fill: #3b82f6; margin-top: 3px; }
.footer-bottom { max-width: 1200px; margin: 30px auto 0; display: flex; justify-content: space-between; align-items: center; color: #64748b; font-size: 0.9rem; }
.footer-socials { display: flex; gap: 20px; }
.footer-socials a { color: #94a3b8; transition: color 0.3s, transform 0.3s; }
.footer-socials a:hover { color: #fff; transform: translateY(-2px); }
.footer-socials svg { width: 20px; height: 20px; }

.fade { opacity: 0; transform: translateY(40px); transition: 1s; }
.fade.show { opacity: 1; transform: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(40px) } to { opacity: 1; transform: none } }

@media (max-width: 900px) {
    .nav { padding: 15px 20px; }
    .hamburger { display: flex; flex-direction: column; gap: 5px; cursor: pointer; z-index: 1001; }
    .hamburger span { width: 30px; height: 3px; background-color: #374151; border-radius: 5px; transition: 0.3s; }
    .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

    .nav ul { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%; background: #fff; padding: 20px 0; border-bottom: 1px solid #e5e7eb; box-shadow: 0 10px 20px rgba(0,0,0,0.1); gap: 15px; z-index: 99; }
    .nav ul.show { display: flex; animation: slideDown 0.3s ease forwards; }
    .nav ul li { width: 100%; text-align: center; }
    .nav ul li a { display: block; padding: 10px; font-size: 1.1rem; }
    .brand-area .logo-img { height: 40px; }
    .brand-area .logo-text { height: 28px; }
    
    .grid, .grid-center, .belgeler-grid, .duyuru-list, .duyuru-grid, .contact { grid-template-columns: 1fr !important; display: grid !important; }
    
    .duyuru-card { flex-direction: column !important; min-height: auto !important; height: auto !important; }
    .foto-side { width: 100% !important; height: 250px !important; min-height: 0 !important; flex: none !important; }
    .foto-side img { width: 100% !important; height: 100% !important; object-fit: cover !important; }
    .text-side { padding: 1.5rem !important; }
    
    .duyuru-detail-img-wrapper { height: 250px !important; }
    .duyuru-detail-content { padding: 2rem 1.5rem !important; }
    .duyuru-detail-content h1 { font-size: 1.8rem !important; }
    
    .hero { padding: 100px 20px 60px; min-height: auto; }
    .hero h1 { font-size: 2rem; }
    
    /* BAĞIŞ KARTI MOBİL AYARI */
    .donation-card { flex-direction: column; text-align: center; gap: 1rem; padding: 1.5rem; }
    .iban-wrapper { flex-direction: column; width: 100%; gap: 8px; }
    .iban-number { font-size: 0.95rem; }
    .copy-btn { width: 100%; justify-content: center; padding: 10px; margin-top: 5px; }
    
    .kadro-item { width: 100% !important; max-width: 100%; }
    /* Galeri Carousel Mobilde */
    .gallery-carousel .gallery-item { width: 280px; height: 210px; }
    .gallery-carousel img { width: 100%; height: 100%; }

    .form-box { padding: 25px 20px; }
    .row { grid-template-columns: 1fr !important; gap: 15px; }
    .radio-group { flex-direction: column; gap: 10px; }
    .checkbox-box label { align-items: flex-start; }

    .footer-content { grid-template-columns: 1fr; gap: 40px; text-align: left; }
    .footer-bottom { flex-direction: column-reverse; gap: 20px; }
    .brand-col p { max-width: 100%; }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- KURUMSAL SAYFALAR ÖZEL STİLLER (Tüzük, Vizyon vb.) --- */
.kurumsal-content {
    background: #fff;
    border-radius: 16px;
    padding: 2.8rem 2.4rem;
    box-shadow: 0 8px 28px rgba(0,0,0,0.07);
    border: 1px solid #e5e7eb;
    margin-top: 2rem;
}
.kurumsal-content h3 { font-size: 1.75rem; color: #2563eb; margin: 2.2rem 0 1rem; text-align: center; } /* BAŞLIK ORTALANDI */
.kurumsal-content ul { list-style: none; padding-left: 0; }
.kurumsal-content ul li { margin: 0.9rem 0; padding-left: 1.8rem; position: relative; }
.kurumsal-content ul li::before { content: ""; width: 6px; height: 6px; background-color: #2563eb; border-radius: 50%; position: absolute; left: 5px; top: 10px; }

.ozet-metni { font-size: 1.05rem; margin-bottom: 2.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid #e5e7eb; }

.download-section { text-align: center; margin: 3rem 0; }
.download-btn { display: inline-block; background: #2563eb; color: #fff; padding: 14px 32px; border-radius: 50px; font-weight: 600; font-size: 1.1rem; box-shadow: 0 4px 12px rgba(37,99,235,0.2); transition: all 0.3s; }
.download-btn:hover { background: #1d4ed8; transform: translateY(-3px); box-shadow: 0 8px 20px rgba(37,99,235,0.3); }

.belge-resimleri { display: flex; flex-direction: column; align-items: center; gap: 2rem; margin: 2rem 0; }
.belge-resimleri img { max-width: 100%; height: auto; border: 1px solid #e5e7eb; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }

/* Galeri Izgara Ayarları (Sayfa sonu) */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 2rem;
}
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: #f1f5f9;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 4 / 3;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}
.gallery-item:hover img {
    transform: scale(1.08);
}
.gallery-item .caption {
    display: none !important;
}