/* How Long To Wait — Yön A: Editorial / Güven (sıcak kâğıt + mürekkep + koyu yeşil).
   Türk sitesinden (mavi SaaS) tamamen ayrı: serif başlık, ince çizgiler, dergi havası. */
:root {
  --bg: #efe7d6;          /* sıcak kum (mockup default tema) */
  --card: #faf9f5;        /* krem kart (bg'den açık) */
  --ink: #1c2620;         /* koyu mürekkep */
  --muted: #8a9085;
  --muted2: #9aa194;
  --faint: #b3b8ac;
  --line: #e4dcc8;        /* sıcak ince çizgi */
  --line2: #d9cfb8;
  --accent: #1f4d3a;      /* derin orman yeşili */
  --accent-ink: #163829;
  --accent-soft: #eef3ea; /* açık yeşil vurgu */
  --tile: #ece4d4;        /* nötr ikon kutusu */
  --good: #1f7a4d;
  --bad: #c0392b;
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 16px;
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: 'Plus Jakarta Sans', ui-monospace, monospace;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: #fff; }

/* header — ince alt çizgi, dergi künyesi havası */
.site-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 16px 24px; background: var(--bg);
  border-bottom: 1px solid var(--line2);
  position: sticky; top: 0; z-index: 10;
}
.logo { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.logo-mark { width: 26px; height: 26px; flex-shrink: 0; }
.logo-mark svg { width: 26px; height: 26px; display: block; }
.logo-word { font-family: var(--serif); font-size: 25px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
.logo-word em { color: var(--accent); font-style: italic; }

/* layout */
main { max-width: 720px; margin: 0 auto; padding: 16px 24px 72px; }
.loading, .error { padding: 48px; text-align: center; color: var(--muted2); }
.muted { color: var(--muted); }
.crumbs { font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted2); margin-bottom: 14px; }
.crumbs a:hover { color: var(--accent); }
h1 { font-family: var(--serif); font-size: 33px; font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; margin: 4px 0 8px; }
h2 { font-family: var(--serif); font-size: 21px; font-weight: 600; margin: 0 0 14px; }

/* ---------------- hero (arama) ---------------- */
.hero { text-align: center; padding: 40px 0 30px; }
.hero h1 { font-size: 46px; line-height: 1.1; margin-bottom: 14px; }
.hero p strong { color: var(--accent); font-weight: 700; }
.hero h1 em { color: var(--accent); font-style: italic; }
.hero p { color: var(--muted); max-width: 420px; margin: 0 auto 26px; font-size: 16px; }
.hero-search { position: relative; max-width: 540px; margin: 0 auto; }
.hero-search input {
  width: 100%; padding: 15px 18px; font-size: 16px; font-family: var(--sans);
  border: 1px solid var(--line2); border-radius: var(--r-lg);
  background: var(--card); color: var(--ink);
}
.hero-search input::placeholder { color: var(--faint); }
.hero-search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.hero-results {
  position: absolute; top: 110%; left: 0; right: 0; background: var(--card); text-align: left;
  border: 1px solid var(--line2); border-radius: var(--r); overflow: hidden; z-index: 20;
  box-shadow: 0 8px 24px rgba(33,31,26,.08);
}
.hero-results:empty { display: none; }   /* boşken çizgi/kutu görünmesin */
.hero-results a, .hero-results .res-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 500; color: inherit;
}
.hero-results a:last-child, .hero-results .res-row:last-child { border-bottom: 0; }
.hero-results a:hover, .hero-results .res-row:hover,
.hero-results .res-row.active { background: var(--accent-soft); }
.hero-results small { color: var(--muted2); font-weight: 400; }
.hero-results .empty, .res-empty { padding: 14px 16px; color: var(--muted2); }
.hero-suggest { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 18px; }

