/* ============================================================
   VELORA Rent a Car — Tasarım Sistemi
   Palet: mürekkep laciverdi + şampanya altını + kemik beyazı
   ============================================================ */

:root {
  --ink: #0A1220;
  --ink-2: #101B2E;
  --ink-3: #16233A;
  --ink-4: #1E2E4A;
  --gold: #C9A96A;
  --gold-2: #E3C98F;
  --gold-dark: #A8874B;
  --bone: #F6F4EF;
  --paper: #FFFFFF;
  --muted: #5B6B84;
  --muted-2: #93A1B5;
  --line: rgba(10, 18, 32, .09);
  --line-d: rgba(255, 255, 255, .09);
  --green: #2E9E6B;
  --red: #D64545;
  --amber: #D6A345;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-sm: 10px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, 'Segoe UI', sans-serif;
  --shadow-sm: 0 2px 10px rgba(10, 18, 32, .06);
  --shadow-md: 0 10px 34px rgba(10, 18, 32, .10);
  --shadow-lg: 0 24px 70px rgba(10, 18, 32, .16);
  --shadow-gold: 0 10px 30px rgba(201, 169, 106, .35);
  --ease: cubic-bezier(.22, .8, .26, .99);
  --nav-h: 78px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bone);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--gold); color: var(--ink); }
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--ink-2); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--gold-dark), var(--gold)); border-radius: 8px; border: 2px solid var(--ink-2); }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.22; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(34px, 5vw, 58px); }
h2 { font-size: clamp(28px, 3.6vw, 42px); }
h3 { font-size: clamp(20px, 2.4vw, 26px); }
p { margin: 0 0 1em; }

.container { width: min(1240px, 100% - 40px); margin-inline: auto; }
.container-wide { width: min(1420px, 100% - 40px); margin-inline: auto; }

/* ---------- Doku (grain) ---------- */
body.has-grain::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 1; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

/* ---------- Bölümler ---------- */
.section { padding: clamp(64px, 8vw, 110px) 0; position: relative; }
.section-ink { background: var(--ink); color: var(--bone); }
.section-ink .section-head p { color: var(--muted-2); }
.section-paper { background: var(--paper); }
.section-head { max-width: 640px; margin-bottom: clamp(34px, 4vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-dark); margin-bottom: 14px;
}
.section-ink .eyebrow { color: var(--gold); }
.eyebrow::before { content: ''; width: 34px; height: 1px; background: currentColor; opacity: .7; }
.section-head.center .eyebrow::after { content: ''; width: 34px; height: 1px; background: currentColor; opacity: .7; }

/* ---------- Izgara ---------- */
/* Tüm ızgaralarda minmax(0,…): düz 1fr min-width:auto olduğu için geniş içerik
   (swiper, tablo, uzun metin) kolonu şişirip sayfayı yatay taşırabiliyor. */
.grid { display: grid; gap: 26px; }
.grid > * { min-width: 0; }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1080px) { .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .g-4, .g-3, .g-2 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 28px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: 15px; line-height: 1; letter-spacing: .01em;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
  position: relative; overflow: hidden; white-space: nowrap;
}
.btn i { font-size: 1.2em; }
.btn:active { transform: scale(.97); }
.btn-gold { background: linear-gradient(135deg, var(--gold-2), var(--gold) 55%, var(--gold-dark)); color: var(--ink); box-shadow: var(--shadow-gold); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(201, 169, 106, .45); }
.btn-gold::after {
  content: ''; position: absolute; top: 0; left: -80%; width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-20deg); transition: left .6s var(--ease);
}
.btn-gold:hover::after { left: 130%; }
.btn-ink { background: var(--ink); color: var(--bone); }
.btn-ink:hover { background: var(--ink-3); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { border-color: rgba(201, 169, 106, .55); color: var(--gold-dark); background: transparent; }
.section-ink .btn-outline, .hero .btn-outline, .page-hero .btn-outline { color: var(--gold-2); }
.btn-outline:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); transform: translateY(-2px); }
.btn-light { background: var(--paper); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { color: var(--ink); background: transparent; padding-inline: 14px; }
.btn-ghost:hover { color: var(--gold-dark); }
.btn-sm { padding: 10px 18px; font-size: 13.5px; }
.btn-lg { padding: 17px 36px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- Rozet & çip ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 13px; border-radius: 999px;
  font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--ink);
}
.chip {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 600; background: rgba(201, 169, 106, .12); color: var(--gold-dark);
  border: 1px solid rgba(201, 169, 106, .25);
}
.section-ink .chip { background: rgba(201, 169, 106, .14); color: var(--gold-2); }

