/* Tutulemma — Tutulma teması. Sıfır JS, tek dosya. */

:root {
  --bg: #1f2330;
  --bg-soft: #262b3a;
  --bg-card: #2c3244;
  --line: #3d455c;
  --text: #efede7;
  --muted: #a9b1c1;
  --brand: #fc625a;
  --brand-soft: #ff8f89;
  --brand-dim: #b23a35;
  --gold: #ecc789;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --measure: 68ch;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.06rem;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}
/* Günizi eğrisi — sayfanın üstünde soluk bir figür 8 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 55% at 50% -18%, rgba(252, 98, 90, 0.10), transparent 60%),
    radial-gradient(ellipse 40% 30% at 85% 8%, rgba(232, 192, 122, 0.05), transparent 70%);
  z-index: -1;
}

.wrap { max-width: 74rem; margin: 0 auto; padding: 0 1.4rem; }

a { color: var(--brand-soft); text-decoration: none; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
a:hover { color: var(--brand); border-bottom-color: var(--brand-dim); }
a[aria-current="page"] { color: var(--brand); }

/* ---------- Üst gezinme ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(31, 35, 48, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 4rem; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--text); font-family: var(--serif); font-size: 1.3rem; letter-spacing: .04em; border: 0; }
.brand svg { color: var(--brand); }
.main-nav { display: flex; gap: 1.5rem; font-size: .98rem; }
.main-nav a { color: var(--muted); border: 0; padding: .35rem 0; }
.main-nav a:hover { color: var(--text); }
.main-nav a[aria-current="page"] { color: var(--brand); box-shadow: 0 2px 0 var(--brand); }

.mobile-nav { display: none; position: relative; }
.mobile-nav summary { list-style: none; cursor: pointer; padding: .6rem .2rem; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.burger, .burger::before, .burger::after { display: block; width: 22px; height: 2px; background: var(--text); position: relative; }
.burger::before, .burger::after { content: ""; position: absolute; left: 0; }
.burger::before { top: -7px; } .burger::after { top: 7px; }
.mobile-nav nav { position: absolute; right: 0; top: calc(100% + .6rem); background: var(--bg-card); border: 1px solid var(--line); border-radius: .8rem; padding: .8rem 1.2rem; display: grid; gap: .55rem; min-width: 12rem; box-shadow: 0 18px 50px rgba(0,0,0,.55); }
.mobile-nav a { color: var(--text); border: 0; }
@media (max-width: 56rem) { .main-nav { display: none; } .mobile-nav { display: block; } }

/* ---------- Kahraman alanı ---------- */
.hero { padding: 5rem 0 3.2rem; display: grid; gap: 1.6rem; max-width: 52rem; }
.hero h1 { font-family: var(--serif); font-size: clamp(2.2rem, 5.2vw, 3.6rem); line-height: 1.12; margin: 0; font-weight: 600; letter-spacing: -.01em; }
.hero h1 em { color: var(--brand); font-style: normal; }
.hero .lead { font-size: 1.22rem; color: var(--muted); max-width: var(--measure); margin: 0; }
.eyebrow { color: var(--gold); font-size: .82rem; letter-spacing: .22em; text-transform: uppercase; margin: 0; }

.cta-row { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: .6rem; }
.btn { display: inline-block; padding: .8rem 1.5rem; border-radius: 999px; font-weight: 600; border: 1px solid var(--line); color: var(--text); background: var(--bg-card); }
.btn:hover { border-color: var(--brand-dim); color: var(--brand-soft); }
.btn.primary { background: var(--brand); border-color: var(--brand); color: #1c0b0a; }
.btn.primary:hover { background: var(--brand-soft); border-color: var(--brand-soft); color: #1c0b0a; }

.hero-figure { margin: 2.6rem 0 0; }
.hero-figure img { width: 100%; border-radius: 1.1rem; border: 1px solid var(--line); display: block; }
figcaption { color: var(--muted); font-size: .88rem; margin-top: .55rem; }

/* ---------- Bölümler ---------- */
section { padding: 2.6rem 0; }
.section-h { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0 0 1.1rem; font-weight: 600; }
.section-sub { color: var(--muted); max-width: var(--measure); margin: 0 0 1.8rem; }

.grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
.card { background: var(--bg-card); border: 1px solid var(--line); border-radius: 1rem; padding: 1.5rem 1.5rem 1.3rem; display: flex; flex-direction: column; gap: .55rem; transition: transform .25s, border-color .25s; }
.card:hover { transform: translateY(-3px); border-color: var(--brand-dim); }
.card h3 { font-family: var(--serif); font-size: 1.22rem; margin: 0; font-weight: 600; }
.card h3 a { color: var(--text); border: 0; }
.card h3 a:hover { color: var(--brand-soft); }
.card p { margin: 0; color: var(--muted); font-size: .97rem; }
.card .go { margin-top: auto; font-size: .92rem; }
.card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: .6rem; border: 1px solid var(--line); }

.quote-band { border-left: 3px solid var(--brand); background: var(--bg-soft); border-radius: 0 1rem 1rem 0; padding: 1.4rem 1.8rem; margin: 1.6rem 0; font-family: var(--serif); font-size: 1.16rem; font-style: italic; max-width: var(--measure); }
.quote-band footer { font-family: var(--sans); font-style: normal; font-size: .9rem; color: var(--muted); margin-top: .5rem; }

/* ---------- İçerik sayfaları ---------- */
.prose { max-width: var(--measure); padding: 3rem 0 3.5rem; }
.prose h1 { font-family: var(--serif); font-size: clamp(1.9rem, 4vw, 2.7rem); line-height: 1.2; margin: 0 0 1.1rem; font-weight: 600; }
.prose h2 { font-family: var(--serif); font-size: 1.55rem; margin: 2.4rem 0 .9rem; font-weight: 600; }
.prose h3 { font-family: var(--serif); font-size: 1.24rem; margin: 1.9rem 0 .7rem; font-weight: 600; }
.prose p, .prose li { color: #dfdcd5; }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose li + li { margin-top: .35rem; }
.prose blockquote { margin: 1.4rem 0; padding: .2rem 0 .2rem 1.3rem; border-left: 3px solid var(--brand); color: var(--muted); font-style: italic; }
.prose img { max-width: 100%; border-radius: .8rem; border: 1px solid var(--line); display: block; margin: 1.6rem 0; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4rem 0; }
.prose code { font-family: var(--mono); font-size: .92em; background: var(--bg-soft); border: 1px solid var(--line); border-radius: .35rem; padding: .1rem .4rem; }

.meta { color: var(--muted); font-size: .92rem; margin-bottom: 2rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.tags { display: flex; gap: .5rem; flex-wrap: wrap; list-style: none; padding: 0; margin: 0 0 1.2rem; }
.tags li { font-size: .82rem; color: var(--gold); border: 1px solid var(--line); border-radius: 999px; padding: .15rem .7rem; }

/* Blog düzeni + etiket kutusu */
.blog-layout { display: grid; grid-template-columns: 1fr 15rem; gap: 2.2rem; align-items: start; }
@media (max-width: 60rem) { .blog-layout { grid-template-columns: 1fr; } }
.tag-box { position: sticky; top: 5rem; background: var(--bg-card); border: 1px solid var(--line); border-radius: 1rem; padding: 1.2rem 1.3rem; margin-bottom: 3rem; }
.tag-box-h { font-family: var(--serif); font-size: 1.05rem; margin: 0 0 .8rem; font-weight: 600; }
.tag-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.tag-chip { font-size: .85rem; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: .22rem .75rem; border-bottom: 1px solid var(--line); }
.tag-chip:hover { color: var(--brand-soft); border-color: var(--brand-dim); }
.tag-chip.active { background: var(--brand); border-color: var(--brand); color: #1c0b0a; }
.tag-chip.active .tag-count { color: #1c0b0a; opacity: .75; }
.tag-count { font-size: .78em; opacity: .65; margin-left: .15rem; }
.tags li a { color: inherit; border: 0; }
.tags li a:hover { color: var(--brand-soft); }

/* Liste sayfaları */
.list-header { padding: 3rem 0 1.4rem; max-width: var(--measure); }
.list-header h1 { font-family: var(--serif); font-size: clamp(1.9rem, 4vw, 2.6rem); margin: 0 0 .8rem; font-weight: 600; }
.list-header p { color: var(--muted); margin: 0; }

/* Video ızgarası */
.video-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); padding-bottom: 3rem; }
.video-card { background: var(--bg-card); border: 1px solid var(--line); border-radius: .9rem; overflow: hidden; display: flex; flex-direction: column; }
.video-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.video-card p { padding: .85rem 1rem; margin: 0; font-size: .94rem; }
.video-card a { color: var(--text); border: 0; display: block; }
.video-card:hover { border-color: var(--brand-dim); }

/* Adım listesi */
.steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 1rem; margin: 1.8rem 0; }
.steps li { counter-increment: step; background: var(--bg-card); border: 1px solid var(--line); border-radius: .9rem; padding: 1.2rem 1.4rem 1.2rem 4.2rem; position: relative; }
.steps li::before { content: counter(step, upper-roman); position: absolute; left: 1.3rem; top: 1.05rem; font-family: var(--serif); font-size: 1.5rem; color: var(--brand); }
.steps strong { display: block; font-family: var(--serif); font-size: 1.1rem; margin-bottom: .25rem; }
.steps p { margin: 0; color: var(--muted); font-size: .97rem; }

/* SSS */
details.faq { border: 1px solid var(--line); border-radius: .8rem; background: var(--bg-card); margin-bottom: .8rem; }
details.faq summary { cursor: pointer; padding: 1rem 1.3rem; font-weight: 600; list-style: none; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; float: right; color: var(--brand); font-size: 1.2rem; }
details.faq[open] summary::after { content: "–"; }
details.faq .faq-body { padding: 0 1.3rem 1.2rem; color: var(--muted); }

/* Alt bilgi */
.site-footer { border-top: 1px solid var(--line); margin-top: 4rem; background: var(--bg-soft); }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); padding: 3rem 1.4rem 2rem; font-size: .95rem; }
.footer-grid p { margin: .4rem 0; }
.footer-brand { display: flex; align-items: center; gap: .5rem; font-family: var(--serif); font-size: 1.15rem; color: var(--text); margin: 0 0 .6rem; }
.footer-brand svg { color: var(--brand); }
.footer-h { font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin: 0 0 .7rem; font-weight: 600; }
.footer-base { border-top: 1px solid var(--line); padding: 1.2rem 1.4rem 2rem; font-size: .88rem; }
.muted { color: var(--muted); }

/* Uyarı / bilgi bantları */
.notice { border: 1px solid var(--line); border-left: 3px solid var(--gold); background: var(--bg-soft); border-radius: 0 .8rem .8rem 0; padding: 1rem 1.3rem; color: var(--muted); max-width: var(--measure); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
