/*
Theme Name: Batıkent Kombi Servisi Pro
Theme URI: https://batikentkombiservisi.com/
Author: Batıkent Kombi Servisi
Description: Batıkent ve Yenimahalle kombi servisi için hızlı, erişilebilir, mobil uyumlu ve yerel SEO odaklı WordPress teması.
Version: 3.1.3
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: batikent-kombi
*/

/* =========================================================
   1. Design tokens and reset
   ========================================================= */
:root {
  color-scheme: light;
  --red: #c9151c;
  --red-dark: #b91319;
  --red-soft: #fff0f1;
  --ink: #151719;
  --muted: #5e646b;
  --surface: #ffffff;
  --surface-2: #f5f6f7;
  --surface-3: #eceff1;
  --line: #dfe3e7;
  --header: #0d0f10;
  --header-2: #181b1e;
  --success: #0a8f57;
  --shadow-sm: 0 8px 24px rgba(15, 18, 22, .08);
  --shadow-md: 0 18px 50px rgba(15, 18, 22, .13);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --container: 1180px;
  --header-height: 82px;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --ink: #f7f8f9;
  --muted: #b9c0c7;
  --surface: #14171a;
  --surface-2: #0f1214;
  --surface-3: #20252a;
  --line: #30363d;
  --red-soft: #35181b;
  --shadow-sm: 0 8px 26px rgba(0, 0, 0, .24);
  --shadow-md: 0 20px 60px rgba(0, 0, 0, .36);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 18px); }
body {
  margin: 0;
  min-width: 320px;
  background: var(--surface);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, select, input[type="date"], input[type="file"] { cursor: pointer; }
button { border: 0; }
p, h1, h2, h3, h4 { overflow-wrap: anywhere; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; }
p { margin: 0; }
ul { margin: 0; padding: 0; }
::selection { color: #fff; background: var(--red); }

:focus-visible {
  outline: 3px solid #ffc3c6;
  outline-offset: 3px;
  border-radius: 6px;
}

.container { width: min(var(--container), calc(100% - 32px)); margin-inline: auto; }
.section { padding: 78px 0; }
.section-soft { background: var(--surface-2); }
.section-dark { background: var(--header); color: #fff; }
.section-heading { max-width: 760px; margin: 0 auto 38px; text-align: center; }
.section-heading .eyebrow { margin-bottom: 10px; }
.section-heading h2 { font-size: clamp(32px, 4.4vw, 50px); letter-spacing: -.035em; }
.section-heading p { margin-top: 14px; color: var(--muted); font-size: 17px; }
.accent { width: 72px; height: 5px; margin: 18px auto 0; border-radius: 999px; background: var(--red); }
.eyebrow, .kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 6px 12px;
  border: 1px solid rgba(223, 31, 38, .18);
  border-radius: 999px;
  color: var(--red);
  background: var(--red-soft);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 99999;
  transform: translateY(-150%);
  padding: 12px 18px;
  border-radius: 10px;
  color: #fff;
  background: var(--red);
  font-weight: 800;
}
.skip-link:focus { transform: translateY(0); }

/* =========================================================
   2. Shared controls
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-weight: 850;
  line-height: 1;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.btn-red { color: #fff; background: var(--red); box-shadow: 0 12px 28px rgba(223, 31, 38, .25); }
.btn-red:hover { background: var(--red-dark); box-shadow: 0 16px 34px rgba(223, 31, 38, .32); }
.btn-dark { color: #fff; background: var(--header); border-color: #2d3237; }
.btn-dark:hover { background: #202428; }
.btn-light { color: var(--ink); background: var(--surface); border-color: var(--line); }
.btn-light:hover { border-color: var(--red); }
.btn-block { width: 100%; }
.icon-button {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--surface);
}

/* =========================================================
   3. Header and navigation
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: var(--header-height);
  color: #fff;
  background: rgba(13, 15, 16, .96);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.header-inner {
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}
.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 220px;
  color: #fff;
}
.brand-mark-wrap {
  display: grid;
  place-items: center;
  width: 44px;
  height: 48px;
  color: var(--red);
}
.brand-mark { width: 37px; height: 43px; }
.brand-word {
  display: flex;
  flex-direction: column;
  color: #fff;
  font-size: 17px;
  font-weight: 950;
  letter-spacing: .025em;
  line-height: 1.05;
}
.brand-word small { margin-top: 4px; color: #fff; font-size: 11px; letter-spacing: .08em; }
.main-nav { display: flex; justify-content: center; align-items: center; gap: 3px; }
.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 10px;
  color: #d7dbdf;
  font-size: 14px;
  font-weight: 760;
  white-space: nowrap;
  transition: color .18s ease, background-color .18s ease;
}
.main-nav a::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 5px;
  left: 12px;
  height: 2px;
  border-radius: 999px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .18s ease;
}
.main-nav a:hover, .main-nav a.is-active { color: #fff; background: rgba(255, 255, 255, .06); }
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 5px 12px 5px 5px;
  border-radius: 14px;
  color: #fff;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .09);
}
.header-phone-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--red);
}
.header-phone-icon svg { width: 18px; fill: #fff; }
.header-phone-copy { line-height: 1.12; }
.header-phone-copy small { display: block; color: #aeb5bc; font-size: 10px; }
.header-phone-copy strong { display: block; margin-top: 2px; color: #fff; font-size: 13px; white-space: nowrap; }
.theme-toggle, .menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 13px;
  color: #fff;
  background: rgba(255, 255, 255, .05);
}
.theme-toggle { gap: 7px; padding: 0 12px; }
.theme-toggle svg { width: 18px; height: 18px; fill: currentColor; }
.theme-icon-sun { display: none; }
html[data-theme="dark"] .theme-icon-moon { display: none; }
html[data-theme="dark"] .theme-icon-sun { display: block; }
.theme-label { font-size: 12px; font-weight: 800; white-space: nowrap; }
.menu-toggle { display: none; flex-direction: column; gap: 5px; }
.menu-toggle span { width: 21px; height: 2px; border-radius: 999px; background: #fff; transition: transform .2s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   4. Hero
   ========================================================= */
.hero { position: relative; overflow: clip; background: var(--surface-2); }
.hero::before {
  content: "";
  position: absolute;
  inset: auto auto -180px -180px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(223, 31, 38, .16), transparent 66%);
  pointer-events: none;
}
.hero-grid { min-height: 640px; display: grid; grid-template-columns: 1.02fr .98fr; align-items: stretch; }
.hero-copy { align-self: center; padding: 72px 54px 72px 0; position: relative; z-index: 2; }
.hero h1 {
  max-width: 720px;
  margin: 18px 0 18px;
  font-size: clamp(48px, 5.5vw, 76px);
  letter-spacing: -.055em;
}
.hero h1 span { color: var(--red); }
.hero-copy > p { max-width: 650px; color: var(--muted); font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.after-hours-note { max-width: 620px; margin-top: 12px; padding: 10px 12px; border-left: 4px solid var(--red); border-radius: 8px; color: var(--muted); background: var(--red-soft); font-size: 13px; }
.hero-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 32px; }
.hero-point {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 10px;
  align-items: center;
  min-height: 68px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}
.hero-point-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; color: var(--red); background: var(--red-soft); }
.hero-point-icon svg { width: 21px; fill: currentColor; }
.hero-point strong { display: block; font-size: 13px; }
.hero-point small { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; line-height: 1.35; }
.hero-visual { position: relative; min-height: 640px; isolation: isolate; }
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, var(--surface-2) 0, rgba(245, 246, 247, .72) 6%, transparent 22%);
  pointer-events: none;
}
html[data-theme="dark"] .hero-visual::before { background: linear-gradient(90deg, var(--surface-2) 0, rgba(15, 18, 20, .72) 6%, transparent 22%); }
.hero-visual picture, .hero-visual img { width: 100%; height: 100%; }
.hero-visual img { object-fit: cover; object-position: 63% center; }
.hero-badge {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  max-width: 280px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 16px;
  color: #fff;
  background: rgba(13, 15, 16, .82);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
}
.hero-badge strong { display: block; font-size: 16px; }
.hero-badge span { display: block; margin-top: 4px; color: #d1d5d9; font-size: 12px; }

/* =========================================================
   5. Brand marquee
   ========================================================= */
.brand-section { padding: 25px 0 30px; overflow: hidden; background: var(--surface); border-block: 1px solid var(--line); }
.brand-heading-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.brand-title { font-size: 21px; letter-spacing: -.02em; }
.brand-motion-toggle { display: inline-flex; min-height: 36px; align-items: center; gap: 7px; padding: 6px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--text); background: var(--surface); font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }
.brand-motion-toggle:hover { border-color: var(--text); }
.brand-motion-toggle:focus-visible { outline: 3px solid rgba(214, 31, 38, .2); outline-offset: 2px; }
.brand-motion-icon { width: 12px; text-align: center; }
.brand-marquee { direction: ltr; overflow: hidden; overflow: clip; -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent); }
.brand-track { display: flex; width: max-content; animation: brand-scroll-rtl 42s linear infinite; animation-direction: normal; animation-play-state: running; will-change: transform; }
.brand-track.is-paused { animation-play-state: paused; }
.brand-group { display: flex; align-items: center; gap: 14px; padding-right: 14px; flex-shrink: 0; }
.brand-chip {
  display: grid;
  place-items: center;
  width: 170px;
  height: 72px;
  padding: 13px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 5px 18px rgba(15, 18, 22, .04);
}
.brand-chip img { width: 100%; max-width: 132px; max-height: 42px; object-fit: contain; }
.brand-disclaimer { margin-top: 14px; color: var(--muted); font-size: 12px; text-align: center; }
@keyframes brand-scroll-rtl { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }

/* =========================================================
   6. Lead form and location
   ========================================================= */
.lead-section { padding: 64px 0 76px; background: var(--surface-2); }
.lead-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: stretch; }
.photo-card, .location-card, .content-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.photo-card { padding: 30px; color: #fff; background: linear-gradient(145deg, #0d0f10, #171a1d); border-color: #23272b; }
.photo-card-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.photo-card h2, .location-card h2 { font-size: clamp(25px, 3vw, 34px); }
.photo-card > p { margin-top: 12px; color: #c7ccd1; }
.badge { display: inline-flex; min-height: 32px; align-items: center; padding: 5px 11px; border-radius: 999px; color: #fff; background: var(--red); font-size: 11px; font-weight: 900; white-space: nowrap; }
/* =========================================================
   6. Compact single-page service request form
   ========================================================= */
.quick-request-form { display: grid; gap: 14px; }
.request-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.quick-form .field { display: grid; align-content: start; gap: 7px; min-width: 0; }
.quick-form .field > span { color: #eef0f2; font-size: 12px; font-weight: 820; }
.field-wide { grid-column: 1 / -1; }
.field-help { display: block; min-height: 16px; color: #aeb5bc; font-size: 10.5px; line-height: 1.4; }
.quick-form select,
.quick-form input[type="date"],
.quick-form textarea {
  width: 100%;
  border: 1px solid #3a4148;
  border-radius: 12px;
  color: #fff;
  background: #1b1f23;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.quick-form select,
.quick-form input[type="date"] { min-height: 52px; padding: 0 14px; }
.quick-form textarea { min-height: 116px; padding: 13px 14px; resize: vertical; line-height: 1.55; }
.quick-form input[type="date"] { color-scheme: dark; }
.quick-form textarea::placeholder { color: #858e96; opacity: 1; }
.quick-form select:hover,
.quick-form input[type="date"]:hover,
.quick-form textarea:hover { border-color: #535c65; }
.quick-form select:focus,
.quick-form input[type="date"]:focus,
.quick-form textarea:focus {
  border-color: #ff4b52;
  box-shadow: 0 0 0 3px rgba(223,31,38,.16);
  outline: 0;
}
.quick-form select:disabled,
.quick-form input:disabled { cursor: not-allowed; opacity: .55; }
.quick-form select[aria-invalid="true"],
.quick-form input[aria-invalid="true"],
.quick-form textarea[aria-invalid="true"] { border-color: #ff5960; box-shadow: 0 0 0 3px rgba(223,31,38,.16); }
.quick-form option { color: #111; background: #fff; }
.description-meta { display: flex; justify-content: space-between; gap: 12px; color: #aeb5bc !important; font-size: 10.5px !important; font-weight: 650 !important; line-height: 1.4; }
.description-meta small:last-child { flex: 0 0 auto; color: #d8dde1; font-variant-numeric: tabular-nums; }
.request-extras { border: 1px solid #343a40; border-radius: 12px; background: rgba(255,255,255,.025); }
.request-extras summary {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 14px;
  color: #fff;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
  list-style: none;
}
.request-extras summary::-webkit-details-marker { display: none; }
.request-extras summary::after { content: "+"; color: var(--red); font-size: 21px; line-height: 1; }
.request-extras[open] summary::after { content: "−"; }
.request-extras summary small { margin-left: auto; color: #9fa7af; font-size: 10px; font-weight: 700; }
.request-extras-body { display: grid; gap: 12px; padding: 0 12px 12px; }
.request-schedule-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.request-extras .file-note { margin: -2px 2px 0; color: #9ba3aa; font-size: 10.5px; line-height: 1.4; }
.booking-disclaimer { margin: 0; padding: 10px 12px; border: 1px solid #353b41; border-radius: 11px; color: #c7ccd1; background: rgba(255,255,255,.035); font-size: 11px; line-height: 1.45; }
.booking-disclaimer strong { color: #fff; }
.form-consent { display: grid; grid-template-columns: 22px 1fr; gap: 9px; align-items: start; color: #bfc5ca; font-size: 11px; line-height: 1.4; }
.form-consent input { width: 19px; height: 19px; accent-color: var(--red); }
.form-consent a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.request-submit-row { display: flex; justify-content: flex-end; }
.btn-submit-request { min-width: 230px; min-height: 50px; gap: 9px; font-size: 14px; box-shadow: 0 12px 28px rgba(223,31,38,.22); }
.btn-submit-request svg { width: 20px; height: 20px; fill: currentColor; }

.location-card { overflow: hidden; }
.location-card h2 { padding: 28px 28px 0; }
.map-wrap { position: relative; min-height: 280px; margin: 20px 20px 0; overflow: hidden; border-radius: 15px; background: var(--surface-3); }
.map-wrap iframe { width: 100%; height: 300px; border: 0; }
.map-placeholder { display: grid; place-items: center; min-height: 300px; padding: 24px; text-align: center; }
.map-placeholder svg { width: 44px; height: 44px; margin: 0 auto 10px; fill: var(--red); }
.map-placeholder p { color: var(--muted); }
.map-placeholder .btn { margin-top: 16px; }
.location-list { padding: 16px 26px 8px; }
.location-row { display: grid; grid-template-columns: 22px minmax(95px, .55fr) 1fr; gap: 10px; align-items: start; padding: 13px 0; border-bottom: 1px solid var(--line); }
.location-row:last-child { border-bottom: 0; }
.location-row svg { width: 19px; height: 19px; margin-top: 2px; fill: var(--red); }
.location-row strong { font-size: 13px; }
.location-row a, .location-row span { color: var(--muted); font-size: 13px; text-align: right; }
.location-row a:hover { color: var(--red); }
.location-actions { padding: 12px 26px 26px; }

/* =========================================================
   7. Services, process and about
   ========================================================= */
.services-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.service-card {
  display: flex;
  min-height: 290px;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card:hover { transform: translateY(-6px); border-color: rgba(223, 31, 38, .35); box-shadow: var(--shadow-md); }
.service-icon { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 22px; border-radius: 15px; color: var(--red); background: var(--red-soft); }
.service-icon svg { width: 25px; height: 25px; fill: currentColor; }
.service-card h3 { font-size: 21px; }
.service-card p { margin-top: 12px; color: var(--muted); font-size: 14px; }
.card-link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 20px; color: var(--red); font-size: 14px; font-weight: 850; }
.card-link::after { content: "→"; transition: transform .18s ease; }
.card-link:hover::after { transform: translateX(4px); }
.process-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.process-card { position: relative; padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.process-no { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: 18px; border-radius: 13px; color: #fff; background: var(--red); font-weight: 900; }
.process-card h3 { font-size: 20px; }
.process-card p { margin-top: 10px; color: var(--muted); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.about-copy h2 { margin-top: 14px; font-size: clamp(34px, 4vw, 52px); letter-spacing: -.04em; }
.about-copy > p { margin-top: 18px; color: var(--muted); font-size: 17px; }
.about-list { display: grid; gap: 12px; margin-top: 24px; }
.about-item { display: grid; grid-template-columns: 42px 1fr; gap: 12px; align-items: start; }
.about-item svg { width: 42px; height: 42px; padding: 10px; border-radius: 13px; fill: var(--red); background: var(--red-soft); }
.about-item strong { display: block; }
.about-item span { display: block; margin-top: 3px; color: var(--muted); font-size: 14px; }
.about-panel { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-md); }
.about-panel-title { margin-top: 14px; font-size: 28px; }
.about-panel-copy { margin-top: 12px; color: var(--muted); }
.about-panel-button { margin-top: 24px; }
.area-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.area-tags span { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-2); font-size: 13px; font-weight: 700; }

/* =========================================================
   8. Tools and FAQs
   ========================================================= */
.tools-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.tool-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); box-shadow: var(--shadow-sm); }
.tool-card h3 { font-size: 26px; }
.tool-card > p { margin-top: 8px; color: var(--muted); }
.error-search { display: grid; grid-template-columns: 1fr 48px; gap: 8px; margin-top: 20px; }
.error-search input { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: var(--surface-2); }
.error-search button { display: grid; place-items: center; border-radius: 12px; color: #fff; background: var(--red); font-size: 20px; }
.error-result { min-height: 72px; margin-top: 12px; padding: 14px; border-radius: 12px; color: var(--muted); background: var(--surface-2); font-size: 14px; }
.code-list { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 12px; }
.code-pill { min-height: 58px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: var(--surface); text-align: left; }
.code-pill strong { display: block; color: var(--red); font-size: 13px; }
.code-pill span { color: var(--muted); font-size: 11px; }
.faq-list { display: grid; gap: 9px; margin-top: 18px; }
.faq-list details { border: 1px solid var(--line); border-radius: 13px; background: var(--surface); }
.faq-list summary { position: relative; min-height: 54px; display: flex; align-items: center; padding: 14px 48px 14px 16px; font-weight: 780; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 17px; font-size: 22px; color: var(--red); }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding: 0 16px 16px; color: var(--muted); font-size: 14px; }

/* =========================================================
   9. CTA, review and footer
   ========================================================= */
.primary-cta { padding: 34px; border-radius: var(--radius-lg); color: #fff; background: linear-gradient(125deg, #b91319, #e5232a); box-shadow: 0 24px 60px rgba(223, 31, 38, .24); }
.primary-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.primary-cta h2 { font-size: clamp(28px, 4vw, 44px); }
.primary-cta p { margin-top: 8px; color: rgba(255, 255, 255, .86); }
.primary-cta .btn { color: var(--red); background: #fff; }
.review-cta-section { padding: 52px 0; background: var(--surface-2); }
.review-section-inner { padding: 30px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-sm); }
.review-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 22px; }
.review-heading-copy > span { color: var(--red); font-size: 12px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.review-heading-copy h2 { margin-top: 5px; font-size: clamp(27px, 3vw, 38px); }
.review-rating { margin-top: 8px; color: var(--muted); }
.review-rating strong { color: var(--ink); font-size: 20px; }
.review-profile-link, .review-leave-row a { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 0 16px; border-radius: 12px; color: #fff; background: var(--red); font-size: 13px; font-weight: 850; }
.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 24px; }
.review-card { margin: 0; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface-2); }
.review-card > span { color: var(--red); font-family: Georgia, serif; font-size: 34px; font-weight: 900; line-height: .7; }
.review-card p { margin-top: 10px; color: var(--ink); }
.review-card cite { display: block; margin-top: 13px; color: var(--muted); font-size: 12px; font-style: normal; font-weight: 750; }
.review-leave-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.site-footer { padding: 62px 0 22px; color: #c4c9ce; background: #0b0d0e; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .8fr .8fr 1.2fr; gap: 42px; }
.footer-brand h3, .footer-column h4 { color: #fff; }
.footer-brand p { max-width: 360px; margin-top: 14px; font-size: 14px; }
.footer-column { display: grid; align-content: start; gap: 9px; }
.footer-column h4 { margin-bottom: 7px; font-size: 15px; }
.footer-column a, .footer-column span { font-size: 13px; }
.footer-column a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 48px; padding-top: 18px; border-top: 1px solid #282c30; font-size: 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-action-link { display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; border: 1px solid #343a40; border-radius: 10px; color: #e2e5e8; background: #15191c; font-size: 12px; font-weight: 780; }
.footer-action-link:hover { border-color: var(--red); color: #fff; }
.mobile-bar { display: none; }
.toast { position: fixed; right: 18px; bottom: 18px; z-index: 2000; max-width: min(360px, calc(100% - 36px)); padding: 13px 16px; border-radius: 12px; color: #fff; background: #111; box-shadow: var(--shadow-md); opacity: 0; transform: translateY(15px); pointer-events: none; transition: .2s ease; }
.toast.show { opacity: 1; transform: translateY(0); }

/* =========================================================
   10. Inner pages
   ========================================================= */
.page-hero { padding: 72px 0 54px; background: var(--surface-2); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 18px; color: var(--muted); font-size: 13px; }
.breadcrumbs a:hover { color: var(--red); }
.page-hero h1 { max-width: 850px; font-size: clamp(42px, 6vw, 70px); letter-spacing: -.05em; }
.page-hero p { max-width: 760px; margin-top: 16px; color: var(--muted); font-size: 18px; }
.page-content { padding: 70px 0; }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 28px; align-items: start; }
.prose { min-width: 0; }
.prose h2 { margin: 34px 0 13px; font-size: 30px; }
.prose h3 { margin: 24px 0 10px; font-size: 22px; }
.prose p, .prose li { color: var(--muted); }
.prose ul { display: grid; gap: 9px; margin: 15px 0; padding-left: 22px; }
.prose a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.sidebar-cta { position: sticky; top: calc(var(--header-height) + 22px); padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-sm); }
.sidebar-cta h2 { font-size: 24px; }
.sidebar-cta p { margin: 10px 0 18px; color: var(--muted); }
.sidebar-cta .btn + .btn { margin-top: 9px; }
.check-list { display: grid; gap: 10px; margin-top: 18px; }
.check-list li { display: grid; grid-template-columns: 22px 1fr; gap: 9px; list-style: none; }
.check-list li::before { content: "✓"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; color: #fff; background: var(--success); font-size: 12px; font-weight: 900; }
.sitemap-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.sitemap-list a { display: block; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); font-weight: 780; }
.error-page { min-height: 62vh; display: grid; place-items: center; padding: 70px 0; text-align: center; }
.error-page strong { display: block; color: var(--red); font-size: clamp(80px, 15vw, 170px); line-height: .9; }
.error-page h1 { margin-top: 18px; font-size: clamp(32px, 5vw, 54px); }
.error-page p { max-width: 600px; margin: 14px auto 24px; color: var(--muted); }
.error-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }


/* WordPress yönetici çubuğu ve JavaScript kapalı kullanım */
.admin-bar .site-header { top: 32px; }
.no-js .theme-toggle { display: none; }
.no-js .map-load-button { display: none; }

/* =========================================================
   11. Responsive: large tablet and smaller desktops
   ========================================================= */
@media (max-width: 1180px) {
  :root { --header-height: 74px; }
  .header-inner { grid-template-columns: auto 1fr auto; gap: 16px; }
  .site-brand { min-width: 0; }
  .main-nav {
    position: fixed;
    top: var(--header-height);
    right: 16px;
    left: 16px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 16px;
    background: #111416;
    box-shadow: 0 22px 70px rgba(0, 0, 0, .38);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: .2s ease;
  }
  .main-nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .main-nav a { justify-content: center; min-height: 50px; background: rgba(255, 255, 255, .04); }
  .menu-toggle { display: inline-flex; }
  .theme-label { display: none; }
  .hero-grid { min-height: 600px; }
  .hero-copy { padding-right: 30px; }
  .hero-points { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-bar .main-nav { top: calc(var(--header-height) + 32px); }
  .no-js .header-inner { grid-template-columns: auto 1fr auto; padding-block: 10px; }
  .no-js .main-nav { position: static; grid-column: 1 / -1; opacity: 1; visibility: visible; transform: none; }
  .no-js .menu-toggle { display: none; }
}

/* =========================================================
   12. Responsive: tablet
   ========================================================= */
@media (max-width: 900px) {
  .section { padding: 62px 0; }
  .header-phone-copy { display: none; }
  .header-phone { padding: 5px; border: 0; background: transparent; }
  .hero-grid { min-height: 0; grid-template-columns: 1fr; }
  .hero-copy { padding: 56px 0 34px; }
  .hero h1 { font-size: clamp(45px, 9vw, 68px); }
  .hero-visual { min-height: 480px; margin-inline: -16px; }
  .hero-visual::before { background: linear-gradient(180deg, var(--surface-2) 0, transparent 14%); }
  html[data-theme="dark"] .hero-visual::before { background: linear-gradient(180deg, var(--surface-2) 0, transparent 14%); }
  .hero-badge { right: 18px; bottom: 18px; }
  .lead-grid, .about-grid, .tools-grid, .content-layout { grid-template-columns: 1fr; }
  .location-card { order: 2; }
  .process-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sidebar-cta { position: static; }
}

/* =========================================================
   13. Responsive: phone
   ========================================================= */
@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
  .admin-bar .main-nav { top: calc(var(--header-height) + 46px); }
}

@media (max-width: 640px) {
  :root { --header-height: 68px; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .container { width: min(100% - 24px, var(--container)); }
  .site-header, .header-inner { min-height: var(--header-height); }
  .brand-mark-wrap { width: 34px; height: 40px; }
  .brand-mark { width: 30px; height: 36px; }
  .brand-word { font-size: 14px; }
  .brand-word small { font-size: 9px; }
  .theme-toggle { width: 46px; min-width: 46px; min-height: 46px; padding: 0; }
  .menu-toggle { width: 46px; min-width: 46px; min-height: 46px; }
  .header-phone-icon { width: 38px; height: 38px; }
  .main-nav { right: 10px; left: 10px; grid-template-columns: 1fr; max-height: calc(100vh - var(--header-height) - 20px); overflow-y: auto; }
  .section { padding: 54px 0; }
  .section-heading { margin-bottom: 28px; }
  .section-heading p { font-size: 15px; }
  .hero-copy { padding: 44px 0 28px; }
  .hero h1 { font-size: clamp(39px, 12vw, 56px); }
  .hero-copy > p { font-size: 16px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .hero-points { margin-top: 24px; }
  .hero-visual { min-height: 350px; }
  .hero-badge { right: 12px; bottom: 12px; left: 12px; max-width: none; }
  .brand-heading-row { align-items: flex-start; }
  .brand-title { font-size: 17px; }
  .brand-chip { width: 145px; height: 66px; }
  .lead-section { padding: 44px 0 54px; }
  .photo-card { padding: 22px; }
  .photo-card-head { align-items: flex-start; flex-direction: column; }
  .request-grid, .request-schedule-grid { grid-template-columns: 1fr; }
  .description-meta { align-items: flex-start; flex-direction: column; gap: 3px; }
  .request-submit-row { justify-content: stretch; }
  .btn-submit-request { width: 100%; min-width: 0; }
  .location-card h2 { padding: 22px 20px 0; }
  .map-wrap { margin: 16px 14px 0; }
  .location-list { padding: 12px 18px 4px; }
  .location-row { grid-template-columns: 20px 1fr; }
  .location-row a, .location-row span { grid-column: 2; text-align: left; }
  .location-actions { padding: 12px 18px 20px; }
  .services-grid, .footer-grid, .sitemap-list { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .tools-grid { gap: 16px; }
  .tool-card { padding: 22px; }
  .code-list { grid-template-columns: 1fr; }
  .about-panel { padding: 22px; }
  .primary-cta { padding: 26px 22px; }
  .primary-cta-inner { align-items: stretch; flex-direction: column; }
  .primary-cta .btn { width: 100%; }
  .review-section-inner { padding: 22px; }
  .review-heading-row, .review-leave-row { align-items: stretch; flex-direction: column; }
  .review-profile-link, .review-leave-row a { width: 100%; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .footer-links { width: 100%; }
  .footer-action-link { flex: 1 1 auto; justify-content: center; min-height: 44px; }
  .mobile-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1100;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    min-height: calc(64px + env(safe-area-inset-bottom));
    padding: 5px 8px calc(5px + env(safe-area-inset-bottom));
    border-top: 1px solid #2b3035;
    background: rgba(13, 15, 16, .97);
    transform: translateY(110%);
    transition: transform .22s ease;
    backdrop-filter: blur(14px);
  }
  .mobile-bar.is-visible { transform: translateY(0); }
  .mobile-bar a { display: grid; place-items: center; align-content: center; gap: 3px; min-height: 54px; color: #fff; font-size: 11px; font-weight: 780; }
  .mobile-bar a + a { border-left: 1px solid #2b3035; }
  .mobile-bar svg { width: 21px; height: 21px; fill: var(--red); }
  .toast { bottom: calc(82px + env(safe-area-inset-bottom)); }
  .page-hero { padding: 54px 0 42px; }
  .page-content { padding: 50px 0; }
}

@media (max-width: 370px) {
  .photo-card { padding: 18px 14px; }
  .header-actions { gap: 5px; }
  .site-brand { gap: 6px; }
  .brand-word { font-size: 12.5px; }
  .brand-word small { font-size: 8px; }
  .header-phone { display: none; }
  .hero h1 { font-size: 37px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
