/*
 * Oto Kula
 * Renkler ve dil dükkânın tabelasından alındı: turuncu bant, beyaz marka şeridi,
 * kırmızı/turuncu isim-telefon şeritleri, kalın siyah çizgiler.
 * Başlık yazı tipi Barlow Condensed: otoyol tabelalarından esinlenmiş bir aile.
 */

:root {
  --ink: #151515;
  --ink-2: #2b2b2b;
  --ink-3: #3d3d3d;
  --paper: #f3f0e9;
  --paper-2: #e7e2d6;
  --white: #ffffff;
  --muted: #5b574f;
  --on-ink: #d6d0c2;
  --red: #c41e1a;
  --green: #3fae55;

  /* Tema rengi. Panelde Ayarlar > Görünüm'den seçilir, <html data-theme="..."> olarak gelir. */
  --accent: #e8561c;         /* zemin: üst bant, sayfa başlıkları, logo, Ara düğmeleri */
  --on-accent: var(--ink);   /* --accent zeminin üstündeki yazı */
  --accent-deep: #c4441a;    /* açık zeminde yazı: etiketler, numaralar, bağlantı üzeri */
  --accent-line: #e8561c;    /* açık zeminde çizgi, alt çizgi, odak çerçevesi */
  --accent-bright: #e8561c;  /* siyah zeminde yazı ve çizgi */
  --plate: #c4441a;          /* telefon şeridi */
  --on-plate: var(--white);

  --display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  --text: "Barlow", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
}

/* Renkler okunurluk için kontrol edildi: açık zeminde yazı en az 4.5:1, çizgiler en az 3:1. */
:root[data-theme="yellow"] {
  --accent: #f5c400;
  --accent-deep: #7d5e00;
  --accent-line: #a37c00;
  --accent-bright: #f5c400;
  --plate: #f5c400;
  --on-plate: var(--ink);
}

:root[data-theme="blue"] {
  --accent: #1e5bc6;
  --on-accent: var(--white);
  --accent-deep: #1b52b5;
  --accent-line: #1e5bc6;
  --accent-bright: #5b9dff;
  --plate: #1b52b5;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--text);
  -webkit-font-smoothing: antialiased;
}

@media (min-width: 900px) {
  body { font-size: 1.125rem; }
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--accent-deep); }
a[href^="tel:"] { white-space: nowrap; }

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

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1;
  margin: 0 0 .45em;
  text-transform: uppercase;
  letter-spacing: .005em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6.2vw, 4.9rem); font-weight: 800; line-height: .92; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; line-height: 1.05; }

p { margin: 0 0 1em; }
address { font-style: normal; }
strong, b { font-weight: 600; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: var(--white); padding: 12px 16px; }
.skip:focus { left: 8px; }

.icon {
  width: 1.15em; height: 1.15em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2.2;
  stroke-linecap: square; stroke-linejoin: miter;
}

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

/* ---------- Duyuru ve üst şerit ---------- */

.notice {
  margin: 0;
  background: var(--red);
  color: var(--white);
  text-align: center;
  font-weight: 600;
  padding: 8px var(--gutter);
}

.topbar { background: var(--ink); color: var(--on-ink); font-size: .875rem; }
.topbar-in { display: flex; justify-content: space-between; gap: 16px; padding-block: 7px; }
.topbar p { margin: 0; }

.status-dot {
  display: inline-block;
  width: 8px; height: 8px;
  margin-right: 8px;
  vertical-align: 1px;
  background: #c8432f;
}
.is-open .status-dot { background: var(--green); }
.status-tow { color: var(--white); }

@media (max-width: 680px) {
  .topbar-addr { display: none; }
}