/* ---------- Kart ---------- */
.card {
  background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card:hover { box-shadow: var(--shadow-md); }
.card-pad { padding: 28px; }

/* ---------- Form ---------- */
.field { display: flex; flex-direction: column; gap: 7px; }
.field > label { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.field > label i { color: var(--gold-dark); font-size: 15px; }
.input {
  width: 100%; padding: 13px 16px; border-radius: var(--radius-sm); font-family: inherit;
  border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); font-size: 15px;
  transition: border-color .2s, box-shadow .2s; outline: none;
}
.input:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201, 169, 106, .16); }
textarea.input { resize: vertical; min-height: 130px; }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235B6B84' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--gold-dark); flex-shrink: 0; }
.check a { color: var(--gold-dark); font-weight: 600; text-decoration: underline; }

/* ---------- Üst çubuk ---------- */
.topbar { background: var(--ink); color: var(--muted-2); font-size: 13px; position: relative; z-index: 60; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar a { color: var(--muted-2); transition: color .2s; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: var(--gold-2); }
.topbar i { color: var(--gold); }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 20px; }
.topbar-note { color: var(--gold-2); letter-spacing: .02em; display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 900px) { .topbar-note, .topbar .wh { display: none; } }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky; top: 0; z-index: 100; height: var(--nav-h);
  background: rgba(246, 244, 239, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line); transition: background .3s, box-shadow .3s;
}
.navbar.scrolled { box-shadow: var(--shadow-md); }
body.nav-overlay .navbar {
  position: fixed; left: 0; right: 0; background: transparent; border-bottom-color: transparent;
}
body.nav-overlay .navbar.scrolled { background: rgba(10, 18, 32, .86); backdrop-filter: blur(14px); }
body.nav-overlay .navbar { color: var(--bone); }
.navbar .container-wide { display: flex; align-items: center; gap: 30px; height: 100%; }

.logo { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); }
.logo-mark {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0;
  background: linear-gradient(140deg, var(--ink-3), var(--ink)); border: 1px solid rgba(201, 169, 106, .5);
  color: var(--gold-2); font-size: 21px; font-weight: 700; box-shadow: inset 0 0 18px rgba(201, 169, 106, .16);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-text b { font-size: 21px; letter-spacing: .16em; font-weight: 700; }
.logo-text span { font-size: 10px; letter-spacing: .34em; text-transform: uppercase; color: var(--gold-dark); font-family: var(--font-body); font-weight: 600; }
body.nav-overlay .logo-text span { color: var(--gold-2); }

/* Menü ve sağdaki iletişim bloğu container'ın sağ kenarına yaslanır */
.navbar nav { margin-left: auto; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; padding: 0; margin: 0; }
.nav-links a {
  padding: 10px 15px; border-radius: 999px; font-weight: 600; font-size: 14.5px; position: relative; transition: color .2s;
}
.nav-links a::after {
  content: ''; position: absolute; left: 50%; bottom: 4px; width: 0; height: 2px; border-radius: 2px;
  background: var(--gold); transition: width .25s var(--ease), left .25s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 24px; left: calc(50% - 12px); }
.nav-links a:hover, .nav-links a.active { color: var(--gold-dark); }
body.nav-overlay .nav-links a:hover, body.nav-overlay .nav-links a.active { color: var(--gold-2); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-phone { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 14px; }
.nav-phone i { font-size: 20px; color: var(--gold-dark); }
body.nav-overlay .nav-phone i { color: var(--gold-2); }
@media (max-width: 1220px) { .nav-phone span { display: none; } }

.nav-burger {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line);
  background: transparent; color: inherit; font-size: 22px; align-items: center; justify-content: center;
}
body.nav-overlay .nav-burger { border-color: var(--line-d); }
@media (max-width: 1020px) {
  .nav-links, .nav-phone { display: none; }
  .nav-burger { display: inline-flex; }
  /* Menü bağlantıları gizlenince hamburger sağa yaslansın */
  .nav-cta { margin-left: auto; }
  .navbar .container-wide { gap: 14px; }
}
@media (max-width: 560px) {
  .nav-cta .btn { display: none; }
  .logo-text b { font-size: 18px; letter-spacing: .12em; }
  .logo-text span { font-size: 9px; letter-spacing: .26em; }
  .logo-mark { width: 40px; height: 40px; font-size: 19px; }
}

/* Mobil menü */
.mobile-menu {
  /* overflow:clip — kapalı panel (translateX(100%)) kendi konteynerinde kırpılır;
     gövdeye ileride transform gelirse bile yatay kaymaya yol açamaz */
  position: fixed; inset: 0; z-index: 200; pointer-events: none; overflow: clip;
}
.mobile-menu .mm-backdrop { position: absolute; inset: 0; background: rgba(10, 18, 32, .6); opacity: 0; transition: opacity .3s; }
.mobile-menu .mm-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(360px, 88vw);
  background: var(--ink); color: var(--bone); padding: 28px; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .38s var(--ease); overflow-y: auto;
}
.mobile-menu.open { pointer-events: auto; }
.mobile-menu.open .mm-backdrop { opacity: 1; }
.mobile-menu.open .mm-panel { transform: none; }
.mm-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.mm-close { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-d); background: transparent; color: var(--bone); font-size: 20px; }
.mm-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.mm-links a {
  display: flex; align-items: center; justify-content: space-between; padding: 15px 4px;
  font-family: var(--font-display); font-size: 21px; border-bottom: 1px solid var(--line-d); transition: color .2s, padding-left .2s;
}
.mm-links a:hover, .mm-links a.active { color: var(--gold-2); padding-left: 10px; }
.mm-links a i { color: var(--gold); font-size: 16px; }
.mm-foot { margin-top: auto; padding-top: 26px; display: flex; flex-direction: column; gap: 14px; }
.mm-foot .btn { width: 100%; }
.mm-phone { display: flex; align-items: center; gap: 10px; color: var(--gold-2); font-weight: 700; }

