/* --- Глобалдык стилдер --- */
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Poppins', sans-serif; color: #333; background-color: #f8f9fa; overflow-x: hidden; transition: margin-right 0.4s ease-in-out; }
body.no-scroll { overflow: hidden; }
* { box-sizing: border-box; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
a { color: #0091c8; text-decoration: none; transition: color 0.3s ease; }
img { max-width: 100%; height: auto; display: block; }
h2, h3, h4 { color: #214b85; }
h2 { font-size: 2.2rem; text-align: center; margin-top: 0; margin-bottom: 20px; }
.divider { height: 3px; width: 80px; background-color: #52b7e5; margin: 0 auto 40px auto; }
.content-section { padding: 60px 0; border-bottom: 1px solid #e9e9e9; }
.content-section:last-child { border-bottom: none; }

/* --- Негизги Барак (Header) --- */
/* #header-outer { background-color: #fff; padding: 10px 0; box-shadow: 0 2px 5px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 1002; } */
#header-outer .container { display: flex; justify-content: space-between; align-items: center; }
#header-outer {
    background-color: rgba(255, 255, 255, 0.7); /* yarı saydam beyaz */
    padding: 10px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1002;
    backdrop-filter: blur(10px); /* asıl blur efekti */
    -webkit-backdrop-filter: blur(10px); /* Safari desteği */
  }
#logo img { height: 80px; }
.main-nav { display: none; }
.main-nav ul { margin: 0; padding: 0; list-style: none; display: flex; align-items: center; gap: 20px; }
.main-nav a { font-weight: 600; color: #333; font-size: 14px; padding-bottom: 5px; border-bottom: 2px solid transparent; transition: all 0.3s ease; }
.main-nav a:hover, .main-nav a.active { color: #0091c8; border-bottom-color: #0091c8; }
.hamburger-menu { display: flex; flex-direction: column; justify-content: space-around; width: 30px; height: 25px; background: transparent; border: none; cursor: pointer; padding: 0; z-index: 1005; }
.hamburger-menu .bar { width: 100%; height: 3px; background-color: #333; border-radius: 5px; transition: all 0.3s ease-in-out; }
.hamburger-menu.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger-menu.active .bar:nth-child(2) { opacity: 0; }
.hamburger-menu.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.mobile-nav { position: fixed; top: 0; right: 0; width: 280px; height: 100%; background-color: #214b85; z-index: 1004; transform: translateX(100%); transition: transform 0.4s ease-in-out; padding: 80px 20px 40px; display: flex; flex-direction: column; }
.mobile-nav.active { transform: translateX(0); }
.mobile-nav ul { list-style: none; padding: 0; margin: 0; }
.mobile-nav li { margin-bottom: 25px; }
.mobile-nav a { color: white; font-size: 1.1rem; font-weight: 600; text-decoration: none; }
.mobile-nav a.button-outline, .mobile-nav a.button-solid { text-align: center; }
.mobile-nav-divider { height: 1px; background-color: rgba(255, 255, 255, 0.2); margin: 25px 0; }
.page-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); opacity: 0; visibility: hidden; transition: opacity 0.4s ease, visibility 0.4s; z-index: 1003; }
.page-overlay.active { opacity: 1; visibility: visible; }
.button-outline, .button-solid { padding: 8px 15px; border-radius: 5px; font-weight: 600; transition: all 0.3s ease; display: inline-block; border: 2px solid transparent; }
.button-outline { border-color: #0091c8; color: #0091c8; }
.button-outline:hover { background-color: #0091c8; color: #fff; }
.button-solid { background-color: #ed1c24; color: #fff; border-color: #ed1c24; }
.button-solid:hover { background-color: #c4141b; border-color: #c4141b; }

/* --- Башкы беттин бөлүмдөрү --- */
#hero-slider { position: relative; width: 100%; height: 50vh; overflow: hidden; }
.slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.5s ease-in-out; }
.slide.active { opacity: 1; }
.slider-nav { position: absolute; top: 50%; width: 100%; display: flex; justify-content: space-between; transform: translateY(-50%); padding: 0 15px; }
.slider-nav button { background-color: rgba(0, 0, 0, 0.4); color: white; border: none; padding: 8px 12px; font-size: 20px; cursor: pointer; border-radius: 50%; }
.about-section { padding: 40px 20px; background-color: #fff; text-align: center; }
.about-section p { max-width: 800px; margin: 0 auto; line-height: 1.7; font-size: 1rem; }
.donation-row-container { background-color: #fff; padding: 20px 0; border-top: 1px solid #eee; }
.donation-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; padding: 10px; }
.donate-button { width: calc(48% - 10px); display: flex; flex-direction: column; align-items: center; background: white; border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); padding: 12px 8px; text-align: center; transition: all 0.3s ease; color: #333; }
.donate-button:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.12); }
.donate-image-wrapper { position: relative; width: 56px; height: 56px; margin-bottom: 8px; }
.donate-image-wrapper img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; transition: opacity 0.3s ease; }
.hover-image { opacity: 0; }
.donate-button:hover .hover-image { opacity: 1; }
.donate-button:hover .default-image { opacity: 0; }
.donate-button p { font-size: 13px; font-weight: 600; margin: 0; line-height: 1.3; }
#stats-section { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; padding: 40px 15px; color: white; background-size: cover; background-position: center; text-align: center; }
.stat-card { padding: 10px; }
.stat-count { font-size: clamp(1.5rem, 6vw, 2rem); font-weight: 700; }
.stat-label { margin-top: 8px; font-size: 0.9rem; font-weight: 300; }
.news-container { padding: 40px 20px; background-color: #fff; text-align: center; }
.news-grid { display: grid; grid-template-columns: 1fr; gap: 25px; margin: 0 auto 40px auto; }
.news-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 10px rgba(0,0,0,0.1); transition: transform 0.3s ease; text-align: left; }
.news-card:hover { transform: translateY(-5px); }
.news-card img { width: 100%; height: 200px; object-fit: cover; }
.news-content { padding: 20px; }
.news-content h3 { margin-top: 0; font-size: 1.1rem; text-align: left; }
.news-content a { font-weight: bold; color: #0091c8; }

/* --- Фонд жөнүндө беттин стилдери --- */
#page-header { position: relative; height: 50vh; width: 100%; overflow: hidden; display: flex; align-items: center; justify-content: center; text-align: center; }
.video-background { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -2; }
.video-background video { width: 100%; height: 100%; object-fit: cover; }
.page-header-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(33, 75, 133, 0.7); z-index: -1; }
/* #page-submenu { position: sticky; top: 80px; /* Header бийиктигине жараша background-color: #f1f1f1; z-index: 1001; padding: 10px 0; border-bottom: 1px solid #ddd; } */
/* #page-submenu ul { display: flex; justify-content: center; gap: 30px; margin: 0; padding: 0; list-style: none;  flex-wrap: wrap; Menüyü küçük ekranda aşağı sardırır}
/* #page-submenu a { color: #333; font-weight: 600; font-size: 0.9rem; }
@media (max-width: 600px) {
    #page-submenu ul {
      flex-direction: column;
      align-items: center;
      gap: 10px;
    } */
  
    /* #page-submenu a {
      font-size: 1rem;
    } */
    #page-submenu {
        position: sticky;
        top: 80px; /* Header бийиктигине жараша */
        background-color: #f1f1f1;
        z-index: 1001;
        padding: 10px 0;
        border-bottom: 1px solid #ddd;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
      }
      
      #page-submenu ul {
        display: flex;
        justify-content: center;
        gap: 30px;
        margin: 0;
        padding: 0;
        list-style: none;
        flex-wrap: nowrap;
        width: max-content;
      }
      
      #page-submenu li {
        flex: 0 0 auto;
      }
      
      #page-submenu a {
        color: #333;
        font-weight: 600;
        font-size: 0.9rem;
        display: inline-block;
        white-space: nowrap;
        padding: 6px 10px;
      }
      
      /* Mobil için */
      @media (max-width: 600px) {
        #page-submenu {
          padding: 10px 5px;
        }
      }
        
    
      

.split-content { display: flex; flex-direction: column; gap: 30px; }
.management-columns { display: grid; grid-template-columns: 1fr; gap: 30px; }
.management-columns .column h4 { border-bottom: 2px solid #52b7e5; padding-bottom: 10px; margin-bottom: 15px; }
.management-columns ul { list-style: none; padding: 0; margin: 0; }
.management-columns li { margin-bottom: 15px; }
.image-content.full-width img { width: 100%; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.main-content { background-color: #fff; padding-top: 40px; padding-bottom: 40px;}
.main-content p { line-height: 1.8; }

/* --- Байланыш беттин стилдери --- */
.page-title-section { padding: 40px 20px; text-align: center; background-color: #214b85; color: white; }
.page-title-section h1 { margin: 0; font-size: 2.5rem; }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 40px; padding: 40px 0; }
.contact-details p { margin: 0 0 15px; line-height: 1.7; }
.contact-details strong { color: #214b85; }
.contact-details a { word-break: break-all; }
.map-container iframe { width: 100%; height: 450px; border:0; border-radius: 8px; }
.contact-form-section { padding: 40px 0; background-color: #fff; margin-top: -40px; padding-top: 60px;}
.contact-form-section h3 { text-align: center; font-size: 1.8rem; }
.contact-form-section .divider { margin: 0 auto 30px auto; }
#contact-form .form-group { display: flex; flex-direction: column; gap: 20px; margin-bottom: 20px; }
#contact-form input, #contact-form textarea { width: 100%; padding: 12px 15px; border: 1px solid #ccc; border-radius: 5px; font-family: 'Poppins', sans-serif; font-size: 1rem; }
#contact-form button { width: 100%; padding: 15px; font-size: 1.1rem; }
#form-success-message { text-align: center; color: green; margin-top: 20px; font-weight: bold; }

/* --- Footer --- */
#footer-outer { background-color: #214b85; color: white; padding: 40px 20px; text-align: center; }
#footer-outer p { margin: 5px 0; opacity: 0.8; }
#footer-outer a { color: white; font-weight: bold; }
#footer-outer a:hover { opacity: 1; }

/* --- Медиа сурамдар (Responsive) --- */
@media (min-width: 768px) {
    h2 { font-size: 2.5rem; }
    #logo img { height: 70px; }
    #hero-slider { height: 60vh; }
    .donate-button { width: 130px; }
    #stats-section { grid-template-columns: repeat(3, 1fr); }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .split-content { flex-direction: row; align-items: center; }
    .split-content .text-content, .split-content .image-content { flex: 1; }
    .management-columns { grid-template-columns: repeat(3, 1fr); }
    .contact-grid { grid-template-columns: 1fr 1fr; }
    #contact-form .form-group { flex-direction: row; }
    #contact-form button { width: auto; }
}

@media (min-width: 1024px) {
    .hamburger-menu { display: none; }
    .main-nav { display: flex; }
    .mobile-nav { display: none !important; }
    #hero-slider { height: 70vh; }
    .donation-row { gap: 20px; }
    .donate-button { width: 140px; }
    #stats-section { grid-template-columns: repeat(6, 1fr); }
    .news-grid { grid-template-columns: repeat(3, 1fr); }
}

/* --- WhatsApp Butonu --- */
/* .whatsapp-fab {
    position: fixed;
    width: 40px;
    height: 40px;
    bottom: 40px;
    right: 40px;
    border-radius: 50px;
    text-align: center;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.whatsapp-fab:hover {
    transform: scale(1.1);
}

.whatsapp-fab img {
    width: 35px;
    height: 35px;
} */


/* =============================================== */
/* --- TDV.ORG STİLİNDE YENİ BUTONLAR --- */
/* =============================================== */

/* --- Keyframes (BAĞIŞ YAP Butonu için Halka Animasyonu) --- */
@keyframes tdvPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(237, 28, 36, 0.5);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(237, 28, 36, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(237, 28, 36, 0);
  }
}


/* --- İki Buton İçin Ortak Temel Stil --- */
#header-outer .main-nav a.nav-button-volunteer,
#header-outer .main-nav a.nav-button-donate {
    padding: 8px 16px; /* Daha ince bir yapı */
    border-radius: 4px; /* Hafif yuvarlak köşeler */
    font-weight: 700;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: 1px solid; /* Daha ince kenarlık */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px; /* İkon ve yazı arası boşluk */
    /* Alt çizgiyi sıfırlama */
    border-bottom: 1px solid transparent !important;
}

#header-outer .main-nav a.nav-button-volunteer:hover,
#header-outer .main-nav a.nav-button-donate:hover {
    transform: translateY(-2px); /* Daha hafif bir kalkma efekti */
}


/* --- 1) "ЫКТЫЯРЧЫ БОЛ" (Gönüllü Ol) Butonu --- */
#header-outer .main-nav a.nav-button-volunteer {
    background-color: transparent;
    border-color: #0091c8;
    color: #0091c8;
}

#header-outer .main-nav a.nav-button-volunteer:hover {
    background-color: #0091c8;
    color: #fff;
}


/* --- 2) "КАЙРЫМДУУЛУК" (Bağış Yap) Butonu --- */
#header-outer .main-nav a.nav-button-donate {
    background-color: #ed1c24;
    color: #fff;
    border-color: #ed1c24;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    /* Animasyonu butona uyguluyoruz */
    animation: tdvPulse 2s infinite;
}

#header-outer .main-nav a.nav-button-donate:hover {
    background-color: #c4141b; /* Rengi biraz koyulaştır */
    border-color: #c4141b;
}

