/* =========================================================
   İstanbul Pet Otelleri — Tasarım Sistemi
   Renk paleti: ink #13222b · teal #0c7973 · coral #ff6f61
                lime #d6ef69 · cream #faf7ef
   ========================================================= */

:root {
  --ink: #13222b;
  --ink-2: #20323b;
  --teal: #0c7973;
  --teal-dark: #095a56;
  --coral: #ff6f61;
  --lime: #d6ef69;
  --cream: #faf7ef;
  --sand: #eae5da;
  --muted: #66757c;
  --line: #e5e5df;
  --ok: #17795e;
  --ok-bg: #e3f4ec;
  --warn: #9a6b00;
  --warn-bg: #fdf1d6;
  --danger: #b4231c;
  --danger-bg: #fdeceb;
  --info: #1f5f9c;
  --info-bg: #e6f0fa;
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --shadow: 0 4px 0 #e9e5dc;
  --shadow-lg: 0 18px 48px rgba(19, 34, 43, 0.12);
  --wrap: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--teal); }

/* ---------- Layout ---------- */
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 26px; }
.wrap-narrow { max-width: 860px; margin-inline: auto; padding-inline: 26px; }
.page { padding: 34px 0 70px; }
.stack > * + * { margin-top: 18px; }

.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g-sidebar { grid-template-columns: 260px 1fr; align-items: start; }

