/* ==========================================================================
   1. GENEL AYARLAR VE DEĞİŞKENLER (VARIABLES)
   ========================================================================== */
:root {
    /* Renk Paleti (Kurumsal & Prestijli) */
    --primary-color: #0d47a1; /* Derin Güven Mavisi */
    --secondary-color: #1b5e20; /* Umut Yeşili */
    --accent-color: #e53935; /* Bağış / Acil Kırmızı */
    --dark-color: #263238; /* Koyu Metin Rengi */
    --light-color: #f5f7fa; /* Arka Plan Açık Gri */
    --white: #ffffff;
    --gray: #78909c;
    --border-color: #e2e8f0;

    /* Fontlar ve Gölgeler */
    --font-family: 'Poppins', sans-serif;
    --shadow-sm: 0 2px 5px rgba(0,0,0,0.05);
    --shadow-md: 0 5px 15px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.15);
    
    /* Geçiş Efektleri */
    --transition: all 0.3s ease-in-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    color: var(--dark-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.bg-light { background-color: var(--light-color); }
.bg-dark { background-color: var(--dark-color); color: var(--white); }
.text-center { text-align: center; }

/* Yardımcı Sınıflar (Margin) */
.margin-top-sm { margin-top: 20px; }
.margin-top-md { margin-top: 40px; }
.margin-top-lg { margin-top: 60px; }
.margin-bottom-sm { margin-bottom: 20px; }
.w-100 { width: 100%; }

/* ==========================================================================
   2. BUTONLAR VE ANİMASYONLAR
   ========================================================================== */
.btn-primary, .btn-large, .btn-outline, .btn-outline-sm, .btn-outline-light {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--white);
    font-size: 14px;
}

.btn-primary:hover {
    background-color: #c62828;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-large {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 15px 35px;
    font-size: 18px;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    padding: 13px 35px;
    font-size: 18px;
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--dark-color);
}

.btn-outline-sm {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 14px;
}

.btn-outline-light {
    border: 2px solid var(--white);
    color: var(--white);
}

/* Kalp Atışı (Pulse) Efekti - Bağış Butonu İçin */
.pulse-effect {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(229, 57, 53, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(229, 57, 53, 0); }
    100% { box-shadow: 0 0 0 0 rgba(229, 57, 53, 0); }
}

/* ==========================================================================
   3. ÜST ÇUBUK VE MENÜ (TOP-BAR & HEADER)
   ========================================================================== */
