/* Homepage.css */

 
/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  min-width: 220px;
  padding: 10px 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  text-align: center;
  border: 1px solid #eee;
  border-top: 3px solid rgb(8, 8, 97);
}

.mobile-account {
  display: none;
}

.dropdown-menu li {
  display: block;
  width: 100%;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  color: #333;
  transition: background 0.3s;
  white-space: normal;
  text-align: center;
}

.dropdown-menu li a:hover {
  background: #f2f2f2;
  color: rgb(8, 8, 97);
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}


/* Hero */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* === RESPONSIVE === */
@media (max-width: 992px) {   /* tablet */
  .hero-section {
    height: 110vh;  /* biraz daha büyük */
  }
    .mobile-account {
    display: block;
  }

  
}

@media (max-width: 768px) {   /* küçük tablet */
  .hero-section {
    height: 120vh;  /* daha fazla büyüt */
  }
    .mobile-account {
    display: block;
  }
}

@media (max-width: 480px) {   /* telefon */
  .hero-section {
    height: 140vh;  /* mobilde iyice vurgulu olsun */
  }
    .mobile-account {
    display: block;
  }
}


.hero-slide {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  display: none;
}

.hero-slide.active {
  display: block;
}

.hero-slide video,
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bg-video {
  filter: brightness(0.6);
}

.hero-slider {
  position: relative;
  max-width: 80%;
  margin: 0 auto; /* YATAYDA ORTALAR */
  overflow: hidden;
  display: flex;
  flex-direction: column; 
  justify-content: center;
  align-items: center;
}


.hero-slide {
  display: none;
  position: relative;
}

.hero-slide.active {
  display: block;
}

.hero-slide img {
  width: 100%;
  border-radius: 20px;
  
}

/* === RESPONSIVE === */
@media (max-width: 992px) {  /* tablet */
  .hero-slide {
    height: 110%; /* biraz daha büyük */
  }
  .hero-slide img,
  .hero-slide video {
    border-radius: 15px;
  }

  .mobile-account {
    display: block;
  }


}

@media (max-width: 768px) {  /* küçük tablet */
  .hero-slide {
    height: 120%; /* daha fazla kaplasın */
  }
  .hero-slide img,
  .hero-slide video {
    border-radius: 12px;
  }

  .mobile-account {
    display: block;
  }

}

@media (max-width: 480px) {  /* telefon */
  .hero-slide {
    height: 140%; /* mobilde tam vurgulu olsun */
    
  }
  .hero-slide img,
  .hero-slide video {
    border-radius: 8px;
  }

  .mobile-account {
    display: block;
  }
}


.hero-content {
  position: absolute;
  bottom: 20%;      /* Yazıları yukarı çek */
  left: 50px;
  color: white;
  max-width: 50%;
  z-index: 5;
}

/* Başlık */
.hero-content h2 {
  font-size: 3rem;   /* büyük başlık */
  font-weight: 800;
  margin-bottom: 20px;
  text-shadow: 0 6px 25px rgba(0,0,0,0.6);
}

/* Alt yazı */
.hero-content p {
  font-size: 1.4rem;
  margin-bottom: 25px;
  line-height: 1.6;
  text-shadow: 0 3px 15px rgba(0,0,0,0.5);
}

/* === RESPONSIVE === */
@media (max-width: 992px) {   /* tablet */
  .hero-content {
    max-width: 70%;
    bottom: 15%; 
    left: 30px;
  }
  .hero-content h2 {
    font-size: 2.3rem;
  }
  .hero-content p {
    font-size: 1.2rem;
  }

  .mobile-account {
    display: block;
  }


}