/* ---------- Sayfa hero (alt sayfalar) ---------- */
.page-hero {
  background: var(--ink); color: var(--bone); padding: clamp(56px, 7vw, 96px) 0 clamp(44px, 5vw, 72px);
  position: relative; overflow: hidden;
}
.page-hero-glow {
  position: absolute; top: -40%; right: -10%; width: 60%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 169, 106, .16), transparent 65%); pointer-events: none;
}
.page-hero::after {
  content: ''; position: absolute; left: 0; bottom: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 169, 106, .5), transparent);
}
.page-hero h1 { margin: 0; }
.page-hero-sub { color: var(--muted-2); font-size: 17.5px; max-width: 640px; margin: 14px 0 0; }
.breadcrumbs { display: flex; align-items: center; gap: 9px; font-size: 13px; margin-bottom: 18px; color: var(--muted-2); flex-wrap: wrap; }
.breadcrumbs a { color: var(--muted-2); transition: color .2s; }
.breadcrumbs a:hover { color: var(--gold-2); }
.breadcrumbs i { font-size: 11px; color: var(--gold-dark); }
.breadcrumbs span { color: var(--gold-2); }

/* ---------- Araç kartı ---------- */
.car-card {
  background: var(--paper); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; position: relative;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.car-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(201, 169, 106, .5); }