.top-bar {
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 13px;
    padding: 8px 0;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info span { margin-right: 20px; }
.contact-info i { margin-right: 5px; opacity: 0.8; }

.top-bar-right {
    display: flex;
    gap: 20px;
    align-items: center;
}

.lang-switch span {
    cursor: pointer;
    opacity: 0.7;
}

.lang-switch span.active {
    font-weight: 700;
    opacity: 1;
}

/* Ana Header (Sticky Yapı) */
.main-header {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i { color: var(--primary-color); font-size: 30px; }
.logo span { color: var(--primary-color); }

.nav-menu ul {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    font-weight: 500;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 5px;
}

.nav-menu a:hover, .nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-btn {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: var(--dark-color);
}

/* ==========================================================================
   4. KAHRAMAN ALANI (HERO & BANNER)
   ========================================================================== */
.hero-section {
    height: calc(100vh - 80px);
    /* 👇 Kendi resminin kodu (images klasöründen çekiyor) 👇 */
    background-image: url('images/613817349_4415010868821799_5479332190018529492_n.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.8));
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 800px;
}

.badge {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    margin: 20px 0;
}

.mission-statement {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Alt Sayfalar İçin Kısa Banner */
.page-banner {
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.page-banner h1 {
    font-size: 48px;
    margin-bottom: 10px;
}

/* ==========================================================================
   5. İSTATİSTİKLER VE BÖLÜM BAŞLIKLARI
   ========================================================================== */
.stats-section {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 40px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-box i {
    font-size: 36px;
    margin-bottom: 10px;
    opacity: 0.8;
}

.stat-box h3 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 5px;
}

.section-title h2 {
    font-size: 36px;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.section-title p {
    color: var(--gray);
    font-size: 16px;
}

/* ==========================================================================
   6. HABERLER VE FAALİYET KARTLARI
   ========================================================================== */
.news-grid, .activities-grid, .faq-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.news-card, .activity-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.news-card:hover, .activity-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.news-img {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.news-img img, .activity-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.category {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.category.alert { background-color: var(--accent-color); }
.category.info { background-color: var(--gray); }

.news-content, .activity-content {
    padding: 25px;
}

.date {
    font-size: 13px;
    color: var(--gray);
    display: block;
    margin-bottom: 10px;
}

.news-content h3, .activity-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.news-content p, .activity-content p {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 20px;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
}

.read-more i {
    transition: transform 0.3s;
}

.read-more:hover i {
    transform: translateX(5px);
}

.impact-metrics {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-color);
}

/* ==========================================================================
   7. HAKKIMIZDA & YÖNETİM KURULU (PRESTİJ)
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.section-badge {
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.about-text h2 {
    font-size: 32px;
    margin: 10px 0 20px;
}

.activity-list li {
    margin-bottom: 10px;
    font-weight: 500;
}

.activity-list i {
    color: var(--secondary-color);
    margin-right: 10px;
}

.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.mv-card {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.mv-card i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Başkan Kartı */
.president-card {
    display: flex;
    flex-direction: row-reverse; /* 👈 İŞTE BU SATIR RESMİ SAĞA ALIYOR */
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    margin-top: 40px;
}

.president-img { width: 30%; }
.president-img img { width: 100%; height: 100%; object-fit: cover; }

.president-info {
    width: 70%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* 👈 Yazıların en üstten başlamasını sağlayan kod budur */
}

.role { color: var(--primary-color); font-weight: 600; margin-bottom: 15px; }

/* Diğer Üyeler */
.board-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.board-member img {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    object-fit: cover;
    margin: 0 auto 15px;
    border: 5px solid var(--white);
    box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   8. BAĞIŞ VE İLETİŞİM FORMLARI
   ========================================================================== */
.donation-grid, .form-map-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.online-donation-card, .bank-donation-card, .contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 8px; }

input, select, textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: var(--font-family);
    transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(13, 71, 161, 0.1);
}

.row { display: flex; gap: 20px; }
.col { flex: 1; }

.amount-selector .amounts {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.amount-btn {
    padding: 10px 20px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
}

.amount-btn.active, .amount-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.ssl-note { text-align: center; font-size: 12px; color: var(--gray); margin-top: 15px; }
.ssl-note i { color: #4caf50; }

.bank-account {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
}

.bank-logo { font-weight: 700; margin-bottom: 10px; color: var(--dark-color); }
.iban-info span { display: block; font-size: 14px; margin-bottom: 5px; }

.sms-box {
    background-color: var(--light-color);
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    border: 2px dashed var(--gray);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
}

.checkbox-group input { width: auto; }

/* Harita */
.map-wrapper iframe { border-radius: 12px; }

/* ==========================================================================
   9. HABERLER (SIDEBAR) VE KVKK SAYFASI
   ========================================================================== */
.news-layout, .legal-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.legal-layout { grid-template-columns: 1fr 3fr; }

/* Haber Listesi Görünümü */
.news-list-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 30px;
}

.news-list-item .news-img { width: 35%; height: 180px; }

.sidebar-widget {
    background: var(--light-color);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.sidebar-widget h3 { margin-bottom: 15px; border-bottom: 2px solid var(--primary-color); padding-bottom: 10px; }

/* KVKK Sidebar */
.legal-sidebar ul li a {
    display: block;
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    font-weight: 500;
}

.legal-sidebar ul li a.active, .legal-sidebar ul li a:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 6px;
}

.legal-block h2 { color: var(--primary-color); margin-bottom: 15px; }
.legal-block h3 { margin-top: 25px; margin-bottom: 10px; }

/* ==========================================================================
   10. FOOTER (ALT BİLGİ)
   ========================================================================== */
.main-footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    display: inline-block;
    margin-bottom: 15px;
}

.footer-logo span { color: var(--accent-color); }

.social-links a {
    display: inline-block;
    width: 35px; height: 35px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 35px;
    margin-right: 10px;
    margin-top: 15px;
}

.social-links a:hover { background-color: var(--primary-color); }

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -5px; left: 0;
    width: 30px; height: 2px;
    background-color: var(--primary-color);
}

.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a:hover { color: var(--primary-color); }

.contact-col p { margin-bottom: 10px; font-size: 14px; }
.contact-col i { color: var(--primary-color); margin-right: 10px; }

.footer-bottom {
    background-color: #1a2024;
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
    color: var(--gray);
}

/* ==========================================================================
   11. RESPONSIVE (MOBİL UYUMLULUK)
   ========================================================================== */
@media (max-width: 991px) {
    .hero-content h1 { font-size: 42px; }
    .stats-grid, .news-grid, .board-grid, .mv-grid, .about-grid, .donation-grid, .form-map-grid, .news-layout, .legal-layout {
        grid-template-columns: 1fr;
    }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .president-card { flex-direction: column; }
    .president-img { width: 100%; height: 300px; }
    .president-info { width: 100%; }
    .news-list-item { flex-direction: column; }
    .news-list-item .news-img { width: 100%; }
}

@media (max-width: 768px) {
    .top-bar { display: none; } /* Mobilde top-bar gizlenir */
    .nav-menu ul { display: none; } /* Hamburger menü için gizlendi */
    .hero-buttons { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; }
    .page-banner h1 { font-size: 32px; }
}