/* ═══════════════════════════════════════════════════════════════
   SAĞLIKLI YAŞAM LİGİ — E-DERGİ · PREMIUM EDITION
   ═══════════════════════════════════════════════════════════════ */



:root {
  /* Ana palet */
  --green-900: #0a2e18;
  --green-800: #0f3d22;
  --green-700: #1a5230;
  --green-600: #236b3e;
  --green-500: #2e7049;
  --green-400: #3a8a5c;
  --green-300: #5aaa7c;
  --green-200: #8fcba8;
  --green-100: #d4edde;
  --green-50:  #eef7f2;

  /* Altın vurgu */
  --gold-900: #5c3a00;
  --gold-700: #b07800;
  --gold-500: #d4a017;
  --gold-400: #e8b830;
  --gold-300: #f5cf6a;
  --gold-100: #fdf3d3;

  /* Nötr */
  --paper:  #fafcf8;
  --paper2: #f3f7f1;
  --ink:    #1a2e1a;
  --ink-60: rgba(26, 46, 26, 0.60);
  --ink-30: rgba(26, 46, 26, 0.30);

  /* UI */
  --accent:       var(--green-400);
  --accent-hover: var(--green-500);
  --accent-soft:  rgba(58, 138, 92, 0.12);
  --bg:           #dce8dc;
  --reader-bg:    url("../arkaplan.png");
  --glass:        rgba(255,255,255,0.48);
  --glass-border: rgba(255,255,255,0.60);
  --glass-shadow: 0 2px 12px rgba(10,46,24,0.10);
  --focus:        0 0 0 2px rgba(58,138,92,0.30);

  /* Layout */
  --page-radius: 4px;
  --spine-w: 5px;
  --font-serif:   'Playfair Display', Georgia, serif;
  --font-display: 'Outfit', 'Inter', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --bar-h: 38px;
  --bar-radius: 19px;
  --vvh: 100dvh;
  --vv-bottom: 0px;
  --mobile-control-h: 60px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { min-height: 100%; max-width: 100%; overflow: hidden; }
html { background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; }
body {
  margin: 0; font-family: var(--font-body);
  background: var(--reader-bg) center / cover fixed no-repeat, var(--bg);
}
button, input { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }

/* ── Shell ── */
.reader-shell {
  position: relative; width: 100%; height: var(--vvh);
  display: grid;
  grid-template-rows: var(--bar-h) minmax(0,1fr) auto;
  gap: 6px;
  padding: 6px 10px calc(6px + env(safe-area-inset-bottom,0px) + var(--vv-bottom));
  overflow: hidden;
}

/* ── Üst Bar ── */
.reader-topbar {
  z-index: 20; width: min(760px,100%); max-width: 100%; margin: 0 auto;
  height: var(--bar-h); display: flex; align-items: center;
  justify-content: space-between; gap: 8px; padding: 0 16px;
  border: 1px solid var(--glass-border); border-radius: var(--bar-radius);
  background: var(--glass); box-shadow: var(--glass-shadow);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
}
.brand-lockup {
  min-width: 0; display: inline-flex; align-items: center;
  flex: 1 1 auto; gap: 8px; color: inherit; text-decoration: none; overflow: hidden;
}
.brand-lockup img { width: 24px; height: 24px; flex: 0 0 auto; object-fit: contain; }
.brand-lockup span { min-width: 0; overflow: hidden; display: flex; flex-direction: column; gap: 1px; }
.brand-kicker { font-size: 0.58rem; font-weight: 700; color: var(--green-400); letter-spacing: 0.06em; text-transform: uppercase; line-height: 1; }
.brand-lockup strong { display: block; overflow: hidden; color: var(--ink); font-family: var(--font-display); font-size: 0.75rem; font-weight: 700; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.topbar-actions { min-width: 0; display: inline-flex; align-items: center; justify-content: flex-end; gap: 8px; flex: 0 0 auto; }
.page-meter { display: flex; align-items: center; gap: 7px; color: var(--ink-60); font-size: 0.63rem; font-weight: 650; line-height: 1; white-space: nowrap; }
.meter-track { min-width: 44px; height: 3px; overflow: hidden; border-radius: 999px; background: rgba(26,46,26,0.14); }
#progressFill { display: block; width: 0%; height: 100%; border-radius: inherit; background: var(--green-400); transition: width 250ms ease; }

/* ── Kitap Sahnesi ── */
.reader-main { width: 100%; max-width: 100%; min-width: 0; min-height: 0; margin: 0 auto; display: grid; }
.book-stage { position: relative; width: 100%; height: 100%; display: grid; place-items: center; overflow: hidden; overscroll-behavior: contain; }

/* ── StPageFlip ── */
.flipbook { position: relative; z-index: 1; max-width: 100%; max-height: 100%; margin: auto; overflow: visible; }
.flipbook.is-spread-view::after {
  content: ""; position: absolute; z-index: 1; top: 0; bottom: 0;
  left: calc(50% - var(--spine-w)/2); width: var(--spine-w);
  pointer-events: none; opacity: 0.7;
  background: linear-gradient(90deg, rgba(10,46,24,0) 0%, rgba(10,46,24,0.14) 38%, rgba(10,46,24,0.26) 50%, rgba(10,46,24,0.14) 62%, rgba(10,46,24,0) 100%);
  filter: blur(0.3px);
}
.flipbook.is-spread-view.is-flipping::after { opacity: 0; }
.flipbook .stf__item { background: var(--paper); overflow: hidden; border-radius: var(--page-radius); }
.flipbook .stf__item.--hard { background: #ecf3e8; }

/* ── Sayfa Temel ── */
.book-page { width: 100%; height: 100%; overflow: hidden; background: var(--paper); user-select: none; border-radius: inherit; position: relative; container-type: size; }
.book-page.--left  { border-radius: var(--page-radius) 0 0 var(--page-radius); }
.book-page.--right { border-radius: 0 var(--page-radius) var(--page-radius) 0; }
.flipbook.is-single-view .book-page,
.book-page.book-page-front-cover,
.book-page.book-page-back-cover { border-radius: var(--page-radius); }
.book-page-front-cover, .book-page-back-cover { background: var(--green-800); }

/* Cilt gölgeleri */
.book-page:not(.book-page-front-cover):not(.book-page-back-cover).--left::after,
.book-page:not(.book-page-front-cover):not(.book-page-back-cover).--right::before {
  content: ""; position: absolute; z-index: 3; top: 0; bottom: 0; width: 16px; pointer-events: none;
}
.book-page:not(.book-page-front-cover):not(.book-page-back-cover).--left::after {
  right: 0; background: linear-gradient(90deg, rgba(10,46,24,0) 0%, rgba(10,46,24,0.05) 48%, rgba(10,46,24,0.16) 100%);
}
.book-page:not(.book-page-front-cover):not(.book-page-back-cover).--right::before {
  left: 0; background: linear-gradient(90deg, rgba(10,46,24,0.16) 0%, rgba(10,46,24,0.05) 52%, rgba(10,46,24,0) 100%);
}

/* ── Sayfa içi genel ── */
.page-inner {
  position: absolute; inset: 0; overflow: hidden;
  display: flex; flex-direction: column;
  font-family: var(--font-body);
  font-size: 2.5cqw;
  line-height: 1.55; color: var(--ink);
}

/* Sayfa numarası */
.page-number {
  position: absolute; bottom: 5px;
  font-size: 0.65em; font-weight: 700; color: var(--ink-30);
  z-index: 10; line-height: 1; letter-spacing: 0.04em;
}
.page-number.left  { left: 10px; }
.page-number.right { right: 10px; }

/* ══════════════════════════════════════════════════════
   KAPAK — ÖN
══════════════════════════════════════════════════════ */
.page-cover {
  background: linear-gradient(145deg, var(--green-800) 0%, var(--green-600) 55%, var(--green-500) 100%);
  color: #fff;
  overflow: hidden;
}

/* Arka plan katmanları */
.cover-bg {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}

/* Büyük daire süsü */
.cover-circle-1 {
  position: absolute;
  width: 130%; padding-bottom: 130%;
  right: -40%; top: -15%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(58,138,92,0.18) 0%, rgba(58,138,92,0.04) 60%, transparent 100%);
}
.cover-circle-2 {
  position: absolute;
  width: 80%; padding-bottom: 80%;
  left: -20%; bottom: -10%;
  border-radius: 50%;
  border: 1px solid rgba(212,160,23,0.15);
}
.cover-circle-3 {
  position: absolute;
  width: 55%; padding-bottom: 55%;
  left: -8%; bottom: 2%;
  border-radius: 50%;
  border: 1px solid rgba(212,160,23,0.10);
}

/* Altın köşegen bant */
.cover-diagonal {
  position: absolute;
  top: 0; right: 0; width: 45%; height: 100%;
  background: linear-gradient(160deg, rgba(212,160,23,0.12) 0%, rgba(212,160,23,0.04) 50%, transparent 100%);
  clip-path: polygon(30% 0%, 100% 0%, 100% 100%, 0% 100%);
}

/* Nokta deseni */
.cover-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 18px 18px;
  background-position: 0 0;
}

/* Alt yeşil bant */
.cover-bottom-band {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 28%;
  background: linear-gradient(180deg, transparent 0%, rgba(10,46,24,0.85) 100%);
}

/* İçerik */
.cover-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column;
  height: 100%; padding: 6% 7%;
  justify-content: space-between;
}