.car-card-media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--ink-2); }
.car-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.car-card:hover .car-card-media img { transform: scale(1.06); }
.car-card-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10, 18, 32, .55));
}
.car-card .badge { position: absolute; top: 14px; left: 14px; z-index: 2; }
.car-card-cat {
  position: absolute; bottom: 12px; left: 14px; z-index: 2; color: var(--gold-2); font-size: 12px;
  font-weight: 700; letter-spacing: .14em; text-transform: uppercase; display: flex; align-items: center; gap: 6px;
}
.car-fav {
  position: absolute; top: 12px; right: 12px; z-index: 3; width: 38px; height: 38px; border-radius: 50%;
  border: none; background: rgba(10, 18, 32, .45); color: #fff; font-size: 18px; display: grid; place-items: center;
  backdrop-filter: blur(6px); transition: background .2s, color .2s, transform .2s;
}
.car-fav:hover { background: var(--gold); color: var(--ink); transform: scale(1.08); }
.car-fav.active { background: var(--gold); color: var(--ink); }
.car-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.car-card-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.car-card-title h3 { font-size: 21px; margin: 0; }
.car-card-title h3 a:hover { color: var(--gold-dark); }
.car-card-title .year { font-size: 12.5px; color: var(--muted); font-weight: 700; background: var(--bone); padding: 4px 10px; border-radius: 999px; }
.car-specs { display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--muted); font-size: 13.5px; }
.car-specs span { display: inline-flex; align-items: center; gap: 6px; }
.car-specs i { color: var(--gold-dark); font-size: 16px; }
.car-card-foot {
  margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.car-price { display: flex; flex-direction: column; line-height: 1.2; }
.car-price b { font-size: 23px; font-family: var(--font-display); color: var(--ink); }
.car-price small { font-size: 12px; color: var(--muted); font-weight: 600; }
.car-price .old { text-decoration: line-through; color: var(--muted-2); font-size: 13px; }

/* ---------- SSS akordeon ---------- */
.faq-item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; transition: border-color .25s, box-shadow .25s; }
.faq-item.open { border-color: rgba(201, 169, 106, .55); box-shadow: var(--shadow-sm); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px; text-align: left;
  padding: 19px 22px; background: none; border: none; font-family: inherit; font-size: 16px; font-weight: 700; color: var(--ink);
}
.faq-q .fi {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  background: rgba(201, 169, 106, .14); color: var(--gold-dark); font-size: 16px; transition: transform .3s var(--ease), background .3s, color .3s;
}
.faq-item.open .fi { transform: rotate(45deg); background: var(--gold); color: var(--ink); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a-inner { padding: 0 22px 20px; color: var(--muted); font-size: 15px; }
.section-ink .faq-item { background: var(--ink-2); border-color: var(--line-d); }
.section-ink .faq-q { color: var(--bone); }
.section-ink .faq-a-inner { color: var(--muted-2); }

/* ---------- Yorum kartı ---------- */
.review-card {
  background: var(--ink-2); border: 1px solid var(--line-d); border-radius: var(--radius);
  padding: 30px; height: 100%; display: flex; flex-direction: column; gap: 18px; position: relative; overflow: hidden;
}
.review-card::before {
  content: '\201C'; position: absolute; top: -14px; right: 18px; font-family: var(--font-display);
  font-size: 130px; color: rgba(201, 169, 106, .14); line-height: 1;
}
.review-stars { display: flex; gap: 3px; color: var(--gold); font-size: 17px; }
.review-text { color: var(--muted-2); font-size: 15px; flex: 1; font-style: italic; }
.review-who { display: flex; align-items: center; gap: 13px; }
.review-who img { width: 46px; height: 46px; border-radius: 50%; border: 2px solid rgba(201, 169, 106, .5); }
.review-who b { color: var(--bone); display: block; font-size: 15px; }
.review-who span { color: var(--muted-2); font-size: 12.5px; display: flex; align-items: center; gap: 5px; }
.review-who span i { color: var(--gold); }

/* ---------- Sayfalama ---------- */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 46px; flex-wrap: wrap; }
.pg-item {
  min-width: 44px; height: 44px; padding-inline: 12px; border-radius: 12px; display: inline-flex;
  align-items: center; justify-content: center; font-weight: 700; font-size: 14.5px;
  background: var(--paper); border: 1px solid var(--line); color: var(--ink); transition: all .2s;
}
.pg-item:hover { border-color: var(--gold); color: var(--gold-dark); }
.pg-item.current { background: var(--ink); color: var(--gold-2); border-color: var(--ink); }
.pg-item.disabled { opacity: .4; pointer-events: none; }
.pg-item.dots { border: none; background: none; }