/* =================================================================== */ 

#kurumsal-footer {
    background-color: #20358B; /* DEĞİŞTİ */
    color: rgba(255, 255, 255, 0.7); 
    padding-top: 70px;
    font-size: 15px;
    position: relative;
    overflow: hidden;
}
#kurumsal-footer .footer-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://tdv.org/tr-TR/wp-content/uploads/2019/01/counter-arka-plan.png');
    opacity: 0.80;
    z-index: 1;
}
#kurumsal-footer .container,
#kurumsal-footer .footer-bottom {
    position: relative;
    z-index: 2;
}
.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}
.footer-column h4 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 15px;
}
.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #4A90E2; /* DEĞİŞTİ */
}
.footer-column.about-column { text-align: left; }
.footer-logo {
    max-width: 160px;
    margin-bottom: 20px;
    padding: 8px;
    border-radius: 8px;
}
.footer-tagline {
    font-style: italic;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 25px;
    font-size: 14px;
}
.footer-column .social-icons { margin-top: 10px; }
.footer-column .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-right: 8px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}
.footer-column .social-icons a:hover {
    background-color: #4A90E2; /* DEĞİŞTİ */
    border-color: #4A90E2; /* DEĞİŞTİ */
    color: #fff;
    transform: translateY(-3px);
}
.footer-column ul {
    list-style: none;
    padding: 0; margin: 0;
}
.footer-column ul li {
    margin-bottom: 12px;
}
.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}
.footer-column a:hover {
    color: #fff;
}
.contact-column address p {
    margin: 0 0 16px;
    display: flex;
    align-items: flex-start;
    line-height: 1.7;
}
.contact-column address i {
    font-size: 14px;
    margin-right: 15px;
    color: #4A90E2; /* DEĞİŞTİ */
    margin-top: 5px;
    width: 20px;
    text-align: center;
}
.contact-column address span {
    flex: 1;
}
.footer-bottom {
    margin-top: 50px;
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
    background-color: #1a2c71; /* DEĞİŞTİ */
}
.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
}
/* =================================================================== */
/* --- FİNAL HAREKETLİ MESAJ BUTONU (FAB) STİLLERİ --- */
/* =================================================================== */

