/* =========================================================
   Serkay Rent A Car Bodrum - tasarım sistemi
   Renkler logodan alındı: kırmızı, antrasit, amber ışık, Bodrum mavisi.
   ========================================================= */

:root {
  --red: #e4151d;
  --red-dark: #b50f16;
  --red-soft: #fdecec;
  --ink: #15171c;
  --ink-2: #1e2127;
  --ink-3: #2a2e36;
  --amber: #ffb020;
  --blue: #17a2f3;

  --text: #1b1d22;
  --text-muted: #646b77;
  --line: #e4e7ec;
  --bg: #ffffff;
  --bg-soft: #f6f7f9;

  --radius: 14px;
  --radius-sm: 9px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(16, 18, 22, .06), 0 1px 3px rgba(16, 18, 22, .08);
  --shadow: 0 4px 10px rgba(16, 18, 22, .06), 0 12px 28px rgba(16, 18, 22, .08);
  --shadow-lg: 0 10px 20px rgba(16, 18, 22, .08), 0 24px 56px rgba(16, 18, 22, .14);

  --header-h: 76px;
  --container: 1200px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.22; font-weight: 800; letter-spacing: -.02em; }
h1 { font-size: clamp(1.9rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
p  { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section--soft { background: var(--bg-soft); }
/* Hero'daki arama kutusu bu bölümün üzerine taşar; başlığıyla çakışmaması
   için üst boşluğu taşma payından belirgin biçimde fazla tutulur. */
.section--overlap { padding-top: 150px; }
.section--dark { background: var(--ink); color: #fff; }
.section--tight { padding: 48px 0; }

.section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.section-head p { color: var(--text-muted); margin: 0; font-size: 1.05rem; }
.section--dark .section-head p { color: #a9b1bf; }

.eyebrow {
  display: inline-block;
  font-size: .78rem; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: var(--red); margin-bottom: 10px;
}
.section--dark .eyebrow { color: var(--amber); }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border: 1px solid transparent; border-radius: var(--radius-sm);
  font-weight: 700; font-size: .95rem; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 4px 14px rgba(228, 21, 29, .3); }
.btn--primary:hover { background: var(--red-dark); box-shadow: 0 6px 20px rgba(228, 21, 29, .38); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-3); }
.btn--ghost { background: #fff; color: var(--text); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--outline { background: transparent; color: var(--red); border-color: currentColor; }
.btn--outline:hover { background: var(--red); color: #fff; }
.btn--white { background: #fff; color: var(--ink); }
.btn--block { width: 100%; }
.btn--lg { padding: 16px 30px; font-size: 1rem; }
.btn--sm { padding: 8px 14px; font-size: .85rem; }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* ---------- Üst bilgi çubuğu ---------- */
.topbar {
  background: var(--ink); color: #c9ced8; font-size: .85rem;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; height: 40px; gap: 16px; }
.topbar__info { display: flex; gap: 22px; align-items: center; }
.topbar__info span { display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: #fff; }
.topbar__social { display: flex; gap: 14px; }
.topbar__social a { opacity: .75; transition: opacity .15s; }
.topbar__social a:hover { opacity: 1; }

/* ---------- Başlık ---------- */
.header {
  position: sticky; top: 0; z-index: 60; background: #fff;
  border-bottom: 1px solid var(--line);
}
.header.is-stuck { box-shadow: var(--shadow-sm); }
.header .container { display: flex; align-items: center; gap: 20px; height: var(--header-h); }

.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 48px; width: auto; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__text b { font-size: 1.5rem; font-weight: 900; color: var(--red); letter-spacing: -.03em; }
.logo__text small { font-size: .66rem; font-weight: 700; letter-spacing: .22em; color: var(--ink); }

.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  padding: 10px 13px; border-radius: var(--radius-sm); font-weight: 600; font-size: .93rem;
  color: var(--text); white-space: nowrap; transition: background .15s, color .15s;
}
.nav a:hover { background: var(--bg-soft); }
.nav a.active { color: var(--red); }

.header__cta { display: flex; align-items: center; gap: 12px; }
.header__phone {
  display: inline-flex; align-items: center; gap: 9px; white-space: nowrap;
  font-weight: 800; color: var(--ink); font-size: 1rem;
}
.header__phone svg { color: var(--red); }

.burger {
  display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink);
}

/* ---------- Mobil menü ---------- */
.mobile-nav {
  position: fixed; inset: 0; z-index: 90; background: #fff;
  transform: translateX(100%); transition: transform .25s ease;
  display: flex; flex-direction: column; overflow-y: auto;
}
.mobile-nav.open { transform: none; }
.mobile-nav__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid var(--line);
}
.mobile-nav__links { padding: 12px 20px; display: flex; flex-direction: column; }
.mobile-nav__links a {
  padding: 15px 4px; font-weight: 700; font-size: 1.05rem; border-bottom: 1px solid var(--line);
}
.mobile-nav__foot { margin-top: auto; padding: 20px; display: grid; gap: 10px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; background: var(--ink); color: #fff;
  padding: 52px 0 0;
  /* flow-root, overflow:hidden gibi bir BFC kurar (arama kutusunun negatif alt
     boşluğu hero'yu doğru yukarı çeker) ama taşan içeriği KIRPMAZ. Kutu hero'nun
     56px dışına taştığı için overflow:hidden alt kısmını kesiyordu.
     Arka plan katmanları zaten inset:0 olduğundan kırpmaya ihtiyaçları yok. */
  display: flow-root;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 420px at 78% 12%, rgba(255, 176, 32, .20), transparent 62%),
    radial-gradient(760px 420px at 12% 92%, rgba(228, 21, 29, .26), transparent 60%);
}
.hero__bg {
  position: absolute; inset: 0; object-fit: cover; width: 100%; height: 100%;
  opacity: .22; filter: grayscale(.3);
}
.hero .container { position: relative; z-index: 2; }
.hero__inner { max-width: 760px; }
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--amber); }
.hero__lead { font-size: 1.12rem; color: #c3cad6; max-width: 600px; margin-bottom: 20px; }

.hero__stats { display: flex; flex-wrap: wrap; gap: 36px; margin: 24px 0 30px; }
.hero__stat b { display: block; font-size: 1.9rem; font-weight: 900; color: #fff; line-height: 1; }
.hero__stat span { font-size: .85rem; color: #99a2b1; }

.hero__trust { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.hero__trust span {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .13);
  padding: 7px 14px; border-radius: 100px; font-size: .85rem; font-weight: 600; color: #e6eaf0;
}

/* ---------- Rezervasyon arama kutusu ---------- */
.search-card {
  position: relative; z-index: 3;
  background: #fff; color: var(--text);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 22px; margin-bottom: -56px;
}
.search-card__title {
  display: flex; align-items: center; gap: 9px;
  font-weight: 800; font-size: 1.02rem; margin-bottom: 16px;
}
.search-card__title svg { color: var(--red); }
.search-grid {
  display: grid; gap: 14px;
  grid-template-columns: 1.3fr 1.3fr 1fr 1fr auto;
  align-items: end;
}
.search-grid .btn { height: 52px; }

.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > label { font-size: .8rem; font-weight: 700; color: var(--text-muted); }
.field input, .field select, .field textarea {
  width: 100%; height: 52px; padding: 0 14px;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; transition: border-color .15s, box-shadow .15s;
}
.field textarea { height: auto; padding: 12px 14px; min-height: 120px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--red); box-shadow: 0 0 0 3px rgba(228, 21, 29, .12);
}
.field--error input, .field--error select, .field--error textarea { border-color: var(--red); }
.field__error { font-size: .8rem; color: var(--red); font-weight: 600; }
.field__hint { font-size: .8rem; color: var(--text-muted); }

/* ---------- Araç kartı ---------- */
.vehicle-grid {
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fill, minmax(276px, 1fr));
}
.vcard {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.vcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.vcard__media { position: relative; aspect-ratio: 16 / 10; background: var(--bg-soft); overflow: hidden; }
.vcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.vcard:hover .vcard__media img { transform: scale(1.04); }
.vcard__placeholder {
  display: flex; align-items: center; justify-content: center; height: 100%;
  color: #c3c8d2; background: linear-gradient(135deg, #f2f4f7, #e8ebf0);
}
.vcard__badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--ink); color: #fff; font-size: .72rem; font-weight: 800;
  padding: 5px 11px; border-radius: 100px; letter-spacing: .04em;
}
.vcard__badge--hot { background: var(--red); }
.vcard__body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.vcard__title { font-size: 1.08rem; font-weight: 800; margin: 0 0 3px; }
.vcard__sub { font-size: .84rem; color: var(--text-muted); margin-bottom: 14px; }
.vcard__specs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 9px 12px;
  padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}
.vcard__specs span { display: flex; align-items: center; gap: 7px; font-size: .84rem; color: #4a515e; }
.vcard__specs svg { color: var(--text-muted); flex-shrink: 0; }
.vcard__foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.price small { display: block; font-size: .74rem; color: var(--text-muted); font-weight: 600; }
.price b { font-size: 1.5rem; font-weight: 900; color: var(--ink); letter-spacing: -.02em; }
.price b em { font-style: normal; font-size: .9rem; font-weight: 700; }

/* ---------- Kategori şeridi ---------- */
.cat-strip { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.cat-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border: 1.5px solid var(--line); border-radius: 100px;
  font-weight: 700; font-size: .9rem; background: #fff; transition: all .15s;
}
.cat-chip:hover { border-color: var(--ink); }
.cat-chip.active { background: var(--red); border-color: var(--red); color: #fff; }

/* ---------- Özellik kutuları ---------- */
.feature-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.feature {
  padding: 28px 24px; border-radius: var(--radius); background: #fff;
  border: 1px solid var(--line); transition: box-shadow .18s, transform .18s;
}
.feature:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.feature__icon {
  width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center;
  background: var(--red-soft); color: var(--red); margin-bottom: 16px;
}
.feature h3 { font-size: 1.08rem; margin-bottom: 7px; }
.feature p { color: var(--text-muted); font-size: .93rem; margin: 0; }
.section--dark .feature { background: var(--ink-2); border-color: rgba(255, 255, 255, .08); }
.section--dark .feature p { color: #9aa3b2; }
.section--dark .feature__icon { background: rgba(228, 21, 29, .16); color: #ff6b70; }

/* ---------- Adımlar ---------- */
.steps { display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: step; }
.step { position: relative; padding-top: 10px; }
.step__num {
  width: 44px; height: 44px; border-radius: 50%; background: var(--red); color: #fff;
  display: grid; place-items: center; font-weight: 900; font-size: 1.1rem; margin-bottom: 15px;
}
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { color: var(--text-muted); font-size: .93rem; margin: 0; }

/* ---------- Yorumlar ---------- */
.testi-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.testi {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
}
.testi__stars { color: var(--amber); margin-bottom: 12px; display: flex; gap: 2px; }
.testi p { font-size: .96rem; color: #3b414c; }
.testi__who { display: flex; align-items: center; gap: 11px; margin-top: 16px; }
.testi__avatar {
  width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: .9rem;
}
.testi__who b { display: block; font-size: .92rem; }
.testi__who span { font-size: .8rem; color: var(--text-muted); }

/* ---------- SSS ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; overflow: hidden; }
.faq-item summary {
  padding: 18px 22px; font-weight: 700; cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--red); flex-shrink: 0; line-height: 1;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item__body { padding: 0 22px 20px; color: var(--text-muted); font-size: .95rem; }

/* ---------- CTA şeridi ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--red) 0%, var(--red-dark) 100%);
  color: #fff; border-radius: var(--radius-lg); padding: 44px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { margin: 0; opacity: .92; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Alt bilgi ---------- */
.footer { background: var(--ink); color: #99a2b1; padding: 60px 0 0; font-size: .92rem; }
.footer__grid {
  display: grid; gap: 40px; padding-bottom: 44px;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
}
.footer h4 { color: #fff; font-size: .95rem; margin-bottom: 18px; letter-spacing: .02em; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer a:hover { color: #fff; }
.footer__about p { margin-bottom: 18px; }
.footer__contact li { display: flex; gap: 11px; align-items: flex-start; }
.footer__contact svg { color: var(--red); flex-shrink: 0; margin-top: 3px; }
.footer__social { display: flex; gap: 10px; }
.footer__social a {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .07); transition: background .15s;
}
.footer__social a:hover { background: var(--red); color: #fff; }
.footer__bar {
  border-top: 1px solid rgba(255, 255, 255, .08); padding: 20px 0;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem;
}

/* ---------- Sayfa başlığı ---------- */
.page-head { background: var(--ink); color: #fff; padding: 46px 0; position: relative; overflow: hidden; }
.page-head::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 300px at 85% 0%, rgba(228, 21, 29, .3), transparent 60%);
}
.page-head .container { position: relative; }
.page-head h1 { color: #fff; margin: 0 0 6px; font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
.breadcrumb { display: flex; gap: 8px; font-size: .86rem; color: #9aa3b2; flex-wrap: wrap; }
.breadcrumb a:hover { color: #fff; }

/* ---------- Yan panelli düzen ---------- */
.with-aside { display: grid; grid-template-columns: 290px 1fr; gap: 32px; align-items: start; }
.aside {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
  position: sticky; top: calc(var(--header-h) + 16px);
}
.aside h3 { font-size: 1rem; margin-bottom: 16px; }
.aside__group { padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.aside__group:last-of-type { border: 0; margin-bottom: 0; }

.check-list { display: grid; gap: 10px; }
.check {
  display: flex; align-items: center; gap: 10px; font-size: .92rem; cursor: pointer;
}
.check input { width: 18px; height: 18px; accent-color: var(--red); flex-shrink: 0; margin: 0; }

/* ---------- Araç detay ---------- */
.detail-grid { display: grid; grid-template-columns: 1fr 380px; gap: 36px; align-items: start; }
.gallery__main {
  aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden;
  background: var(--bg-soft); margin-bottom: 12px;
}
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.gallery__thumbs button {
  aspect-ratio: 4 / 3; border-radius: var(--radius-sm); overflow: hidden;
  border: 2px solid transparent; padding: 0; cursor: pointer; background: var(--bg-soft);
}
.gallery__thumbs button.active { border-color: var(--red); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }

.spec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.spec {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg-soft); border-radius: var(--radius-sm); padding: 14px 16px;
}
.spec svg { color: var(--red); flex-shrink: 0; }
.spec small { display: block; font-size: .76rem; color: var(--text-muted); }
.spec b { font-size: .94rem; }

.booking-box {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 24px;
  position: sticky; top: calc(var(--header-h) + 16px);
}
.booking-box__price { padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }

/* ---------- Özet / fiyat tablosu ---------- */
.summary { display: grid; gap: 11px; }
.summary__row { display: flex; justify-content: space-between; gap: 16px; font-size: .93rem; }
.summary__row span:first-child { color: var(--text-muted); }
.summary__row--total {
  padding-top: 13px; border-top: 1px solid var(--line);
  font-size: 1.15rem; font-weight: 900;
}
.summary__row--total span:first-child { color: var(--text); }
.summary__row--total b { color: var(--red); }

/* ---------- Ekstra seçimi ---------- */
.extra-list { display: grid; gap: 10px; }
.extra {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); cursor: pointer;
  transition: border-color .15s, background .15s;
}
.extra:hover { border-color: #c9cfd9; }
.extra:has(input:checked) { border-color: var(--red); background: var(--red-soft); }
.extra input { width: 19px; height: 19px; accent-color: var(--red); flex-shrink: 0; margin: 0; }
.extra__text { flex: 1; min-width: 0; }
.extra__text b { display: block; font-size: .94rem; }
.extra__text small { color: var(--text-muted); font-size: .82rem; }
.extra__price { font-weight: 800; color: var(--ink); white-space: nowrap; font-size: .95rem; }

/* ---------- Uyarı kutuları ---------- */
.alert {
  display: flex; gap: 12px; padding: 15px 18px; border-radius: var(--radius-sm);
  font-size: .93rem; margin-bottom: 20px; border: 1px solid;
}
.alert svg { flex-shrink: 0; margin-top: 2px; }
.alert--success { background: #ecfdf3; border-color: #a9e5c0; color: #146c43; }
.alert--error { background: var(--red-soft); border-color: #f5b5b7; color: #a4121a; }
.alert--info { background: #eef6ff; border-color: #b8d7f8; color: #0b5394; }
.alert--warn { background: #fff8e8; border-color: #f5d98c; color: #8a6116; }

/* ---------- İçerik gövdesi ---------- */
.prose { max-width: 820px; font-size: 1.02rem; }
.prose h2 { font-size: 1.5rem; margin: 2em 0 .6em; }
.prose h3 { font-size: 1.22rem; margin: 1.8em 0 .5em; }
.prose ul, .prose ol { padding-left: 1.3em; margin-bottom: 1.2em; }
.prose li { margin-bottom: .5em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .94rem; }
.prose th, .prose td { padding: 12px 14px; border: 1px solid var(--line); text-align: left; }
.prose th { background: var(--bg-soft); font-weight: 700; }
.prose img { border-radius: var(--radius); margin: 1.4em 0; }
.prose a { color: var(--red); font-weight: 600; text-decoration: underline; }

/* ---------- Blog ---------- */
.post-grid { display: grid; gap: 26px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.post-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .18s, transform .18s;
}
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.post-card__media { aspect-ratio: 16 / 9; background: var(--bg-soft); overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__placeholder {
  display: grid; place-items: center; height: 100%; color: #c3c8d2;
  background: linear-gradient(135deg, #f2f4f7, #e8ebf0);
}
.post-card__body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.post-card__date { font-size: .8rem; color: var(--text-muted); margin-bottom: 8px; }
.post-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.post-card p { font-size: .92rem; color: var(--text-muted); margin: 0 0 14px; }
.post-card__more { margin-top: auto; font-weight: 700; color: var(--red); font-size: .9rem; }

/* ---------- Yüzen aksiyonlar ---------- */
.float-wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 50;
  width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 8px 24px rgba(37, 211, 102, .4);
  transition: transform .18s;
}
.float-wa:hover { transform: scale(1.07); }

.mobile-bar { display: none; }

/* ---------- Yardımcılar ---------- */
.text-center { text-align: center; }
.muted { color: var(--text-muted); }
.stack { display: grid; gap: 16px; }
.row { display: flex; gap: 14px; flex-wrap: wrap; }
.row--between { justify-content: space-between; align-items: center; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-3 { margin-top: 24px; } .mb-3 { margin-bottom: 24px; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--text-muted); }
.empty-state svg { color: #c9cfd9; margin-bottom: 16px; }
.hp-field { position: absolute; left: -9999px; opacity: 0; }

.badge {
  display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px;
  border-radius: 100px; font-size: .76rem; font-weight: 700;
}
.badge--green { background: #e6f6ec; color: #146c43; }
.badge--red { background: var(--red-soft); color: #a4121a; }
.badge--gray { background: var(--bg-soft); color: var(--text-muted); }
.badge--amber { background: #fff4de; color: #8a6116; }
.badge--blue { background: #e8f3fe; color: #0b5394; }

.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 36px; }
.pagination a, .pagination span {
  min-width: 40px; height: 40px; padding: 0 12px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: var(--radius-sm); font-weight: 600; font-size: .9rem;
}
.pagination .active { background: var(--red); border-color: var(--red); color: #fff; }

/* ---------- Duyarlı düzen ---------- */
@media (max-width: 1080px) {
  .search-grid { grid-template-columns: 1fr 1fr 1fr; }
  .search-grid .btn { grid-column: 1 / -1; }
  .detail-grid { grid-template-columns: 1fr; }
  .booking-box { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1150px) {
  .header__phone { display: none; }
}

@media (max-width: 900px) {
  .nav { display: none; }
  /* Telefonda uzun filtre panelinin araçları aşağı itmemesi için sıra değişir. */
  .with-aside > .aside { order: 2; }
  .with-aside > :not(.aside) { order: 1; }
  .burger { display: block; margin-left: auto; }
  .topbar__info span:nth-child(n+3) { display: none; }
  .with-aside { grid-template-columns: 1fr; }
  .aside { position: static; }
}

@media (max-width: 640px) {
  .section { padding: 48px 0; }
  .search-grid { grid-template-columns: 1fr; }
  .search-card { padding: 18px; margin-bottom: -40px; }
  .hero { padding-top: 36px; }
  .section--overlap { padding-top: 104px; }
  .hero__stats { gap: 24px; }
  .hero__stat b { font-size: 1.5rem; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .cta-band { padding: 30px 24px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .gallery__thumbs { grid-template-columns: repeat(4, 1fr); }
  .float-wa { bottom: 76px; }

  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
    background: var(--line); box-shadow: 0 -2px 14px rgba(0, 0, 0, .1);
  }
  .mobile-bar a {
    background: #fff; padding: 13px 8px; text-align: center;
    font-weight: 800; font-size: .9rem; display: flex; align-items: center;
    justify-content: center; gap: 7px;
  }
  .mobile-bar a.primary { background: var(--red); color: #fff; }
  body { padding-bottom: 50px; }
}

@media print {
  .header, .topbar, .footer, .float-wa, .mobile-bar, .no-print { display: none !important; }
  body { padding: 0; }
}
