/* ==========================================================================
   script5 — koyu lacivert / amber / whatsapp yeşili kiralama şablonu
   ========================================================================== */

:root {
  --bg: #12151b;
  --bg-2: #1a1e27;
  --bg-3: #21262f;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --white: #ffffff;
  --muted: #9aa1ad;
  --muted-2: #6d7480;

  --amber: #f2a93d;
  --amber-dark: #d68f22;
  --amber-ink: #241a06;

  --green: #25d366;
  --green-dark: #1eb958;

  --paper: #f6f4ef;
  --ink: #14171d;
  --ink-soft: #565b64;

  --font-display: 'Sora', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  --fs-hero: clamp(2.2rem, 4.6vw, 3.4rem);
  --fs-h1: clamp(1.9rem, 3.4vw, 2.6rem);
  --fs-h2: clamp(1.5rem, 2.6vw, 1.9rem);

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 22px 50px -20px rgba(0, 0, 0, 0.55);
  --ease: cubic-bezier(0.22, 0.68, 0.32, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; }
i { line-height: 1; }

:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -0.01em; }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before { content: ''; width: 20px; height: 2px; background: currentColor; }

.section { padding: 25px 0; }
.section--tight { padding: 48px 0; }
.section--light { background: var(--paper); color: var(--ink); }
.section--light .muted { color: var(--ink-soft); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 34px;
}
.section-head h2 { font-size: var(--fs-h2); margin-top: 8px; }
.section-head .see-all { font-weight: 700; color: var(--amber); display: inline-flex; align-items: center; gap: 6px; }
.section-head .see-all:hover { text-decoration: underline; }

.muted { color: var(--muted); }

/* --- Butonlar --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 24px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--amber { background: var(--amber); color: var(--amber-ink); box-shadow: 0 12px 28px -10px rgba(242, 169, 61, 0.55); }
.btn--amber:hover { background: var(--amber-dark); }

.btn--green { background: var(--green); color: #06210f; box-shadow: 0 12px 28px -10px rgba(37, 211, 102, 0.5); }
.btn--green:hover { background: var(--green-dark); }

.btn--outline { border-color: var(--line-strong); color: var(--white); background: rgba(255, 255, 255, 0.03); }
.btn--outline:hover { background: rgba(255, 255, 255, 0.08); }

.btn--outline-ink { border-color: rgba(20, 23, 29, 0.2); color: var(--ink); }
.btn--outline-ink:hover { background: rgba(20, 23, 29, 0.06); }

.btn--sm { padding: 10px 16px; font-size: 0.8rem; }
.btn--block { width: 100%; }

/* ==========================================================================
   NAV
   ========================================================================== */

.nav { position: sticky; top: 0; z-index: 500; background: rgba(18, 21, 27, 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; }

.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 42px; height: 42px;
  background: linear-gradient(155deg, var(--amber), var(--amber-dark));
  clip-path: polygon(50% 0%, 100% 22%, 100% 70%, 50% 100%, 0% 70%, 0% 22%);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; color: var(--amber-ink); font-size: 1.05rem;
  flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.12rem; color: var(--white); }
.brand-tag { font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); font-weight: 700; }

.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--muted); font-size: 0.92rem; font-weight: 600; transition: color 0.2s var(--ease); }
.nav-links a:hover, .nav-links a.is-active { color: var(--white); }

.nav-actions { display: flex; align-items: center; gap: 14px; }

/* Telefon ve WhatsApp aynı bileşeni paylaşır — hangisi aktifse ayni gorsel agirlikta gorunur */
.nav-contact { display: flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; border: 1px solid var(--line); transition: border-color 0.2s var(--ease); }
.nav-contact:hover { border-color: var(--line-strong); }
.nav-contact-ic {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; color: var(--amber-ink);
}
.nav-contact-ic--amber { background: var(--amber); }
.nav-contact-ic--green { background: var(--green); color: #06210f; }
.nav-contact-text { display: flex; flex-direction: column; line-height: 1.25; }
.nav-contact-text small { font-size: 0.6rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2); font-weight: 700; }
.nav-contact-text strong { font-family: var(--font-display); font-size: 0.86rem; color: var(--white); }

.nav-burger { display: none; flex-direction: column; gap: 4px; background: none; border: 0; padding: 6px; }
.nav-burger span { width: 22px; height: 2px; background: var(--white); }

.mobile-menu { display: none; flex-direction: column; background: var(--bg-2); border-top: 1px solid var(--line); }
.mobile-menu.is-open { display: flex; }
.mobile-menu a { padding: 14px 24px; color: var(--muted); border-bottom: 1px solid var(--line); font-size: 0.95rem; font-weight: 600; }

@media (max-width: 980px) {
  .nav-links, .nav-contact { display: none; }
  .nav-burger { display: flex; }
}

/* ==========================================================================
   HERO
   ========================================================================== */

.hero { position: relative; padding: 36px 0 12px; overflow: hidden; }
.hero::before {
  content: '';
  position: absolute; inset: -20% -10% auto auto;
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(242, 169, 61, 0.16), transparent 65%);
  pointer-events: none;
}

.hero-grid { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; position: relative; max-width: 640px; }

.hero-title { font-size: var(--fs-hero); font-weight: 700; margin: 16px 0 18px; }
.hero-title em { font-style: normal; color: var(--amber); }

.hero-copy { color: var(--muted); font-size: 1.06rem; max-width: 480px; margin-bottom: 18px; }

.hero-actions { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.hero-actions .btn { width: 100%; }
@media (min-width: 560px) {
  .hero-actions { flex-direction: row; flex-wrap: wrap; }
  .hero-actions .btn { width: auto; }
}

.hero-trustline {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: 0.84rem; color: var(--muted);
}
.hero-trustline i { color: var(--amber); }
.hero-trustline span { color: var(--line-strong); }

/* ==========================================================================
   ARAÇ KARTLARI
   ========================================================================== */

.fleet-layout { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
@media (max-width: 1080px) { .fleet-layout { grid-template-columns: 1fr; } }

.fleet-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 640px) { .fleet-grid { grid-template-columns: 1fr; } }
.fleet-grid--wide { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { .fleet-grid--wide { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .fleet-grid--wide { grid-template-columns: 1fr; } }

.car-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
  animation: cardIn 0.45s var(--ease) both;
}
@keyframes cardIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.car-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }

.car-media { position: relative; aspect-ratio: 16/10; background: var(--bg-3); }
.car-media img { width: 100%; height: 100%; object-fit: cover; }
.car-badge {
  position: absolute; top: 12px; left: 12px;
  background: rgba(18, 21, 27, 0.85);
  backdrop-filter: blur(4px);
  color: var(--white);
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  padding: 5px 10px; border-radius: 999px;
}

.car-body { padding: 16px 18px 18px; }
.car-name { font-size: 1.02rem; margin-bottom: 4px; }
.car-specs { font-size: 0.8rem; color: var(--muted); margin-bottom: 12px; }
.car-specs span:not(:last-child)::after { content: '|'; margin: 0 6px; color: var(--line-strong); }

.car-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.car-price { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; color: var(--white); }
.car-price small { font-family: var(--font-body); font-weight: 500; font-size: 0.72rem; color: var(--muted); }
.car-deposit { font-size: 0.7rem; line-height: 1.35; color: var(--muted-2); text-align: right; }
.car-actions { display: flex; gap: 8px; margin-top: 12px; }
.car-actions .btn { flex: 1; padding: 10px 10px; font-size: 0.76rem; }

/* ==========================================================================
   YAN PANEL — güven listesi + telefon önizleme + istatistik
   ========================================================================== */

.trust-panel { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; position: sticky; top: 90px; }
.trust-panel h3 { font-size: 1.15rem; margin-bottom: 16px; }

.trust-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.trust-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.88rem; color: var(--muted); }
.trust-list i { color: var(--green); font-size: 1.05rem; flex-shrink: 0; margin-top: 1px; }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; text-align: center; border-top: 1px solid var(--line); padding-top: 20px; }
.stat-row strong { display: block; font-family: var(--font-display); font-size: 1.25rem; }
.stat-row span { font-size: 0.66rem; color: var(--muted-2); text-transform: uppercase; letter-spacing: 0.04em; }

/* ==========================================================================
   GATE / FİLTRE PİLLERİ (araclar sayfası)
   ========================================================================== */

.gates { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
.gate {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--line-strong);
  background: var(--bg-2);
  color: var(--muted);
  transition: all 0.2s var(--ease);
}
.gate:hover { color: var(--white); border-color: var(--white); }
.gate.is-active { background: var(--amber); border-color: var(--amber); color: var(--amber-ink); }

/* ==========================================================================
   ALT ÇAĞRI ÇUBUĞU (bottom cta bar)
   ========================================================================== */

.bottom-cta {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
}
.bottom-cta .container { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; text-align: center; }
.bottom-cta-title { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; }
.bottom-cta-divider { color: var(--muted-2); font-size: 0.85rem; }
.bottom-cta-office { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 0.85rem; }
.bottom-cta-office i { color: var(--amber); }

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer { background: var(--bg); padding: 56px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.footer h4 { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--white); margin-bottom: 16px; font-family: var(--font-display); }
.footer ul li { margin-bottom: 10px; font-size: 0.9rem; color: var(--muted); }
.footer a:hover { color: var(--amber); }
.footer p { color: var(--muted); }

.social-icons { display: flex; gap: 8px; margin-top: 14px; }
.social-icon {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--bg-3); color: var(--muted);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.social-icon:hover { background: var(--amber); color: var(--amber-ink); }

.footer-bottom {
  border-top: 1px solid var(--line);
  margin-top: 40px;
  padding-top: 22px;
  font-size: 0.8rem;
  color: var(--muted-2);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ==========================================================================
   İÇERİK SAYFALARI (ortak)
   ========================================================================== */

.page-hero { padding: 54px 0 42px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: var(--fs-h1); margin-top: 10px; }
.page-hero p { color: var(--muted); max-width: 560px; margin-top: 10px; }

.content-block { max-width: 760px; }
.content-block p { margin-bottom: 16px; color: var(--muted); }
.content-block h2 { font-size: 1.3rem; margin: 30px 0 12px; }
.content-block ul li { position: relative; padding-left: 20px; margin-bottom: 8px; color: var(--muted); }
.content-block ul li::before { content: '\2013'; position: absolute; left: 0; color: var(--amber); }

.info-table { width: 100%; border-collapse: collapse; margin: 20px 0 30px; }
.info-table tr { border-bottom: 1px solid var(--line); }
.info-table th, .info-table td { text-align: left; padding: 12px 0; font-size: 0.92rem; }
.info-table th { color: var(--muted); font-weight: 500; width: 220px; }

.info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 30px 0; }
@media (max-width: 760px) { .info-cards { grid-template-columns: 1fr; } }
.info-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.info-card .eyebrow { margin-bottom: 10px; }
.info-card a:not(.btn) { color: var(--amber); }
.info-card a:not(.btn):hover { text-decoration: underline; }

details.faq { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 20px; margin-bottom: 12px; background: var(--bg-2); }
details.faq summary { cursor: pointer; font-family: var(--font-display); font-weight: 700; list-style: none; display: flex; justify-content: space-between; align-items: center; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: '+'; font-size: 1.3rem; color: var(--amber); transition: transform 0.2s var(--ease); }
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq p { margin-top: 12px; color: var(--muted); }

.placeholder-note { background: var(--bg-2); border-left: 3px solid var(--amber); padding: 12px 16px; font-size: 0.85rem; color: var(--muted); margin-bottom: 24px; }

/* ==========================================================================
   MOBİL SABİT ÇUBUK + FAB
   ========================================================================== */

.sticky-mobile { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 900; background: var(--bg-2); border-top: 1px solid var(--line-strong); padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); gap: 10px; }
.sticky-mobile .btn { flex: 1; }
@media (max-width: 760px) { .sticky-mobile { display: flex; } body { padding-bottom: 64px; } }

.fab-stack { position: fixed; right: 22px; bottom: 26px; z-index: 900; display: flex; flex-direction: column; gap: 12px; transition: bottom 0.3s var(--ease); }
@media (max-width: 760px) { .fab-stack { display: none; } }

/* Cerez banner acikken butonlarin altinda kalmasin diye yukari kayar */
body:has(#cookieBanner.show) .fab-stack { bottom: 150px; }

.fab { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.35rem; box-shadow: var(--shadow); transition: transform 0.2s var(--ease); }
.fab:hover { transform: translateY(-3px) scale(1.05); }
.fab--wa { background: var(--green); color: #06210f; }
.fab--phone { background: var(--amber); color: var(--amber-ink); }

/* ==========================================================================
   ÇEREZ BANNER
   ========================================================================== */

.cookie-banner { position: fixed; bottom: 14px; left: 14px; right: 14px; max-width: 420px; margin: 0 auto; background: var(--bg-2); color: var(--white); border: 1px solid var(--line-strong); border-radius: 10px; padding: 8px 10px; display: none; flex-direction: column; gap: 6px; z-index: 100000; font-size: 8.5px; box-shadow: var(--shadow); transition: bottom 0.3s var(--ease); }
.cookie-banner.show { display: flex; }
.cookie-text { line-height: 1.3; }
.cookie-text a { color: var(--amber); }
.cookie-buttons { display: flex; gap: 5px; }
.cookie-btn { padding: 4px 9px; font-size: 0.56rem; border: 1px solid var(--line-strong); background: transparent; color: var(--white); border-radius: 999px; font-family: var(--font-display); font-weight: 700; }
.cookie-accept { background: var(--amber); color: var(--amber-ink); border-color: var(--amber); }
@media (min-width: 640px) { .cookie-banner { flex-direction: row; align-items: center; justify-content: space-between; } }

/* Mobilde sabit alt cubugun (Ara / WhatsApp) ustunde kalmasin diye yukari kayar */
@media (max-width: 760px) {
  .cookie-banner { bottom: calc(78px + env(safe-area-inset-bottom, 0px)); }
}

/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .car-card { animation: none; opacity: 1; transform: none; transition: none; }
  .btn, .fab, .gate { transition: none; }
}