/* ---------- Flash / toast ---------- */
.toasts { position: fixed; top: 92px; right: 22px; z-index: 500; display: flex; flex-direction: column; gap: 10px; max-width: min(400px, calc(100vw - 44px)); }
.toast {
  display: flex; gap: 12px; align-items: flex-start; padding: 15px 18px; border-radius: 14px;
  background: var(--ink); color: var(--bone); box-shadow: var(--shadow-lg); font-size: 14.5px;
  border-left: 3px solid var(--gold); animation: toastIn .45s var(--ease);
}
.toast i { font-size: 20px; color: var(--gold-2); margin-top: 1px; }
.toast.t-success { border-left-color: var(--green); } .toast.t-success i { color: #6fd6a8; }
.toast.t-error { border-left-color: var(--red); } .toast.t-error i { color: #ff9b9b; }
@keyframes toastIn { from { opacity: 0; transform: translateX(24px); } }

/* ---------- Telefonla arama butonu (sayfayı takip eder) & yukarı ---------- */
.call-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 300;
  display: flex; align-items: center;
  height: 60px; border-radius: 999px; color: var(--gold-2);
  -webkit-tap-highlight-color: transparent;
}
/* Çekirdek: yavaşça dönen altın conic halka + koyu zemin + çalan telefon */
.call-fab .cf-core {
  position: relative; z-index: 2; width: 60px; height: 60px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 25px;
  background: linear-gradient(160deg, var(--ink-2), var(--ink));
  box-shadow: 0 14px 38px rgba(10, 18, 32, .5), inset 0 1px 0 rgba(246, 244, 239, .08);
  transition: transform .3s var(--ease);
}
.call-fab .cf-core::before {
  content: ''; position: absolute; inset: -2px; z-index: -1; border-radius: 50%;
  background: conic-gradient(from 0deg,
    var(--gold-dark), var(--gold-2), rgba(246, 244, 239, .9), var(--gold), var(--gold-dark));
  animation: cfSpin 4.5s linear infinite;
}
.call-fab .cf-core::after {
  /* Halkanın içi: conic degrade sadece 2px'lik çerçeve olarak görünür */
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: 50%;
  background: linear-gradient(160deg, var(--ink-2), var(--ink));
}
@keyframes cfSpin { to { transform: rotate(360deg); } }
/* Ahize periyodik olarak "çalar" */
.call-fab .cf-core i { animation: cfRingring 3.4s ease-in-out infinite; transform-origin: 50% 42%; }
@keyframes cfRingring {
  0%, 64%, 100% { transform: rotate(0); }
  68% { transform: rotate(-14deg); } 72% { transform: rotate(12deg); }
  76% { transform: rotate(-10deg); } 80% { transform: rotate(8deg); }
  84% { transform: rotate(-5deg); }  88% { transform: rotate(0); }
}
/* Nabız halkaları */
.call-fab .cf-ring {
  position: absolute; right: 0; top: 0; width: 60px; height: 60px; border-radius: 50%;
  border: 2px solid rgba(201, 169, 106, .55); animation: cfPulse 2.6s var(--ease) infinite; pointer-events: none;
}
.call-fab .cf-ring-2 { animation-delay: 1.3s; }
@keyframes cfPulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }
/* Numara etiketi: hover/odakta soldan zarifçe açılır */
.call-fab .cf-label {
  z-index: 1; max-width: 0; overflow: hidden; white-space: nowrap;
  color: var(--gold-2); font-weight: 700; font-size: 14.5px; letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(160deg, var(--ink-2), var(--ink));
  border: 1px solid rgba(201, 169, 106, .4); border-right: none;
  border-radius: 999px 0 0 999px; height: 46px; display: flex; align-items: center;
  margin-right: -30px; padding: 0; opacity: 0;
  transition: max-width .35s var(--ease), opacity .25s, padding .35s var(--ease);
}
.call-fab:hover .cf-label, .call-fab:focus-visible .cf-label {
  max-width: 200px; opacity: 1; padding: 0 40px 0 20px;
}
.call-fab:hover .cf-core { transform: scale(1.08); color: var(--bone); }
.call-fab:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.call-fab:active .cf-core { transform: scale(.96); }

@media (max-width: 640px) {
  .call-fab { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); height: 56px; }
  .call-fab .cf-core, .call-fab .cf-ring { width: 56px; height: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  .call-fab .cf-ring { animation: none; opacity: 0; }
  .call-fab .cf-core::before, .call-fab .cf-core i { animation: none; }
}
.backtotop {
  position: fixed; right: 30px; bottom: 96px; z-index: 300; width: 46px; height: 46px; border-radius: 12px;
  background: var(--ink); color: var(--gold-2); border: 1px solid rgba(201, 169, 106, .4); font-size: 20px;
  display: grid; place-items: center; opacity: 0; pointer-events: none; transform: translateY(12px);
  transition: opacity .3s, transform .3s;
}
.backtotop.show { opacity: 1; pointer-events: auto; transform: none; }

/* ---------- Çerez bandı ---------- */
.cookie-bar {
  position: fixed; left: 22px; bottom: 22px; z-index: 400; max-width: min(430px, calc(100vw - 44px));
  background: var(--ink); color: var(--muted-2); border: 1px solid rgba(201, 169, 106, .35);
  border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-lg); font-size: 14px;
  display: none; gap: 14px; flex-direction: column;
}
.cookie-bar.show { display: flex; animation: toastIn .5s var(--ease); }
.cookie-bar strong { color: var(--bone); display: flex; align-items: center; gap: 8px; font-size: 15px; }
.cookie-bar strong i { color: var(--gold); font-size: 20px; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Rezervasyon widget ---------- */
.booking-widget {
  /* Işıma arka planın parçası — böylece overflow:hidden gerekmez ve açılır listeler kırpılmaz */
  background:
    radial-gradient(38% 78% at 10% -18%, rgba(201, 169, 106, .16), transparent 62%),
    linear-gradient(160deg, var(--ink-2), var(--ink));
  border: 1px solid rgba(201, 169, 106, .3);
  border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 38px); color: var(--bone);
  box-shadow: var(--shadow-lg); position: relative; overflow: visible;
}
.booking-widget .field > label { color: var(--muted-2); }
.booking-widget .field > label i { color: var(--gold); }
.booking-widget .input {
  background: rgba(255, 255, 255, .05); border-color: var(--line-d); color: var(--bone);
}
.booking-widget .input:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201, 169, 106, .14); }
.booking-widget select.input option { background: var(--ink-2); color: var(--bone); }
/* overflow-x:clip — olası bir min-content regresyonunda bile kart sağdan taşamaz;
   clip scroll bağlamı oluşturmaz, dikey açılan .ts-dropdown etkilenmez */
