/* Tur Rehberi — tasarım sistemi */
:root {
  --brand: #e2553a;
  --brand-deep: #bd3f28;
  --brand-soft: #fde8e2;
  --sea: #0f5061;
  --sea-deep: #0a3644;
  --sea-soft: #e3f0f2;
  --ink: #14232e;
  --ink-2: #41565f;
  --ink-3: #7b8f97;
  --line: #e6e2dc;
  --bg: #fbf8f4;
  --surface: #ffffff;
  --gold: #e9a13b;
  --ok: #17795e;
  --ok-soft: #ddf3ea;
  --warn: #b45309;
  --warn-soft: #fdf0d9;
  --danger: #c0392b;
  --danger-soft: #fbe6e3;
  --tick: #1d9bf0;
  --tick-soft: #e3f2fd;
  --tick-light: #6cc4ff;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(20, 35, 46, .06), 0 2px 8px rgba(20, 35, 46, .05);
  --shadow: 0 4px 12px rgba(20, 35, 46, .07), 0 16px 40px -20px rgba(20, 35, 46, .28);
  --shadow-lg: 0 24px 60px -24px rgba(20, 35, 46, .45);
  --maxw: 1220px;
  --head-h: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); }
p { margin: 0; }
.serif { font-family: 'Fraunces', Georgia, serif; font-weight: 600; letter-spacing: -.015em; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--ink-3); }
.stack { display: grid; gap: 8px; }