/* ---------- Başlık ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 3px solid var(--ink);
}
.header-in { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }

.logo {
  display: inline-flex;
  align-items: stretch;
  font-family: var(--display);
  font-weight: 800;
  font-size: 2.15rem;
  line-height: 1;
  letter-spacing: .015em;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}
.logo:hover { color: var(--ink); }
.logo-oto { background: var(--accent); color: var(--on-accent); padding: .1em .16em .02em; margin-right: .1em; }
.logo-kula { padding: .1em 0 .02em; }
.logo-invert, .logo-invert:hover { color: var(--white); }

.site-nav { margin-left: auto; }
.site-nav ul { display: flex; list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: block;
  padding: 25px 11px 22px;
  margin-bottom: -3px;
  border-bottom: 4px solid transparent;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: .035em;
  text-decoration: none;
}
.site-nav a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--accent-line); }

.header-call {
  display: flex;
  flex-direction: column;
  padding: 8px 14px 7px;
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  line-height: 1.1;
}
a.header-call:hover, .header-call-2 a:hover { background: var(--accent); color: var(--on-accent); }
a.header-call:hover .header-call-label, .header-call-2 a:hover .header-call-label { color: var(--on-accent); }
.header-call-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--on-ink); }
.header-call-no { font-family: var(--display); font-weight: 700; font-size: 1.4rem; letter-spacing: .02em; white-space: nowrap; }

/* İki numara: her satır ayrı arama bağlantısı, adlar solda hizalı */
.header-call-2 { display: grid; grid-template-columns: auto auto; padding: 0; }
.header-call-2 a {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: subgrid;
  align-items: baseline;
  column-gap: 12px;
  padding: 5px 12px 4px;
  color: var(--white);
  text-decoration: none;
}
.header-call-2 a + a { border-top: 1px solid var(--ink-3); }
.header-call-2 .header-call-no { font-size: 1.2rem; }

.nav-toggle { display: none; }

@media (max-width: 1180px) {
  .site-nav a { padding-inline: 8px; font-size: 1.08rem; }
}

@media (max-width: 1040px) {
  :root { --header-h: 64px; }
  .logo { font-size: 1.9rem; }
  .nav-toggle {
    display: block;
    margin-left: auto;
    padding: 8px 14px;
    border: 2px solid var(--ink);
    background: transparent;
    color: var(--ink);
    font: 700 1.1rem/1 var(--display);
    text-transform: uppercase;
    letter-spacing: .08em;
    cursor: pointer;
  }
  .nav-toggle[aria-expanded="true"] { background: var(--ink); color: var(--white); }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    background: var(--paper);
    border-bottom: 3px solid var(--ink);
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; padding: 4px var(--gutter) 16px; }
  .site-nav a {
    padding: 14px 0;
    margin: 0;
    border-bottom: 1px solid var(--paper-2);
    font-size: 1.4rem;
  }
  .site-nav a:hover { border-bottom-color: var(--paper-2); color: var(--accent-deep); }
  .site-nav a[aria-current="page"] { border-bottom-color: var(--paper-2); color: var(--accent-deep); }
  .header-call { order: 2; }
  .nav-toggle { order: 1; }
}

@media (max-width: 760px) {
  .header-call { display: none; }
}

/* ---------- Düğmeler ve bağlantılar ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border: 2px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font: 700 1.15rem/1.1 var(--display);
  text-transform: uppercase;
  letter-spacing: .04em;
  text-decoration: none;
  cursor: pointer;
}
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: var(--ink-3); border-color: var(--ink-3); color: var(--white); }
.btn-line:hover { background: var(--ink); color: var(--white); }
.btn-lg { padding: 16px 24px; font-size: 1.3rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  text-decoration: none;
  border-bottom: 2px solid currentColor;
  padding-bottom: 2px;
}
.link-more .icon { transition: transform .15s; }
.link-more:hover .icon { transform: translateX(3px); }

.label, .kicker {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 14px;
}
.label { color: var(--accent-deep); }
.kicker { display: inline-block; padding-top: 6px; border-top: 2px solid currentColor; }

/* ---------- Ana sayfa: tabela ---------- */

.hero { background: var(--accent); color: var(--on-accent); border-bottom: 3px solid var(--ink); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding-block: clamp(36px, 6vw, 76px);
}
.hero h1 { max-width: 13ch; }
.hero-lead { max-width: 44ch; font-size: 1.2rem; font-weight: 500; margin-bottom: 28px; }
.hero .btn-line, .page-head .btn-line { border-color: currentColor; color: inherit; }
.hero .btn-line:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.hero :focus-visible, .page-head :focus-visible { outline-color: currentColor; }

.hero-photo { margin: 0; border: 3px solid var(--ink); background: var(--ink); }
.hero-photo img { width: 100%; aspect-ratio: 1020 / 762; object-fit: cover; }
.hero-photo figcaption { padding: 8px 12px; color: var(--on-ink); font-size: .85rem; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 16ch; }
}