.cover-top {
  display: flex; align-items: center; justify-content: space-between;
}
.cover-logo-wrap { display: flex; align-items: center; gap: 3%; }
.cover-logo { width: 12cqw; height: auto; }
.cover-logo-text { display: flex; flex-direction: column; gap: 1px; }
.cover-logo-kicker { font-size: 0.55em; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.65; line-height: 1; }
.cover-logo-name { font-size: 0.72em; font-weight: 700; line-height: 1.2; opacity: 0.9; }

.cover-badge {
  background: var(--gold-500); color: var(--green-900);
  border-radius: 999px; padding: 1.5% 4%;
  font-size: 0.58em; font-weight: 800; letter-spacing: 0.06em;
  text-transform: uppercase; line-height: 1;
}

/* Hero ortası */
.cover-hero { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 5%; padding: 5% 0; }

.cover-eyebrow {
  display: flex; align-items: center; gap: 3%;
}
.cover-eyebrow-line { flex: 0 0 20px; height: 1.5px; background: var(--gold-400); }
.cover-eyebrow-text { font-size: 0.62em; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-300); line-height: 1; }

.cover-title-block { display: flex; flex-direction: column; gap: 1%; }
.cover-title-pre {
  font-family: var(--font-display); font-size: 0.8em; font-weight: 500;
  color: rgba(255,255,255,0.65); line-height: 1; letter-spacing: 0.04em;
}
.cover-title {
  font-family: var(--font-serif);
  font-size: 8cqw;
  font-weight: 900; line-height: 1.0; margin: 0;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.cover-title-accent { color: var(--gold-300); }

.cover-rule {
  display: flex; align-items: center; gap: 3%; width: 75%;
}
.cover-rule-line { flex: 1; height: 1px; background: linear-gradient(90deg, var(--gold-400) 0%, rgba(212,160,23,0.2) 100%); }
.cover-rule-diamond { font-size: 0.6em; color: var(--gold-400); }

.cover-subtitle {
  font-size: 0.78em; line-height: 1.5; color: rgba(255,255,255,0.72); max-width: 88%;
}

.cover-themes {
  display: flex; gap: 2%; flex-wrap: wrap;
}
.cover-theme-pill {
  border: 1px solid rgba(212,160,23,0.35);
  border-radius: 3px; padding: 1.2% 3%;
  font-size: 0.58em; font-weight: 700; letter-spacing: 0.06em;
  color: var(--gold-300); background: rgba(212,160,23,0.08);
  white-space: nowrap; text-transform: uppercase;
}

.cover-bottom-content {
  display: flex; align-items: flex-end; justify-content: space-between;
}
.cover-web { font-size: 0.62em; opacity: 0.55; font-weight: 500; letter-spacing: 0.05em; }
.cover-partners {
  text-align: right; font-size: 0.55em; opacity: 0.45;
  line-height: 1.6; letter-spacing: 0.03em;
}

/* ══════════════════════════════════════════════════════
   ARKA KAPAK
══════════════════════════════════════════════════════ */
.page-back-cover {
  background: var(--green-800);
  color: #fff; overflow: hidden;
}
.back-cover-bg { position: absolute; inset: 0; pointer-events: none; }
.back-cover-circle {
  position: absolute; width: 120%; padding-bottom: 120%;
  left: -10%; bottom: -30%;
  border-radius: 50%;
  border: 1px solid rgba(212,160,23,0.12);
}
.back-cover-circle2 {
  position: absolute; width: 80%; padding-bottom: 80%;
  right: -20%; top: -10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(58,138,92,0.15) 0%, transparent 70%);
}
.back-cover-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  height: 100%; gap: 5%; padding: 8%;
  text-align: center;
}
.back-cover-logo { width: 28cqw; height: auto; opacity: 0.9; }
.back-cover-ornament { color: var(--gold-300); font-size: 1.2em; letter-spacing: 0.3em; opacity: 0.6; }
.back-cover-title { font-family: var(--font-serif); font-size: 4.8cqw; font-weight: 900; line-height: 1.2; opacity: 0.95; }
.back-cover-divider { width: 25%; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-400), transparent); }
.back-cover-web { font-size: 0.78em; font-weight: 700; letter-spacing: 0.06em; color: var(--gold-300); text-decoration: none; }
.back-cover-partners { font-size: 0.60em; opacity: 0.55; line-height: 1.7; }