.fab-wrapper {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 1001;
}

/* .fab-main {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #20358B; 
    border: none;
    cursor: pointer;
    box-shadow: 0 4px Düzeltilmiş 15px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative; 
} */

.fab-main:hover {
    transform: scale(1.1);
    background-color: #4A90E2;
}

.fab-main i {
    font-size: 24px;
    color: white;
    transition: opacity 0.3s ease, transform 0.3s ease;
    position: absolute; /* İkonların üst üste binmesi için */
}

.fab-main {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #20358B; /* Dıştaki ana lacivert daire */
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Daha esnek bir animasyon */
    position: relative;
    transform: scale(1);
}

/* Ortadaki turuncu daireyi pseudo-element ile oluşturuyoruz */
.fab-main::before {
    content: '';
    position: absolute;
    width: 75%; /* İç dairenin boyutu */
    height: 75%;
    background-color: #F57C00; /* İstediğiniz turuncu renk */
    border-radius: 50%;
    transition: all 0.3s ease-in-out;
    z-index: 1;
    transform: scale(1);
    box-shadow: 0 0 0 4px rgba(74, 144, 226, 0.3); /* Turuncu etrafındaki açık mavi halka/parlama */
}

.fab-main:hover {
    transform: scale(1.1);
}

.fab-main i {
    font-size: 20px; /* İkonu turuncu daireye sığacak şekilde ayarladık */
    color: white;
    transition: opacity 0.3s ease, transform 0.3s ease;
    position: absolute;
    z-index: 2; /* İkon, turuncu dairenin üzerinde olmalı */
}

