/* Mekanlar — tasarım belirteçleri */
:root {
  --bg: #faf6f0;
  --surface: #ffffff;
  --ink: #2b2118;
  --ink-soft: #6b5d4f;
  --line: #e8ded2;
  --accent: #c2410c;       /* közlenmiş turuncu-kırmızı */
  --accent-soft: #fff1e8;
  --up: #15803d;
  --up-soft: #ecfdf3;
  --down: #b91c1c;
  --down-soft: #fef2f2;
  --radius: 12px;
  --space: 8px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1c1712;
    --surface: #262019;
    --ink: #f2e9de;
    --ink-soft: #b3a290;
    --line: #3a3128;
    --accent: #fb923c;
    --accent-soft: #33241a;
    --up: #4ade80;
    --up-soft: #1c2e22;
    --down: #f87171;
    --down-soft: #321f1f;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 760px; margin: 0 auto; padding: 0 calc(var(--space) * 2); }

/* Üst bar */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header nav { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; padding-bottom: 12px; }
.brand { font-weight: 800; font-size: 1.15rem; color: var(--ink); letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.nav-links { display: flex; gap: 16px; font-size: 0.95rem; }
.nav-links a { color: var(--ink-soft); }

/* Hero */
.hero { padding: 40px 0 24px; }
.hero h1 { font-size: clamp(1.7rem, 5vw, 2.4rem); line-height: 1.15; margin: 0 0 10px; letter-spacing: -0.02em; }
.hero p { color: var(--ink-soft); max-width: 34em; margin: 0; }

/* Liste kartları */
.list-grid { display: grid; gap: 14px; grid-template-columns: 1fr; padding: 16px 0 40px; }
@media (min-width: 640px) { .list-grid { grid-template-columns: 1fr 1fr; } }
.list-card {
  display: block; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; color: var(--ink);
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.list-card:hover { border-color: var(--accent); transform: translateY(-2px); text-decoration: none; }
.list-card h2 { margin: 0 0 6px; font-size: 1.15rem; }
.list-card p { margin: 0 0 12px; color: var(--ink-soft); font-size: 0.9rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.list-meta { font-size: 0.82rem; color: var(--accent); font-weight: 600; }

/* Liste sayfası */
.crumbs { padding: 18px 0 4px; font-size: 0.9rem; color: var(--ink-soft); }
.list-head { padding: 6px 0 18px; }
.list-head h1 { margin: 0 0 6px; font-size: clamp(1.5rem, 4.5vw, 2rem); letter-spacing: -0.02em; }
.list-head p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }

.section-title { font-size: 1.05rem; margin: 28px 0 10px; }
.section-title small { color: var(--ink-soft); font-weight: 400; font-size: 0.85rem; margin-left: 6px; }
.empty-note { color: var(--ink-soft); background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); padding: 16px; }

.venue-list { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 10px; }
.venue-row {
  display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px 14px;
}
.rank { font-weight: 800; font-size: 1.1rem; color: var(--accent); text-align: center; }
.rank-new { color: var(--ink-soft); }
.venue-info { min-width: 0; }
.venue-name { font-weight: 700; color: var(--ink); }
.venue-loc { display: block; font-size: 0.82rem; color: var(--ink-soft); margin-top: 1px; }
.venue-note { margin: 6px 0 0; font-size: 0.88rem; color: var(--ink-soft); }

/* Oy bileşeni */
.vote { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.vote-btn {
  width: 44px; height: 34px; border-radius: 8px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink-soft);
  font-size: 0.95rem; cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.vote-btn:hover { border-color: var(--ink-soft); }
.vote-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.vote-btn.up.active { background: var(--up-soft); color: var(--up); border-color: var(--up); }
.vote-btn.down.active { background: var(--down-soft); color: var(--down); border-color: var(--down); }
.vote-btn[disabled] { opacity: 0.5; cursor: wait; }
.vote-stat { text-align: center; font-size: 0.8rem; line-height: 1.2; min-height: 28px; display: flex; flex-direction: column; justify-content: center; color: var(--ink-soft); }
.vote-stat b { color: var(--ink); font-size: 0.92rem; }
.vote-stat small { font-size: 0.72rem; }

.vote-static { justify-content: center; }
.vote-static .soon { color: var(--ink-soft); font-size: 0.68rem; text-align: center; line-height: 1.2; border: 1px dashed var(--line); border-radius: 6px; padding: 3px 6px; }

/* Mekan sayfası ve düzyazı */
.venue-page h1, .prose h1 { margin: 8px 0 4px; letter-spacing: -0.02em; }
.plain-list { padding-left: 18px; }
.prose h2 { margin-top: 26px; font-size: 1.1rem; }
.prose ul { padding-left: 20px; }
.prose { padding-bottom: 24px; }

/* Uyarı balonu */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%);
  background: var(--ink); color: var(--bg); padding: 10px 18px; border-radius: 999px;
  font-size: 0.9rem; opacity: 0; pointer-events: none; transition: opacity 0.25s ease;
  max-width: 90vw; text-align: center;
}
.toast.show { opacity: 1; }

.site-footer { padding: 24px 16px 40px; color: var(--ink-soft); font-size: 0.85rem; border-top: 1px solid var(--line); margin-top: 24px; }
.site-footer p { margin: 4px 0; }

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