/* ============================================================
   Lokanta Rehberi — Tasarım Sistemi
   ============================================================ */
:root {
  --bg: #fbf6ee;
  --bg-warm: #f6ecdd;
  --surface: #ffffff;
  --surface-2: #fffdf9;
  --ink: #241c17;
  --ink-soft: #5b4f45;
  --muted: #8c7f72;
  --line: #ecdfcd;
  --line-strong: #e0cfb6;
  --brand: #b21f2d;
  --brand-dark: #8c1622;
  --brand-tint: #fbe9e7;
  --accent: #e1a730;
  --accent-dark: #b9821a;
  --gold: #f2b01e;
  --green: #2f8f5b;
  --green-tint: #e6f4ec;
  --shadow-sm: 0 1px 3px rgba(60, 40, 20, 0.08);
  --shadow: 0 6px 22px rgba(60, 40, 20, 0.10);
  --shadow-lg: 0 18px 48px rgba(60, 40, 20, 0.16);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --maxw: 1120px;
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 85% -10%, #fdeede 0%, rgba(253,238,222,0) 60%),
    var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.12; margin: 0 0 .4em; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 246, 238, 0.86);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { font-size: 26px; filter: drop-shadow(0 2px 3px rgba(0,0,0,.12)); }
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 20px; color: var(--brand); line-height: 1; letter-spacing: -0.02em; }
.brand-tag { font-size: 11.5px; color: var(--muted); letter-spacing: .01em; }
.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  padding: 9px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--ink-soft);
  transition: background .15s, color .15s;
}
.main-nav a:hover { background: var(--bg-warm); color: var(--ink); }
.main-nav a.active { color: var(--brand); background: var(--brand-tint); }
.main-nav a.nav-cta {
  background: var(--brand); color: #fff; font-weight: 600; box-shadow: var(--shadow-sm);
}
.main-nav a.nav-cta:hover { background: var(--brand-dark); color: #fff; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px;
  font-weight: 600; font-size: 14.5px; cursor: pointer; border: 1px solid transparent; transition: all .15s;
  font-family: var(--font-body); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-maps { background: #ffffff; color: #1a73e8; border-color: #dbe4f3; }
.btn-maps:hover { background: #f4f8ff; border-color: #1a73e8; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600;
  color: var(--brand); background: var(--brand-tint); padding: 6px 13px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 700; }
.hero h1 .hl { color: var(--brand); }
.hero-sub { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: var(--ink-soft); max-width: 34ch; margin-bottom: 26px; }
.hero-search { position: relative; max-width: 460px; }
.hero-search input {
  width: 100%; padding: 16px 18px 16px 48px; font-size: 16px; font-family: var(--font-body);
  border: 1.5px solid var(--line-strong); border-radius: 999px; background: var(--surface); color: var(--ink);
  box-shadow: var(--shadow-sm); transition: border-color .15s, box-shadow .15s;
}
.hero-search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-tint); }
.hero-search .search-icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 18px; pointer-events: none; }
.search-suggest {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
  overflow: hidden; z-index: 40; display: none;
}
.search-suggest.open { display: block; }
.search-suggest a { display: flex; justify-content: space-between; align-items: center; padding: 11px 16px; font-size: 14.5px; }
.search-suggest a:hover, .search-suggest a.hi { background: var(--bg-warm); }
.search-suggest .plate { font-size: 12px; color: var(--muted); }
.hero-chips { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-chips span { font-size: 13px; color: var(--muted); margin-right: 2px; }
.chip { font-size: 13px; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-strong); color: var(--ink-soft); transition: all .15s; }
.chip:hover { border-color: var(--brand); color: var(--brand); }

