/* ============================================
   Kur'an'ın Özü: İyi Kul Olmak — Site Stili
   Tema: Saf Mermer Beyazı (Kabe avlusu hissi)
   ============================================ */

:root {
  --bg: #fafaf7;
  --ink: #1a2a3a;
  --ink-soft: #5a6b7d;
  --gold: #c9a227;
  --gold-light: #e6c65c;
  --gold-soft: rgba(201, 162, 39, 0.25);
  --card: #ffffff;
  --cream: #f0e6d2;
  --cream-dim: #c9bda3;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(26, 42, 58, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.9;
}

h1, h2, h3, .site-title, .verse-text, .chapter-number, .chapter-num, .bismillah {
  font-family: "Cormorant Garamond", Georgia, serif;
}

/* ---------- Üst menü ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 247, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(201, 162, 39, 0.3);
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.site-title {
  font-size: 1.25rem;
  letter-spacing: 0.5px;
  text-decoration: none;
  color: var(--gold);
  font-weight: 600;
}

.site-title .title-ozu { color: var(--ink); }

.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  margin-left: 16px;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--gold); }

/* ---------- Ana içerik ---------- */
.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 24px 60px;
}

/* ---------- Ana sayfa ---------- */
.hero {
  text-align: center;
  padding: 60px 20px 40px;
}

.hero .bismillah {
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: 16px;
}

.hero h1 {
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 12px;
  color: var(--ink);
  font-weight: 600;
}

.hero .subtitle {
  color: var(--ink-soft);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 8px;
}

.hero .divider {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 24px auto;
}

.hero .intro {
  color: var(--ink);
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ---------- Bölüm listesi ---------- */
.chapter-list {
  list-style: none;
  margin-top: 40px;
  display: grid;
  gap: 12px;
}

.chapter-list li a {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--card);
  border: 1px solid var(--gold-soft);
  border-radius: var(--radius);
  padding: 16px 20px;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.chapter-list li a:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  box-shadow: 0 6px 28px rgba(26, 42, 58, 0.12);
}

.chapter-num {
  font-size: 1.4rem;
  color: var(--gold);
  min-width: 44px;
  text-align: center;
  border-right: 1px solid var(--gold-soft);
  padding-right: 16px;
}

.chapter-title { font-size: 1.1rem; font-weight: 600; }
.chapter-desc { color: var(--ink-soft); font-size: 0.9rem; }

/* ---------- Bölüm sayfası ---------- */
.chapter {
  background: var(--card);
  border: 1px solid var(--gold-soft);
  border-radius: var(--radius);
  padding: 40px 32px;
  box-shadow: var(--shadow);
}

.chapter-number {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.chapter h1 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: var(--ink);
  font-weight: 600;
}

.chapter-intro {
  color: var(--ink);
  font-size: 1.05rem;
  border-left: 3px solid var(--gold);
  padding-left: 16px;
  margin-bottom: 32px;
}

/* ---------- Ayet kartları ---------- */
.verses { display: grid; gap: 16px; }

.verse {
  background: var(--bg);
  border: 1px solid var(--gold-soft);
  border-radius: 10px;
  padding: 20px 22px;
  transition: border-color 0.2s;
}

.verse:hover { border-color: var(--gold); }

.verse-text {
  font-size: 1.35rem;
  line-height: 1.9;
  color: var(--ink);
}

.verse-ref {
  display: inline-block;
  margin-top: 10px;
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

/* ---------- Hikaye bölümü: Bu Konunun Hikayesi ---------- */
.story {
  background: var(--cream);
  color: var(--ink);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
}

.story h2 {
  color: var(--ink);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}

.story h3 {
  color: var(--ink);
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

.story p {
  color: var(--ink);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.story-tale,
.story-modern {
  background: rgba(26, 42, 58, 0.05);
  border-radius: 8px;
  padding: 0.9rem 1.1rem;
  margin-bottom: 0.9rem;
}

.story-modern {
  background: rgba(201, 162, 39, 0.12);
}

/* ---------- Uygulama bölümü ---------- */
.apply {
  margin-top: 36px;
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.12), rgba(201, 162, 39, 0.04));
  border: 1px solid var(--gold-soft);
  border-radius: var(--radius);
  padding: 24px 26px;
}

.apply h2 {
  font-size: 1.4rem;
  margin-bottom: 14px;
  color: var(--ink);
  font-weight: 600;
}

.apply ul { list-style: none; display: grid; gap: 10px; }

.apply li {
  padding-left: 28px;
  position: relative;
  color: var(--ink);
}

.apply li::before {
  content: "\2726";
  position: absolute;
  left: 0;
  color: var(--gold);
}

/* ---------- Sayfa gezinme ---------- */
.chapter-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 32px;
}

.chapter-nav a {
  background: var(--card);
  border: 1px solid var(--gold-soft);
  border-radius: 10px;
  padding: 12px 18px;
  text-decoration: none;
  color: var(--ink);
  font-size: 0.95rem;
  transition: background 0.2s, border-color 0.2s;
}

.chapter-nav a:hover {
  background: var(--cream);
  border-color: var(--gold);
}

.chapter-nav .nav-home { color: var(--ink-soft); }

/* ---------- Alt bilgi ---------- */
.site-footer {
  text-align: center;
  padding: 32px 24px;
  border-top: 1px solid var(--gold-soft);
  color: var(--ink-soft);
  font-size: 0.9rem;
}

/* ---------- Duyarlı tasarım (telefon) ---------- */
@media (max-width: 640px) {
  .hero h1 { font-size: 2rem; }
  .chapter h1 { font-size: 1.7rem; }
  .chapter { padding: 28px 20px; }
  .verse-text { font-size: 1.15rem; }
  .chapter-nav { flex-direction: column; }
  .chapter-nav a { text-align: center; }
  .site-header { padding: 12px 16px; }
  .nav-links a { margin-left: 10px; }
}