.brandband { background: var(--white); border-bottom: 3px solid var(--ink); }
.brandband-in { display: flex; align-items: center; gap: 12px 28px; padding-block: 16px; }
.brandband-label {
  margin: 0;
  flex: none;
  color: var(--muted);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.brands { display: flex; flex-wrap: wrap; gap: 6px 0; list-style: none; margin: 0; padding: 0; }
.brands li {
  padding: 0 16px;
  border-left: 2px solid var(--paper-2);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.brands li:first-child { padding-left: 0; border-left: 0; }

@media (max-width: 760px) {
  .brandband-in { flex-direction: column; align-items: flex-start; }
  .brands li { font-size: 1.15rem; padding: 0 10px; }
}

/* İsim : telefon şeritleri */
.plates { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 3px solid var(--ink); }
.plate {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 2px 12px;
  padding: 18px var(--gutter);
  color: var(--white);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.45rem, 2.7vw, 2.15rem);
  line-height: 1.1;
  letter-spacing: .02em;
}
.plate:hover { color: var(--white); }
.plate-red { background: var(--red); }
.plate-orange { background: var(--plate); color: var(--on-plate); }
.plate-red:hover, .plate-orange:hover { background: var(--ink); color: var(--white); }
.plate + .plate { border-left: 3px solid var(--ink); }
.plate-last { text-transform: uppercase; }
.plate-no { white-space: nowrap; }

@media (max-width: 760px) {
  .plates { grid-template-columns: 1fr; }
  .plate + .plate { border-left: 0; border-top: 3px solid var(--ink); }
}

.plates-sm { grid-template-columns: 1fr; border-bottom: 0; }
.plates-sm .plate {
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0;
  padding: 12px 16px 14px;
  font-size: 1.6rem;
}
.plates-sm .plate-name { font-size: 1rem; font-weight: 600; letter-spacing: .04em; opacity: .92; }
.plates-sm .plate-sep { display: none; }
.plates-sm .plate + .plate { border-left: 0; border-top: 2px solid var(--ink); }

/* ---------- Kurtarma bandı ---------- */

.tow { background: var(--ink); color: var(--on-ink); }
.tow::before {
  content: "";
  display: block;
  height: 14px;
  background: repeating-linear-gradient(135deg, var(--accent-bright) 0 9.9px, var(--ink) 9.9px 19.8px);
}
.tow-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  padding-block: clamp(48px, 7vw, 92px);
}
.tow h2 { color: var(--white); }
.tow .label { color: var(--accent-bright); }
.tow-text > p { max-width: 50ch; }
.tow a:hover { color: var(--accent-bright); }
.tow-phone {
  display: inline-block;
  margin: 8px 0 20px;
  color: var(--accent-bright);
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  line-height: 1;
  letter-spacing: .01em;
  text-decoration: none;
  white-space: nowrap;
}
.tow .tow-phone:hover { color: var(--white); }
.tow .link-more { color: var(--white); }

.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; align-self: start; }
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 72px 1fr;
  column-gap: 16px;
  padding: 22px 0;
  border-top: 2px solid var(--ink-3);
}
.steps li:last-child { border-bottom: 2px solid var(--ink-3); }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  grid-row: span 2;
  color: var(--accent-bright);
  font-family: var(--display);
  font-weight: 800;
  font-size: 2.8rem;
  line-height: .85;
}
.steps b {
  color: var(--white);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: 1.1;
  margin-bottom: 4px;
}

@media (max-width: 900px) {
  .tow-grid { grid-template-columns: 1fr; }
}

/* ---------- Bölümler ---------- */

.section { padding-block: clamp(56px, 8vw, 104px); }
.section + .section { border-top: 3px solid var(--ink); }
.section-paper2, .about-band { background: var(--paper-2); }
.section-tight { padding-block: clamp(32px, 5vw, 56px); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px 48px;
  align-items: end;
  margin-bottom: 40px;
}
.section-head h2 { margin: 0; }
.section-head p { margin: 0; max-width: 52ch; color: var(--muted); }
.section-foot { margin: 36px 0 0; }

@media (max-width: 800px) {
  .section-head { grid-template-columns: 1fr; }
}