/* Hero kart görseli (CSS ile, görselsiz) */
.hero-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 22px; transform: rotate(1.2deg); position: relative;
}
.hero-card::before { content: "🍽️"; position: absolute; top: -22px; left: 22px; font-size: 40px; filter: drop-shadow(0 4px 6px rgba(0,0,0,.15)); }
.hero-card .hc-title { font-family: var(--font-head); font-weight: 600; font-size: 18px; margin: 10px 0 14px; }
.mini-rank { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px dashed var(--line); }
.mini-rank:first-of-type { border-top: none; }
.mini-medal { width: 30px; height: 30px; flex: 0 0 30px; border-radius: 50%; display: grid; place-items: center; font-size: 15px; font-weight: 700; color: #fff; }
.m1 { background: linear-gradient(135deg,#f6c14b,#d99413); }
.m2 { background: linear-gradient(135deg,#c9cdd4,#9aa0a8); }
.m3 { background: linear-gradient(135deg,#d69a6a,#b5713f); }
.mini-rank .mr-name { font-weight: 600; font-size: 14.5px; }
.mini-rank .mr-meta { font-size: 12.5px; color: var(--muted); }
.mini-rank .mr-score { margin-left: auto; font-size: 13px; color: var(--green); font-weight: 600; }

/* ---------- Methodology strip ---------- */
.method { background: var(--bg-warm); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 30px 0; }
.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.method-item { display: flex; gap: 14px; align-items: flex-start; }
.method-item .mi-ico { font-size: 24px; line-height: 1; }
.method-item h4 { font-size: 15.5px; margin-bottom: 3px; font-family: var(--font-body); font-weight: 700; }
.method-item p { font-size: 13.5px; color: var(--ink-soft); margin: 0; }

/* ---------- Section shells ---------- */
.section { padding: 52px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 0; }
.section-head p { color: var(--muted); margin: 4px 0 0; font-size: 14.5px; }

/* ---------- Region tabs ---------- */
.region-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.region-tab { padding: 8px 15px; border-radius: 999px; font-size: 13.5px; font-weight: 500; background: var(--surface);
  border: 1px solid var(--line-strong); color: var(--ink-soft); cursor: pointer; transition: all .15s; }
.region-tab:hover { border-color: var(--brand); color: var(--brand); }
.region-tab.active { background: var(--ink); color: #fff; border-color: var(--ink); }

.filter-search { position: relative; margin-bottom: 22px; max-width: 380px; }
.filter-search input { width: 100%; padding: 11px 14px 11px 40px; border: 1.5px solid var(--line-strong);
  border-radius: 999px; font-size: 14.5px; font-family: var(--font-body); background: var(--surface); }
.filter-search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint); }
.filter-search .search-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }

/* ---------- Province grid ---------- */
.province-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.province-card {
  display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; box-shadow: var(--shadow-sm); transition: transform .16s, box-shadow .16s, border-color .16s; position: relative;
}
.province-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.pc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.pc-name { font-family: var(--font-head); font-weight: 600; font-size: 19px; }
.pc-plate { font-size: 11px; font-weight: 700; color: var(--ink-soft); background: var(--bg-warm); border: 1px solid var(--line-strong);
  padding: 2px 8px; border-radius: 6px; letter-spacing: .04em; }
.pc-region { font-size: 12px; color: var(--muted); margin-bottom: 12px; display: inline-flex; align-items: center; gap: 5px; }
.pc-top1 { display: flex; align-items: center; gap: 9px; padding-top: 11px; border-top: 1px dashed var(--line); }
.pc-top1 .pc-medal { width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(135deg,#f6c14b,#d99413);
  color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; flex: 0 0 24px; }
.pc-top1 .pc-r-name { font-weight: 600; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-top1 .pc-r-rating { margin-left: auto; font-size: 13px; font-weight: 600; color: var(--accent-dark); white-space: nowrap; }
.pc-empty { padding-top: 11px; border-top: 1px dashed var(--line); font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.pc-arrow { position: absolute; right: 16px; bottom: 16px; color: var(--line-strong); transition: color .15s, transform .15s; }
.province-card:hover .pc-arrow { color: var(--brand); transform: translateX(2px); }

.no-results { text-align: center; padding: 48px 20px; color: var(--muted); }

/* ---------- Banners ---------- */
.banner { display: flex; align-items: center; gap: 12px; padding: 13px 18px; border-radius: var(--radius-sm);
  font-size: 14px; margin-bottom: 22px; }
.banner-warn { background: #fff6e5; border: 1px solid #f2d79a; color: #8a6212; }
.banner-info { background: var(--green-tint); border: 1px solid #bfe3cd; color: #1f6b42; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb .sep { opacity: .5; }

/* ---------- Province detail ---------- */
.pd-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 8px; }
.pd-title h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: 6px; }
.pd-title h1 .pd-city { color: var(--brand); }
.pd-meta { display: flex; gap: 10px; flex-wrap: wrap; color: var(--muted); font-size: 14px; align-items: center; }
.pd-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--line-strong); }
.pd-plate-badge { font-weight: 700; color: var(--ink-soft); background: var(--bg-warm); border: 1px solid var(--line-strong); padding: 3px 10px; border-radius: 7px; font-size: 12.5px; }

.rest-list { display: grid; gap: 18px; margin-top: 26px; }
.rest-card {
  display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow-sm); transition: box-shadow .16s, transform .16s;
}
.rest-card:hover { box-shadow: var(--shadow); }
.rest-card.rank-1 { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), var(--shadow); background: linear-gradient(180deg,#fffdf6,#fff); }
.rc-medal { width: 54px; height: 54px; flex: 0 0 54px; border-radius: 50%; display: grid; place-items: center;
  font-size: 22px; font-weight: 800; color: #fff; box-shadow: var(--shadow-sm); }
.rc-body { min-width: 0; }
.rc-name { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.15rem, 2.2vw, 1.45rem); margin-bottom: 6px; }
.rc-stats { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 8px; }
.stars { position: relative; display: inline-block; font-size: 16px; line-height: 1; white-space: nowrap; }
.stars-base { color: var(--line-strong); letter-spacing: 2px; }
.stars-fill { position: absolute; left: 0; top: 0; overflow: hidden; white-space: nowrap; color: var(--gold); letter-spacing: 2px; }
.rc-rating-num { font-weight: 700; color: var(--ink); font-size: 15px; }
.rc-reviews { font-size: 14px; color: var(--ink-soft); }
.rc-reviews strong { color: var(--ink); font-weight: 700; }
.rc-tags { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.tag { font-size: 12px; padding: 3px 10px; border-radius: 999px; background: var(--bg-warm); color: var(--ink-soft); border: 1px solid var(--line); }
.tag-cat { background: var(--brand-tint); color: var(--brand-dark); border-color: #f3d2cf; }
.rc-addr { font-size: 13px; color: var(--muted); margin-top: 8px; display: flex; align-items: center; gap: 6px; }
.rc-actions { display: flex; flex-direction: column; gap: 9px; align-items: stretch; min-width: 168px; }
.rc-score-note { font-size: 12px; color: var(--muted); text-align: center; }
.rc-score-note b { color: var(--green); }

.pd-empty { text-align: center; padding: 50px 24px; background: var(--surface); border: 1px dashed var(--line-strong); border-radius: var(--radius); color: var(--ink-soft); }
.pd-empty .big { font-size: 40px; margin-bottom: 10px; }
.pd-cta-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; }

/* Komşu il gezinme */
.pd-nearby { margin-top: 40px; }
.pd-nearby h3 { font-size: 1.2rem; margin-bottom: 14px; }

/* ---------- Suggest / form ---------- */
.suggest-wrap { max-width: 760px; }
.suggest-intro { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; margin-bottom: 24px; box-shadow: var(--shadow-sm); }
.suggest-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 18px; }
.suggest-step { text-align: center; }
.suggest-step .ss-num { width: 34px; height: 34px; margin: 0 auto 8px; border-radius: 50%; background: var(--brand-tint); color: var(--brand); font-weight: 700; display: grid; place-items: center; }
.suggest-step p { font-size: 13.5px; color: var(--ink-soft); margin: 0; }
.form-frame { width: 100%; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); overflow: hidden; }
.form-frame iframe { width: 100%; border: 0; display: block; min-height: 720px; }
.form-placeholder { padding: 40px 28px; text-align: center; color: var(--ink-soft); }
.form-placeholder .big { font-size: 40px; margin-bottom: 12px; }
.form-placeholder code { background: var(--bg-warm); padding: 2px 7px; border-radius: 6px; font-size: 13px; }
.form-placeholder .code-block { text-align: left; background: #2b2420; color: #f3ece0; padding: 14px 16px; border-radius: 10px; font-size: 12.5px; overflow-x: auto; margin: 14px 0; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

/* ---------- Footer ---------- */
.site-footer { background: #2b2420; color: #e9ddca; margin-top: 60px; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1.4fr; gap: 40px; padding: 46px 20px 30px; }
.footer-brand { font-family: var(--font-head); font-weight: 700; font-size: 20px; color: #fff; margin-bottom: 12px; }
.footer-note { font-size: 13.5px; color: #b8aa93; margin: 0; max-width: 40ch; }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: #cbbda3; font-family: var(--font-body); margin-bottom: 12px; }
.footer-col a { display: block; font-size: 14px; color: #e9ddca; padding: 4px 0; }
.footer-col a:hover { color: #fff; }
.footer-small { font-size: 12.5px; color: #b8aa93; margin: 0 0 6px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 16px 20px; border-top: 1px solid #40382f; font-size: 12.5px; color: #a89a83; }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.center { text-align: center; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-visual { order: -1; }
  .hero-card { max-width: 420px; }
  .method-grid { grid-template-columns: 1fr; gap: 16px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .suggest-steps { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .header-inner { height: 60px; }
  .brand-tag { display: none; }
  .brand-name { font-size: 18px; }
  .main-nav a { padding: 8px 11px; font-size: 13.5px; }
  .main-nav a[data-nav="iller"] { display: none; } /* mobilde sadeleştir */
  .hero { padding: 40px 0 26px; }
  .section { padding: 38px 0; }
  .province-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
  .province-card { padding: 15px; }
  .rest-card { grid-template-columns: auto 1fr; gap: 14px; padding: 18px; }
  .rc-medal { width: 44px; height: 44px; flex-basis: 44px; font-size: 18px; }
  .rc-actions { grid-column: 1 / -1; flex-direction: row; min-width: 0; margin-top: 4px; }
  .rc-actions .btn { flex: 1; }
  .rc-score-note { display: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .pd-header { flex-direction: column; }
}

@media (max-width: 380px) {
  .province-grid { grid-template-columns: 1fr 1fr; }
  .hero-chips { display: none; }
}

/* Erişilebilirlik: hareketi azalt */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}

/* ---- Global ek stiller ---- */
.map-wrap{position:relative}
#worldmap{height:calc(100vh - 68px);min-height:520px;width:100%;z-index:1}
.map-search{position:absolute;top:14px;left:14px;z-index:1000;width:min(340px,72vw)}
.map-search input{width:100%;padding:12px 16px;border:1.5px solid var(--line-strong);border-radius:999px;background:var(--surface);box-shadow:var(--shadow);font-family:var(--font-body);font-size:15px}
.map-search input:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 4px var(--brand-tint)}
.map-suggest{position:absolute;top:calc(100% + 6px);left:0;right:0;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-sm);box-shadow:var(--shadow-lg);overflow:hidden;display:none}
.map-suggest.open{display:block}
.map-suggest a{display:flex;justify-content:space-between;gap:8px;padding:10px 14px;font-size:14px;cursor:pointer}
.map-suggest a:hover{background:var(--bg-warm)}
.map-suggest .plate{color:var(--muted);font-size:12px}
.leaflet-popup-content{font-family:var(--font-body);font-size:13.5px;margin:12px 14px}
.continent-sec{margin-bottom:34px}
.continent-sec h2{font-size:1.4rem;border-bottom:2px solid var(--line);padding-bottom:8px;margin-bottom:16px;display:flex;align-items:baseline;gap:10px}
.continent-sec .cs-count{font-family:var(--font-body);font-size:13px;font-weight:500;color:var(--muted)}
.country-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:12px}
.country-card{display:flex;align-items:center;gap:11px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-sm);padding:13px 15px;box-shadow:var(--shadow-sm);transition:transform .15s,box-shadow .15s,border-color .15s}
.country-card:hover{transform:translateY(-2px);box-shadow:var(--shadow);border-color:var(--line-strong)}
.country-card .cc-flag{font-size:26px;line-height:1}
.country-card .cc-name{font-weight:600;font-size:15px;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.country-card .cc-count{font-size:12px;color:var(--muted);white-space:nowrap}
.province-card .pc-region{margin-top:2px}