/* --- Aktif Durum (Menü Açıkken) --- */

/* Buton aktifken turuncu daire ve halka kaybolur */
.fab-wrapper.active .fab-main::before {
    transform: scale(0);
    opacity: 0;
}

/* Buton aktifken ana butonun rengi değişir ve döner */
.fab-wrapper.active .fab-main {
    transform: scale(1) rotate(360deg);
    background-color: #c4141b; /* Kapatma modu için kırmızı renk */
}

/* İkonların görünürlük animasyonu */
.fab-main .open-icon {
    opacity: 1;
    transform: rotate(0deg);
}
.fab-main .close-icon {
    opacity: 0;
    transform: rotate(-180deg);
}

.fab-wrapper.active .fab-main .open-icon {
    opacity: 0;
    transform: rotate(180deg);
}
.fab-wrapper.active .fab-main .close-icon {
    opacity: 1;
    transform: rotate(0deg);
}

/* Seçenekler Menüsü */
.fab-options {
    position: absolute;
    bottom: 75px;
    right: 5px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

.fab-option {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #20358B;
    font-size: 20px;
    text-decoration: none;
    position: relative;
    opacity: 0;
    transform: translateY(10px) scale(0.9);
    visibility: hidden;
    transition: all 0.3s ease;
}

.fab-wrapper.active .fab-option {
    opacity: 1;
    transform: translateY(0) scale(1);
    visibility: visible;
}

.fab-wrapper.active .fab-option:nth-child(1) { transition-delay: 0s; }
.fab-wrapper.active .fab-option:nth-child(2) { transition-delay: 0.1s; }
.fab-wrapper.active .fab-option:nth-child(3) { transition-delay: 0.2s; }

.fab-option::before {
    content: attr(data-label);
    position: absolute;
    right: 65px;
    background-color: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.fab-option:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* Arka Plan Karartma */
.fab-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.fab-wrapper.active + .fab-overlay {
    opacity: 1;
    visibility: visible;
}


/* --- Фонд жөнүндө беттин стилдери --- */
#page-header {
    position: relative;
    height: 50vh; /* Resmin yüksekliği (isteğe bağlı olarak değiştirebilirsiniz) */
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    
    /* === RESİM İÇİN YENİ EKLENEN KODLAR === */
    background-image: url('/media/about1.png'); /* KENDİ RESMİNİZİN LİNKİNİ BURAYA YAPIŞTIRIN */
    background-size: cover; /* Resmin alanı tamamen kaplamasını sağlar */
    background-position: center center; /* Resmin ortalanmasını sağlar */
    background-repeat: no-repeat; /* Resmin tekrarlanmasını engeller */
}

/* Videoyu kaldırdığımız için bu koda artık gerek yok, silebilirsiniz */
/* .video-background { 
    ... 
}
.video-background video {
    ...
} 
*/

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(33, 75, 133, 0.7); /* Resmin üzerindeki karartma efekti */
}

