/* ================== GENEL AYARLAR ================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: #222;
  /* Artık mor değil: açık gri arka plan */
  background: #f3f4f6;
  min-height: 100vh;
}

.kapsayici {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ================== ÜST MENÜ ================== */

header {
  background: #14532d;              /* KOYU YEŞİL */
  color: #ecfdf5;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

header .kapsayici {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
}

header h1 {
  font-size: 1.7rem;
  letter-spacing: 0.03em;
}

header h1::first-letter {
  color: #facc15;                   /* İlk harf sarı */
}

nav ul {
  display: flex;
  list-style: none;
  gap: 1.2rem;
}

nav a {
  text-decoration: none;
  color: #ecfdf5;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease, transform 0.1s ease;
}

nav a:hover {
  background: #166534;
  color: #fefce8;
  transform: translateY(-1px);
}

nav a.aktif {
  background: #f97316;             /* Turuncu */
  color: #111827;
}

/* ================== KARŞILAMA BÖLÜMÜ ================== */

.karsilama {
  background: #fef9c3;             /* AÇIK SARI */
  border-bottom: 3px solid #f97316;
  padding: 3rem 0 3.5rem;
  margin-bottom: 2rem;
}

.karsilama h2 {
  font-size: 2.2rem;
  margin-bottom: 0.7rem;
  color: #111827;
}

.karsilama p {
  font-size: 1.05rem;
  color: #374151;
  margin-bottom: 1.7rem;
}

.karsilama button {
  background: #f97316;             /* Turuncu buton */
  color: #111827;
  border: none;
  padding: 0.8rem 2.2rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  box-shadow: 0 8px 15px rgba(249, 115, 22, 0.45);
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.karsilama button:hover {
  background: #ea580c;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(248, 113, 22, 0.6);
}

/* ================== ANA İÇERİK ================== */

main {
  background: #ffffff;
  border-radius: 14px;
  padding: 2rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15);
}

/* Blog kartlarını 3 sütun / 2 sütun yap */
.blog-izgara {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
  margin-bottom: 2.5rem;
}

/* Her blog kartı */
.blog-karti {
  background: #e0f2fe;            /* AÇIK MAVİ KART ARKAPLANI */
  border-radius: 12px;
  padding: 1.4rem 1.5rem;
  border: 1px solid #bfdbfe;
  box-shadow: 0 8px 15px rgba(37, 99, 235, 0.15);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.blog-karti:hover {
  transform: translateY(-6px);
  background: #dbeafe;
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.3);
}

.kart-basligi {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
}

.kategori {
  background: #22c55e;            /* Yeşil kategori etiketi */
  color: #052e16;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
}

.tarih {
  font-size: 0.8rem;
  color: #1f2937;
}

.blog-karti h3 {
  font-size: 1.2rem;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.blog-karti p {
  color: #111827;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

/* Devamını oku butonu */
.devamini-oku {
  background: #0f172a;
  color: #f9fafb;
  border: none;
  padding: 0.55rem 1.3rem;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.15s ease, transform 0.15s ease;
}

.devamini-oku:hover {
  background: #020617;
  transform: translateX(4px);
}

/* ================== İSTATİSTİK KUTULARI ================== */

.istatistikler {
  display: flex;
  gap: 1.4rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px dashed #d1d5db;
}

.istatistik-kutusu {
  flex: 1;
  text-align: center;
  padding: 1.3rem 1rem;
  border-radius: 12px;
  background: #0f172a;            /* SİYAH-MAVİ KUTU */
  color: #e5e7eb;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.6);
}

.istatistik-kutusu h3 {
  font-size: 2.1rem;
  margin-bottom: 0.4rem;
}

.istatistik-kutusu p {
  font-size: 0.95rem;
  opacity: 0.9;
}

/* ================== FOOTER ================== */

footer {
  text-align: center;
  padding: 1.8rem 0 2rem;
  color: #6b7280;
  font-size: 0.92rem;
}

footer p + p {
  margin-top: 0.3rem;
}

/* ================== MOBİL ================== */

@media (max-width: 768px) {
  header .kapsayici {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  nav ul {
    flex-wrap: wrap;
    gap: 0.6rem;
  }

  .karsilama {
    padding: 2.3rem 0 2.8rem;
  }

  .karsilama h2 {
    font-size: 1.8rem;
  }

  main {
    padding: 1.4rem;
  }

  .istatistikler {
    flex-direction: column;
  }
}

/* Küçük belirme animasyonu (isteğe bağlı) */
@keyframes belirme {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.blog-karti {
  animation: belirme 0.4s ease-out;
}