/* ---------- Tipografi ---------- */
h1, h2, h3, h4 { line-height: 1.08; letter-spacing: -1.4px; margin: 0 0 10px; }
h1 { font-size: clamp(34px, 5vw, 58px); letter-spacing: -3px; }
h2 { font-size: clamp(26px, 3.4vw, 40px); letter-spacing: -2px; }
h3 { font-size: 20px; letter-spacing: -0.6px; }
h4 { font-size: 16px; letter-spacing: -0.3px; }
p { margin: 0 0 14px; }
.lead { font-size: 18px; color: #4a5960; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.tiny { font-size: 12px; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Marka / header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 239, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 74px; }
.brand { font-weight: 900; letter-spacing: -1.2px; font-size: 21px; text-decoration: none; color: var(--ink); white-space: nowrap; }
.brand em { font-style: normal; color: var(--coral); }
.brand span { color: var(--teal); }

.nav { display: flex; align-items: center; gap: 6px; }
.nav > a { color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 700; padding: 9px 12px; border-radius: 99px; }
.nav > a:hover { background: var(--sand); }
.nav > a[aria-current="page"] { background: var(--ink); color: #fff; }

.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 12px; padding: 9px 12px; font: inherit; cursor: pointer; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--ink); color: #fff; border: 1px solid var(--ink);
  padding: 12px 19px; border-radius: 99px; font-weight: 800; font-size: 14px;
  text-decoration: none; cursor: pointer; line-height: 1.2;
  transition: transform .12s ease, filter .12s ease;
}
.btn:hover { filter: brightness(1.15); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.btn-coral { background: var(--coral); border-color: var(--coral); }
.btn-teal { background: var(--teal); border-color: var(--teal); }
.btn-light { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-danger { background: var(--danger); border-color: var(--danger); }
.btn-ok { background: var(--ok); border-color: var(--ok); }
.btn-sm { padding: 8px 13px; font-size: 13px; }
.btn-xs { padding: 5px 10px; font-size: 12px; border-radius: 99px; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 9px; }

/* ---------- Kartlar ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; }
.card-flat { border-radius: var(--r); padding: 18px; box-shadow: none; }
.card-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.card-dark .muted { color: #a9b7bc; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.card-head h2, .card-head h3 { margin: 0; }

.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.panel-head { padding: 16px 20px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.panel-head h2, .panel-head h3 { margin: 0; font-size: 17px; }
.panel-body { padding: 20px; }
.panel-foot { padding: 14px 20px; border-top: 1px solid var(--line); background: #fcfbf7; }

/* ---------- Etiket / rozet ---------- */
.eyebrow { display: inline-flex; background: var(--lime); color: var(--ink); border-radius: 99px; padding: 6px 12px; font-size: 11px; font-weight: 900; letter-spacing: .6px; text-transform: uppercase; }
.badge { display: inline-flex; align-items: center; gap: 5px; border-radius: 99px; padding: 4px 10px; font-size: 12px; font-weight: 800; background: var(--sand); color: var(--ink); white-space: nowrap; }
.badge-ok { background: var(--ok-bg); color: var(--ok); }
.badge-warn { background: var(--warn-bg); color: var(--warn); }
.badge-danger { background: var(--danger-bg); color: var(--danger); }
.badge-info { background: var(--info-bg); color: var(--info); }
.badge-teal { background: #dff2f0; color: var(--teal-dark); }
.badge-lime { background: var(--lime); color: var(--ink); }
.badge-dark { background: var(--ink); color: #fff; }
.badge-lg { padding: 7px 13px; font-size: 13px; }

.rating { font-weight: 900; white-space: nowrap; }
.rating i { font-style: normal; color: #f6ae2d; }
.rating small { font-weight: 600; color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: 6px 12px; font-size: 13px; font-weight: 700; color: var(--ink); text-decoration: none; }
.chip[aria-pressed="true"], .chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Formlar ---------- */
.field { margin-bottom: 16px; }
.field > label, .label { display: block; font-size: 13px; font-weight: 800; margin-bottom: 6px; color: var(--ink); }
.input, .select, .textarea, input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="number"], input[type="date"], input[type="datetime-local"], input[type="search"], input[type="url"], select, textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 11px 13px; outline: none; transition: border-color .12s, box-shadow .12s;
}
.input:focus, .select:focus, .textarea:focus, input:focus, select:focus, textarea:focus {
  border-color: var(--teal); box-shadow: 0 0 0 3px rgba(12, 121, 115, .14);
}
.textarea { min-height: 110px; resize: vertical; }
.select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path d='M1 1l5 5 5-5' fill='none' stroke='%2366757c' stroke-width='2'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.hint { font-size: 12px; color: var(--muted); margin-top: 5px; }
.error { font-size: 12.5px; color: var(--danger); margin-top: 5px; font-weight: 700; }
.input-error { border-color: var(--danger) !important; }
.form-row { display: grid; gap: 0 16px; grid-template-columns: repeat(2, 1fr); }
.form-row-3 { display: grid; gap: 0 16px; grid-template-columns: repeat(3, 1fr); }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; font-weight: 600; }
.check input { width: 19px; height: 19px; margin-top: 2px; flex: none; accent-color: var(--teal); }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; padding-top: 6px; }

fieldset { border: 1px solid var(--line); border-radius: var(--r); padding: 18px; margin: 0 0 18px; }
legend { font-size: 13px; font-weight: 900; padding: 0 8px; text-transform: uppercase; letter-spacing: .5px; color: var(--teal); }

/* ---------- Bildirimler ---------- */
.alert { border-radius: var(--r); padding: 14px 16px; font-size: 14px; font-weight: 600; display: flex; gap: 11px; align-items: flex-start; border: 1px solid transparent; }
.alert strong { display: block; margin-bottom: 2px; }
.alert-ok { background: var(--ok-bg); color: var(--ok); border-color: #bfe3d2; }
.alert-error { background: var(--danger-bg); color: var(--danger); border-color: #f5c9c6; }
.alert-warn { background: var(--warn-bg); color: var(--warn); border-color: #f0dca6; }
.alert-info { background: var(--info-bg); color: var(--info); border-color: #c8ddf3; }
.flash-stack { position: fixed; top: 84px; right: 20px; z-index: 80; display: grid; gap: 10px; width: min(400px, calc(100vw - 40px)); }
.flash-stack .alert { box-shadow: var(--shadow-lg); background: #fff; }

/* ---------- Tablo ---------- */
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 14px; }
table.data th { text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); padding: 11px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.data td { padding: 13px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.data tbody tr:hover { background: #fcfbf7; }
table.data tbody tr:last-child td { border-bottom: 0; }
table.data td.actions { text-align: right; white-space: nowrap; }

/* ---------- Panel sidebar (uygulama kabuğu) ---------- */
.app-shell { display: grid; grid-template-columns: 258px 1fr; min-height: 100vh; }
.app-side { background: var(--ink); color: #fff; padding: 22px 16px; position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; }
.app-side .brand { color: #fff; font-size: 18px; padding: 0 8px 18px; border-bottom: 1px solid rgba(255,255,255,.14); margin-bottom: 12px; }
.app-side .side-label { font-size: 10.5px; text-transform: uppercase; letter-spacing: 1px; color: #7d8f95; font-weight: 900; padding: 14px 8px 6px; }
.app-side a.side-link { display: flex; align-items: center; gap: 10px; color: #cfdadD; text-decoration: none; font-size: 14px; font-weight: 700; padding: 9px 11px; border-radius: 11px; }
.app-side a.side-link:hover { background: rgba(255,255,255,.08); color: #fff; }
.app-side a.side-link.is-active { background: var(--teal); color: #fff; }
.app-side .side-foot { margin-top: auto; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.14); }
.app-side .side-foot a, .app-side .side-foot button { display: block; width: 100%; text-align: left; background: none; border: 0; color: #cfdadD; font: inherit; font-size: 13.5px; font-weight: 700; padding: 9px 11px; border-radius: 11px; cursor: pointer; }
.app-side .side-foot a:hover, .app-side .side-foot button:hover { background: rgba(255,255,255,.08); color: #fff; }
.app-main { min-width: 0; display: flex; flex-direction: column; }
.app-top { background: #fff; border-bottom: 1px solid var(--line); padding: 15px 30px; display: flex; align-items: center; justify-content: space-between; gap: 16px; position: sticky; top: 0; z-index: 40; }
.app-top h1 { font-size: 24px; margin: 0; letter-spacing: -1px; }

/* Panel icerigindeki bolum basliklari sayfa h1'inden sonra gelir ve
   h2 seviyesindedir (h1 -> h3 atlama olmasin diye). Sayfa genelindeki
   dev h2 olcegini devralmasinlar diye burada h3 olcegini sabitliyoruz. */
.app-content h2 { font-size: 20px; letter-spacing: -0.6px; margin: 0 0 10px; line-height: 1.08; }
.app-content .card > h2:first-child, .app-content .panel-body > h2:first-child { margin-top: 0; }
.app-content { padding: 26px 30px 60px; }
.app-burger { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 7px 10px; cursor: pointer; font: inherit; }

/* İstatistik kartları */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; }
.stat b { display: block; font-size: 30px; letter-spacing: -1.5px; line-height: 1.1; }
.stat span { font-size: 12.5px; color: var(--muted); font-weight: 700; }
.stat-accent { background: var(--ink); color: #fff; border-color: var(--ink); }
.stat-accent span { color: #a9b7bc; }
.stat-teal { background: var(--teal); color: #fff; border-color: var(--teal); }
.stat-teal span { color: #bfe4e1; }

/* ---------- Otel kartı ---------- */
.hotel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.hotel-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .15s ease, box-shadow .15s ease; }
.hotel-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.hotel-media { height: 178px; position: relative; display: grid; place-items: center; font-size: 54px; }
.hotel-media .badge { position: absolute; top: 12px; left: 12px; }
.hotel-media .price-tag { position: absolute; right: 12px; bottom: 12px; background: #fff; border-radius: 99px; padding: 6px 12px; font-weight: 900; font-size: 13px; }
.hotel-body { padding: 17px; display: flex; flex-direction: column; flex: 1; }
.hotel-body h3 { margin: 0 0 4px; }
.hotel-place { font-size: 13px; color: var(--muted); margin: 0 0 12px; }
.hotel-foot { margin-top: auto; padding-top: 13px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; }
.media-t1 { background: #bedbb2; }
.media-t2 { background: #f6c7a1; }
.media-t3 { background: #b9d5dc; }
.media-t4 { background: #e3c9e8; }
.media-t5 { background: #f3d9a0; }

/* ---------- Takvim ---------- */
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.cal-head { font-size: 11px; text-transform: uppercase; letter-spacing: .4px; color: var(--muted); font-weight: 900; text-align: center; padding: 6px 0; }
.cal-day { aspect-ratio: 1 / 1; border: 1px solid var(--line); border-radius: 11px; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; cursor: pointer; padding: 0; font-family: inherit; color: var(--ink); }
.cal-day small { font-size: 9.5px; font-weight: 700; opacity: .75; }
.cal-day:disabled { background: #f2f0ea; color: #b3b8ba; cursor: not-allowed; border-color: #eae7e0; }
.cal-day.is-start { background: var(--teal); color: #fff; border-color: var(--teal); }
.cal-day.is-end { background: var(--coral); color: #fff; border-color: var(--coral); }
.cal-day.is-range { background: #dff2f0; border-color: #a8ded9; }
.cal-day.is-blocked { background: repeating-linear-gradient(45deg, #fdeceb, #fdeceb 5px, #f7dedc 5px, #f7dedc 10px); color: var(--danger); }
.cal-day.is-today { box-shadow: inset 0 0 0 2px var(--lime); }
.legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12px; color: var(--muted); font-weight: 700; margin-top: 14px; }
.legend i { display: inline-block; width: 13px; height: 13px; border-radius: 4px; margin-right: 5px; vertical-align: -2px; }

/* ---------- Mesajlaşma ---------- */
.thread-list { display: grid; gap: 2px; }
.thread-item { display: block; padding: 14px 16px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.thread-item:hover { background: #fcfbf7; }
.thread-item.is-active { background: #dff2f0; }
.thread-item.unread { background: #fffbe9; }
.chat { display: flex; flex-direction: column; gap: 10px; max-height: 62vh; overflow-y: auto; padding: 18px; background: #fcfbf7; border-radius: var(--r); }
.msg { max-width: 76%; padding: 11px 14px; border-radius: 16px; font-size: 14px; }
.msg-mine { align-self: flex-end; background: var(--teal); color: #fff; border-bottom-right-radius: 5px; }
.msg-theirs { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.msg-meta { font-size: 11px; opacity: .72; margin-top: 4px; }
.composer { display: flex; gap: 10px; margin-top: 14px; align-items: flex-end; }
.composer textarea { min-height: 48px; max-height: 160px; }

/* ---------- Yorum / puanlama ---------- */
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; }
.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 17px; color: #fff; background: var(--teal); flex: none; overflow: hidden; }
.avatar-sm { width: 32px; height: 32px; font-size: 13px; }
.stars { color: #f6ae2d; letter-spacing: 1px; }
.score-bars { display: grid; gap: 8px; }
.score-bar { display: grid; grid-template-columns: 110px 1fr 44px; gap: 10px; align-items: center; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.score-bar .track { height: 8px; background: var(--sand); border-radius: 99px; overflow: hidden; }
.score-bar .fill { height: 100%; background: var(--coral); border-radius: 99px; }

/* ---------- SEO / içerik ---------- */
.prose { max-width: 74ch; }
.prose h2 { font-size: 27px; margin: 34px 0 12px; }
.prose h3 { font-size: 20px; margin: 26px 0 8px; }
.prose p, .prose li { font-size: 16.5px; line-height: 1.72; color: #33454e; }
.prose ul, .prose ol { padding-left: 22px; }
.prose a { font-weight: 700; }
.prose blockquote { margin: 20px 0; padding: 14px 20px; border-left: 4px solid var(--coral); background: #fff; border-radius: 0 var(--r) var(--r) 0; }

.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; }
.breadcrumb span { margin: 0 7px; opacity: .55; }

.hero { padding: 52px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 45px; align-items: center; }
.hero h1 em { color: var(--teal); font-style: normal; }
.hero-art { height: 430px; border-radius: var(--r-xl); background: linear-gradient(145deg, #0d7772, #194e53); position: relative; overflow: hidden; display: grid; place-items: center; font-size: 170px; }
.hero-art::before { content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%; background: var(--lime); right: -90px; top: -80px; }

section.band { padding: 62px 0; }
section.band-dark { background: var(--ink); color: #fff; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 24px; flex-wrap: wrap; }
.section-head p { max-width: 400px; margin: 0; color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { padding: 24px; border-radius: var(--r-lg); background: var(--ink-2); }
.step strong { display: block; color: var(--lime); font-size: 12.5px; margin-bottom: 26px; letter-spacing: .5px; }
.step h3 { font-size: 21px; }
.step p { color: #b8c4c7; font-size: 14px; margin: 0; }

.checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px; }
.check-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; font-size: 14px; font-weight: 700; }
.check-item::before { content: "✓"; color: var(--teal); font-weight: 900; margin-right: 9px; }

.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { font-weight: 800; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--coral); font-size: 21px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); font-size: 14px; margin: 10px 0 0; }

.faq-2 { display: grid; grid-template-columns: .85fr 1.15fr; gap: 45px; }

footer.site-footer { background: var(--sand); padding: 40px 0 26px; font-size: 13.5px; color: #546168; margin-top: 60px; }
footer.site-footer h2 { color: var(--ink); font-size: 13px; text-transform: uppercase; letter-spacing: .6px; margin-bottom: 12px; }
/* Footer 4 kolon: marka + tesisler + ilçeler + kurumsal.
   İlçe kolonu tüm yayında ilçeleri listeler, bu yüzden geniş tutulur. */
.footer-grid { display: grid; grid-template-columns: 1.3fr 0.8fr 1.3fr 1.1fr; gap: 28px; }
.footer-grid a { color: #546168; text-decoration: none; display: block; padding: 3px 0; }
.footer-grid a:hover { color: var(--ink); text-decoration: underline; }
/* Uzun ilçe listesi çok uzun görünmesin */
.footer-districts { max-height: 340px; overflow-y: auto; padding-right: 6px; }
.footer-districts::-webkit-scrollbar { width: 5px; }
.footer-districts::-webkit-scrollbar-thumb { background: var(--line); border-radius: 999px; }
.footer-bottom { border-top: 1px solid #d8d3c8; margin-top: 26px; padding-top: 16px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }

/* ---------- Yardımcılar ---------- */
.flex { display: flex; }
.between { justify-content: space-between; }
.center-items { align-items: center; }
.wrap-flex { flex-wrap: wrap; }
.gap-6 { gap: 6px; }
.gap-10 { gap: 10px; }
.gap-14 { gap: 14px; }
.gap-20 { gap: 20px; }
.mt-0 { margin-top: 0; } .mt-6 { margin-top: 6px; } .mt-10 { margin-top: 10px; }
.mt-14 { margin-top: 14px; } .mt-20 { margin-top: 20px; } .mt-30 { margin-top: 30px; }
.mb-0 { margin-bottom: 0; } .mb-10 { margin-bottom: 10px; } .mb-20 { margin-bottom: 20px; }
.divider { height: 1px; background: var(--line); margin: 20px 0; border: 0; }
.empty { text-align: center; padding: 46px 22px; color: var(--muted); }
.empty .emo { font-size: 46px; display: block; margin-bottom: 10px; }
.empty h3, .empty h2 { color: var(--ink); }
.kv { display: grid; grid-template-columns: 168px 1fr; gap: 8px 16px; font-size: 14px; }
.kv dt { color: var(--muted); font-weight: 700; }
.kv dd { margin: 0; font-weight: 600; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 20px; overflow-x: auto; }
.tabs a { padding: 11px 15px; font-size: 14px; font-weight: 800; color: var(--muted); text-decoration: none; border-bottom: 3px solid transparent; white-space: nowrap; }
.tabs a:hover { color: var(--ink); }
.tabs a.is-active { color: var(--ink); border-bottom-color: var(--coral); }
.tabs .count { font-size: 11px; background: var(--sand); border-radius: 99px; padding: 1px 7px; margin-left: 5px; font-weight: 800; }
.progress { height: 8px; background: var(--sand); border-radius: 99px; overflow: hidden; }
.progress > span { display: block; height: 100%; background: var(--teal); border-radius: 99px; }
.pill-list { display: flex; flex-wrap: wrap; gap: 6px; }
.pill-list span { font-size: 12px; background: #f3f1ea; border-radius: 8px; padding: 4px 9px; font-weight: 700; color: #4a5960; }
.dot-sep::before { content: "·"; margin: 0 7px; opacity: .5; }
.hide { display: none !important; }

/* ---------- Erişilebilirlik / SEO ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus, .sr-only:focus {
  position: fixed; top: 10px; left: 10px; z-index: 200; width: auto; height: auto;
  clip: auto; background: var(--ink); color: #fff; padding: 12px 18px;
  border-radius: var(--r); font-weight: 800;
}
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 6px; }

/* Görsellerde CLS'i önlemek için en-boy oranı */
img[width][height] { height: auto; }
.media-fixed { aspect-ratio: 16 / 9; overflow: hidden; }
.media-fixed img { width: 100%; height: 100%; object-fit: cover; }

/* İçerik yoğunluğu - arama motoru için okunabilir bloklar */
.prose > p:first-of-type { font-size: 19px; line-height: 1.65; color: #22323a; }

@media print {
  .site-header, .app-side, .app-top, footer.site-footer, .btn, .flash-stack { display: none !important; }
  body { background: #fff; }
}
/* ---------- Bağlamsal iç link bloğu ----------
   Blog yazısından ilgili ilçe/tesis sayfalarına, tesis sayfasından
   benzer tesislere bağlantı verir. Tasarım değişikliği yapmaz,
   mevcut kart sistemini kullanır. */
.link-box { margin-top: 26px; }
.link-box h2 { font-size: 22px; margin-bottom: 4px; }
.link-box .lead { margin-bottom: 14px; }
.link-row {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 14px 16px; background: #fcfbf7;
  border: 1px solid var(--line); border-radius: var(--r);
}
.link-row .chip { text-decoration: none; }
.link-row .chip:hover { background: var(--teal); color: #fff; border-color: var(--teal); }

.link-list { display: flex; flex-direction: column; gap: 10px; }
.link-item {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 13px 15px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r);
  text-decoration: none; color: inherit;
}
.link-item:hover { border-color: var(--teal); background: #fcfdfd; }
.link-item .li-body { flex: 1; min-width: 0; }
.link-item .li-body b { display: block; font-size: 14px; }
.link-item .li-body span { font-size: 12.5px; color: var(--muted); }
.link-item .li-go { color: var(--teal); font-size: 15px; font-weight: 800; }

.auth-shell { min-height: 100vh; display: grid; grid-template-columns: 1fr; }
.auth-art {
  display: none;
  flex-direction: column; justify-content: space-between;
  background: linear-gradient(150deg, #0d7772, #194e53);
  color: #fff; padding: 52px;
}
.auth-main { display: grid; place-items: center; padding: 40px 26px; }
.auth-main-inner { width: 100%; max-width: 430px; }
.auth-art-title {
  color: #fff; letter-spacing: -2px;
  font-size: clamp(28px, 4vw, 38px); font-weight: 900;
  line-height: 1.05; margin: 0 0 14px;
}
.auth-art-text { color: #cfe3e1; max-width: 380px; }
.auth-art-foot { color: #a9c6c3; }
.auth-brand-lg { color: #fff; font-size: 20px; }
@media (min-width: 900px) {
  .auth-shell { grid-template-columns: 1fr 1fr; }
  .auth-art { display: flex; }
}

/* ---------- Tekrarlayan yerleşim yardımcıları ----------
   Bu sınıflar view dosyalarında tekrar tekrar yazılan satır içi
   stillerin karşılığıdır. Değerler birebir aynıdır; amaç tekrarı
   ve satır içi stil kurbanını azaltmaktır. */
.chip-xs { padding: 3px 9px; font-size: 11.5px; }
.price-tag-sm { font-weight: 700; font-size: 11.5px; }
.link-plain { color: inherit; text-decoration: none; }
.link-plain:hover { text-decoration: underline; }
.flex-1 { flex: 1; }
.h0 { margin: 0; }
.gap-12 { gap: 12px; }
.gap-14 { gap: 14px; }
.text-danger { color: var(--danger); }
.text-lime { color: var(--lime); }
.text-coral { color: var(--coral); }
.text-ink { color: var(--ink); }
.text-muted-2 { color: #cfe3e1; }
.text-muted-3 { color: #a9c6c3; }
.stack-8 { --gap: 8px; }
.stack-12 { --gap: 12px; }
.district-card {
  text-decoration: none; color: inherit;
  display: flex; flex-direction: column; gap: 10px;
}
.h1-xl { font-size: clamp(30px, 4vw, 44px); }
.h1-lg { font-size: clamp(26px, 3.4vw, 38px); }
.h2-md { font-size: 24px; }
.h2-lg { font-size: 28px; }
.price-big { font-size: 26px; font-weight: 900; letter-spacing: -1px; }
.kv-num { font-size: 26px; }
.rating-huge { font-size: 56px; font-weight: 900; letter-spacing: -3px; line-height: 1; }
.rating-lg { font-size: 20px; }
.district-hero-title { color: #fff; }

/* ---------- Panel: bildirim zili ve form yardimcilari ----------
   Bu kurallar paneldeki her sayfada tekrar eden satir ici stillerin
   yerine gecer. */
.bell { position: relative; }
.bell > summary { list-style: none; cursor: pointer; }
.bell > summary::-webkit-details-marker { display: none; }
.bell-panel {
  position: absolute; right: 0; top: calc(100% + 8px);
  width: 330px; max-height: 400px; overflow-y: auto;
  z-index: 60; padding: 0;
}
.bell-count { background: var(--coral); color: #fff; }
.bell-item { padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.bell-empty { padding: 26px 16px; }
.avatar-initial {
  width: 76px; height: 76px; font-size: 28px; margin: 0 auto;
}
.alert-danger-soft { border-color: #f0c9c6; }

/* Tablo ve form genislikleri (admin listelerinde tekrar ediyordu) */
.display-inline { display: inline; }
.w-auto { width: auto; }
.w-90 { width: 90px; }
.w-130 { width: 130px; }
.btn-unstyled { border: 0; cursor: pointer; }
.min-w-200 { min-width: 200px; }
/* NOT: .w-17 / .w-33 kaldirildi. "Ilce dagilimi" gibi ilerleme cubuklarindaki
   genislikler dinamik hesaplanir (width:{{ ... }}%), sabit sinif olmaz. */

/* Panel bos durum ve liste araligi */
.empty-sm { padding: 26px 16px; }
.stack-9 { --gap: 9px; }
.stack-10 { --gap: 10px; }

/* Tesis profilinde evcil hayvan / olanak / politika secimleri.
   Uc ayri @foreach dongusunde tekrarlanirdi; tek sayfada 33 kez
   render ediliyordu. */
.pickable { cursor: pointer; }

@media (max-width: 1024px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .g-sidebar { grid-template-columns: 1fr; }
  .app-shell { grid-template-columns: 1fr; }
  .app-side { position: fixed; inset: 0 auto 0 0; width: 262px; z-index: 90; transform: translateX(-100%); transition: transform .2s ease; box-shadow: var(--shadow-lg); }
  .app-side.is-open { transform: none; }
  .app-burger { display: inline-flex; }
  .app-content { padding: 20px 18px 50px; }
  .app-top { padding: 13px 18px; }
  .hero-grid, .faq-2 { grid-template-columns: 1fr; }
  .hero-art { height: 280px; font-size: 120px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 780px) {
  .nav { display: none; }
  .nav.is-open { display: flex; flex-direction: column; align-items: stretch; position: absolute; left: 0; right: 0; top: 100%; background: var(--cream); border-bottom: 1px solid var(--line); padding: 12px 20px 20px; box-shadow: var(--shadow-lg); }
  .nav.is-open a { padding: 12px; }
  .nav-toggle { display: inline-flex; }
  .hotel-grid, .g3, .g4, .steps, .form-row, .form-row-3, .checks { grid-template-columns: 1fr; }
  .g2 { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .cal-day { border-radius: 8px; font-size: 12px; }
  .kv { grid-template-columns: 1fr; gap: 2px; }
  .kv dt { margin-top: 8px; }
  .footer-grid { grid-template-columns: 1fr; }
  .flash-stack { top: 74px; right: 12px; left: 12px; width: auto; }
}

@media print {
  .site-header, .app-side, .app-top, footer.site-footer, .btn, .flash-stack { display: none !important; }
  body { background: #fff; }
}

/* ============================================================
   Analitik / CRM arayüz bileşenleri
   ============================================================ */

/* ---------- Rıza (çerez) bildirimi ---------- */
.consent-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
  background: var(--ink); color: #fff;
  box-shadow: 0 -6px 24px rgba(0, 0, 0, .16);
  padding: 14px 0;
}
.consent-inner { display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.consent-text { flex: 1 1 420px; min-width: 0; }
.consent-text strong { display: block; margin-bottom: 3px; font-size: 14px; }
.consent-text p { margin: 0; font-size: 12.5px; line-height: 1.55; color: #cfd8dc; max-width: 780px; }
.consent-text a { color: var(--lime); text-decoration: underline; }
.consent-actions { display: flex; gap: 8px; flex-shrink: 0; }
.consent-actions .btn { white-space: nowrap; }
.inline-form { display: inline; }

.consent-fab {
  position: fixed; right: 14px; bottom: 14px; z-index: 110;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff;
  box-shadow: var(--shadow); cursor: pointer; font-size: 17px;
}
.consent-fab:hover { background: var(--cream); }

.consent-modal {
  position: fixed; inset: 0; z-index: 130;
  background: rgba(19, 34, 43, .55);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.consent-modal[hidden] { display: none; }
.consent-modal-box {
  background: #fff; border-radius: var(--r-lg); max-width: 520px; width: 100%;
  padding: 26px; box-shadow: var(--shadow-lg);
}
.consent-modal-box h2 { font-size: 20px; margin: 0 0 10px; }

/* ---------- Dönem sekmeleri ---------- */
.range-tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.range-tab {
  padding: 7px 13px; border-radius: 999px; font-size: 12.5px; font-weight: 700;
  color: var(--muted); background: #f4f1e9; border: 1px solid transparent;
  text-decoration: none; white-space: nowrap;
}
.range-tab:hover { background: #eceadf; color: var(--ink); }
.range-tab.is-active { background: var(--teal); color: #fff; }

/* ---------- Çizgi grafiği ---------- */
.line-chart { margin-top: 6px; }
.line-chart svg { width: 100%; height: 220px; display: block; overflow: visible; }
.line-chart-labels {
  display: flex; justify-content: space-between;
  font-size: 10.5px; color: var(--muted); margin-top: 4px;
}
.line-chart-legend { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 10px; font-size: 12px; }
.lg-item { display: inline-flex; align-items: center; gap: 6px; }
.lg-item i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.lg-item.muted { color: var(--muted); }

/* ---------- Saat grafiği ---------- */
.hour-chart {
  display: flex; align-items: flex-end; gap: 2px;
  height: 150px; margin-top: 10px;
  border-bottom: 1px solid var(--line); padding-bottom: 0;
}
.hour-col {
  flex: 1; display: flex; flex-direction: column;
  justify-content: flex-end; align-items: center; height: 100%;
  position: relative;
}
.hour-bar {
  width: 100%; background: var(--teal);
  border-radius: 3px 3px 0 0; min-height: 3px; display: block;
  transition: background .15s;
}
.hour-col:hover .hour-bar { background: var(--coral); }
.hour-label { font-size: 9.5px; color: var(--muted); height: 15px; line-height: 15px; }

/* ---------- Yatay çubuk listesi ---------- */
.bar-list { display: flex; flex-direction: column; gap: 12px; }
.bar-row { display: flex; flex-direction: column; gap: 4px; }
.bar-label {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; font-size: 13px;
}
.bar-label .track { flex: 1; }
.bar-row .track { height: 8px; background: #eceadf; border-radius: 999px; overflow: hidden; display: block; }
.bar-row .fill { display: block; height: 100%; background: var(--teal); border-radius: 999px; }
.bar-row .tiny { display: block; }

/* ---------- Zaman çizelgesi ---------- */
.timeline { display: flex; flex-direction: column; }
.timeline-item {
  display: flex; gap: 12px; padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.timeline-item:last-child { border-bottom: 0; }
.timeline-icon {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  background: #f4f1e9; display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; color: var(--ink);
}
.timeline-body { flex: 1; min-width: 0; }

/* ---------- Avatar ---------- */
.avatar-sm, .avatar-lg {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--teal); color: #fff;
  font-weight: 800; flex-shrink: 0;
}
.avatar-sm { width: 30px; height: 30px; font-size: 12px; }
.avatar-lg { width: 52px; height: 52px; font-size: 18px; }

/* ---------- Küçük form girdileri ---------- */
.input-sm {
  padding: 7px 11px; font-size: 13px; border-radius: 9px;
}
