/*
 Theme Name: Ertutak Child
 Theme URI: https://www.ertutak.org
 Description: Astra Child Theme – Ertutak Derneği için özel tasarım
 Author: Yasin + ChatGPT
 Template: astra
 Version: 1.1.0
*/

/* -------------------------------------------------------
   GENEL AYARLAR & RENKLER
------------------------------------------------------- */

:root {
  --primary-blue: #00AEEF;
  --dark-blue: #003C5F;
  --accent-yellow: #FFC20E;

  --light-bg: #050816;    /* Arka plan – istersen #F5F7FA yap, daha açık olur */
  --text-dark: #f9fafb;
  --text-muted: #9ca3af;

  --white: #ffffff;
}

/* Body */
body {
  background-color: var(--light-bg);
  color: var(--text-dark);
}

/* Ana container */
.ast-container {
  padding-left: 20px;
  padding-right: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* -------------------------------------------------------
   HEADER
------------------------------------------------------- */

.site-header {
  background: linear-gradient(90deg, var(--dark-blue), var(--primary-blue)) !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

/* Menü */
.main-header-menu .menu-link {
  color: #E0F3FF !important;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.main-header-menu .menu-link:hover {
  background: rgba(255,255,255,0.15);
  border-radius: 6px;
}

/* Take Action butonu */
.ast-header-button .ast-custom-button {
  background: var(--accent-yellow);
  color: var(--dark-blue);
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 600;
}

.ast-header-button .ast-custom-button:hover {
  background: #e0aa0b;
}

/* -------------------------------------------------------
   HERO BÖLÜMÜ
------------------------------------------------------- */

.hero {
  background: linear-gradient(120deg, var(--primary-blue), var(--dark-blue));
  border-radius: 18px;
  color: #ffffff;
  padding: 32px 28px;
  margin: 32px auto 24px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.30);
  max-width: 1200px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 2fr 1.1fr;
  gap: 24px;
  align-items: center;
}

.hero-text h1 {
  font-size: 32px;
  margin-bottom: 10px;
}

.hero-text p {
  font-size: 15px;
  max-width: 520px;
  color: #EAF7FF;
  margin-bottom: 16px;
}

.hero-actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.hero-btn {
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}

.hero-btn-primary {
  background: var(--accent-yellow);
  color: var(--dark-blue);
}

.hero-btn-outline {
  border: 1px solid #fff;
  color: #fff;
}

.hero-side {
  display: grid;
  gap: 10px;
}

.hero-stat {
  background: rgba(0,0,0,0.25);
  padding: 10px 12px;
  border-radius: 12px;
}

.hero-stat-number {
  font-size: 20px;
  font-weight: 700;
}

.hero-stat-label {
  font-size: 13px;
  opacity: 0.9;
}

/* -------------------------------------------------------
   SLIDER
------------------------------------------------------- */

.slider {
  margin-top: 10px;
  margin-bottom: 20px;
  position: relative;
  height: 420px;
  border-radius: 16px;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: 0.6s;
}
.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,15,30,0.85), rgba(0,174,239,0.18));
}

.slide-content {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 26px;
  max-width: 60%;
  color: #fff;
}

.slide-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 6px;
}

.slide-excerpt {
  font-size: 14px;
  margin-bottom: 10px;
}

.slide-button {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--accent-yellow);
  color: var(--dark-blue);
  font-weight: 600;
}

/* Slider dots */
.slider-nav {
  position: absolute;
  right: 20px;
  bottom: 20px;
  display: flex;
  gap: 8px;
  padding: 0;
  margin: 0;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.8);
  background: transparent;
  cursor: pointer;
  transition: all 0.25s ease;
}

.slider-dot.active {
  background: #fff !important;
  border-color: #fff !important;
  transform: scale(1.1);
}

/* -------------------------------------------------------
   "GÜNCEL HABERLER" BAŞLIĞI
------------------------------------------------------- */

.section-title {
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
  margin: 35px 0 25px;
  padding: 12px 28px;
  display: inline-block;
  border-radius: 14px;

  background: rgba(255, 255, 255, 0.12);  /* yarı transparan cam efekti */
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  box-shadow: 0 6px 18px rgba(0,0,0,0.20);
  letter-spacing: 0.6px;
}