/* ══════════════════════════════════════════════════════
   SAYFA GENEL ÇERÇEVE
══════════════════════════════════════════════════════ */

/* Üst renkli şerit */
.page-stripe {
  height: 5px; flex-shrink: 0;
  background: linear-gradient(90deg, var(--green-400) 0%, var(--green-300) 60%, var(--gold-300) 100%);
}
.page-stripe.gold {
  background: linear-gradient(90deg, var(--gold-500) 0%, var(--gold-300) 70%, var(--green-300) 100%);
}

/* Sayfa gövdesi — taşan metin kaydırılabilir (sabit sayfa yüksekliğinde kırpma olmasın) */
.page-body {
  flex: 1; min-height: 0; padding: 5% 6.5% 6%;
  display: flex; flex-direction: column; gap: 3%;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(58, 138, 92, 0.35) transparent;
}
.page-body::-webkit-scrollbar { width: 5px; }
.page-body::-webkit-scrollbar-thumb {
  background: rgba(58, 138, 92, 0.35);
  border-radius: 999px;
}

/* Bölüm etiketi */
.section-label {
  display: inline-flex; align-items: center; gap: 3%;
  font-size: 0.6em; font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--green-400); line-height: 1;
}
.section-label::before {
  content: ""; display: block; width: 12px; height: 2px; background: var(--green-400); flex-shrink: 0;
}