@media (max-width: 768px) {   /* küçük tablet */
  .hero-content {
    max-width: 80%;
    bottom: 12%;
    left: 20px;
  }
  .hero-content h2 {
    font-size: 1.8rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
    .mobile-account {
    display: block;
  }
}

@media (max-width: 480px) {   /* telefon */
  .hero-content {
    max-width: 90%;
    bottom: 10%; 
    left: 15px;
  }
  .hero-content h2 {
    font-size: 1.2rem;
  }
  .hero-content p {
    display: none;  /* telefon görünümünde alt yazıyı gizle */
  }

    .mobile-account {
    display: block;
  }
}


.nonate-btn {
  display: inline-block;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  background: rgb(8, 8, 97);
  color: white;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.nonate-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* === RESPONSIVE === */
@media (max-width: 992px) {   /* tablet */
  .nonate-btn {
    padding: 12px 24px;
    font-size: 0.95rem;
  }

    .mobile-account {
    display: block;
  }
}

@media (max-width: 768px) {   /* küçük tablet */
  .nonate-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
    .mobile-account {
    display: block;
  }

}

@media (max-width: 480px) {   /* telefon */
  .nonate-btn {
    padding: 8px 16px;
    font-size: 0.85rem;
    border-radius: 10px;
  }
    .mobile-account {
    display: block;
  }
}


/* Kategoriler */
.categories {
  display: flex;
  justify-content: center;
  gap: 40px;          /* ikonlar arası mesafe */
  margin-top: 40px;
  margin-bottom: 40px;
  width: 100%;
  flex-wrap: wrap;    /* dar ekranlarda alt satıra geçmesini sağlar */
}

/* Tablet için (768px ve altı) */
@media (max-width: 768px) {
  .categories {
    gap: 30px;        /* ikonlar arası mesafeyi azalt */
  }
    .mobile-account {
    display: block;
  }
}

/* Mobil için (480px ve altı) */
@media (max-width: 480px) {
  .categories {
     /* alt alta sıralama */
    gap: 20px;
       /* ortalamak için */
  }
    .mobile-account {
    display: block;
  }
}


.category-item {
  text-align: center;
  font-size: 1.3rem;  /* default yazı */
  font-weight: 600;
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
}

.category-item i {
  font-size: 2rem;    /* default ikon */
  margin-bottom: 8px;
  display: block;
}

.category-item:hover {
  transform: scale(1.15);
  color: #000;
}

/* Aktif renkler */
.category-item:nth-child(1).active i { color: #f39c12; }
.category-item:nth-child(2).active i { color: #e67e22; }
.category-item:nth-child(3).active i { color: #c0392b; }
.category-item:nth-child(4).active i { color: #27ae60; }
.category-item:nth-child(5).active i { color: #3498db; }

/* === RESPONSIVE === */
@media (max-width: 992px) {   /* tablet */
  .category-item {
    font-size: 1rem;   /* 1.1 → 1 */
  }
  .category-item i {
    font-size: 1.4rem; /* 1.6 → 1.4 */
  }
    .mobile-account {
    display: block;
  }
}

@media (max-width: 768px) {   /* küçük tablet */
  .category-item {
    font-size: 0.85rem;  /* 1 → 0.85 */
  }
  .category-item i {
    font-size: 1.2rem;   /* 1.4 → 1.2 */
  }
    .mobile-account {
    display: block;
  }
}

@media (max-width: 480px) {   /* telefon */
  .category-item {
    font-size: 0.75rem;  /* 0.9 → 0.75 */
  }
  .category-item i {
    font-size: 1rem;     /* 1.2 → 1 */
  }
    .mobile-account {
    display: block;
  }
}



.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.2);
  color: #fff;
  border: none;
  font-size: 2.2rem;
  width: 55px;
  height: 55px;
  border-radius: 15px;
  cursor: pointer;
  user-select: none;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(6px);
}

.slider-btn:hover {
  background: rgba(255,255,255,0.35);
  transform: translateY(-50%) scale(1.15);
  
}

.slider-btn.prev { left: 20px; }
.slider-btn.next { right: 20px; }

/* Mobil uyum */
@media (max-width: 768px) {
  .slider-btn {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    border-radius: 10px;
  }
    .mobile-account {
    display: block;
  }
}
.hero-overlay {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 100%;
  color: #fff;
}

.hero-button {
  background: rgb(8, 8, 97);
  color: white;
  padding: 12px 25px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s;
}

.btn-outline-light{
    padding: 12px 25px;
  border-radius: 6px;
  font-weight: 600;
}

.hero-button:hover,
.btn-outline-light:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  
}

.hero-content h1 {
  font-size: 4rem;        /* büyük başlık */
  font-weight: 800;
  margin-bottom: 20px;
  text-shadow: 0 5px 25px rgba(0,0,0,0.6);
}

.hero-content p {
  font-size: 1.5rem;      /* daha okunur alt yazı */
  margin-bottom: 25px;
  text-shadow: 0 3px 15px rgba(0,0,0,0.5);
}

.hero-content {
  max-width: 900px;
  padding: 0 20px;
}


/* Hamburger Menü */
.hamburger {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

.hamburger.active i {
  transform: rotate(90deg);
  transition: transform 0.3s ease;
}

.campaign {
    display: flex;
    flex-direction: column; /* MOBİL: Alt alta */
    align-items: center; /* Ortada hizalı */
    gap: 20px;
}

/* ================================== */
/* MASAÜSTÜ İÇİN YATAY DÜZEN VE ÜST HİZALAMA */
/* ================================== */
@media (min-width: 768px) {
    .campaign {
        flex-direction: row; 
        align-items: flex-start; /* <--- KUTULARI ÜSTTEN HİZALA */
        justify-content: center; /* Sayfanın ortasında hizalı kalmaları için */
    }

    /* İki kutunun genişliğini eşitleyelim */
    .campaign-right { /* Her iki kutuyu da hedefler */
        width: 48%; 
        max-width: unset;
    }
}

.campaign-container {
  display: flex;
  justify-content: center;
  align-items: center;
}
/* ================================== */
/* TEMEL KAMPANYA KARTI STİLİ */
/* ================================== */

.campaign-right {
    background: linear-gradient(135deg, rgb(8, 8, 97), rgb(18, 18, 120)); /* Daha derin, gradyanlı mavi */
    color: white;
    padding: 30px 30px; /* İç boşluğu artırdık */
    margin-left: 20px;
    border-radius: 12px; /* Köşe yuvarlaklığını artırdık */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2); /* Hafif gölge ekledik */
    max-width: 900px;
    width: 90%;
    font-size: 1rem;
    display: flex;
    flex-direction: column; /* Mobil öncelikli (alt alta) */
    align-items: center;
    gap: 30px; /* Boşluğu artırdık */
}

/* Masaüstü görünümü için yatay düzen */

@media (min-width: 768px) {
    .campaign-right {
        flex-direction: row; /* Masaüstü: yan yana */
        justify-content: space-between; /* Kenarlara yay */
    }

}

.campaign-right h3 {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 5px;
}

.campaign-right strong {
    color: #ffd700; /* Vurgulayıcı altın sarısı renk */
}

.input-amount {
    width: 6%;
}

/* ================================== */

/* İLERLEME ÇUBUĞU STİLİ */

/* ================================== */

.progress-bar {
    height: 10px;
    background-color: rgba(255, 255, 255, 0.3); /* Açık beyaz zemin */
    border-radius: 5px;
    margin: 15px 0;
    overflow: hidden;
}

#progress-fill {
    height: 100%;
    background: linear-gradient(to right, #ffd700, #ff8c00);
    border-radius: 5px;
    transition: width 0.4s ease-in-out; /* Animasyon ekledik */
}

/* ================================== */

/* İLERLEME BİLGİ KUTULARI STİLİ */

/* ================================== */

.campaign-progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 25px;
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.campaign-progress-info > div {
    flex-basis: 33%; /* Her sütunun üçte bir yer kaplamasını sağla */
    padding: 0 5px;
    font-size: 0.9rem;
}
.campaign-progress-info strong {
    display: block; /* Miktarın alt satıra geçmesini sağla */
    font-size: 1.3rem;
    margin-top: 3px;
}

/* ================================== */

/* BAĞIŞ MİKTAR GİRİŞİ VE BUTONLAR */

/* ================================== */

.donation-inputs {
    width: 100%;
    margin-left: 20px;
    margin: 8px;
}


.donation-inputss {
    width: 100%;
    display: flex;
    flex-direction: column; /* MOBİL: Bileşenleri alt alta sırala */
    align-items: center; /* Yatayda ortala (önemli) */
    gap: 10px; /* Bileşenler arasına boşluk ekleyelim */
}

/* PC/Tablet Görünümünde Bileşenleri Yatay Yap (İsteğe bağlı) */
@media (min-width: 992px) { /* Daha büyük ekranlar için */
    .donation-inputss {
        flex-direction: row; /* PC: Bileşenleri yan yana sırala */
        align-items: center; 
        justify-content: space-around; /* Yan yana dururken yayılmasını sağla */
    }
}

.amount-input {
    display: flex;
    align-items: center;
    background-color: white;
    color: #333;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 5px;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin: 5px;
}



.amount-inputt{
    display: flex;
    align-items: center;
    background-color: white;
    color: #333;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 5px;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}



.amount-inputt span {
    padding: 10px 15px;
    background-color: #eee;
    font-weight: bold;
    color: rgb(8, 8, 97);
}



.amount-inputt input {
    flex-grow: 1;
    border: none;
    padding: 10px 15px;
    font-size: 1.2rem;
    outline: none; /* Odaklandığında çirkin çerçeveyi kaldır */
}



.amount-input span {
    padding: 10px 15px;
    background-color: #eee;
    font-weight: bold;
    color: rgb(8, 8, 97);
}



.amount-input input {
    flex-grow: 1;
    border: none;
    padding: 10px 15px;
    font-size: 1.2rem;
    outline: none; /* Odaklandığında çirkin çerçeveyi kaldır */
}



.amount-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap; /* Küçük ekranlarda alta kaymasını sağla */
}



.amount-buttons button {
    flex-grow: 1; /* Butonların eşit yayılmasını sağlar */
    padding: 10px 15px;
    border: 2px solid #ffd700;
    border-radius: 8px;
    background: transparent;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 65px; /* Çok daralmalarını engelle */
}

.amount-buttons button:hover,
.amount-buttons button[data-selected="true"] { 
    background-color: #ffd700;
    color: rgb(8, 8, 97);
}

.donate-button {
    width: 100%;
    padding: 15px;
    background-color: #ffd700; /* Vurgulayıcı altın sarısı buton */
    color: rgb(8, 8, 97);
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.donate-button:hover {
    background-color: #ffc400;
}

.donate-button i {
    margin-right: 8px;
}
/* Ana Kapsayıcıyı Ortala */
.faaliyetlerimiz {
    text-align: center;
    padding: 60px 0;
    background-color: #f9f9f9;
    max-width: 90%; 
    margin: 0 auto; /* Sayfada ortalamak için */
}

/* Yan Butonların Kapsayıcısı */
.faaliyetler-scroll-wrapper {
    position: relative; 
    overflow: hidden; 
    /* Dışarı taşan butonlara yer açmak için artık padding yerine margin kullanıyoruz */
    margin: 20px 0; 
}

/* Kaydırma Alanı */
.faaliyetler-kapsayici-scroll {
    overflow-x: scroll;
    scroll-behavior: smooth;
    white-space: nowrap; 
    -ms-overflow-style: none;
    scrollbar-width: none;
    /* Yan butonların kaydırma alanı dışına taşması için eklenen boşluk */
    margin: 0 45px; /* Yan butonların dış boşluğu + kendi genişliği için alan */
}
.faaliyetler-kapsayici-scroll::-webkit-scrollbar {
    display: none;
}

/* --- YAN BUTONLAR (‹ ve ›) STİLİ VE KONUMU --- */
.scroll-btn {
    position: absolute;
    top: 50%; 
    transform: translateY(-50%);
    z-index: 10;
    
    /* İstenen estetik ve dış boşluk */
    background: #081085; 
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 50%;
    font-size: 20px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2); /* Estetik ekleme */
}

.scroll-btn.sol {
    left: 0; /* Sol kenara sıfırla */
}

.scroll-btn.sag {
    right: 0; /* Sağ kenara sıfırla */
}

.scroll-btn:hover {
    background: #1a1a9e;
}

/* Kartların Yatay Dizilimi */
.faaliyetler-scroll-icerik {
    display: flex;
    gap: 20px; 
    padding-bottom: 10px;
}

/* --- ALT ORTALANMIŞ BUTONLAR (GERİ ve İLERİ) STİLİ VE KONUMU --- */
.faaliyet-nav-alt {
    display: flex;
    justify-content: center; /* Butonları yatayda ortalar */
    gap: 15px; /* Butonlar arasına boşluk koyar */
    margin-top: 30px; /* Kart alanının altından boşluk */
}

.alt-nav-btn {
    /* Daha estetik ve belirgin buton stili */
    padding: 10px 25px;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid #081085;
    background-color: transparent;
    color: #081085;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 100px; /* Butonların aynı boyda olması için */
}

.alt-nav-btn:hover {
    background-color: #081085;
    color: #fff;
    box-shadow: 0 4px 8px rgba(8, 16, 133, 0.3);
}


/* Faaliyetler */
.faaliyetlerimiz {
    text-align: center;
    padding: 60px 0;
    background-color: #f9f9f9;
    max-width: 90%; /* Zaten vardı, bu da bir blok seviyesinde elementtir. */
    width: 100%; /* max-width ile uyumlu olması için */
    margin-left: auto; /* Sol kenar boşluğunu otomatik ayarla */
    margin-right: auto; /* Sağ kenar boşluğunu otomatik ayarla */
    margin: 0 auto; 
}

.faaliyetlerimiz h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #222;
}

.faaliyetler-scroll-wrapper {
  position: relative;
  max-width: 100%;
  overflow: hidden;
}

.faaliyetler-kapsayici-scroll {
  display: flex;
  overflow-x: auto;
  gap: 24px;
  padding: 20px;
  cursor: grab;
  user-select: none;
  scroll-behavior: smooth;
}

.faaliyetler-kapsayici-scroll.active {
  cursor: grabbing;
}

.faaliyetler-kapsayici-scroll::-webkit-scrollbar {
  display: none; /* Scroll çubuğunu gizle */
}

.faaliyetler-scroll-icerik {
  display: flex;
  gap: 24px;
  padding: 20px;
  width: max-content;

}

.faaliyet-karti-scroll {
  flex-shrink: 0;
  width: 320px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: #333;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.faaliyet-karti-scroll:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.faaliyet-karti-scroll img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.faaliyetler-kapsayici-scroll:hover .faaliyetler-scroll-icerik {
  animation-play-state: paused;
}

.scroll-btn {
  display: none; 
}

.faaliyet-bilgi {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.faaliyet-bilgi h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}


.faaliyet-bilgi p {
  font-size: 0.95rem;
  color: #666;
}

/* Butonlar */
.faaliyet-bilgi .bagis-buton,
.faaliyet-bilgi .ekle-buton {
  height: 40px;
  line-height: 40px;
  display: inline-block;
  text-align: center;
  font-size: 14px;
  box-sizing: border-box;
  display: inline-block;
  width: 100%;
  text-align: center;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  margin-top: 10px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.faaliyet-bilgi .bagis-buton {
  background: rgb(8, 8, 97);
  color: #fff;
}

.faaliyet-bilgi .ekle-buton {
  background: rgb(72, 72, 202);
  color: #fffefe;
}

.faaliyet-bilgi a.bagis-buton,
.faaliyet-bilgi button.ekle-buton {
  width: 100%;
  margin-top: 8px;
}

.faaliyet-bilgi .bagis-buton:hover {
  background: rgb(26, 26, 126);
  transform: scale(1.05);
}

.faaliyet-bilgi .ekle-buton:hover {
  background: rgb(38, 38, 104);
  transform: scale(1.05);
}

/* Haberler*/
.haberler-section {
  padding: 60px 0;
  background-color: #fff;
  text-align: center;
}

.section-subtitle {
  color: #666;
  font-size: 1rem;
  margin-bottom: 8px;
}

.section-title {
  font-size: 2rem;
  color: #222;
  margin-bottom: 30px;
}

.haberler-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.haber-card {
  background: #f9f9f9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
}

.haber-card:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.haber-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.haber-content {
  padding: 16px;
  text-align: left;
}

.haber-category {
  display: inline-block;
  font-size: 0.85rem;
  color: #fff;
  background-color: #230b68;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 10px;
}

.haber-content h3 {
  font-size: 1.2rem;
  margin: 10px 0;
}

.haber-content p {
  color: #555;
  font-size: 0.95rem;
  margin-bottom: 15px;
}

.haber-container {
  margin: auto;
  padding: 0 15px;
}


.haber-read-btn {
  display: inline-block;
  color: #230b68;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
}

.haber-read-btn:hover {
  color: rgb(35, 35, 143);
}

.haberler-more {
  margin-top: 30px;
}

.haberler-more .btn {
  background: #230b68;
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.haberler-more .btn:hover {
  background: #0a3481;
}



/* Auto-scroll */
@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Scroll Butonları */
.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  color: #333;
  border: none;
  font-size: 2rem;
  padding: 10px 15px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  cursor: pointer;
  z-index: 2;
  transition: background 0.3s;
}

.scroll-btn:hover {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(5px);
}

.scroll-btn.sol {
  left: 10px;
}

.scroll-btn.sag {
  right: 10px;
}

/* Auto-scroll keyframes */
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}


.contact-section {
  padding: 60px 20px;
  background: #f4f6f9;
  font-family: 'Poppins', sans-serif;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 40px;
}

.contact-form,
.contact-info {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0,0,0,0.05);
}

.contact-form h2 {
  margin-bottom: 10px;
  font-size: 28px;
  font-weight: 700;
  color: #222;
}

.contact-form p {
  color: #555;
  margin-bottom: 25px;
}

.form-group {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.form-group.full-width {
  flex-direction: column;
}

.form-group input,
.form-group textarea {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
}

textarea {
  resize: none;
}

.send-btn {
  background: #007b5e;
  color: white;
  padding: 12px 25px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s ease;
}

.send-btn:hover {
  background: #005f49;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.info-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.info-box i {
  font-size: 22px;
  color: #007b5e;
}

.info-box h4 {
  font-size: 18px;
  margin: 0;
}

.info-box p {
  margin: 0;
  color: #444;
  font-size: 15px;
}

/* Vakıf kısmı */
.vakif-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.vakif-logo {
  height: 180px;
  max-width: 240px;
  object-fit: contain;
  flex-shrink: 0;
}

.vakif-text h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  color: #222;
}

.vakif-text p {
  margin: 6px 0 0;
  color: #555;
  font-size: 16px;
}

.galeri-section {
  padding: 60px 0;
  background-color: #f9f9f9;
  text-align: center;
}

.galeri-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: rgb(0, 0, 0);
}

.galeri-section p {
  font-size: 16px;
  color: #555;
  margin-bottom: 40px;
}

.galeri-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 sütun */
  gap: 25px;
  max-width: 1600px;
  margin: 0 auto 30px;
}