.section-title::after {
  content: "";
  display: block;
  margin-top: 6px;
  width: 55px;
  height: 3px;
  background: var(--accent-yellow);
  border-radius: 3px;
}

/* -------------------------------------------------------
   HABER GRID & SINGLE
------------------------------------------------------- */

.haber-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
  gap: 18px;
}

.haber-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}

.haber-thumb img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.haber-content {
  padding: 12px 14px 16px;
}

.haber-card-title {
  font-size: 17px;
  margin-bottom: 4px;
}

.haber-card-title a {
  color: #111827;
  text-decoration: none;
}

.haber-card-title a:hover {
  text-decoration: underline;
}

.haber-meta {
  font-size: 12px;
  color: #777;
  margin-bottom: 6px;
}

.haber-excerpt {
  font-size: 14px;
  color: #444;
}

.haber-single {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px 22px;
  margin: 20px 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.16);
}

.haber-single-title {
  font-size: 26px;
  margin-bottom: 6px;
}

.haber-single-meta {
  font-size: 13px;
  color: #777;
  margin-bottom: 10px;
}

.haber-single-spot {
  font-size: 15px;
  font-weight: 500;
  color: #333;
  margin-bottom: 12px;
}

.haber-single-cover img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 16px;
}

.haber-single-video {
  margin-bottom: 16px;
}

.haber-single-video iframe,
.haber-single-video embed {
  width: 100%;
  max-width: 100%;
  border-radius: 10px;
}

/* -------------------------------------------------------
   GİRİŞ / KAYIT FORMLARI
------------------------------------------------------- */

.auth-wrapper {
  max-width: 420px;
  margin: 30px auto;
  background: #ffffff;
  border-radius: 12px;
  padding: 20px 22px 24px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.16);
}

.auth-title {
  font-size: 22px;
  color: var(--dark-blue);
  margin-bottom: 12px;
}

.auth-field {
  margin-bottom: 12px;
}

.auth-field label {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

.auth-field input {
  width: 100%;
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 14px;
}

.auth-actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.auth-error,
.auth-success {
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 13px;
  margin-bottom: 10px;
}

.auth-error {
  background: #ffebee;
  color: #b71c1c;
}

.auth-success {
  background: #e8f5e9;
  color: #1b5e20;
}

/* -------------------------------------------------------
   RESPONSIVE
------------------------------------------------------- */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .slide-content {
    max-width: 100%;
  }

  .slide-title {
    font-size: 20px;
  }

  .slide-excerpt {
    display: none;
  }

  .slider {
    height: 280px;
  }
}

@media (max-width: 768px) {
  .slider-dot {
    width: 10px;
    height: 10px;
    border-width: 1px;
  }

  .slider-nav {
    bottom: 12px;
    right: 15px;
  }
}
/* -------------------------------------------------------
   BAĞIŞ SAYFASI TASARIMI
------------------------------------------------------- */

/* Üstteki bağış hero kutusu */
.donation-hero {
  margin: 30px 0 24px;
  padding: 28px 26px;
  border-radius: 18px;
  background: radial-gradient(circle at top left, rgba(0,174,239,0.4), transparent),
              linear-gradient(120deg, #0b1120, #020617);
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
  color: #e5e7eb;
}

.donation-hero-inner {
  display: grid;
  grid-template-columns: 2fr 1.1fr;
  gap: 26px;
  align-items: flex-start;
}

.donation-hero-text h1 {
  font-size: 30px;
  margin-bottom: 10px;
  text-transform: lowercase;
}

.donation-hero-text h1::first-letter {
  text-transform: uppercase;
}

.donation-hero-text p {
  font-size: 15px;
  line-height: 1.6;
  color: #dbeafe;
  max-width: 560px;
}

.donation-hero-actions {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Bağış butonları */
.donation-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.donation-btn.primary {
  background: var(--accent-yellow);
  color: var(--dark-blue);
}

.donation-btn.primary:hover {
  background: #e0aa0b;
}

.donation-btn.outline {
  border-color: #93c5fd;
  color: #e5e7eb;
  background: transparent;
}

.donation-btn.outline:hover {
  background: rgba(148,163,184,0.15);
}

/* Hero sağ tarafındaki kutucuklar */
.donation-hero-side {
  display: grid;
  gap: 14px;
}

.donation-highlight {
  background: rgba(15,23,42,0.9);
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(148,163,184,0.5);
}

.donation-highlight-label {
  display: inline-block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #bfdbfe;
  margin-bottom: 4px;
}

.donation-highlight p {
  font-size: 13px;
  color: #e5e7eb;
}

/* Genel bölüm başlıkları */
.donation-section {
  margin: 26px 0 34px;
}

.donation-section-title {
  font-size: 24px;
  font-weight: 700;
  color: #f9fafb;
  margin-bottom: 18px;
}

/* Kartlı bağış seçenekleri */
.donation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.donation-card {
  background: #0b1120;
  border-radius: 14px;
  padding: 18px 18px 20px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.5);
  border: 1px solid rgba(148,163,184,0.45);
  color: #e5e7eb;
}

.donation-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: #e5e7eb;
}