/* Başlık */
.page-title {
  font-family: var(--font-serif);
  font-size: 4.2cqw;
  font-weight: 800; line-height: 1.15; color: var(--ink); margin: 0;
}
.page-title .gold { color: var(--gold-700); }

/* Kural çizgisi */
.title-rule {
  display: flex; align-items: center; gap: 3%; margin-top: -1%;
}
.title-rule-line { flex: 1; height: 1.5px; background: linear-gradient(90deg, var(--green-300) 0%, transparent 100%); }
.title-rule-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold-400); flex-shrink: 0; }

/* Metin */
.body-text { font-size: 0.79em; line-height: 1.6; color: var(--ink); margin: 0; }
.lead-text { font-size: 0.84em; font-weight: 500; line-height: 1.55; color: var(--ink); margin: 0; }
.sub-title { font-family: var(--font-display); font-size: 0.82em; font-weight: 800; color: var(--green-600); margin: 0; }

/* Alıntı */
.pull-quote {
  border-top: 2px solid var(--green-200); border-bottom: 2px solid var(--green-200);
  padding: 3.5% 5%; position: relative;
  font-family: var(--font-serif); font-size: 0.86em; font-weight: 700;
  font-style: italic; color: var(--green-700); line-height: 1.45; text-align: center;
}
.pull-quote::before {
  content: "\201C";
  position: absolute; top: -0.2em; left: 3%;
  font-family: var(--font-serif); font-size: 2.5em; color: var(--gold-300);
  line-height: 1; pointer-events: none;
}