/* ---------- Header ---------- */
.head {
  position: sticky; top: 0; z-index: 60;
  background: rgba(251, 248, 244, .82);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background .25s;
}
.head.solid { border-bottom-color: var(--line); background: rgba(251, 248, 244, .95); }
.head-in { height: var(--head-h); display: flex; align-items: center; gap: 24px; }
/* Marka logosu — görselin içinde hem işaret hem "Tur Rehberi" yazısı var, yanına metin eklenmez */
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 42px; width: auto; display: block; }
.brand-sm img { height: 34px; }
.logo { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 1.28rem; letter-spacing: -.03em; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--brand), #f0873f); color: #fff; box-shadow: var(--shadow-sm);
}
.logo-mark svg { width: 19px; height: 19px; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a.navlink {
  padding: 9px 14px; border-radius: var(--r-pill); font-size: .94rem; font-weight: 600; color: var(--ink-2);
  transition: background .18s, color .18s;
}
.nav a.navlink:hover { background: #fff; color: var(--ink); }
.burger { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 12px; padding: 9px 11px; cursor: pointer; }
.burger svg { width: 20px; height: 20px; display: block; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: var(--r-pill); border: 1px solid transparent;
  font-weight: 700; font-size: .94rem; cursor: pointer; white-space: nowrap;
  transition: transform .12s, box-shadow .2s, background .2s, color .2s, border-color .2s;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px -6px rgba(226, 85, 58, .7); }
.btn-primary:hover { background: var(--brand-deep); }
.btn-dark { background: var(--sea); color: #fff; }
.btn-dark:hover { background: var(--sea-deep); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--ink-3); }
.btn-quiet { background: transparent; color: var(--ink-2); }
.btn-quiet:hover { background: rgba(20, 35, 46, .06); }
.btn-danger { background: var(--danger-soft); color: var(--danger); }
.btn-danger:hover { background: #f6d5d0; }
.btn-gold { background: var(--gold); color: #3d2a08; }
.btn-gold:hover { background: #d78f2b; }
.btn-sm { padding: 7px 14px; font-size: .86rem; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; pointer-events: none; }

/* ---------- Badges & chips ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px; border-radius: var(--r-pill);
  font-size: .76rem; font-weight: 700; letter-spacing: .01em; background: var(--sea-soft); color: var(--sea);
}
.badge svg { width: 13px; height: 13px; }
.badge-day { background: #e8f2e6; color: #2f6b34; }
.badge-stay { background: #ece7f7; color: #5b3f9e; }
.badge-hot { background: var(--brand-soft); color: var(--brand-deep); }
.badge-gold { background: #fdf1dd; color: #96601a; }
.badge-ok { background: var(--ok-soft); color: var(--ok); }
.badge-warn { background: var(--warn-soft); color: var(--warn); }
.badge-danger { background: var(--danger-soft); color: var(--danger); }
.badge-draft { background: #eceff1; color: #5a6b73; }
.badge-feat { background: var(--gold); color: #3d2a08; }
.badge-tick { background: var(--tick-soft); color: #0b6ba8; }
.badge-tick .tick { color: var(--tick); }

/* Mavi tik — onaylı / güvenilir rehber işareti */
.tick { width: 1em; height: 1em; flex: none; color: var(--tick); vertical-align: -.13em; }

/* ---------- Forms ---------- */
.field { display: grid; gap: 6px; }
.field > label { font-size: .84rem; font-weight: 700; color: var(--ink-2); }
.input, .select, .textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--surface); font-size: 16px; transition: border-color .18s, box-shadow .18s;
}
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--sea); box-shadow: 0 0 0 3px rgba(15, 80, 97, .12);
}
.textarea { resize: vertical; min-height: 96px; line-height: 1.55; }
.hint { font-size: .8rem; color: var(--ink-3); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

/* ---------- Tour card ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(285px, 1fr)); gap: 26px; }
.tcard {
  background: var(--surface); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line);
  display: flex; flex-direction: column; transition: transform .22s cubic-bezier(.2,.8,.3,1), box-shadow .22s, border-color .22s;
}
.tcard:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.tcard-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sea-soft); }
.tcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.8,.3,1); }
.tcard:hover .tcard-media img { transform: scale(1.06); }
.tcard-badges { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.tcard-badges .badge { backdrop-filter: blur(6px); box-shadow: 0 2px 6px rgba(0,0,0,.12); }
.tcard-fav {
  position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.9); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-sm);
  transition: transform .15s, color .2s; color: var(--ink-2);
}
.tcard-fav:hover { transform: scale(1.1); }
.tcard-fav.on { color: var(--brand); }
.tcard-fav svg { width: 17px; height: 17px; }
.tcard-date {
  position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px;
  background: rgba(20, 35, 46, .72); color: #fff; backdrop-filter: blur(6px);
  padding: 6px 12px; border-radius: var(--r-pill); font-size: .78rem; font-weight: 700;
}
.tcard-date svg { width: 13px; height: 13px; }
.tcard-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.tcard-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: .82rem; }
.tcard-city { display: inline-flex; align-items: center; gap: 4px; color: var(--ink-3); font-weight: 600; }
.tcard-city svg { width: 14px; height: 14px; }
.tcard-rating { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; }
.tcard-rating svg { width: 14px; height: 14px; color: var(--gold); }
.tcard h3 { font-size: 1.06rem; line-height: 1.35; }
.tcard-sum { font-size: .87rem; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tcard-meta { display: flex; flex-wrap: wrap; gap: 12px; font-size: .8rem; color: var(--ink-2); }
.tcard-meta span { display: inline-flex; align-items: center; gap: 5px; }
.tcard-meta svg { width: 14px; height: 14px; color: var(--ink-3); }
.tcard-dep { display: flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--sea); background: var(--sea-soft); padding: 6px 10px; border-radius: var(--r-sm); }
.tcard-dep svg { width: 15px; height: 15px; flex: none; }
.tcard-dep span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tcard-foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.guide-mini { display: flex; align-items: center; gap: 8px; min-width: 0; }
.guide-mini img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; flex: none; }
/* Üstte firma/marka + mavi tik, altta rehberin adı */
.guide-mini b { display: flex; align-items: center; gap: 4px; font-size: .82rem; font-weight: 700; min-width: 0; }
.guide-mini b span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.guide-mini b .tick { width: 14px; height: 14px; }
.guide-mini small { display: block; font-size: .72rem; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.price { text-align: right; line-height: 1.2; flex: none; }
.price s { font-size: .78rem; color: var(--ink-3); }
.price b { display: block; font-size: 1.16rem; font-weight: 800; letter-spacing: -.02em; }
.price small { font-size: .7rem; color: var(--ink-3); }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.eyebrow { font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin-bottom: 8px; }
.section-head p { color: var(--ink-2); max-width: 52ch; margin-top: 8px; }

/* ---------- Utility ---------- */
.empty { text-align: center; padding: 60px 20px; color: var(--ink-3); }
.empty svg { width: 46px; height: 46px; margin-bottom: 12px; opacity: .5; }
.skeleton { background: linear-gradient(90deg, #eee 25%, #f6f4f1 37%, #eee 63%); background-size: 400% 100%; animation: sh 1.3s infinite; border-radius: var(--r-lg); }
@keyframes sh { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
.sk-card { height: 380px; }

.toast-wrap { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 200; display: grid; gap: 8px; width: min(92vw, 420px); }
.toast {
  background: var(--ink); color: #fff; padding: 13px 18px; border-radius: var(--r-sm); font-size: .9rem;
  box-shadow: var(--shadow-lg); animation: pop .25s cubic-bezier(.2,.9,.3,1);
}
.toast.err { background: var(--danger); }
.toast.ok { background: var(--ok); }
@keyframes pop { from { opacity: 0; transform: translateY(14px); } }

.modal-back {
  position: fixed; inset: 0; background: rgba(15, 28, 38, .58); backdrop-filter: blur(3px);
  z-index: 150; display: grid; place-items: center; padding: 18px; overflow-y: auto;
}
.modal {
  background: var(--surface); border-radius: var(--r-lg); width: min(560px, 100%); box-shadow: var(--shadow-lg);
  animation: pop .22s cubic-bezier(.2,.9,.3,1); max-height: 92vh; display: flex; flex-direction: column;
}
.modal-head { padding: 20px 24px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.modal-body { padding: 22px 24px; overflow-y: auto; }
.modal-foot { padding: 16px 24px; border-top: 1px solid var(--line); display: flex; gap: 10px; justify-content: flex-end; }
.x-btn { background: none; border: 0; cursor: pointer; padding: 6px; border-radius: 8px; color: var(--ink-3); line-height: 0; }
.x-btn:hover { background: rgba(20,35,46,.07); color: var(--ink); }
.x-btn svg { width: 20px; height: 20px; }

/* ---------- Footer ---------- */
.foot { background: var(--sea-deep); color: #cfe0e4; margin-top: 40px; padding: 56px 0 28px; }
.foot a { color: #cfe0e4; }
.foot a:hover { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 34px; }
.foot h4 { color: #fff; font-size: .95rem; margin-bottom: 12px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .9rem; }
.foot-bot { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.13); display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .84rem; color: #9fb9bf; }

@media (max-width: 900px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .section { padding: 44px 0; }
  .nav { display: none; }
  .nav.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 6px;
    position: absolute; top: var(--head-h); left: 0; right: 0; background: var(--surface);
    padding: 14px 20px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav.open .btn { width: 100%; }
  .burger { display: block; }
  .card-grid { grid-template-columns: 1fr; gap: 18px; }
  .grid-2 { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 26px; }
}