.booking-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: 18px; align-items: end; position: relative; z-index: 2; overflow-x: clip; }
/* minmax(0,…) + min-width:0: input/select min-content genişliği dar ekranda
   sütunu büyütüp kartı taşıramaz (mobil "kayma" güvencesi) */
.booking-grid .field, .booking-grid input, .booking-grid select, .booking-grid .input { min-width: 0; }
.booking-grid .bw-dt { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 8px; min-width: 0; }
@media (max-width: 1100px) { .booking-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .booking-grid .btn { grid-column: 1/-1; } }
@media (max-width: 560px) { .booking-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Swiper teması ---------- */
.swiper-pagination-bullet { background: var(--muted-2); opacity: .5; width: 9px; height: 9px; transition: all .3s; }
.swiper-pagination-bullet-active { background: var(--gold); opacity: 1; width: 28px; border-radius: 6px; }
.swiper-button-next, .swiper-button-prev {
  width: 52px; height: 52px; border-radius: 50%; background: rgba(10, 18, 32, .5); backdrop-filter: blur(8px);
  border: 1px solid rgba(201, 169, 106, .4); color: var(--gold-2); transition: background .25s, color .25s;
}
.swiper-button-next:hover, .swiper-button-prev:hover { background: var(--gold); color: var(--ink); }
.swiper-button-next::after, .swiper-button-prev::after { font-size: 18px; font-weight: 800; }

/* ---------- Flatpickr teması ---------- */
.flatpickr-calendar { border-radius: 14px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); font-family: var(--font-body); }
.flatpickr-day.selected, .flatpickr-day.selected:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); font-weight: 700; }
.flatpickr-day.today { border-color: var(--gold); }
.flatpickr-day:hover { background: rgba(201, 169, 106, .15); border-color: transparent; }
.flatpickr-months .flatpickr-month, .flatpickr-current-month { font-family: var(--font-body); }

/* ---------- Tom Select teması ---------- */
.ts-wrapper { min-width: 0; }
.ts-control {
  border: 1.5px solid var(--line) !important; border-radius: var(--radius-sm) !important;
  padding: 12px 16px !important; min-height: 48px; align-items: center;
  font-size: 15px !important; background: var(--paper) !important; color: var(--ink) !important; box-shadow: none !important;
}
.ts-control > input { font-size: 15px !important; }
/* Seçim yapıldığında alan ikinci satıra taşıp yüksekliği bozmasın */
.ts-wrapper.single .ts-control { flex-wrap: nowrap !important; overflow: hidden; }
.ts-wrapper.single .ts-control .item {
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%;
}
.ts-wrapper.single .ts-control > input { min-width: 0 !important; width: 0 !important; flex: 1 1 auto; }
.ts-wrapper.single.input-active .ts-control > input { width: auto !important; min-width: 45% !important; }
.ts-wrapper.single.input-active .ts-control .item { max-width: 45%; opacity: .55; }
.ts-wrapper.single .ts-control { padding-right: 38px !important; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235B6B84' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") !important; background-repeat: no-repeat !important; background-position: right 15px center !important; }
.ts-wrapper.single.dropdown-active .ts-control { border-radius: var(--radius-sm) !important; }
.ts-control::after, .ts-wrapper.single .ts-control:after { display: none !important; }
.ts-wrapper.focus .ts-control { border-color: var(--gold) !important; box-shadow: 0 0 0 4px rgba(201, 169, 106, .15) !important; }
.ts-dropdown {
  border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); font-size: 14.5px;
  font-family: var(--font-body); overflow: hidden; z-index: 600; margin-top: 6px; background: var(--paper); color: var(--ink);
}
.ts-dropdown .option { padding: 10px 15px; cursor: pointer; }
.ts-dropdown .active { background: rgba(201, 169, 106, .16); color: var(--ink); }
.ts-dropdown .optgroup-header { font-weight: 800; font-size: 11.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--gold-dark); background: var(--bone); padding: 8px 15px; position: sticky; top: 0; z-index: 2; }
.ts-dropdown .ts-dropdown-content { max-height: 320px; overscroll-behavior: contain; }