/* Vurgu kutusu */
.highlight-box {
  background: linear-gradient(135deg, var(--green-50) 0%, rgba(245,207,106,0.08) 100%);
  border-left: 3.5px solid var(--green-400);
  border-radius: 0 8px 8px 0;
  padding: 4% 5%; font-size: 0.75em; line-height: 1.55;
}
.highlight-box .box-title {
  font-family: var(--font-display); font-weight: 800; font-size: 1em;
  color: var(--green-700); margin-bottom: 2%;
  display: flex; align-items: center; gap: 3%;
}
.highlight-box .box-title::before { content: "◆"; font-size: 0.6em; color: var(--gold-500); }
.highlight-box ul { margin: 0; padding: 0 0 0 3%; }
.highlight-box li { margin-bottom: 1.5%; line-height: 1.5; }

/* Gold highlight kutusu */
.highlight-box.gold {
  background: linear-gradient(135deg, var(--gold-100) 0%, rgba(58,138,92,0.05) 100%);
  border-left-color: var(--gold-500);
}
.highlight-box.gold .box-title { color: var(--gold-700); }
.highlight-box.gold .box-title::before { color: var(--gold-500); }

/* Kart ızgara */
.card-grid { display: grid; gap: 2.5%; }
.card-grid.cols-2 { grid-template-columns: 1fr 1fr; }
.card-grid.cols-3 { grid-template-columns: 1fr 1fr 1fr; }

.card {
  background: var(--paper2);
  border: 1px solid rgba(58,138,92,0.16);
  border-top: 3px solid var(--green-400);
  border-radius: 0 0 7px 7px;
  padding: 4% 4.5%; display: flex; flex-direction: column; gap: 1.5%;
}
.card.gold-card { border-top-color: var(--gold-500); }
.card-icon { font-size: 1.3em; line-height: 1; }
.card-title { font-family: var(--font-display); font-weight: 800; font-size: 0.76em; color: var(--green-700); line-height: 1.2; }
.card.gold-card .card-title { color: var(--gold-700); }
.card-text { font-size: 0.71em; line-height: 1.5; color: var(--ink-60); }

/* Tema kartları */
.tema-grid { display: flex; flex-direction: column; gap: 2%; flex: 1; }
.tema-card { background: var(--paper2); border-radius: 7px; overflow: hidden; display: flex; }
.tema-num-col {
  flex: 0 0 auto; width: 14%; background: var(--green-700);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: var(--font-serif); font-size: 1.3em; font-weight: 900;
  writing-mode: vertical-rl; text-orientation: mixed; letter-spacing: 0.04em;
  padding: 3% 2%;
}
.tema-num-col.t1 { background: var(--green-600); }
.tema-num-col.t2 { background: var(--green-500); }
.tema-num-col.t3 { background: var(--green-400); }
.tema-num-col.t4 { background: var(--green-300); color: var(--green-900); }
.tema-body-col { flex: 1; padding: 3% 4%; display: flex; flex-direction: column; gap: 1%; }
.tema-name { font-family: var(--font-display); font-weight: 800; font-size: 0.8em; color: var(--green-800); }
.tema-desc { font-size: 0.71em; color: var(--ink-60); line-height: 1.4; }
.tema-tag { font-size: 0.62em; font-weight: 700; color: var(--gold-700); letter-spacing: 0.05em; text-transform: uppercase; }