/* chip — editorial etiket (köşeli, uppercase) */
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--card); border: 1px solid var(--line2); border-radius: var(--r);
  padding: 9px 16px; font-size: 13.5px; font-weight: 600; cursor: pointer; color: var(--ink);
}
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip.on, button.chip.cat-filter.on { background: var(--accent); color: #fff; border-color: var(--accent); }
button.chip { font-family: var(--sans); }

/* ---------------- popüler liste ---------------- */
.popular { margin-top: 26px; }
.popular .head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.popular .head span:first-child { font-family: var(--serif); font-size: 18px; font-weight: 600; }
.popular .head a { font-size: 13px; color: var(--accent); font-weight: 600; }
.svc-row, .service-list a {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-lg); margin-bottom: 12px;
}
.svc-row:hover, .service-list a:hover { border-color: var(--accent); }
.svc-tile {
  width: 42px; height: 42px; border-radius: var(--r); background: var(--tile);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 18px;
}
.svc-main { flex: 1; min-width: 0; }
.svc-main .name { font-size: 15.5px; font-weight: 600; }
.svc-main .sub { font-size: 12.5px; color: var(--muted2); }
.svc-val { font-family: var(--serif); text-align: right; font-size: 20px; font-weight: 600; color: var(--accent); white-space: nowrap; }
.svc-val small { font-size: 12px; color: var(--muted2); font-weight: 400; }
.svc-val.empty, .num.empty { font-family: var(--sans); font-size: 12.5px; color: var(--muted2); font-weight: 600; }

/* kategori çipleri */
.cat-chips { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cat-chips .muted { font-size: 13px; margin-right: 4px; }

/* ---------------- detay hero — kâğıt panel, üst yeşil bant, serif sayı ---------------- */
.detail-hero {
  background: var(--card); border: 1px solid var(--line2); border-top: 3px solid var(--accent);
  border-radius: var(--r-lg); padding: 26px 26px 28px; margin: 6px 0 20px;
}
.detail-hero .label { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted2); margin-bottom: 8px; }
.detail-hero .big { display: flex; align-items: flex-end; gap: 10px; }
.detail-hero .big .num { font-family: var(--serif); font-size: 64px; line-height: .9; font-weight: 600; letter-spacing: -0.02em; color: var(--accent); }
.detail-hero .big .unit { font-family: var(--serif); font-size: 22px; font-weight: 500; margin-bottom: 8px; color: var(--ink); }
.detail-hero .pill {
  margin-top: 16px; display: inline-flex; align-items: center; gap: 7px;
  background: var(--accent-soft); color: var(--accent-ink); padding: 6px 12px; border-radius: var(--r-sm);
  font-size: 12.5px; font-weight: 600;
}
.detail-hero .pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.detail-hero .range { margin-top: 12px; font-size: 13.5px; color: var(--muted); }
.detail-hero.muted-hero { border-top-color: var(--line2); }
.detail-hero.muted-hero .big .num { color: var(--muted2); }
.hero-city {
  margin: 4px 0 10px; padding: 8px 32px 8px 14px; font-size: 14px; font-weight: 600; font-family: var(--sans);
  color: var(--ink); background: var(--card); border: 1px solid var(--line2);
  border-radius: var(--r-sm); cursor: pointer; -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><path d='M3 5l3 3 3-3' stroke='%231f5d4c' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat; background-position: right 12px center;
}

/* açıklama — editorial lead + accordion */
.summary { font-size: 17px; line-height: 1.7; color: var(--ink); margin: 16px 0; }
.more { margin: 2px 0 8px; border-top: 1px solid var(--line); padding-top: 10px; }
.more > summary { color: var(--accent); font-weight: 600; cursor: pointer; font-size: 14px; list-style: none; }
.more > summary::-webkit-details-marker { display: none; }
.more > summary::before { content: "+ "; font-weight: 700; }
.more[open] > summary::before { content: "– "; }
.more[open] > summary { margin-bottom: 10px; }
.more p { font-size: 16px; line-height: 1.7; color: var(--muted); margin: 0 0 12px; }

/* uyarı bandı — sıcak amber */
.disclaimer {
  background: #fbf3e2; border: 1px solid #e7d3a3; color: #7a5618;
  border-radius: var(--r); padding: 11px 15px; font-size: 13px; line-height: 1.5; margin: 0 0 16px;
}
.updated { font-size: 12px; letter-spacing: .02em; color: var(--muted2); margin: 2px 2px 16px; }