/* Koyu zeminli rezervasyon widget'ı içinde açılır liste de koyu olsun */
.booking-widget .ts-control { background-color: rgba(255, 255, 255, .05) !important; border-color: var(--line-d) !important; color: var(--bone) !important; }
.booking-widget .ts-control > input, .booking-widget .ts-control > input::placeholder { color: var(--bone) !important; opacity: .95; }
.booking-widget .ts-wrapper.single .ts-control { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C9A96A' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") !important; }
.booking-widget .ts-dropdown {
  background: var(--ink-3); color: var(--bone); border-color: rgba(201, 169, 106, .3);
  box-shadow: 0 26px 60px rgba(4, 8, 16, .6);
}
.booking-widget .ts-dropdown .option { color: rgba(246, 244, 239, .88); }
.booking-widget .ts-dropdown .option:hover, .booking-widget .ts-dropdown .active {
  background: rgba(201, 169, 106, .22); color: var(--bone);
}
.booking-widget .ts-dropdown .optgroup-header { background: var(--ink); color: var(--gold-2); border-bottom: 1px solid rgba(201, 169, 106, .18); }
.booking-widget .ts-dropdown .optgroup + .optgroup { border-top: 1px solid rgba(255, 255, 255, .06); }
.booking-widget .ts-dropdown .no-results { color: var(--muted-2) !important; }

/* ---------- Tablolar (public) ---------- */
.table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.table th { text-align: left; padding: 12px 14px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); border-bottom: 2px solid var(--line); }
.table td { padding: 13px 14px; border-bottom: 1px solid var(--line); }

/* ---------- Reveal animasyonları ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); }
html.no-js [data-reveal], html.reveal-off [data-reveal] { opacity: 1; transform: none; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--muted-2); position: relative; overflow: hidden; }
.footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 169, 106, .55), transparent);
}
.footer-watermark {
  position: absolute; right: -20px; bottom: -60px; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(120px, 18vw, 260px); color: rgba(255, 255, 255, .022); letter-spacing: .1em; pointer-events: none; user-select: none; line-height: 1;
}
.footer-main { padding: clamp(56px, 7vw, 90px) 0 40px; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 44px; position: relative; }
@media (max-width: 1080px) { .footer-main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .footer-main { grid-template-columns: 1fr; } }
.footer h4 { color: var(--bone); font-size: 17px; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.footer h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 30px; height: 2px; background: var(--gold); border-radius: 2px; }
.footer-brand p { font-size: 14.5px; margin: 18px 0 22px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.footer-links a { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; transition: color .2s, padding-left .2s; }
.footer-links a:hover { color: var(--gold-2); padding-left: 5px; }
.footer-links i { font-size: 12px; color: var(--gold-dark); }
.footer-contact { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 15px; font-size: 14.5px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact i { color: var(--gold); font-size: 19px; margin-top: 2px; }
.footer-contact a:hover { color: var(--gold-2); }
.social-row { display: flex; gap: 10px; }
.social-row a {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 19px;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line-d); color: var(--muted-2);
  transition: all .25s var(--ease);
}
.social-row a:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); transform: translateY(-3px); }
.newsletter-form { display: flex; margin-top: 16px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line-d); border-radius: 999px; padding: 5px; }
.newsletter-form input { flex: 1; background: none; border: none; outline: none; color: var(--bone); padding: 9px 16px; font-size: 14px; font-family: inherit; min-width: 0; }
.newsletter-form button { border: none; border-radius: 999px; padding: 10px 20px; background: linear-gradient(135deg, var(--gold-2), var(--gold-dark)); color: var(--ink); font-weight: 800; font-size: 13.5px; display: flex; align-items: center; gap: 6px; }
.footer-bottom { border-top: 1px solid var(--line-d); padding: 22px 0; position: relative; }
.footer-bottom .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; }
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-legal a:hover { color: var(--gold-2); }
.payment-row { display: flex; gap: 8px; flex-wrap: wrap; }
.payment-row span {
  padding: 5px 11px; border: 1px solid var(--line-d); border-radius: 8px; font-size: 11px; font-weight: 800;
  letter-spacing: .06em; color: var(--muted-2); background: rgba(255, 255, 255, .03);
}

/* ---------- Yardımcılar ---------- */
.text-gold { color: var(--gold-dark); } .section-ink .text-gold { color: var(--gold-2); }
.text-muted { color: var(--muted); }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.flex { display: flex; } .aic { align-items: center; } .jcb { justify-content: space-between; } .gap { gap: 16px; } .wrap { flex-wrap: wrap; }
.divider-gold { width: 60px; height: 2px; background: linear-gradient(90deg, var(--gold), transparent); border: none; margin: 20px 0; }
.empty-state { text-align: center; padding: 70px 20px; color: var(--muted); }
.empty-state i { font-size: 60px; color: var(--gold); display: block; margin-bottom: 16px; }
.empty-state h3 { color: var(--ink); }