/* Tablo */
.mag-table { width: 100%; border-collapse: collapse; font-size: 0.72em; }
.mag-table thead tr { background: var(--green-700); }
.mag-table th { color: #fff; padding: 2.5% 3%; text-align: left; font-weight: 700; font-family: var(--font-display); font-size: 0.9em; }
.mag-table td { padding: 2.5% 3%; border-bottom: 1px solid rgba(58,138,92,0.14); vertical-align: top; line-height: 1.45; }
.mag-table tr:nth-child(even) td { background: var(--green-50); }
.mag-table td strong { color: var(--green-700); }

/* Çek listesi */
.check-item { display: flex; align-items: flex-start; gap: 5%; font-size: 0.74em; line-height: 1.45; }
.check-icon { color: var(--green-400); font-weight: 900; flex-shrink: 0; margin-top: 0.05em; font-size: 1.1em; }

/* İmza */
.signature-box {
  background: linear-gradient(135deg, var(--green-50), var(--gold-100));
  border: 1px solid rgba(212,160,23,0.25); border-radius: 7px;
  padding: 3.5% 5%; display: flex; flex-direction: column; gap: 1%; align-items: flex-end;
}
.sig-name { font-family: var(--font-serif); font-weight: 700; font-size: 0.82em; color: var(--green-800); }
.sig-title { font-size: 0.67em; color: var(--gold-700); font-weight: 700; letter-spacing: 0.03em; }

/* ══════════════════════════════════════════════════════
   BÖLÜM KAPAK SAYFASI
══════════════════════════════════════════════════════ */
.page-section-cover { overflow: hidden; }
.section-cover-bg {
  position: absolute; inset: 0;
  background: linear-gradient(145deg, var(--green-800) 0%, var(--green-600) 55%, var(--green-500) 100%);
}
/* Desen */
.section-cover-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 16px 16px;
}
/* Büyük dekoratif sayı */
.section-cover-bignum {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  font-family: var(--font-serif); font-size: 36cqw;
  font-weight: 900; color: rgba(255,255,255,0.05); line-height: 1;
  pointer-events: none; user-select: none; letter-spacing: -0.04em;
}
/* Altın çizgi sol kenar */
.section-cover-accent {
  position: absolute; left: 0; top: 0; bottom: 0; width: 5px;
  background: linear-gradient(180deg, var(--gold-500) 0%, var(--gold-300) 50%, transparent 100%);
}

.section-cover-content {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 7% 8% 8%;
  color: #fff;
}
.sc-overline {
  font-size: 0.62em; font-weight: 800; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--gold-300); opacity: 0.85; margin-bottom: 3%;
  display: flex; align-items: center; gap: 3%;
}
.sc-overline::before { content: ""; display: block; width: 20px; height: 2px; background: var(--gold-400); flex-shrink: 0; }
.sc-title { font-family: var(--font-serif); font-size: 5.6cqw; font-weight: 900; line-height: 1.15; margin: 0 0 4%; }
.sc-desc { font-size: 0.78em; opacity: 0.75; line-height: 1.5; max-width: 88%; }
.sc-rule { width: 30%; height: 2px; background: linear-gradient(90deg, var(--gold-400), transparent); margin-bottom: 4%; }

/* ══════════════════════════════════════════════════════
   İÇİNDEKİLER
══════════════════════════════════════════════════════ */
.page-toc-inner { overflow: hidden; }
.toc-top-band {
  background: var(--green-700); padding: 5% 7% 4%;
  color: #fff; display: flex; align-items: center; gap: 4%;
}
.toc-logo { width: 16cqw; height: auto; flex-shrink: 0; opacity: 0.9; }
.toc-brand-block { display: flex; flex-direction: column; gap: 1.5px; }
.toc-brand-small { font-size: 0.6em; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-300); line-height: 1; opacity: 0.85; }
.toc-brand-big { font-family: var(--font-display); font-size: 0.82em; font-weight: 800; line-height: 1.2; }

.toc-body {
  flex: 1; min-height: 0; padding: 4% 7%;
  display: flex; flex-direction: column; gap: 2%;
  overflow-x: hidden; overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(58, 138, 92, 0.35) transparent;
}
.kunye-box {
  background: var(--green-50); border-radius: 6px;
  padding: 3% 4%; display: grid; grid-template-columns: auto 1fr; gap: 1% 4%;
  font-size: 0.68em; line-height: 1.6;
}
.kunye-label { font-weight: 700; color: var(--green-600); white-space: nowrap; }
.kunye-value { color: var(--ink); }

.toc-heading {
  font-family: var(--font-display); font-size: 0.72em; font-weight: 800;
  color: var(--green-700); text-transform: uppercase; letter-spacing: 0.1em;
  display: flex; align-items: center; gap: 3%; margin: 0;
}
.toc-heading::after { content: ""; flex: 1; height: 1.5px; background: linear-gradient(90deg, var(--green-200), transparent); }

.toc-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1.2%; }
.toc-item { display: flex; align-items: baseline; gap: 2%; font-size: 0.72em; line-height: 1.3; }
.toc-num { font-family: var(--font-serif); font-weight: 900; font-size: 1.1em; color: var(--gold-600, var(--gold-500)); flex-shrink: 0; min-width: 2em; }
.toc-text { color: var(--ink); }
.toc-dots { flex: 1; border-bottom: 1px dotted var(--ink-30); margin-bottom: 0.15em; }