/* bölüm */
.block { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px 26px; margin: 18px 0; }
.detail-body { margin-top: 10px; }
.block .sub { font-size: 12.5px; color: var(--muted2); margin: -8px 0 16px; }
.block h2, .add-exp h2 { font-family: var(--serif); font-size: 21px; font-weight: 600; margin: 0 0 14px; }

/* süreç adımları (timeline) */
.timeline { list-style: none; margin: 4px 0 0; padding: 0; }
.timeline li { position: relative; display: flex; gap: 14px; padding: 0 0 20px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:not(:last-child)::before { content: ""; position: absolute; left: 13px; top: 30px; bottom: 0; width: 2px; background: var(--line2); }
.step-no { flex-shrink: 0; width: 27px; height: 27px; border-radius: 50%; background: var(--accent); color: #fff; font-family: var(--serif); font-weight: 600; font-size: 14px; display: flex; align-items: center; justify-content: center; z-index: 1; }
.step-txt { font-size: 15px; line-height: 1.6; color: var(--ink); padding-top: 3px; }
/* bu sayfanın ölçtüğü adım — callout: sol accent çizgisi + açıklayıcı etiket */
.timeline li.tl-here .step-txt { border-left: 3px solid var(--accent); background: var(--accent-soft); border-radius: 0 var(--r) var(--r) 0; padding: 10px 14px; margin-top: -5px; }
.timeline li.tl-here .step-no { box-shadow: 0 0 0 4px var(--accent-soft); }
.tl-tag { display: inline-block; margin-top: 7px; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); }

/* histogram */
.histogram { display: flex; align-items: flex-end; gap: 7px; height: 120px; }
.histogram .bar { flex: 1; background: var(--accent-soft); border-radius: 3px 3px 0 0; min-height: 4px; }
.histogram .bar.peak { background: var(--accent); }
.hist-axis { display: flex; justify-content: space-between; margin-top: 9px; font-size: 11px; color: var(--faint); }

/* trend */
.trend-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.trend-card .head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.trend-card .head span:first-child { font-size: 13px; font-weight: 700; }
.trend-label { font-size: 12px; font-weight: 700; }
.trend-label.good { color: var(--good); } .trend-label.bad { color: var(--bad); } .trend-label.neutral { color: var(--muted2); }
.trend-card svg { width: 100%; height: 56px; display: block; }

/* bölge / il tablosu */
.prov-table, .region-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.prov-table th, .prov-table td, .region-table td { text-align: left; padding: 9px 8px; border-bottom: 1px solid var(--line); }
.prov-table th { color: var(--muted2); font-weight: 600; font-size: 12.5px; }
.prov-table td:first-child, .region-table td:first-child { font-weight: 600; }
.region-table td:nth-child(2) { font-family: var(--serif); font-weight: 600; text-align: right; color: var(--accent); }
.region-table td:last-child { text-align: right; width: 44px; color: var(--muted2); }

/* deneyimler + kaynaklar */
.exp-list { display: flex; flex-direction: column; gap: 12px; }
.exp-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.exp-card { border: 1px solid var(--line); border-radius: var(--r); padding: 15px 16px; background: var(--bg); }
.exp-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.exp-who { display: flex; align-items: center; gap: 9px; }
.exp-avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: var(--accent); }
.exp-name { font-size: 13.5px; font-weight: 600; }
.exp-badge { font-family: var(--serif); font-size: 13px; font-weight: 600; color: var(--accent); background: var(--accent-soft); padding: 3px 9px; border-radius: var(--r-sm); white-space: nowrap; }
.exp-note { font-size: 13.5px; line-height: 1.55; color: var(--muted); margin: 0; }
.exp-src { font-size: 11px; color: var(--faint); margin-top: 6px; }