/* Resmin üzerindeki başlık için stiller */
.page-header-content {
    position: relative; /* Karartma efektinin üzerinde kalması için */
    z-index: 2;
    color: white;
}

.page-header-content h1 {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5); /* Yazının daha okunaklı olması için gölge */
}

/* =================================================================== */
/* --- ТӨРАГА (БАШКАН) БӨЛҮМҮНҮН СТИЛДЕРИ --- */
/* =================================================================== */

.chairman-profile {
    display: flex;
    flex-wrap: wrap; /* Mobil cihazlarda alt alta geçmesi için */
    gap: 40px; /* Resim ve bilgi arası boşluk */
    align-items: center;
    margin-top: 40px;
}

.chairman-photo {
    flex: 0 0 250px; /* Sabit genişlik, resmin küçülmesini engeller */
    align-self: flex-start; /* Üstten hizalama */
}

.chairman-photo img {
    width: 100%;
    height: auto;
    border-radius: 12px; /* Daha modern, hafif köşeli yuvarlaklık */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 5px solid white;
}

.chairman-info {
    flex: 1; /* Kalan tüm alanı kaplar */
    min-width: 300px; /* Mobil için minimum genişlik */
}

.chairman-info h3 {
    margin-top: 0;
    margin-bottom: 5px;
    font-size: 2rem;
    color: #20358B;
    font-weight: 700;
}