@media (max-width: 640px) {
  .toasts { top: auto; bottom: 96px; }
  .cookie-bar { left: 12px; bottom: 12px; }
  .wa-float { right: 14px; bottom: 14px; }
  .backtotop { right: 18px; bottom: 86px; }
}

/* Açık lokasyon listesi her zaman üstte kalsın.
   .car-book > * ve benzeri kurallar her alana z-index verip ayrı yığılma bağlamı
   yarattığından, yalnız .ts-dropdown'a z-index vermek yetmiyor: listeyi içeren
   ata öğeler de yükseltilir (JS 'ts-open' ekler, :has() yedek olarak çalışır). */
.ts-open,
.field:has(.ts-wrapper.dropdown-active),
.car-book > *:has(.ts-wrapper.dropdown-active),
.booking-widget > *:has(.ts-wrapper.dropdown-active),
.cars-filter > *:has(.ts-wrapper.dropdown-active) {
  position: relative;
  z-index: 900;
}
.ts-wrapper.dropdown-active { position: relative; z-index: 900; }
/* Açık lokasyon listesi varken yüzen arama butonu gizlenir (listeyi kapatıyordu) */
.ts-any-open .call-fab, .ts-any-open .backtotop { opacity: 0; pointer-events: none; }

/* == VLR-HEMEN-ARA:BEGIN == */
/* Araç kartı "Hemen Ara" güncellemesi — m.php (v2) ile eklendi.
   Tüm seçiciler vlr- ön ekli; mevcut sınıf kuralları değiştirilmez. */

/* Görsel bağlantısı: kart görselindeki gradyan katman (.car-card-media::after)
   tıklamayı yutuyordu; bağlantı katman sırasında onun üstüne alınır.
   Rozet (2), kategori (2) ve favori (3) katmanları üstte kalmayı sürdürür. */
.car-card-media a.vlr-media-call {
  position: absolute; inset: 0; z-index: 1; display: block;
}
/* Görsel, kartın 16/10 kutusunu eskisi gibi doldurur (bağlantı artık konumlandırılmış
   olduğu için img'nin height:100% referansı bu kutudur). */
.car-card-media a.vlr-media-call > img { width: 100%; height: 100%; object-fit: cover; }
/* Rozet ve kategori etiketi yalnızca görsel bilgidir; tıklamayı görsele geçirirler
   (favori kalbi tıklanabilir kalır). */
.car-card-media:has(a.vlr-media-call) > .badge,
.car-card-media:has(a.vlr-media-call) > .car-card-cat { pointer-events: none; }

/* Fiyat + butonlar: sığdığı sürece tek satır, sığmazsa butonlar alt satıra geçer */
.car-card-foot:has(.vlr-card-actions) { flex-wrap: wrap; row-gap: 12px; }
.vlr-card-actions { display: flex; align-items: center; gap: 8px; flex: 0 1 auto; margin-left: auto; }
.vlr-card-actions .btn { flex: 0 0 auto; padding: 10px 13px; font-size: 13px; }

/* "Hemen Ara" — sitenin altın paletiyle uyumlu, "İncele" (lacivert) ile dengeli */
.vlr-btn-call {
  background: rgba(201, 169, 106, .12);
  color: var(--gold-dark, #A8874B);
  border: 1px solid rgba(201, 169, 106, .55);
  font-weight: 700;
}
.vlr-btn-call i { font-size: 1.05em; }
.vlr-btn-call:hover {
  background: linear-gradient(135deg, var(--gold-2, #E3C98F), var(--gold, #C9A96A) 55%, var(--gold-dark, #A8874B));
  color: var(--ink, #0A1220);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold, 0 10px 30px rgba(201, 169, 106, .35));
}

/* Dar ekranda iki buton tam satır ve eşit genişlikte */
@media (max-width: 420px) {
  .vlr-card-actions { width: 100%; margin-left: 0; }
  .vlr-card-actions .btn { flex: 1 1 0; min-width: 0; justify-content: center; }
}
/* == VLR-HEMEN-ARA:END == */