/* Hizmet listesi */
.svc-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 48px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.svc-list li { border-top: 2px solid var(--ink); }
.svc-list li:nth-last-child(-n+2) { border-bottom: 2px solid var(--ink); }
.svc-list a {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 28px;
  gap: 6px 12px;
  height: 100%;
  padding: 20px 0 22px;
  color: var(--ink);
  text-decoration: none;
}
.svc-no {
  grid-row: span 2;
  padding-top: 3px;
  color: var(--accent-deep);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.3rem;
}
.svc-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.65rem;
  line-height: 1.05;
  text-transform: uppercase;
}
.svc-sum { grid-column: 2; color: var(--muted); font-size: 1rem; line-height: 1.5; }
.svc-go { grid-column: 3; grid-row: 1; padding-top: 4px; }
.svc-go .icon { width: 24px; height: 24px; transition: transform .15s; }
.svc-list a:hover .svc-title {
  text-decoration: underline;
  text-decoration-color: var(--accent-line);
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}
.svc-list a:hover .svc-go .icon { transform: translateX(4px); }

@media (max-width: 800px) {
  .svc-list { grid-template-columns: 1fr; }
  .svc-list li:nth-last-child(2) { border-bottom: 0; }
  .svc-title { font-size: 1.5rem; }
}

.layout .svc-list { grid-template-columns: 1fr; }
.layout .svc-list li:nth-last-child(2) { border-bottom: 0; }

/* Dükkân */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.about-photo, .figure { margin: 0; border: 3px solid var(--ink); background: var(--ink); }
.about-photo img, .figure img { width: 100%; }
/* Panelden seçilen fotoğraf dikey olsa da yer aynı kalsın */
.slot-hero img { aspect-ratio: 1020 / 762; object-fit: cover; }
.slot-side img { aspect-ratio: 577 / 391; object-fit: cover; }
.about-photo figcaption, .figure figcaption { padding: 8px 12px; color: var(--on-ink); font-size: .85rem; }
.about-text { font-size: 1.2rem; max-width: 52ch; }

.facts {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  margin: 28px 0;
  border-top: 2px solid var(--ink);
}
.facts dt, .facts dd { margin: 0; padding: 10px 0; border-bottom: 1px solid rgba(21, 21, 21, .22); }
.facts dt {
  padding-right: 28px;
  font-family: var(--display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 560px; }
}
@media (max-width: 560px) {
  .facts { grid-template-columns: 1fr; }
  .facts dt { border-bottom: 0; padding-bottom: 0; }
  .facts dd { padding-top: 2px; }
}

/* Sorular */
.narrow-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 32px clamp(32px, 5vw, 72px);
  align-items: start;
}
@media (max-width: 900px) {
  .narrow-grid { grid-template-columns: 1fr; }
}

.faq { border-top: 2px solid var(--ink); }
.faq-item, .faq details { border-bottom: 2px solid var(--ink); }
.faq-item { padding: 20px 0 6px; }
.faq-q {
  margin: 0 0 8px;
  font-family: var(--text);
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 1.35;
  text-transform: none;
  letter-spacing: 0;
}
.faq-a { max-width: 68ch; color: var(--ink-2); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 18px 0;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .faq-q { margin: 0; }
.faq summary::after {
  content: "+";
  flex: none;
  font-family: var(--display);
  font-weight: 700;
  font-size: 2rem;
  line-height: .7;
}
.faq details[open] summary::after { content: "–"; }
.faq summary:hover .faq-q { text-decoration: underline; text-decoration-color: var(--accent-line); text-underline-offset: 4px; }
.faq details .faq-a { padding-bottom: 12px; }

/* Rehber */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.post { padding-top: 16px; border-top: 3px solid var(--ink); }
.post time, .post-row time {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.post h3 { font-size: 1.6rem; }
.post h3 a, .post-row h2 a { text-decoration: none; }
.post h3 a:hover, .post-row h2 a:hover { text-decoration: underline; text-decoration-color: var(--accent-line); }
.post p { color: var(--muted); font-size: 1rem; }

@media (max-width: 900px) {
  .posts { grid-template-columns: 1fr; gap: 0; }
  .post { padding-bottom: 12px; }
}

.post-list { border-top: 3px solid var(--ink); }
.post-row {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 8px 24px;
  padding: 24px 0;
  border-bottom: 2px solid var(--ink);
}
.post-row h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.post-row p { margin: 0; color: var(--muted); }
@media (max-width: 640px) {
  .post-row { grid-template-columns: 1fr; }
}

/* Adres ve harita */
.location-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: stretch;
}
.addr { margin-bottom: 24px; font-size: 1.2rem; line-height: 1.5; }
.tow-note { max-width: 46ch; }
.location .btn-row { margin-top: 24px; }

@media (max-width: 900px) {
  .location-grid { grid-template-columns: 1fr; }
}

.hours { width: 100%; max-width: 440px; margin: 0 0 20px; border-collapse: collapse; }
.hours th, .hours td {
  padding: 8px 0;
  border-bottom: 1px solid rgba(21, 21, 21, .2);
  text-align: left;
  font-weight: 400;
}
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours .is-today th, .hours .is-today td { font-weight: 600; }
.today-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  background: var(--ink);
  color: var(--white);
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  vertical-align: 2px;
}