.chairman-info .chairman-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #4A90E2; /* Canlı mavi renk */
    margin-bottom: 25px;
    display: block;
}

.chairman-info .chairman-bio {
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
}

.download-cv-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    border: 2px solid #20358B;
    color: #20358B;
    background-color: transparent;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.download-cv-button i {
    font-size: 1.2rem;
}

.download-cv-button:hover {
    background-color: #20358B;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(32, 53, 139, 0.2);
}

/* Mobil Cihazlar İçin Uyum */
@media (max-width: 768px) {
    .chairman-profile {
        flex-direction: column; /* Mobil'de her şey alt alta */
        text-align: center;
    }
    .chairman-photo {
        width: 200px; /* Mobil'de resim boyutu */
        flex-basis: auto;
    }
    .chairman-info h3 {
        font-size: 1.8rem;
    }
}


/* =================================================================== */
/* --- КАЙРЫМДУУЛУК (BAĞIŞ) SAYFASI STİLLERİ --- */
/* =================================================================== */

.charity-header#page-header {
    height: 40vh; /* Başlık alanı yüksekliği */
}

.charity-header .page-header-content p {
    font-size: 1.2rem;
    margin-top: 10px;
    color: rgba(255,255,255,0.9);
}

.requisites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.requisites-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    border-top: 4px solid #4A90E2; /* Mavi renkli üst çizgi */
    transition: all 0.3s ease;
}

.requisites-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.requisites-card .bank-name {
    margin-top: 0;
    font-size: 1.5rem;
    color: #20358B;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.requisites-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.requisites-card li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 15px;
}

.requisites-card li:last-child {
    border-bottom: none;
}

.requisites-card li strong {
    color: #555;
    margin-right: 10px;
}

.copy-text {
    font-weight: 600;
    color: #20358B;
}

.copy-btn {
    background: transparent;
    border: 1px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
    color: #777;
    padding: 5px 8px;
    transition: all 0.2s ease;
}

.copy-btn:hover {
    background-color: #f0f0f0;
    color: #20358B;
}