.galeri-grid a img {
  width: 100%;
  height: 250px; /* Daha büyük yükseklik */
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
  cursor: pointer;
}


.galeri-grid a img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 15px rgba(8, 8, 97, 0.3);
}

.galeri-link .btn {
  background-color: #230b68;
  color: white;
  padding: 12px 30px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease;
  display: inline-block;
  font-size: 16px;
  text-align: center;
  white-space: nowrap; /* taşma olmasın */
}

/* Hover efekti */
.galeri-link .btn:hover {
  background-color: rgb(35, 35, 143);
}

/* Tablet için */
@media (max-width: 992px) {
  .galeri-link .btn {
    padding: 10px 24px;
    font-size: 15px;
  }
    .mobile-account {
    display: block;
  }



}

/* Telefon için */
@media (max-width: 576px) {
  .galeri-link .btn {
    width: 80%;       /* tam genişlik */
    padding: 12px;
    font-size: 14px;
    border-radius: 4px;
  }
    .mobile-account {
    display: block;
  }
}


/* Lightbox arka plan */
.lightbox-modal {
  display: none; /* Başta gizli */
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

/* Lightbox aktif olduğunda flex ile göster */
.lightbox-modal.active {
  display: flex;
}

/* İçerik - büyüyen resim */
.lightbox-content img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255,255,255,0.5);
  transition: transform 0.3s ease;
}