.donation-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #cbd5f5;
}

/* IBAN kutusu */
.donation-iban-box {
  margin: 14px 0 10px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(15,23,42,0.95);
  border: 1px solid rgba(96,165,250,0.7);
}

.donation-iban-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9ca3af;
  margin-top: 4px;
}

.donation-iban-value {
  font-size: 14px;
  color: #e5e7eb;
}

.iban-emphasis {
  font-weight: 700;
  font-family: monospace;
  font-size: 15px;
  margin-top: 4px;
}

/* Küçük not ve listeler */
.donation-note {
  font-size: 13px;
  margin-top: 6px;
  color: #cbd5f5;
}

.donation-list {
  margin: 8px 0 8px 16px;
  padding-left: 0;
}

.donation-list li {
  font-size: 14px;
  color: #e5e7eb;
  margin-bottom: 4px;
}

/* SSS (FAQ) alanı */
.donation-faq {
  display: grid;
  gap: 10px;
}

.donation-faq-item {
  background: #020617;
  border-radius: 10px;
  border: 1px solid rgba(148,163,184,0.6);
  padding: 8px 10px;
}

.donation-faq-item summary {
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  color: #e5e7eb;
  list-style: none;
}

.donation-faq-item summary::-webkit-details-marker {
  display: none;
}

.donation-faq-item summary::after {
  content: "＋";
  float: right;
  font-size: 16px;
  color: #9ca3af;
}

.donation-faq-item[open] summary::after {
  content: "−";
}

.donation-faq-item p {
  margin-top: 6px;
  font-size: 13px;
  color: #cbd5f5;
}

/* Bağış sayfası linkleri */
.donation-card a,
.donation-faq-item a {
  color: #93c5fd;
  text-decoration: underline;
}
.donation-card a:hover,
.donation-faq-item a:hover {
  color: #bfdbfe;
}

/* Mobil düzen */
@media (max-width: 900px) {
  .donation-hero-inner {
    grid-template-columns: 1fr;
  }
}
/* -------------------------------------------------------
   HABER PAYLAŞ / BEĞEN / YORUM ALANI
------------------------------------------------------- */

.haber-meta-actions {
  margin-top: 18px;
  margin-bottom: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(148,163,184,0.4);
  padding-top: 10px;
}

/* Paylaş alanı */
.haber-share {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 13px;
}

.haber-share-label {
  font-weight: 600;
  color: #374151;
}

.haber-share-btn {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.15s ease;
}

/* WhatsApp */
.haber-share-btn.whatsapp {
  background: #22c55e;
  color: #ecfdf5;
}
.haber-share-btn.whatsapp:hover {
  background: #16a34a;
}

/* Facebook */
.haber-share-btn.facebook {
  background: #2563eb;
  color: #eff6ff;
}
.haber-share-btn.facebook:hover {
  background: #1d4ed8;
}

/* Beğeni alanı (şimdilik sade, plugin butonu için yer) */
.haber-like {
  font-size: 13px;
  color: #4b5563;
}

/* Yorumlar bölümü */
.haber-comments {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(148,163,184,0.4);
}

.haber-comments-title {
  font-size: 18px;
  margin-bottom: 10px;
  color: #111827;
}

/* Responsive düzen */
@media (max-width: 768px) {
  .haber-meta-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