.copy-btn.copied {
    background-color: #28a745;
    color: white;
    border-color: #28a745;
}

.qr-code-section {
    text-align: center;
    background-color: #fff;
    padding-top: 60px;
    padding-bottom: 60px;
}

.qr-code-section p {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
}

.qr-code-image img {
    max-width: 300px;
    border: 10px solid white;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}


/* =================================================================== */
/* --- ЖАҢЫЛЫКТАР (HABER) БЕТИНИН СТИЛДЕРИ --- */
/* =================================================================== */

.article-header {
    padding: 60px 0;
    text-align: center;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9e9e9;
}

.article-header h1 {
    font-size: 2.8rem;
    color: #20358B;
    margin-top: 0;
    margin-bottom: 15px;
}

.article-meta {
    color: #777;
    font-size: 0.9rem;
    font-weight: 600;
}

.article-meta .meta-item {
    display: inline-block;
    margin: 0 15px;
}

.article-meta i {
    margin-right: 8px;
    color: #4A90E2;
}

.article-image {
    margin: 40px auto;
    max-width: 900px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 60px;
}

.article-content p {
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.article-content h3 {
    font-size: 1.6rem;
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9e9e9;
}

.article-content ul {
    list-style: none;
    padding-left: 0;
}

.article-content ul li {
    padding: 10px 0 10px 25px;
    position: relative;
    font-size: 1.1rem;
    border-bottom: 1px solid #f0f0f0;
}

.article-content ul li::before {
    content: '\f00c'; /* Font Awesome check icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #4A90E2;
    position: absolute;
    left: 0;
    top: 12px;
}

/* =================================================================== */
/* --- ANA SAYFA HABERLER BÖLÜMÜ STİLLERİ --- */
/* =================================================================== */

#home-news-section {
    padding: 60px 0;
    background-color: #f8f9fa; /* Hafif gri arka plan */
}

#home-news-section h2 {
    text-align: center;
    margin-bottom: 20px;
}

#home-news-section .divider {
    margin: 0 auto 40px auto;
}

.home-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* Haber kartları için genel listeleme sayfasındaki stilleri yeniden kullanıyoruz */
/* Bu sayede tasarım tutarlılığı sağlanıyor */
.home-news-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.07);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.home-news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.home-news-card .news-card-image-link {
    display: block;
    overflow: hidden;
}

.home-news-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.home-news-card:hover img {
    transform: scale(1.05);
}

.home-news-card .news-card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.home-news-card .news-card-meta {
    font-size: 0.85rem;
    font-weight: 600;
    color: #777;
    margin-bottom: 10px;
}

.home-news-card .news-card-content h3 {
    font-size: 1.2rem; /* Ana sayfada başlık biraz daha küçük */
    margin-top: 0;
    margin-bottom: 15px;
    flex-grow: 1; /* Başlığın esneyerek altındaki linki en alta itmesi için */
}

.home-news-card .news-card-content h3 a {
    color: #20358B;
    text-decoration: none;
}

.home-news-card .news-card-content p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
    /* Ana sayfada özet metni görünmeyecek, bu yüzden bu alanı kapattık */
    /* Gerekirse açabilirsiniz */
     display: none; 
}

.home-news-card .read-more-link {
    margin-top: auto; /* "Devamını Oku" linkini kartın en altına sabitler */
    font-weight: 700;
    color: #4A90E2;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.home-news-card .read-more-link i {
    transition: transform 0.3s ease;
}

.home-news-card .read-more-link:hover i {
    transform: translateX(5px);
}

/* "Tüm Haberler" Butonu için */
.all-news-button-container {
    text-align: center;
    margin-top: 30px;
}
.all-news-button-container .button-outline {
    border-color: #20358B;
    color: #20358B;
    padding: 12px 30px;
    font-weight: 700;
}
.all-news-button-container .button-outline:hover {
    background-color: #20358B;
    color: #fff;
}