/* Kapatma butonu */
.lightbox-close {
  position: fixed;
  top: 20px;
  right: 30px;
  font-size: 30px;
  color: white;
  cursor: pointer;
  font-weight: bold;
  user-select: none;
  z-index: 2100;
}

/* NAVBAR GENEL */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; /* küçük ekranlarda satır değiştirir */
  padding: 10px 20px;
}

/* Menü elemanları */
.navbar ul {
  display: flex;
  gap: 15px;
}

@media (max-width: 768px) {
  .navbar ul {
    flex-direction: column;
    width: 100%;
    }
      .mobile-account {
    display: block;
  }

  .navbar.active ul {
    display: flex; /* hamburger tıklandığında açılır */
  }
}

/* Genel sayfa kapsayıcı */
.container {
  margin: auto;
  padding: 0 15px;
}

/* Su kuyusu kısmı */
.su-kuyusu {
  display: flex;
  gap: 20px;
}


@media (max-width: 1024px) {
  .navbar ul {
    display: none; 
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
  }

    .mobile-account {
    display: block;
  }

  .navbar ul.active {
    display: flex;
  }

  .hamburger {
    display: block;
    padding-right: 40px;
  }

  .navbar ul li {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
  }

  .navbar ul li a.btn,
  .navbar ul li a.donate {
    width: 90%;
    display: block;
    margin: 0 auto;  
  }
   .navbar-right a{
  display: none;
}
 .top-bar {
  display: none;
}

.campaign-right {
  width: 275px;
  margin-top: 50px;
}

.haber-card {
  width: 350px;
}

.galeri-section{
  width: 390px;
}

.haber-container {
  width: 400px;
}

}