.map {
  display: grid;
  min-height: 400px;
  border: 3px solid var(--ink);
  background-color: var(--paper-2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Cpath d='M0 1h48M1 0v48' stroke='%23151515' stroke-opacity='.08' stroke-width='2'/%3E%3C/svg%3E");
}
.map iframe { display: block; width: 100%; height: 100%; min-height: 400px; border: 0; }
.map-ph {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 4px;
  padding: 32px;
  text-align: center;
}
.map-ph p { margin: 0; }
.map-name { font-family: var(--display); font-weight: 800; font-size: 2rem; text-transform: uppercase; }
.map-addr { margin-bottom: 16px !important; }
.map-note { max-width: 40ch; margin-top: 16px !important; color: var(--muted); font-size: .9rem; }
.map .btn { background: var(--paper); }
.map .btn:hover { background: var(--ink); }

/* ---------- İç sayfalar ---------- */

.page-head {
  padding-block: clamp(28px, 5vw, 60px) clamp(32px, 5vw, 56px);
  background: var(--accent);
  color: var(--on-accent);
  border-bottom: 3px solid var(--ink);
}
.page-head h1 { max-width: 22ch; font-size: clamp(2.4rem, 5.4vw, 4.4rem); }
.page-head .sub { max-width: 62ch; margin: 0; font-size: 1.2rem; font-weight: 500; }
.page-meta { margin: 16px 0 0; font-size: .95rem; }

.crumbs { margin-bottom: 22px; font-size: .9rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; list-style: none; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 8px; }
.crumbs a { text-decoration: none; border-bottom: 1px solid; }
.crumbs a:hover { color: inherit; border-bottom-width: 2px; }

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
  padding-block: clamp(40px, 6vw, 80px);
}
.aside {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  display: grid;
  gap: 24px;
}
@media (max-width: 960px) {
  .layout { grid-template-columns: 1fr; }
  .aside { position: static; }
}

.callbox { border: 3px solid var(--ink); background: var(--white); }
.callbox-head {
  margin: 0;
  padding: 12px 16px;
  background: var(--ink);
  color: var(--white);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.callbox .plates { border-bottom: 2px solid var(--ink); }
.callbox-body { padding: 16px; font-size: 1rem; }
.callbox-body p { margin-bottom: 8px; }
.callbox-status { font-weight: 600; }
.callbox-addr { color: var(--muted); }
.callbox-links { display: grid; gap: 6px; margin: 12px 0 0 !important; }
.callbox-links a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }

.aside-list { border-top: 3px solid var(--ink); }
.aside-h { margin: 12px 0 8px; font-family: var(--display); font-weight: 700; font-size: 1.2rem; text-transform: uppercase; letter-spacing: .04em; }
.aside-list ul { list-style: none; margin: 0; padding: 0; }
.aside-list li { border-bottom: 1px solid rgba(21, 21, 21, .2); }
.aside-list a { display: block; padding: 8px 0; text-decoration: none; }
.aside-list a:hover { text-decoration: underline; }

.figure { margin-bottom: 32px; }
.figure-side { margin: 0; }

/* Metin */
.prose { max-width: 72ch; }
.prose > *:first-child { margin-top: 0; }
.prose h2 {
  margin-top: 1.7em;
  padding-top: .55em;
  border-top: 2px solid var(--ink);
  font-size: clamp(1.75rem, 3vw, 2.3rem);
}
.prose h3 { margin-top: 1.5em; font-size: 1.45rem; }
.prose ul, .prose ol { margin: 0 0 1.25em; padding-left: 1.4em; }
.prose ul { list-style: square; }
.prose li { margin-bottom: .45em; padding-left: .2em; }
.prose li::marker { color: var(--accent-deep); }
.prose ol li::marker { font-family: var(--display); font-weight: 700; }
.prose a { text-decoration-color: var(--accent-line); }
.prose blockquote {
  margin: 1.6em 0;
  padding: 16px 20px;
  border: 2px solid var(--ink);
  background: var(--white);
}
.prose blockquote p:last-child { margin: 0; }

.table-wrap { margin: 1.5em 0; overflow-x: auto; border: 2px solid var(--ink); background: var(--white); }
.prose table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.prose th, .prose td { padding: 10px 14px; border-bottom: 1px solid var(--paper-2); text-align: left; vertical-align: top; }
.prose thead th {
  background: var(--ink);
  color: var(--white);
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.prose tbody tr:last-child th, .prose tbody tr:last-child td { border-bottom: 0; }
.facts-table th { width: 34%; font-weight: 600; }

.lead-box {
  position: relative;
  margin: 8px 0 36px;
  padding: 26px 22px 18px;
  border: 2px solid var(--ink);
  background: var(--white);
  font-size: 1.15rem;
}
.lead-box p:last-child { margin: 0; }
.tag {
  display: inline-block;
  margin: 0 0 12px;
  padding: 3px 10px 2px;
  background: var(--ink);
  color: var(--white);
  font-family: var(--display);
  font-weight: 700;
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.lead-box .tag { position: absolute; top: -2px; left: -2px; transform: translateY(-50%); margin: 0; }
.lead-box-cta { margin-top: 40px; }

.toc { margin-bottom: 8px; }
.toc ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 8px 0 0; padding: 0; }
.toc li { margin: 0; padding: 0; }
.toc a {
  display: inline-block;
  padding: 6px 12px;
  border: 2px solid var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
}
.toc a:hover { background: var(--ink); color: var(--white); }

.faq-group h2 { margin-top: 1.4em; }

.related { list-style: none; padding: 0 !important; border-top: 2px solid var(--ink); }
.related li { margin: 0; padding: 10px 0; border-bottom: 1px solid rgba(21, 21, 21, .2); }
.related a { font-weight: 600; }

.updated { margin-top: 40px; color: var(--muted); font-size: .9rem; }
.services-note { margin-top: 24px; }

/* ---------- İletişim ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 96px);
  padding-block: clamp(40px, 6vw, 80px);
}
.contact-info h2, .contact-form h2 { font-size: 1.7rem; margin-top: 1.4em; }
.contact-info h2:first-child, .contact-form h2:first-child { margin-top: 0; }
.contact-info .plates-sm { border: 3px solid var(--ink); max-width: 420px; }
.contact-links { margin: 16px 0 0; }
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.form { display: grid; gap: 20px; }
.field label:not(.check) {
  display: block;
  margin-bottom: 6px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.opt { font-family: var(--text); font-weight: 400; font-size: .9rem; text-transform: none; letter-spacing: 0; color: var(--muted); }
.field input:not([type="checkbox"]), .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--ink);
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 3px solid var(--accent-line); outline-offset: 0; }
.has-err input, .has-err textarea { border-color: var(--red) !important; }
.err { margin: 6px 0 0; color: var(--red); font-size: .95rem; font-weight: 600; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; line-height: 1.5; cursor: pointer; }
.check input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--ink); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.alert { margin-bottom: 20px; padding: 16px 20px; border: 3px solid var(--ink); background: var(--white); }
.alert p { margin: 0; }
.alert-ok { border-color: var(--green); }
.alert-err { border-color: var(--red); }

.location-map { padding-top: 0; }

/* ---------- Galeri ---------- */

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.gallery figure { margin: 0; }
.gallery a { display: block; border: 2px solid var(--ink); background: var(--ink); }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery a:hover img { opacity: .88; }
.gallery figcaption { padding: 6px 0 0; font-size: .95rem; color: var(--muted); }

.lightbox { max-width: min(1200px, 94vw); max-height: 92vh; padding: 0; border: 3px solid var(--ink); background: var(--ink); }
.lightbox::backdrop { background: rgba(10, 10, 10, .88); }
.lightbox img { max-height: calc(92vh - 56px); width: auto; margin: 0 auto; }
.lightbox-bar { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px; color: var(--on-ink); font-size: .9rem; }
.lightbox-bar button {
  padding: 6px 12px;
  border: 2px solid var(--on-ink);
  background: transparent;
  color: var(--white);
  font: 700 1rem/1 var(--display);
  text-transform: uppercase;
  letter-spacing: .06em;
  cursor: pointer;
}
.lightbox-bar button:hover { background: var(--white); color: var(--ink); }

/* ---------- Alt bilgi ---------- */

.site-footer { background: var(--ink); color: var(--on-ink); font-size: 1rem; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--accent-bright); text-decoration: underline; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding-block: 64px 48px;
}
.footer-brand .logo { margin-bottom: 18px; }
.footer-brand address { line-height: 1.7; }
.footer-h {
  margin-bottom: 14px;
  color: var(--white);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.site-footer ul { display: grid; gap: 6px; list-style: none; margin: 0; padding: 0; }
.site-footer .hours th, .site-footer .hours td { border-bottom-color: var(--ink-3); }
.site-footer .hours .is-today th, .site-footer .hours .is-today td { color: var(--white); }
.footer-tow { font-size: .95rem; }
.footer-social { display: flex; gap: 16px; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 20px;
  border-top: 1px solid var(--ink-3);
  font-size: .9rem;
}
.footer-bottom p { margin: 0; }

@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-top: 48px; }
}

/* ---------- Telefonda alt eylem çubuğu ---------- */

.actionbar { display: none; }

@media (max-width: 760px) {
  body { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
  .actionbar {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--ink);
    border-top: 3px solid var(--ink);
  }
  .actionbar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-height: 59px;
    color: var(--white);
    text-decoration: none;
    font-family: var(--display);
    font-weight: 700;
    font-size: .95rem;
    text-transform: uppercase;
    letter-spacing: .06em;
  }
  .actionbar a + a { border-left: 1px solid var(--ink-3); }
  .actionbar .icon { width: 22px; height: 22px; }
  .actionbar .ab-call { background: var(--accent); color: var(--on-accent); }
}

/* ---------- WhatsApp düğmesi (panel: Ayarlar > WhatsApp) ---------- */

.wa-float {
  position: fixed;
  z-index: 55;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px 10px 12px;
  background: #25d366; /* siyah yazıyla 9.6:1 */
  color: var(--ink);
  border: 3px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  font: 700 1.2rem/1 var(--display);
  text-transform: uppercase;
  letter-spacing: .04em;
  text-decoration: none;
}
.wa-float .icon { width: 30px; height: 30px; stroke-width: 2; }
.wa-float:hover { background: var(--ink); color: #25d366; }
.wa-float:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

.wa-right-bottom { right: 24px; bottom: 24px; }
.wa-left-bottom { left: 24px; bottom: 24px; }

/* Kenarda ortada: ekrana yapışık dikey sekme */
.wa-right-middle, .wa-left-middle { top: 50%; flex-direction: column; padding: 14px 9px; transform: translateY(-50%); }
.wa-right-middle span, .wa-left-middle span { writing-mode: vertical-rl; }
.wa-right-middle { right: 0; border-right: 0; box-shadow: -4px 4px 0 var(--ink); }
.wa-left-middle { left: 0; border-left: 0; }
.wa-left-middle span { transform: rotate(180deg); }

/* Sayfa açılınca kenardan kayarak gelir */
@media (prefers-reduced-motion: no-preference) {
  .wa-float { animation: .5s .6s cubic-bezier(.2, .8, .3, 1.1) both; }
  .wa-right-bottom, .wa-left-bottom { animation-name: wa-in-up; }
  .wa-right-middle { animation-name: wa-in-right; }
  .wa-left-middle { animation-name: wa-in-left; }
}
@keyframes wa-in-up { from { transform: translateY(160%); } }
@keyframes wa-in-right { from { transform: translate(110%, -50%); } }
@keyframes wa-in-left { from { transform: translate(-110%, -50%); } }

/* Telefonda alttaki çubukta zaten WhatsApp var */
@media (max-width: 760px) {
  .wa-float { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

@media print {
  .topbar, .site-header nav, .nav-toggle, .actionbar, .wa-float, .map, .aside, .site-footer .footer-grid > div:not(.footer-brand) { display: none !important; }
  .page-head, .hero { background: none; }
  body { padding: 0; }
}