/* =================================================================== */
/* --- ИШ-ЧАРАЛАРЫБЫЗ (FAALİYET DETAY) БЕТИНИН СТИЛДЕРИ --- */
/* =================================================================== */

.activity-detail-header#page-header {
    height: 45vh; /* Başlık alanı daha alçak ve şık */
}
.activity-detail-header .page-header-content p {
    font-size: 1.2rem;
    margin-top: 10px;
    color: rgba(255,255,255,0.9);
}

.activity-detail-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

.activity-feature-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 80px;
}

.feature-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.feature-text h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 20px;
}

.feature-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

/* Ters blok için (yazı solda, resim sağda) */
.activity-feature-block.reverse .feature-image {
    grid-column: 2;
}
.activity-feature-block.reverse .feature-text {
    grid-column: 1;
    grid-row: 1;
}

/* Harekete Geçirici Mesaj Bölümü */
.activity-cta-section {
    text-align: center;
    padding: 60px 20px;
    background-color: #f8f9fa;
    border-radius: 12px;
    margin-top: 40px;
}
.activity-cta-section h3 {
    font-size: 2.2rem;
    margin-top: 0;
}
.activity-cta-section p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 30px auto;
}
.activity-cta-section .cta-button {
    background-color: #ed1c24;
    color: #fff;
    padding: 15px 40px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}
.activity-cta-section .cta-button:hover {
    background-color: #c4141b;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(237, 28, 36, 0.3);
}

/* Mobil Cihazlar İçin */
@media (max-width: 768px) {
    .activity-feature-block {
        grid-template-columns: 1fr; /* Sütunları alt alta sırala */
        gap: 30px;
    }
    .activity-feature-block.reverse .feature-image,
    .activity-feature-block.reverse .feature-text {
        grid-column: 1; /* Sütun sırasını sıfırla */
    }
    .feature-text {
        text-align: center;
    }
    .feature-text h3 {
        font-size: 1.8rem;
    }
}

/* =================================================================== */
/* --- ЫКТЫЯРЧЫ БОЛ (VOLUNTEER) БЕТИНИН СТИЛДЕРИ --- */
/* =================================================================== */

.volunteer-header#page-header {
    height: 30vh;
    background-image: url('https://placehold.co/1200x600/20358B/FFFFFF?text=Ыктыярчы+бол'); /* Buraya kendi resminizi koyabilirsiniz */
    background-size: cover;
    background-position: center;
}

.volunteer-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
}

.volunteer-intro h2 {
    font-size: 1.8rem;
    color: #20358B;
    margin-bottom: 20px;
}

.section-title {
    text-align: center;
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #4A90E2;
    margin: 10px auto 0;
}

/* Gereksinim Kartları (Grid) */
.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.req-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease;
    border-top: 4px solid #4A90E2;
}

.req-card:hover {
    transform: translateY(-5px);
}

.req-icon {
    font-size: 3rem;
    color: #20358B;
    margin-bottom: 20px;
}

.req-card h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #333;
}

.req-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* Başvuru Alanı */
.apply-section {
    background-color: #f0f4f8;
    padding: 50px 20px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 50px;
}

.apply-box h3 {
    color: #20358B;
    font-size: 1.8rem;
    margin-top: 0;
}

.google-form-button {
    display: inline-block;
    background-color: #28a745; /* Yeşil renk - Onay/Başvuru hissi verir */
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    transition: all 0.3s ease;
}

.google-form-button:hover {
    background-color: #218838;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
    color: white;
}

/* İletişim Alanı */
.volunteer-contact {
    text-align: center;
    padding: 30px;
    border: 1px dashed #ccc;
    border-radius: 8px;
    background-color: #fff;
}

.volunteer-contact .email-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #4A90E2;
    font-size: 1.1rem;
    margin-top: 10px;
}

.volunteer-contact .email-link:hover {
    color: #20358B;
}

/* Mobil Uyum */
@media (max-width: 768px) {
    .volunteer-header#page-header {
        height: 30vh;
    }
    .volunteer-intro h2 {
        font-size: 1.4rem;
    }
}