/* ══════════════════════════════════════════════════════
   FOTOĞRAFLI SAYFA
══════════════════════════════════════════════════════ */
.page-photo-body {
  flex: 1; min-height: 0; padding: 5% 6%;
  display: flex; flex-direction: column; gap: 3%;
  overflow-x: hidden; overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(58, 138, 92, 0.35) transparent;
}
.photo-img { width: 100%; border-radius: 7px; object-fit: cover; flex-shrink: 0; box-shadow: 0 2px 12px rgba(10,46,24,0.12); }
.photo-img.h35 { height: 35%; }
.photo-img.h40 { height: 40%; }
.photo-img.h50 { height: 50%; }
.photo-row { display: flex; gap: 3%; flex-shrink: 0; height: 38%; }
.photo-row .photo-img { flex: 1; height: 100%; width: auto; }
.photo-caption { font-size: 0.63em; color: var(--ink-60); font-style: italic; text-align: center; line-height: 1.35; }

/* ══════════════════════════════════════════════════════
   E-KİTAPLAR
══════════════════════════════════════════════════════ */
.ebook-shelf {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 3%; flex: 1;
}
.ebook-card {
  display: flex; flex-direction: column;
  background: var(--paper2);
  border: 1px solid rgba(58,138,92,0.14);
  border-radius: 8px; overflow: hidden;
  box-shadow: 0 3px 10px rgba(10,46,24,0.08);
  transition: transform 80ms ease;
}
.ebook-cover { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.ebook-info { padding: 4% 5% 5%; display: flex; flex-direction: column; gap: 2%; }
.ebook-num { font-size: 0.58em; font-weight: 800; color: var(--gold-700); text-transform: uppercase; letter-spacing: 0.08em; line-height: 1; }
.ebook-title { font-family: var(--font-display); font-weight: 700; font-size: 0.72em; line-height: 1.3; color: var(--ink); }
.ebook-link { font-size: 0.63em; color: var(--green-500); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 2%; }
.ebook-link::after { content: "→"; }

/* ══════════════════════════════════════════════════════
   GALERİ
══════════════════════════════════════════════════════ */
.gallery-header { padding: 4% 6% 2%; flex-shrink: 0; }
.gallery-grid-wrap {
  flex: 1; min-height: 0; padding: 0 4% 3%;
  overflow-x: hidden; overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(58, 138, 92, 0.35) transparent;
}
.gallery-grid {
  display: grid; grid-template-columns: repeat(3,1fr); grid-template-rows: 1fr 1fr;
  gap: 2%; height: 100%;
}
.gallery-item { overflow: hidden; border-radius: 5px; border: 1px solid rgba(58,138,92,0.12); background: var(--green-50); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-footer { padding: 0 6% 4%; }
.gallery-caption { font-size: 0.63em; color: var(--ink-60); font-style: italic; text-align: center; }

/* Tek satırlık galeri — 3 görsel yan yana, tam yükseklik */
.gallery-grid.gallery-grid-single-row {
  grid-template-rows: 1fr;
}

/* Tam sayfa basın kupürü */
.press-clipping-body {
  flex: 1; min-height: 0; padding: 4% 5% 3%;
  display: flex; flex-direction: column; gap: 2%;
  overflow-x: hidden; overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(58, 138, 92, 0.35) transparent;
}
.press-clipping-img-wrap {
  flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center;
  background: var(--green-50); border-radius: 7px; overflow: hidden;
  border: 1px solid rgba(58,138,92,0.12);
  box-shadow: 0 4px 20px rgba(10,46,24,0.10);
}
.press-clipping-img-wrap img {
  width: 100%; height: 100%; object-fit: contain;
}
.press-clipping-caption {
  font-size: 0.68em; color: var(--ink-60); font-style: italic;
  text-align: center; line-height: 1.35; flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════
   ALT BAR
══════════════════════════════════════════════════════ */
.control-bar {
  z-index: 30; width: min(560px,100%); max-width: 100%; margin: 0 auto;
  height: var(--bar-h); display: flex; align-items: center; justify-content: center;
  gap: 2px; padding: 0 10px;
  border: 1px solid var(--glass-border); border-radius: var(--bar-radius);
  background: var(--glass); box-shadow: var(--glass-shadow);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
}
.control-group { min-width: 0; display: inline-flex; align-items: center; justify-content: center; gap: 1px; border: none; background: transparent; }
.progress-control { min-width: 0; flex: 1 1 100px; display: flex; align-items: center; padding-inline: 8px; height: 100%; }
#pageProgress { -webkit-appearance: none; -moz-appearance: none; appearance: none; width: 100%; min-width: 60px; height: 100%; background: transparent; cursor: pointer; margin: 0; padding: 0; display: flex; align-items: center; }
#pageProgress::-webkit-slider-runnable-track { width: 100%; height: 4px; border-radius: 999px; background: rgba(26,46,26,0.14); border: none; }
#pageProgress::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; margin-top: -5px; border: 2px solid #fff; border-radius: 50%; background: var(--green-400); box-shadow: 0 1px 4px rgba(0,0,0,0.2); cursor: pointer; }
#pageProgress::-moz-range-track { width: 100%; height: 4px; border-radius: 999px; background: rgba(26,46,26,0.14); border: none; }
#pageProgress::-moz-range-thumb { width: 14px; height: 14px; border: 2px solid #fff; border-radius: 50%; background: var(--green-400); cursor: pointer; }
.icon-button { min-height: 28px; border: none; background: transparent; color: var(--ink-60); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 4px; font-size: 0.68rem; font-weight: 650; line-height: 1; border-radius: 8px; width: 28px; padding: 0; transition: transform 100ms ease, background 100ms ease, color 100ms ease; }
.icon-button svg { width: 15px; height: 15px; flex: 0 0 auto; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.icon-button:hover:not(:disabled) { background: var(--accent-soft); color: var(--green-600); }
.icon-button:active:not(:disabled) { transform: scale(0.9); }
.icon-button:disabled { opacity: 0.25; cursor: not-allowed; }

.toast { position: fixed; left: 50%; bottom: 56px; z-index: 60; width: min(360px,calc(100vw - 32px)); padding: 8px 14px; border-radius: 12px; background: rgba(10,46,24,0.92); color: #fffdf7; font-size: 0.72rem; font-weight: 650; line-height: 1.3; text-align: center; transform: translate(-50%,10px); opacity: 0; pointer-events: none; backdrop-filter: blur(8px); transition: opacity 170ms ease, transform 170ms ease; }
.toast.is-visible { opacity: 1; transform: translate(-50%,0); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
:focus-visible { outline: none; box-shadow: var(--focus); }

.reader-shell.is-fullscreen,
.reader-shell.is-pseudo-fullscreen { height: 100svh; background: var(--reader-bg) center / cover fixed no-repeat, var(--bg); }
.reader-shell.is-pseudo-fullscreen { position: fixed; inset: 0; z-index: 9999; }

@media (max-width: 760px) {
  :root { --bar-h: 34px; --bar-radius: 15px; }
  .reader-shell { gap: 4px; grid-template-rows: var(--bar-h) minmax(0,1fr); padding: 4px 4px calc(var(--mobile-control-h) + 8px + env(safe-area-inset-bottom,0px) + var(--vv-bottom)); }
  .reader-topbar { width: calc(100vw - 8px); padding: 0 10px; }
  .brand-kicker { display: none; }
  .control-bar { position: fixed; left: 4px; right: 4px; bottom: calc(4px + env(safe-area-inset-bottom,0px) + var(--vv-bottom)); z-index: 90; width: auto; max-width: none; height: auto; min-height: var(--mobile-control-h); flex-wrap: wrap; gap: 2px; padding: 3px 8px; }
  .progress-control { flex: 1 0 100%; order: -1; }
  #pageProgress { height: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ══════════════════════════════════════════════════════
   GÖRSEL ODAKLI SAYFA (E-KİTAP) STİLLERİ
   ══════════════════════════════════════════════════════ */
.image-only-page {
  position: absolute;
  inset: 0;
  padding: 0;
  margin: 0;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.image-only-page img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.page-number {
  display: none !important;
}