/* form */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-block form, .add-exp form { display: flex; flex-direction: column; gap: 12px; max-width: 440px; }
.form-block label, .add-exp label { display: flex; flex-direction: column; gap: 5px; font-size: 13px; font-weight: 600; color: var(--muted); }
.form-block input, .form-block select, .add-exp input, .add-exp select {
  padding: 11px 13px; border: 1px solid var(--line2); border-radius: var(--r-sm);
  font-size: 15px; font-family: var(--sans); background: var(--card); color: var(--ink);
}
.form-block input:focus, .form-block select:focus, .add-exp input:focus, .add-exp select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
.add-exp { margin: 28px 0; padding: 22px 24px; background: var(--accent-soft); border: 1px solid var(--line2); border-radius: var(--r-lg); }
.form-block button, .add-exp button {
  align-self: flex-start; background: var(--accent); color: #fff; border: 0;
  padding: 12px 26px; border-radius: var(--r-sm); font-size: 15px; font-weight: 600; cursor: pointer; font-family: var(--sans);
}
.form-block button:hover, .add-exp button:hover { background: var(--accent-ink); }
.form-msg, .exp-msg { margin: 0; font-size: 14px; font-weight: 600; min-height: 18px; }
.form-msg.ok, .exp-msg.ok { color: var(--good); }
.form-msg.err, .exp-msg.err { color: var(--bad); }

/* footer */
.site-footer { text-align: center; padding: 32px 24px; color: var(--muted2); font-size: 12.5px; border-top: 1px solid var(--line2); margin-top: 40px; }

/* dil switcher */
.lang-switch { display: flex; gap: 4px; font-size: 12px; font-weight: 700; letter-spacing: .03em; }
.lang-switch a, .lang-switch b { padding: 5px 9px; border-radius: var(--r-sm); text-decoration: none; }
.lang-switch a { color: var(--muted2); } .lang-switch a:hover { background: var(--accent-soft); color: var(--accent); }
.lang-switch b { background: var(--accent); color: #fff; }

@media (max-width: 560px) {
  .hero h1 { font-size: 32px; }
  h1 { font-size: 27px; }
  .detail-hero .big .num { font-size: 52px; }
  main { padding: 14px 18px 60px; }
}

/* ilgili sayfalar (iç bağlantı) */
.related-links { display: flex; flex-wrap: wrap; gap: 8px; }
.related-links .chip { font-weight: 500; }

/* anasayfa: kategori filtre satırı + CTA (yeşil kart) */
.cat-filter-row { display: flex; flex-wrap: wrap; gap: 7px; margin: -4px 0 18px; }
.cta { background: var(--accent); color: #fff; border-radius: var(--r-lg); padding: 30px 26px; margin: 34px 0 8px; text-align: center; }
.cta h2 { font-family: var(--serif); color: #fff; margin: 0 0 6px; font-size: 24px; }
.cta p { color: rgba(255,255,255,.82); margin: 0 auto 18px; font-size: 15px; max-width: 460px; }
.cta-btn { display: inline-block; background: #fff; color: var(--accent); font-weight: 700; padding: 12px 24px; border-radius: var(--r-sm); font-size: 15px; }
.cta-btn:hover { background: var(--accent-soft); }

/* statik içerik sayfaları (about/privacy/imprint) + footer linkleri */
.prose { max-width: 680px; }
.prose h2 { font-family: var(--serif); font-size: 19px; font-weight: 600; margin: 22px 0 8px; }
.prose p { font-size: 15.5px; line-height: 1.7; color: var(--ink); margin: 0 0 12px; }
.prose .muted, .prose p.muted { color: var(--muted); font-size: 13.5px; }
.prose a { color: var(--accent); text-decoration: underline; }
.foot-links { display: flex; gap: 14px; justify-content: center; margin-bottom: 10px; font-size: 13px; font-weight: 600; }
.foot-links a { color: var(--muted); } .foot-links a:hover { color: var(--accent); }

/* kategori çizgi-ikonları (emoji yerine) */
.svc-tile { color: var(--accent); }
.svc-tile svg { width: 20px; height: 20px; }
.chip svg { width: 17px; height: 17px; }
.h1-ico { color: var(--accent); display: inline-flex; vertical-align: -2px; }
.h1-ico svg { width: 24px; height: 24px; }

/* arama açılır menüsü ikonları */
.res-name { display: inline-flex; align-items: center; gap: 7px; }
.res-name svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }
