/* ==========  Oto Galeri — Ortak Stil  ========== */
:root {
  --ink: #17181C;
  --ink-2: #26282E;
  --ink-3: #2E3036;
  --ground: #F5F3EF;
  --card: #FFFFFF;
  --line: #E4E0D8;
  --line-2: #D6D1C7;
  --muted: #5F5B53;
  --soft: #ECE8E0;
  --accent: #D11A2A;        /* Vurgu rengi: buradan değiştirin */
  --accent-dark: #A3111F;
  --accent-soft: #FDE9EB;
  --ok: #15803D;
  --warn: #B45309;
  --bad: #B91C1C;
  --whatsapp: #128C4A;
  --radius: 16px;
  --display: 'Barlow Condensed', sans-serif;
  --body: 'Manrope', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); background: var(--ground); color: var(--ink); line-height: 1.5; }
img { max-width: 100%; display: block; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: 12px;
  font-family: var(--body); font-size: 15px; font-weight: 700;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-outline-light { border-color: #4A4C52; color: #fff; }
.btn-outline-light:hover { border-color: #fff; color: #fff; }
.btn-outline { border-color: var(--line-2); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--ground); color: var(--ink); }
.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-whatsapp:hover { background: #0E7039; color: #fff; }
.btn-sm { min-height: 44px; padding: 0 18px; border-radius: 10px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header { background: var(--ink); color: #fff; position: sticky; top: 0; z-index: 50; }
.site-header .container { height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.logo:hover { color: #fff; }
.logo-mark {
  width: 44px; height: 44px; border-radius: 10px; background: var(--accent);
  display: grid; place-items: center; font-family: var(--display); font-size: 26px; font-weight: 700;
}
.logo-text { display: flex; flex-direction: column; }
.logo-name { font-family: var(--display); font-size: 26px; font-weight: 700; line-height: 1; letter-spacing: .02em; }
.logo-sub { font-size: 11px; color: #B9B5AC; letter-spacing: .14em; }

.nav { display: flex; align-items: center; gap: 32px; }
.nav a { color: #D6D3CC; text-decoration: none; font-size: 15px; font-weight: 600; position: relative; }
.nav a:hover, .nav a.active { color: #fff; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; background: var(--accent); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .3s cubic-bezier(.2, .7, .2, 1);
}
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.header-phone { color: #fff; border-color: #3A3C42; min-height: 44px; }

.menu-toggle {
  display: none; width: 44px; height: 44px; border-radius: 10px;
  background: transparent; border: 1px solid #3A3C42; color: #fff; cursor: pointer;
  align-items: center; justify-content: center;
}

/* ---------- Ortak bölüm ---------- */
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .16em; color: var(--accent); text-transform: uppercase; }
.eyebrow-light { color: #FF6B78; }
.h-display {
  margin: 0; font-family: var(--display); font-weight: 700; text-transform: uppercase;
  line-height: .95; letter-spacing: .005em;
}
.section { padding: 96px 0; }
.section-tight { padding-top: 96px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.section-head .h-display { font-size: clamp(40px, 5vw, 56px); margin-top: 10px; }
.section-head p { margin: 12px 0 0; max-width: 560px; color: var(--muted); font-size: 16px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; }
.link-arrow svg { width: 18px; height: 18px; }
.lead { font-size: 17px; line-height: 1.7; color: #4A463F; margin: 0; }

/* Fotoğraf yoksa gösterilen alan */
.ph { background: var(--soft); position: relative; display: grid; place-items: center; color: #A39E93; overflow: hidden; }
.ph-label { position: absolute; left: 16px; bottom: 14px; font-size: 12px; color: #6B665C; }
.ph img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }

/* ---------- Hero ---------- */
.hero { background: var(--ink); color: #fff; padding: 72px 0 120px; }
.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hero-text { display: flex; flex-direction: column; gap: 24px; }
.hero .hero-title { font-size: clamp(56px, 7.5vw, 104px); }
.hero p { margin: 0; max-width: 520px; font-size: 18px; line-height: 1.6; color: #C9C6BF; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero-media { height: 480px; border-radius: 20px; background: var(--ink-2); color: #6E6F75; }
.hero-media .ph-label { color: #9C9DA3; left: 24px; bottom: 20px; }
.hero-badge {
  position: absolute; right: 20px; top: 20px; z-index: 1;
  background: #fff; color: var(--ink); border-radius: 14px; padding: 14px 18px;
  display: flex; align-items: center; gap: 12px; box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
}
.hero-badge strong { font-family: var(--display); font-size: 40px; line-height: 1; color: var(--accent); }
.hero-badge span { font-size: 13px; font-weight: 600; line-height: 1.3; color: var(--muted); }

/* Hızlı arama */
.quick-search {
  display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px;
  background: var(--ink-2); border: 1px solid #34363C; border-radius: 16px; padding: 10px; max-width: 560px;
}
.quick-search label { display: flex; flex-direction: column; gap: 2px; background: var(--ink); border-radius: 10px; padding: 8px 12px; }
.quick-search label span { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #9C9DA3; }
.quick-search select { background: transparent; color: #fff; border: 0; font: 600 15px var(--body); padding: 2px 0; cursor: pointer; }
.quick-search select option { color: var(--ink); }
.quick-search .btn { height: 100%; }

/* ---------- Hizmetler ---------- */
.features { margin-top: -56px; position: relative; }
.features-box {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 32px 36px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
}
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature-icon {
  width: 48px; height: 48px; flex-shrink: 0; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent); display: grid; place-items: center;
}
.feature-icon svg { width: 24px; height: 24px; }
.feature h3 { margin: 0 0 4px; font-size: 17px; }
.feature p { margin: 0; font-size: 14px; color: var(--muted); }

/* ---------- Araç kartı ---------- */
.car-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.car-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; color: var(--ink); text-decoration: none;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.car-card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(23, 24, 28, .08); color: var(--ink); border-color: var(--line-2); }
.car-media { aspect-ratio: 4 / 3; }
.car-year {
  position: absolute; left: 16px; top: 16px; z-index: 1;
  background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; padding: 6px 10px; border-radius: 7px;
}
.car-badge {
  position: absolute; right: 16px; top: 16px; z-index: 1;
  background: #fff; color: var(--ok); font-size: 12px; font-weight: 700; letter-spacing: .04em;
  padding: 6px 10px; border-radius: 7px; border: 1px solid #CDE8D5;
}
.car-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 16px; flex-grow: 1; }
.car-brand { font-size: 12px; font-weight: 700; letter-spacing: .12em; color: #6B665C; text-transform: uppercase; }
.car-model { margin: 4px 0 0; font-size: 20px; font-weight: 700; line-height: 1.3; }
.car-specs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.car-specs li { padding: 6px 10px; background: var(--ground); border-radius: 7px; font-size: 13px; font-weight: 600; color: #3F3C36; }
.car-foot {
  margin-top: auto; padding-top: 16px; border-top: 1px solid #EEEAE3;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.car-price { font-family: var(--display); font-size: 30px; font-weight: 700; white-space: nowrap; }
.car-cta { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 15px; color: var(--accent); }
.car-cta svg { width: 18px; height: 18px; transition: transform .2s; }
.car-card:hover .car-cta svg { transform: translateX(3px); }

/* ---------- Marka şeridi ---------- */
.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.brand-chip {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px;
  color: var(--ink); text-decoration: none; transition: border-color .15s;
}
.brand-chip:hover { border-color: var(--ink); color: var(--ink); }
.brand-initial {
  grid-row: span 2; width: 44px; height: 44px; border-radius: 10px; background: var(--ground);
  display: grid; place-items: center; font-family: var(--display); font-size: 24px; font-weight: 700;
}
.brand-name { font-weight: 700; }
.brand-count { font-size: 13px; color: var(--muted); }

/* ---------- Süreç adımları ---------- */
.steps-section { background: var(--card); border-block: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: adim; list-style: none; margin: 0; padding: 0; }
.step { position: relative; padding-top: 20px; border-top: 2px solid var(--line); }
.step::before {
  counter-increment: adim; content: "0" counter(adim);
  display: block; font-family: var(--display); font-size: 48px; font-weight: 700; line-height: 1; color: var(--accent); margin-bottom: 14px;
}
.step:first-child { border-top-color: var(--accent); }
.step h3 { margin: 0 0 6px; font-size: 18px; }
.step p { margin: 0; font-size: 15px; color: var(--muted); }

/* ---------- CTA bandı ---------- */
.cta-band {
  background: var(--accent); color: #fff; border-radius: 20px; padding: 48px;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; right: -80px; bottom: -120px; width: 360px; height: 360px;
  border: 48px solid rgba(255, 255, 255, .08); border-radius: 50%;
}
.cta-band .h-display { font-size: clamp(36px, 4.5vw, 52px); }
.cta-band p { margin: 14px 0 0; font-size: 17px; color: #FFE3E6; max-width: 520px; }
.cta-band .eyebrow { color: #FFC7CD; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; position: relative; z-index: 1; }
.cta-band .btn-outline-light { border-color: rgba(255, 255, 255, .5); }

/* ---------- Hakkımızda ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-media { height: 460px; border-radius: 20px; background: #E3DED4; }
.about-text { display: flex; flex-direction: column; gap: 22px; }
.about-text .h-display { font-size: clamp(40px, 5vw, 56px); }
.about-text p { margin: 0; font-size: 17px; line-height: 1.7; color: #4A463F; }
.stats { display: flex; gap: 48px; padding-top: 8px; flex-wrap: wrap; }
.stat strong { display: block; font-family: var(--display); font-size: 44px; line-height: 1.1; }
.stat span { font-size: 14px; color: var(--muted); }

.stats-band { background: var(--ink); color: #fff; }
.stats-band .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-band .stat { padding: 40px 24px; border-left: 1px solid var(--ink-3); }
.stats-band .stat:first-child { border-left: 0; padding-left: 0; }
.stats-band .stat strong { font-size: 56px; color: #fff; }
.stats-band .stat span { color: #B9B5AC; font-size: 15px; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.info-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.info-card h3 { margin: 4px 0 0; font-size: 19px; }
.info-card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }

.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.timeline li { position: relative; padding-top: 32px; }
.timeline li::before { content: ""; position: absolute; left: 0; right: -24px; top: 7px; height: 2px; background: var(--line-2); }
.timeline li:last-child::before { right: 0; }
.timeline li::after { content: ""; position: absolute; left: 0; top: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--ground); border: 3px solid var(--accent); }
.timeline strong { display: block; font-family: var(--display); font-size: 32px; line-height: 1.1; }
.timeline h3 { margin: 6px 0 4px; font-size: 17px; }
.timeline p { margin: 0; font-size: 15px; color: var(--muted); }

.photo-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; gap: 16px; }
.photo-grid .ph { border-radius: 16px; background: #E3DED4; }
.photo-grid .ph:first-child { grid-row: span 2; }

/* ---------- İletişim ---------- */
.contact-box {
  background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 48px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
}
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-info .h-display { font-size: clamp(36px, 4vw, 48px); margin-top: 10px; }
.contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.contact-list li { display: flex; gap: 14px; }
.contact-list svg { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.contact-list strong { display: block; }
.contact-list span { color: #4A463F; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.map { min-height: 340px; border-radius: 14px; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: -52px; position: relative; }
.contact-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  display: flex; flex-direction: column; gap: 6px; color: var(--ink); text-decoration: none; transition: border-color .15s;
}
a.contact-card:hover { border-color: var(--ink); color: var(--ink); }
.contact-card .feature-icon { margin-bottom: 10px; }
.contact-card span { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact-card strong { font-size: 17px; line-height: 1.4; }

.contact-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: start; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 40px; }
.panel .h-display { font-size: clamp(32px, 3.5vw, 44px); margin: 10px 0 8px; }
.panel > p { margin: 0 0 28px; color: var(--muted); }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 10px;
  background: #fff; font: 500 15px var(--body); color: var(--ink);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(23, 24, 28, .08); }
.field small { font-weight: 500; color: var(--muted); }
.form-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-foot p { margin: 0; font-size: 13px; color: var(--muted); flex: 1 1 220px; }
/* Spam botlarını yakalayan gizli alan (honeypot); ekranda ve klavye sırasında yok */
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { grid-column: 1 / -1; margin: 0; padding: 14px 16px; background: #ECF7EF; color: var(--ok); border-radius: 10px; font-weight: 600; font-size: 14px; }

.hours { width: 100%; border-collapse: collapse; font-size: 15px; }
.hours td { padding: 12px 0; border-bottom: 1px solid #EEEAE3; }
.hours td:last-child { text-align: right; font-weight: 700; }
.hours tr:last-child td { border-bottom: 0; }
.hours .closed td:last-child { color: var(--muted); font-weight: 600; }

.side-stack { display: flex; flex-direction: column; gap: 28px; }
.side-stack .panel { padding: 32px; }
.panel h2.block-title { margin-bottom: 16px; }

.faq { display: flex; flex-direction: column; gap: 12px; max-width: 880px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 700; font-size: 17px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; font-weight: 500; color: var(--accent); line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0; padding: 0 24px 22px; color: #4A463F; line-height: 1.7; }

/* ---------- Sayfa başlığı ---------- */
.page-hero { background: var(--ink); color: #fff; padding: 56px 0 104px; }
.page-hero .container { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.page-hero h1 { font-size: clamp(56px, 7vw, 88px); margin: 14px 0; }
.page-hero p { margin: 0; max-width: 560px; font-size: 17px; color: #C9C6BF; }
.page-hero .updated { font-size: 15px; color: #C9C6BF; }
.page-hero.compact { padding-bottom: 88px; }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 18px; padding: 0; font-size: 14px; color: #9C9DA3; }
.breadcrumb a { color: #C9C6BF; text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: #5B5D63; }
.breadcrumb.dark { color: var(--muted); margin: 32px 0 24px; }
.breadcrumb.dark a { color: var(--muted); }
.breadcrumb.dark a:hover { color: var(--ink); }
.breadcrumb.dark li + li::before { color: var(--line-2); }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 600; }

/* ---------- Filtre çubuğu ---------- */
.filter-wrap { margin-top: -44px; position: relative; }
.filter-bar {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
}
.search { flex: 1 1 240px; height: 48px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 10px; display: flex; align-items: center; gap: 10px; color: #6B665C; }
.search:focus-within { border-color: var(--ink); }
.search svg { width: 18px; height: 18px; flex-shrink: 0; }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 15px var(--body); color: var(--ink); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  min-height: 44px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--line-2);
  background: #fff; color: #3F3C36; font: 600 14px var(--body); cursor: pointer;
}
.pill:hover { border-color: var(--ink); }
.pill.active { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 700; }
.sort { height: 48px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; font: 600 14px var(--body); color: var(--ink); cursor: pointer; }
.filter-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; width: 100%; }
.filter-row .pills { flex: 1 1 auto; }

.results-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 32px 0 20px; }
.results-meta { margin: 0; font-size: 15px; font-weight: 600; color: var(--muted); }
.clear-btn { background: none; border: 0; padding: 8px 0; font: 700 14px var(--body); color: var(--accent); cursor: pointer; }
.clear-btn:hover { color: var(--accent-dark); }
.empty { padding: 64px 24px; border: 1px dashed var(--line-2); border-radius: var(--radius); text-align: center; color: var(--muted); }
.empty p { margin: 0 0 16px; }

/* ---------- İlan detay ---------- */
.detail-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 32px;
  grid-template-areas: "gallery aside" "content aside";
  align-items: start;
}
.detail-gallery { grid-area: gallery; outline: 0; }
.detail-aside {
  grid-area: aside; position: sticky; top: 104px;
  max-height: calc(100vh - 128px); overflow-y: auto; overscroll-behavior: contain;
  scrollbar-width: thin; scrollbar-color: var(--line-2) transparent;
}
.detail-gallery, .detail-aside, .detail-content { min-width: 0; }
.detail-content { grid-area: content; display: flex; flex-direction: column; gap: 24px; }

.gallery-main { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--soft); }
.gallery-slide { position: absolute; inset: 0; }
.gallery-slide svg { width: 44%; height: auto; }
.gallery-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--ink);
  display: grid; place-items: center; cursor: pointer; box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
}
.gallery-nav:hover { background: #fff; }
.gallery-nav svg { width: 22px; height: 22px; }
.gallery-nav.prev { left: 16px; }
.gallery-nav.next { right: 16px; }
.gallery-count {
  position: absolute; right: 16px; bottom: 16px; z-index: 2;
  background: rgba(23, 24, 28, .8); color: #fff; font-size: 13px; font-weight: 700; padding: 6px 10px; border-radius: 7px;
}
.gallery-main .car-badge { left: 16px; right: auto; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 12px; margin-top: 12px; }
.thumb {
  aspect-ratio: 4 / 3; border-radius: 12px; border: 2px solid transparent; cursor: pointer; padding: 0;
  font: 600 12px var(--body); color: #6B665C;
}
.thumb span { padding: 6px; text-align: center; }
.thumb.active { border-color: var(--accent); }
.thumb:hover { border-color: var(--line-2); }
.thumb.active:hover { border-color: var(--accent); }

.aside-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.detail-title { margin: 0; font-size: 26px; line-height: 1.25; }
.detail-title .car-brand { display: block; margin-bottom: 8px; }
h1.eyebrow { margin: 0; }
.detail-price { padding: 18px 0; border-block: 1px solid #EEEAE3; }
.detail-price span { display: block; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.detail-price strong { font-family: var(--display); font-size: 52px; line-height: 1.05; }
.aside-actions { display: flex; flex-direction: column; gap: 10px; }
.aside-perks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: #4A463F; }
.aside-perks li { display: flex; gap: 10px; align-items: center; }
.aside-perks svg { width: 16px; height: 16px; color: var(--ok); flex-shrink: 0; }

.loan { border: 1px solid var(--line); border-radius: 14px; background: var(--ground); }
.loan summary { list-style: none; cursor: pointer; padding: 14px 16px; font-weight: 700; display: flex; justify-content: space-between; }
.loan summary::-webkit-details-marker { display: none; }
.loan summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; }
.loan[open] summary::after { content: "−"; }
.loan-body { padding: 0 16px 16px; display: flex; flex-direction: column; gap: 14px; }
.loan .field { font-size: 13px; }
.loan .field input[type="number"], .loan .field select { min-height: 44px; padding: 8px 12px; }
.field-row { display: flex; justify-content: space-between; gap: 8px; }
.field-row strong { color: var(--accent); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
input[type="range"] { accent-color: var(--accent); width: 100%; min-height: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; }
.loan-result { margin: 0; background: #fff; border-radius: 10px; padding: 6px 14px; }
.loan-result div { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #EEEAE3; font-size: 14px; }
.loan-result div:last-child { border-bottom: 0; }
.loan-result dt { color: var(--muted); }
.loan-result dd { margin: 0; font-weight: 700; }
.loan-result .big dd { font-family: var(--display); font-size: 26px; color: var(--accent); line-height: 1; }
.note { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.5; }
.note-ok { display: flex; gap: 8px; align-items: center; color: var(--ok); font-weight: 700; font-size: 15px; }
.note-ok svg { width: 18px; height: 18px; }

.key-specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.key-spec { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 2px; }
.key-spec svg { width: 24px; height: 24px; color: var(--accent); margin-bottom: 8px; }
.key-spec span { font-size: 13px; color: var(--muted); font-weight: 600; }
.key-spec strong { font-family: var(--display); font-size: 28px; line-height: 1.1; }

.detail-block { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 32px; }
.block-title { margin: 0 0 20px; font-family: var(--display); font-size: 30px; font-weight: 700; text-transform: uppercase; line-height: 1; }
.detail-text { margin: 0; font-size: 16px; line-height: 1.75; color: #3F3C36; }

.spec-table { margin: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
.spec-table div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid #EEEAE3; font-size: 15px; }
.spec-table dt { color: var(--muted); }
.spec-table dd { margin: 0; font-weight: 700; text-align: right; }

.expertise { display: grid; grid-template-columns: 220px 1fr; gap: 36px; align-items: start; }
.expertise-figure { margin: 0; }
.expertise-figure svg { width: 100%; height: auto; display: block; }
.expertise-figure text { font: 700 10px var(--body); letter-spacing: .14em; fill: #6B665C; }
.part { stroke: var(--line-2); stroke-width: 1.5; }
.part-orijinal { fill: #FAF8F5; }
.part-lokal { fill: #FCD9A0; }
.part-boyali { fill: #F59E0B; }
.part-degisen { fill: #DC2626; }
.glass { fill: #DCE3EA; }
.legend { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; margin-top: 16px; font-size: 13px; color: #4A463F; }
.legend span { display: flex; align-items: center; gap: 8px; }
.sw { width: 14px; height: 14px; border-radius: 4px; border: 1px solid var(--line-2); flex-shrink: 0; display: inline-block; }
.sw.part-orijinal { background: #FAF8F5; }
.sw.part-lokal { background: #FCD9A0; }
.sw.part-boyali { background: #F59E0B; }
.sw.part-degisen { background: #DC2626; }
.expertise-info { display: flex; flex-direction: column; gap: 18px; }
.record-list { margin: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.record-list div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.record-list div:last-child { border-bottom: 0; }
.record-list dt { color: #4A463F; }
.record-list dd { margin: 0; font-weight: 700; }
.ok { color: var(--ok); }
.warn { color: var(--warn); }
.bad { color: var(--bad); }
.part-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.part-list li { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.part-list strong { margin-left: auto; font-size: 14px; }

.equipment { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.equipment h3 { margin: 0 0 12px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.equipment ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.equipment li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.equipment svg { width: 16px; height: 16px; color: var(--ok); flex-shrink: 0; margin-top: 3px; }

.similar { padding: 88px 0 24px; }
.not-found { padding: 96px 0; max-width: 620px; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.not-found .h-display { font-size: clamp(44px, 6vw, 72px); }
.not-found p { margin: 0; font-size: 17px; color: var(--muted); }

.mobile-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  background: var(--card); border-top: 1px solid var(--line); padding: 12px 16px;
  align-items: center; gap: 10px; box-shadow: 0 -8px 24px rgba(23, 24, 28, .08);
}
.mobile-bar > div { flex: 1; min-width: 0; }
.mobile-bar span { display: block; font-size: 12px; color: var(--muted); font-weight: 600; }
.mobile-bar strong { font-family: var(--display); font-size: 24px; line-height: 1; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #C9C6BF; padding: 64px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 40px; }
.footer-brand p { margin: 18px 0 0; font-size: 15px; line-height: 1.7; max-width: 320px; }
.site-footer h4 { margin: 6px 0 16px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer-links a { color: #C9C6BF; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid var(--ink-3); margin-top: 48px; padding-top: 24px; font-size: 14px; color: #9C9DA3;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}

/* ---------- Mobil / Tablet ---------- */
@media (max-width: 1100px) {
  .detail-grid { grid-template-columns: minmax(0, 1fr) 360px; }
  .equipment { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1024px) {
  .car-grid { grid-template-columns: repeat(2, 1fr); }
  .features-box, .steps, .card-grid.cols-4, .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .header-phone { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-band .container { grid-template-columns: repeat(2, 1fr); }
  .stats-band .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stats-band .stat:nth-child(n+3) { border-top: 1px solid var(--ink-3); }
  .timeline { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .timeline li:nth-child(2)::before { right: 0; }
  .contact-layout { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "gallery" "aside" "content"; }
  .detail-aside { position: static; max-height: none; overflow: visible; }
  .cta-band { grid-template-columns: 1fr; }
  .cta-actions { justify-content: flex-start; }
}
@media (max-width: 820px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: 80px; left: 0; right: 0; background: var(--ink);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px;
    border-top: 1px solid var(--ink-3); display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--ink-3); }
  .nav a.active::after { display: none; }
  .nav a.active { color: #FF6B78; }
  .hero .container, .about, .contact-box { grid-template-columns: 1fr; }
  .hero-media { height: 300px; }
  .about-media { height: 300px; }
  .about { gap: 40px; }
  .section { padding: 72px 0; }
  .section-tight { padding-top: 0 }
  .contact-box, .panel { padding: 28px; }
  .cta-band { padding: 36px 28px; }
  .expertise { grid-template-columns: 180px 1fr; gap: 24px; }
  .photo-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 160px 160px; }
  .photo-grid .ph:first-child { grid-column: span 2; grid-row: auto; }
  .mobile-bar { display: flex; }
  .has-mobile-bar { padding-bottom: 76px; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .car-grid, .features-box, .steps, .card-grid, .card-grid.cols-4, .contact-cards, .timeline { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .hero { padding: 48px 0 100px; }
  .stats { gap: 32px; }
  .quick-search { grid-template-columns: 1fr 1fr; }
  .quick-search .btn { grid-column: 1 / -1; }
  .hero-badge { right: 12px; top: 12px; padding: 10px 14px; }
  .hero-badge strong { font-size: 32px; }
  .features-box { padding: 24px; }
  .form { grid-template-columns: 1fr; }
  .spec-table { grid-template-columns: 1fr; }
  .key-specs { grid-template-columns: 1fr 1fr; }
  .expertise { grid-template-columns: 1fr; }
  .expertise-figure { max-width: 220px; margin: 0 auto; }
  .equipment { grid-template-columns: 1fr; }
  .detail-block { padding: 24px 20px; }
  .aside-card { padding: 22px; }
  .detail-price strong { font-size: 44px; }
  .gallery-nav { width: 40px; height: 40px; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-band .container { grid-template-columns: 1fr 1fr; }
  .stats-band .stat { padding: 28px 16px; }
  .stats-band .stat strong { font-size: 44px; }
  .timeline li::before { display: none; }
  .filter-bar .sort { flex: 1 1 140px; }
  .page-hero h1 { font-size: 52px; }
}

/* =====================================================================
   ANİMASYONLAR & ANASAYFA EFEKTLERİ
   ===================================================================== */
:root { --ease: cubic-bezier(.2, .7, .2, 1); }

@keyframes fadeUp   { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes lineUp   { from { transform: translateY(105%); } to { transform: none; } }
@keyframes mediaIn  { from { clip-path: inset(0 0 0 100% round 20px); } to { clip-path: inset(0 0 0 0 round 20px); } }
@keyframes draw     { to { stroke-dashoffset: 0; } }
@keyframes spin     { to { transform: rotate(-360deg); } }
@keyframes bob      { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-1.6px); } }
@keyframes speed    { from { left: -35%; } to { left: 110%; } }
@keyframes roadMove { to { background-position: 80px 0; } }
@keyframes glow     { 0%, 100% { opacity: .55; transform: scale(1); } 50% { opacity: .9; transform: scale(1.12); } }
@keyframes gridMove { to { background-position: 0 64px, 64px 0; } }
@keyframes float    { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes pulse    { 0% { box-shadow: 0 0 0 0 rgba(255, 107, 120, .7); } 100% { box-shadow: 0 0 0 10px rgba(255, 107, 120, 0); } }
@keyframes ringSpin { to { transform: rotate(360deg); } }
@keyframes sweep    { 0%, 70% { left: -40%; } 100% { left: 130%; } }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.08) translate(-1%, -1%); } }
@keyframes blink    { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@keyframes underline { to { transform: scaleX(1); } }

/* ---------- Header ---------- */
.site-header { transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 1px 0 var(--ink-3), 0 12px 32px rgba(0, 0, 0, .28); }
.logo-mark { transition: transform .4s var(--ease); }
.logo:hover .logo-mark { transform: rotate(-8deg) scale(1.06); }

/* ---------- Butonlar: parlama ---------- */
.btn { transition: background .2s, border-color .2s, color .2s, transform .2s var(--ease), box-shadow .2s; }
.btn:active { transform: translateY(1px); }
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: ""; position: absolute; top: 0; left: -40%; width: 30%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent);
  transform: skewX(-20deg); transition: left .6s var(--ease); pointer-events: none;
}
.btn-primary:hover::after { left: 130%; }
.btn-primary:hover { box-shadow: 0 10px 24px rgba(209, 26, 42, .35); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-glow {
  position: absolute; width: 780px; height: 780px; right: -160px; top: -260px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(209, 26, 42, .42), rgba(209, 26, 42, .12) 55%, rgba(209, 26, 42, 0));
  animation: glow 7s ease-in-out infinite;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%);
  animation: gridMove 6s linear infinite;
}
.hero .anim { animation: fadeUp .8s var(--ease) var(--d, 0s) both; }
.hero .hero-title .line { display: block; overflow: hidden; padding: .1em 0 .04em; margin: -.1em 0 -.04em; }
.hero .hero-title .line > span { display: block; animation: lineUp .9s var(--ease) var(--d, 0s) both; }
.hero .hero-title em { font-style: normal; color: var(--accent); position: relative; }
.hero .hero-title em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .07em; background: var(--accent);
  transform: scaleX(0); transform-origin: left; animation: underline .7s var(--ease) 1.1s forwards;
}
.eyebrow .pulse-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #FF6B78;
  margin-right: 10px; vertical-align: 2px; animation: pulse 1.6s ease-out infinite;
}

.hero-stats { list-style: none; margin: 8px 0 0; padding: 24px 0 0; display: flex; gap: 40px; flex-wrap: wrap; border-top: 1px solid var(--ink-3); }
.hero-stats strong { display: block; font-family: var(--display); font-size: 40px; line-height: 1; color: #fff; }
.hero-stats span { font-size: 13px; color: #9C9DA3; font-weight: 600; }

.hero-media {
  background: linear-gradient(160deg, #2B2D34, #1E2025 70%);
  border: 1px solid #2F3138; animation: mediaIn 1.1s var(--ease) .2s both;
}
.hero-media::before {
  content: ""; position: absolute; left: 50%; bottom: 18%; width: 70%; height: 38%; transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(209, 26, 42, .28), transparent 70%); pointer-events: none;
}
.hero-media img { animation: kenburns 18s ease-in-out infinite alternate; z-index: 1; }
.hero-car {
  width: 82%; max-width: 480px; height: auto; color: #8B8D94; position: relative; margin-top: 40px;
  transform: translate(calc(var(--mx, 0) * 14px), calc(var(--my, 0) * 8px)); transition: transform .4s var(--ease);
}
.hero-car .draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.6s var(--ease) calc(.6s + var(--dd, 0s)) forwards; }
.hero-car .car-shell { animation: bob .5s ease-in-out 2.4s infinite; }
.hero-car .wheel { transform-box: fill-box; transform-origin: center; animation: spin .7s linear infinite; }
.hero-car .car-shadow { fill: rgba(0, 0, 0, .35); stroke: none; }
.hero-car .headlight { stroke: #FFE9A8; stroke-width: 3; animation: blink 2.4s ease-in-out infinite; }
.hero-car .taillight { stroke: var(--accent); stroke-width: 3; }

.speed-lines { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.speed-lines i {
  position: absolute; left: 0; height: 2px; width: 22%; border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .22), transparent);
  animation: speed 1.8s linear infinite;
}
.speed-lines i:nth-child(1) { top: 22%; animation-delay: -.2s; }
.speed-lines i:nth-child(2) { top: 34%; animation-delay: -1.1s; width: 30%; animation-duration: 1.4s; }
.speed-lines i:nth-child(3) { top: 47%; animation-delay: -.6s; background: linear-gradient(90deg, transparent, rgba(209, 26, 42, .6), transparent); }
.speed-lines i:nth-child(4) { top: 62%; animation-delay: -1.5s; width: 16%; }
.speed-lines i:nth-child(5) { top: 71%; animation-delay: -.9s; animation-duration: 1.2s; }
.speed-lines i:nth-child(6) { top: 14%; animation-delay: -1.7s; width: 12%; background: linear-gradient(90deg, transparent, rgba(209, 26, 42, .5), transparent); }
.road {
  position: absolute; left: 0; right: 0; bottom: 20%; height: 3px; opacity: .5;
  background: repeating-linear-gradient(90deg, #5A5C63 0 40px, transparent 40px 80px);
  animation: roadMove .45s linear infinite;
}

.hero-badge { animation: fadeUp .7s var(--ease) 1.4s both; }
.hero-badge-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex-shrink: 0; animation: float 4s ease-in-out 2.2s infinite; }
.hero-badge-icon svg { width: 24px; height: 24px; }
.hero-badge b { display: block; color: var(--ink); font-size: 15px; }

/* ---------- Kaydırınca beliren içerik (yalnızca JS çalışıyorsa gizlenir) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal="left"]  { transform: translateX(-48px); }
.js [data-reveal="right"] { transform: translateX(48px); }
.js [data-reveal="zoom"]  { transform: scale(.94); }
.js [data-stagger] > * {
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease), box-shadow .3s, border-color .2s;
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js [data-reveal].is-visible, .js [data-stagger].is-visible > * { opacity: 1; transform: none; }
.js [data-stagger].is-visible > .car-card:hover { transform: translateY(-6px); transition-delay: 0s; }
.js [data-stagger].is-visible > .brand-chip:hover { transform: translateY(-3px); transition-delay: 0s; }

/* ---------- Araç kartı ---------- */
.car-card { position: relative; }
.car-card::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.car-card:hover::after { transform: scaleX(1); }
.car-media svg, .car-media img { transition: transform .6s var(--ease); }
.car-card:hover .car-media svg { transform: translateX(-10px) scale(1.04); }
.car-card:hover .car-media img { transform: scale(1.06); }
.car-year { transition: background .3s; }
.car-card:hover .car-year { background: var(--accent); }

/* ---------- Marka kartı ---------- */
.brand-chip { transition: border-color .2s, transform .3s var(--ease), box-shadow .3s; }
.brand-initial { transition: background .3s, color .3s, transform .4s var(--ease); }
.brand-chip:hover { box-shadow: 0 10px 24px rgba(23, 24, 28, .07); }
.brand-chip:hover .brand-initial { background: var(--accent); color: #fff; transform: rotate(-6deg); }

/* ---------- Özellikler ---------- */
.feature-icon { transition: background .3s, color .3s, transform .4s var(--ease); }
.feature:hover .feature-icon { background: var(--accent); color: #fff; transform: translateY(-3px) rotate(-6deg); }

/* ---------- Süreç çizgisi: sırayla dolar ---------- */
.step:first-child { border-top-color: var(--line); }
.step::after {
  content: ""; position: absolute; left: 0; right: 0; top: -2px; height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease) calc(var(--i, 0) * 250ms + .2s);
}
.is-visible > .step::after, html:not(.js) .step::after { transform: scaleX(1); }

/* ---------- CTA bandı ---------- */
.cta-band { background: linear-gradient(120deg, var(--accent-dark), var(--accent) 55%, #E5364A); }
.cta-band::after { border-style: dashed; animation: ringSpin 40s linear infinite; }
.cta-band::before {
  content: ""; position: absolute; top: 0; left: -40%; width: 25%; height: 100%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .14), transparent);
  transform: skewX(-20deg); animation: sweep 6s ease-in-out infinite;
}

/* ---------- Sayfa başlıkları: kırmızı ışıltı ---------- */
.page-hero { background: radial-gradient(ellipse 60% 90% at 90% 0%, rgba(209, 26, 42, .32), transparent 70%), var(--ink); }

/* ---------- Mobil ---------- */
@media (max-width: 820px) {
  .nav a::after { display: none; }
  .hero-car { margin-top: 20px; }
  .hero-glow { width: 520px; height: 520px; right: -220px; top: -160px; }
}
@media (max-width: 600px) {
  .hero-stats { gap: 24px; }
  .hero-stats strong { font-size: 32px; }
  .hero-badge b { font-size: 14px; }
}

/* Hareket azaltma tercihine saygı */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important;
    transition-duration: .01ms !important; transition-delay: 0s !important;
  }
  html { scroll-behavior: auto; }
}

/* ==========  PHP sürümü eklemeleri  ========== */
/* İlanlar filtresi: JS kapalıyken "Filtrele" butonu görünür, JS açıkken filtre anında uygulanır */
.js .filter-submit { display: none; }
.filter-submit { height: 48px; }
a.clear-btn { text-decoration: none; }
/* İletişim listesinde tıklanabilir numara/e-posta */
.contact-list a { color: #4A463F; text-decoration: none; font-weight: 600; }
.contact-list a:hover { color: var(--accent); }
/* İletişim formu sunucu doğrulama hatası (JS kapalıyken) */
.form-status.form-error { background: #FDECEC; color: var(--accent); }
/* Hakkımızda fotoğrafları: yalnız yüklenenler basılır, ızgara sayıya göre */
.photo-grid.photo-count-4 .ph:last-child { grid-column: span 2; }
.photo-grid.photo-count-3 { grid-template-columns: 2fr 1fr; }
.photo-grid.photo-count-2 { grid-template-columns: 1fr 1fr; grid-template-rows: 360px; }
.photo-grid.photo-count-1 { grid-template-columns: 1fr; grid-template-rows: 440px; }
.photo-grid.photo-count-2 .ph:first-child, .photo-grid.photo-count-1 .ph:first-child { grid-row: auto; }
@media (max-width: 820px) {
  .photo-grid, .photo-grid.photo-count-2, .photo-grid.photo-count-1 { grid-template-rows: 240px; grid-auto-rows: 160px; }
  .photo-grid.photo-count-3 { grid-template-columns: 1fr 1fr; }
  .photo-grid .ph:last-child:nth-child(even) { grid-column: span 2; }
  .photo-grid.photo-count-1 .ph:first-child { grid-column: auto; }
}
