/* ============================================================
   KARDEŞLER OTO ELEKTRİK ELEKTRONİK — style.css
   Kimlik: "diagnostik tezgâh" — asfalt zemin, ESD çelik mavisi
   yüzeyler, elektrik amberi vurgu, Chakra Petch + IBM Plex.
   ============================================================ */

/* ---------- 1. Reset & tokenlar ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #0B0E13;
  --bg-2:      #0E1219;
  --panel:     #121826;
  --panel-2:   #161E2E;
  --line:      #1F2B3D;
  --line-soft: #182335;
  --steel:     #33465F;
  --steel-tint: rgba(70, 105, 150, .14);
  --amber:     #FFAE1A;
  --amber-2:   #FF8A00;
  --amber-glow: rgba(255, 174, 26, .14);
  --ok:        #3FD08B;
  --wa:        #25D366;
  --text:      #E8EDF5;
  --muted:     #8FA0B5;
  --muted-2:   #5F7085;

  --disp: 'Chakra Petch', 'Arial Narrow', sans-serif;
  --body: 'IBM Plex Sans', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;

  --r: 12px;
  --r-sm: 8px;
  --container: 1160px;
  --chamfer: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

::selection { background: var(--amber); color: #14100A; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

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

::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: #24344a; border-radius: 6px; border: 2px solid var(--bg-2); }
::-webkit-scrollbar-thumb:hover { background: var(--steel); }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

/* ---------- 2. Tipografi & yardımcılar ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.section { padding: 104px 0; position: relative; }
.section-tight { padding: 72px 0; }

/* Kesit başlığı: prob ucu çizgisi + mono etiket */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase; color: var(--amber);
}
.eyebrow::before {
  content: ''; width: 26px; height: 1px; background: var(--amber);
  box-shadow: 26px 0 0 -0.5px var(--amber); position: relative;
}
.eyebrow::after {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: var(--amber); margin-left: -9px;
  box-shadow: 0 0 0 3px var(--amber-glow);
  order: -1; display: none;
}

h1, h2, h3 { font-family: var(--disp); line-height: 1.12; letter-spacing: .005em; }

.section-head { margin-bottom: 52px; max-width: 720px; }
.section-head h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 700; text-transform: uppercase;
  margin: 14px 0 12px;
}
.section-head .lead { color: var(--muted); font-size: 16.5px; }

.accent { color: var(--amber); }

/* ---------- 3. Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--disp); font-weight: 600; font-size: 15px;
  letter-spacing: .03em; padding: 13px 24px; border-radius: 0;
  transition: transform .2s ease, filter .2s ease, background .2s ease,
              border-color .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn svg { flex: 0 0 auto; }

.btn-primary {
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-2) 100%);
  color: #191104;
  clip-path: var(--chamfer);
}
.btn-primary:hover { filter: brightness(1.08) drop-shadow(0 6px 18px rgba(255, 154, 26, .35)); transform: translateY(-1px); }

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(22, 30, 46, .4);
  border-radius: var(--r-sm);
}
.btn-ghost:hover { border-color: var(--steel); background: var(--panel-2); transform: translateY(-1px); }

.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn-sm { padding: 9px 16px; font-size: 13.5px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 13.5px; letter-spacing: .06em;
  color: var(--amber);
}
.link-arrow:hover { gap: 12px; }
.link-arrow { transition: gap .2s ease; }

/* ---------- 4. Header / navigasyon ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(11, 14, 19, .78);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .3s ease, background .3s ease;
}
.site-header.scrolled {
  background: rgba(11, 14, 19, .92);
  box-shadow: 0 12px 32px -18px rgba(0, 0, 0, .8);
}

/* Menü açıkken:
   1) backdrop-filter kapatılır — filtreli öğe, içindeki position:fixed
      menünün referans kutusu olur ve menü 0 yükseklikte kalır;
   2) header sticky yerine fixed olur — overflow kilidi sticky'yi bozup
      header'ı (ve X butonunu) sayfanın tepesinde bırakıyordu. */
html.nav-open .site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  background: rgba(9, 12, 17, .98);
}
html.nav-open .wa-fab { opacity: 0; pointer-events: none; }

.header-inner {
  display: flex; align-items: center; justify-content: flex-start;
  gap: 18px; height: 74px;
}

.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark { width: 36px; height: 36px; flex: 0 0 auto; }
.logo-text {
  font-family: var(--disp); font-weight: 700; font-size: 17.5px;
  letter-spacing: .05em; line-height: 1.1; display: block;
}
.logo-sub {
  font-family: var(--mono); font-size: 8.5px; letter-spacing: .3em;
  color: var(--muted); display: block; margin-top: 2px; text-transform: uppercase;
}

.main-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.nav-link {
  font-size: 14.5px; font-weight: 500; color: var(--muted);
  padding: 6px 2px; position: relative; transition: color .2s ease;
}
.nav-link::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; background: var(--amber); transition: right .25s ease;
}
.nav-link:hover { color: var(--text); }
.nav-link.active { color: var(--text); }
.nav-link.active::after, .nav-link:hover::after { right: 0; }

.nav-cta { margin-left: 6px; }

/* Tema değiştirme butonu */
.theme-btn {
  flex: 0 0 auto; width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  color: var(--muted); transition: color .2s ease, border-color .2s ease, transform .2s ease;
}
.theme-btn:hover { color: var(--amber); border-color: var(--amber); transform: translateY(-1px); }
.theme-btn .ico-moon { display: none; }
[data-theme="light"] .theme-btn .ico-sun { display: none; }
[data-theme="light"] .theme-btn .ico-moon { display: block; }

.burger {
  display: none; width: 44px; height: 44px; position: relative; z-index: 70;
  flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.burger span {
  width: 24px; height: 2px; background: var(--text);
  transition: transform .3s ease, opacity .2s ease; display: block;
}
html.nav-open .burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
html.nav-open .burger span:nth-child(2) { opacity: 0; }
html.nav-open .burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- 5. Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 96px 0 120px;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(143, 160, 181, .09) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 20%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 90% 80% at 50% 20%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; top: -220px; right: -160px;
  width: 640px; height: 640px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 158, 26, .12) 0%, transparent 62%);
  pointer-events: none;
}

.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.08fr .92fr;
  gap: 56px; align-items: center;
}

.hero-title {
  font-size: clamp(2.3rem, 5vw, 3.9rem);
  font-weight: 700; text-transform: uppercase; line-height: 1.06;
  margin: 20px 0 22px;
}
.hero-title em { font-style: normal; color: var(--amber); }

.hero-sub {
  color: var(--muted); font-size: 17px; max-width: 480px; margin-bottom: 34px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 38px; }

.hero-chips { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.chip-check {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em;
  color: var(--muted);
}
.chip-check::before {
  content: ''; width: 6px; height: 6px; background: var(--ok);
  border-radius: 50%; box-shadow: 0 0 0 3px rgba(63, 208, 139, .15);
}

/* Osiloskop izi — hero alt kenarı */
.hero-osc {
  position: absolute; left: 0; right: 0; bottom: 18px; z-index: 0;
  width: 100%; height: 90px; opacity: .3; pointer-events: none;
}
.hero-osc path {
  fill: none; stroke: var(--amber); stroke-width: 1.6;
  stroke-dasharray: 340 26; animation: osc-drift 11s linear infinite;
}
.hero-osc .osc-ghost {
  stroke: var(--steel); stroke-width: 1; stroke-dasharray: none;
  animation: none; opacity: .5;
}
@keyframes osc-drift { to { stroke-dashoffset: -732; } }

/* ---------- 6. DIAG terminali ---------- */
.term {
  background: #0A0F16;
  border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .5));
  font-family: var(--mono);
}
.term-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 13px 18px; border-bottom: 1px solid var(--line-soft);
  background: rgba(22, 30, 46, .5);
}
.term-dot { width: 10px; height: 10px; border-radius: 50%; }
.term-dot.r { background: #F5605A; } .term-dot.y { background: #F7B932; } .term-dot.g { background: #3FCB5E; }
.term-title {
  margin-left: 10px; font-size: 10.5px; letter-spacing: .24em;
  color: var(--muted); text-transform: uppercase;
}
.term-live {
  margin-left: auto; font-size: 10px; letter-spacing: .18em; color: var(--ok);
  display: inline-flex; align-items: center; gap: 6px;
}
.term-live::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--ok); animation: pulse 1.6s ease infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

.term-body {
  padding: 22px 22px 26px; min-height: 318px;
  font-size: 13px; line-height: 2.05; color: #C6D2E2;
}
.t-line { display: block; white-space: pre-wrap; word-break: break-word; }
.t-dim  { color: var(--muted-2); }
.t-ok   { color: var(--ok); }
.t-warn { color: var(--amber); }
.t-done { color: var(--amber); font-weight: 600; }
.t-cursor {
  display: inline-block; width: 8px; height: 15px;
  background: var(--amber); vertical-align: -2px;
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* ---------- 7. Marka şeridi ---------- */
.marquee {
  border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
  background: var(--bg-2); overflow: hidden; padding: 15px 0;
}
.marquee-track {
  display: flex; width: max-content;
  animation: mq 46s linear infinite;
}
/* gap yerine margin: her yarının genişliği kendi boşluğunu içersin ki
   -50% kaydırma kusursuz döngü versin */
.mq-item, .mq-sep { margin-right: 44px; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.mq-item {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .26em;
  color: var(--muted-2); white-space: nowrap;
}
.mq-sep { color: var(--amber); opacity: .55; }
@keyframes mq { to { transform: translateX(-50%); } }

/* ---------- 8. Hizmet kartları ---------- */
.svc-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.svc-card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--r); padding: 26px 24px 28px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.svc-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 174, 26, .4);
  box-shadow: 0 20px 44px -20px rgba(0, 0, 0, .65), 0 0 0 1px var(--amber-glow);
}
.svc-ico {
  width: 48px; height: 48px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center;
  background: var(--steel-tint); border: 1px solid var(--line);
  border-radius: var(--r-sm); color: var(--amber);
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 0 100%);
}
.svc-card h3 { font-size: 16.5px; font-weight: 600; margin-bottom: 8px; }
.svc-card p { font-size: 14.5px; color: var(--muted); line-height: 1.62; }

.svc-cta-card {
  border: 1px dashed rgba(255, 174, 26, .38); background: rgba(255, 174, 26, .04);
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
}
.svc-cta-card h3 { color: var(--amber); }
.svc-cta-card .link-arrow { margin-top: 14px; }
.svc-cta-card:hover { border-style: solid; }

/* ---------- 9. Neden Kardeşler ---------- */
.why-grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 64px; align-items: center;
}
.principles { display: flex; flex-direction: column; }
.principle {
  display: flex; gap: 18px; padding: 22px 0;
  border-bottom: 1px solid var(--line-soft);
}
.principle:last-child { border-bottom: 0; }
.p-ico {
  flex: 0 0 auto; width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  color: var(--amber); background: var(--steel-tint);
  border: 1px solid var(--line); border-radius: var(--r-sm);
}
.principle h3 { font-size: 16px; font-weight: 600; margin-bottom: 5px; }
.principle p { font-size: 14.5px; color: var(--muted); }

/* Amber köşe braketli fotoğraf çerçevesi */
.frame { position: relative; }
.frame img {
  width: 100%; border-radius: var(--r);
  border: 1px solid var(--line); object-fit: cover;
}
.frame::before, .frame::after {
  content: ''; position: absolute; width: 34px; height: 34px; pointer-events: none;
}
.frame::before {
  top: -7px; left: -7px;
  border-top: 2px solid var(--amber); border-left: 2px solid var(--amber);
}
.frame::after {
  bottom: -7px; right: -7px;
  border-bottom: 2px solid var(--amber); border-right: 2px solid var(--amber);
}
.frame-tag {
  position: absolute; left: 14px; bottom: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em;
  color: var(--text); background: rgba(10, 15, 22, .85);
  border: 1px solid var(--line); padding: 8px 12px; border-radius: 6px;
  text-transform: uppercase;
}
.tag-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--ok);
  animation: pulse 1.6s ease infinite;
}
.frame-tall img { aspect-ratio: 4 / 5; }
.frame-wide img { aspect-ratio: 16 / 10; }

.frame-video { max-width: 880px; margin: 0 auto; }
.frame-video video {
  width: 100%; max-height: 76vh; display: block;
  border-radius: var(--r); border: 1px solid var(--line);
  background: #000; object-fit: contain;
}

/* ---------- 10. Süreç ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step {
  position: relative; border-top: 1px dashed var(--line);
  padding-top: 22px;
}
.step::before {
  content: ''; position: absolute; top: -5px; left: 0;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--amber); box-shadow: 0 0 0 4px var(--amber-glow);
}
.step-num {
  font-family: var(--mono); font-size: 12px; letter-spacing: .2em;
  color: var(--amber); display: block; margin-bottom: 10px;
}
.step h3 { font-size: 16px; font-weight: 600; margin-bottom: 7px; }
.step p { font-size: 14px; color: var(--muted); }

/* ---------- 11. Galeri teaser & kartları ---------- */
.teaser-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile {
  position: relative; border-radius: var(--r); overflow: hidden;
  border: 1px solid var(--line); display: block;
}
.tile img {
  width: 100%; aspect-ratio: 16 / 10.5; object-fit: cover;
  transition: transform .5s ease, filter .4s ease;
}
.tile:hover img { transform: scale(1.045); filter: brightness(1.06); }
.tile-cap {
  position: absolute; inset: auto 0 0 0; padding: 34px 16px 13px;
  background: linear-gradient(transparent, rgba(8, 11, 16, .88));
  font-family: var(--mono); font-size: 12px; letter-spacing: .1em;
  color: var(--text);
}
.section-foot { margin-top: 34px; text-align: right; }

/* ---------- 12. CTA bandı ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #151E30 0%, #0E1420 100%);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
  padding: 58px 56px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
}
.cta-band::after {
  content: ''; position: absolute; right: -60px; top: -80px;
  width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(255, 158, 26, .14), transparent 65%);
  pointer-events: none;
}
.cta-band h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.1rem); font-weight: 700;
  text-transform: uppercase; margin-bottom: 10px;
}
.cta-band p { color: var(--muted); max-width: 520px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-note {
  margin-top: 14px; font-family: var(--mono); font-size: 11.5px;
  letter-spacing: .14em; color: var(--muted-2);
}

/* ---------- 13. Alt sayfa hero ---------- */
.page-hero {
  position: relative; padding: 84px 0 62px; overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg-2);
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(143, 160, 181, .08) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 80% 100% at 50% 0%, #000 20%, transparent 78%);
  mask-image: radial-gradient(ellipse 80% 100% at 50% 0%, #000 20%, transparent 78%);
}
.page-hero-inner { position: relative; max-width: 780px; }
.page-hero h1 {
  font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 700;
  text-transform: uppercase; margin: 16px 0 14px;
}
.page-hero .lead { color: var(--muted); font-size: 16.5px; }

/* ---------- 14. Hakkımızda ---------- */
.about-grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 64px; align-items: center;
}
.prose p { color: var(--muted); margin-bottom: 18px; font-size: 15.5px; }
.prose p strong { color: var(--text); font-weight: 600; }
.prose .link-arrow { margin-top: 4px; }

.strip-values {
  border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
  background: var(--bg-2); padding: 17px 0; text-align: center;
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .34em;
  color: var(--muted); text-transform: uppercase;
}
.strip-values .accent { color: var(--amber); }

.kit-grid {
  display: grid; grid-template-columns: .95fr 1.05fr; gap: 56px; align-items: center;
}
.kit-photos { display: grid; gap: 18px; }
.kit-list { display: flex; flex-direction: column; gap: 0; }
.kit-item {
  display: flex; gap: 16px; padding: 20px 0;
  border-bottom: 1px solid var(--line-soft);
}
.kit-item:last-child { border-bottom: 0; }
.kit-item::before {
  content: '▸'; color: var(--amber); font-family: var(--mono);
  font-size: 14px; line-height: 1.7;
}
.kit-item h3 { font-size: 15.5px; font-weight: 600; margin-bottom: 4px; }
.kit-item p { font-size: 14px; color: var(--muted); }

.persona {
  display: flex; gap: 36px; align-items: center;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--r); padding: 34px 38px; flex-wrap: wrap;
}
.persona-photo {
  flex: 0 0 190px; width: 190px;
}
.persona-photo img {
  aspect-ratio: 1 / 1.15; object-fit: cover; width: 100%;
  border-radius: var(--r-sm); border: 1px solid var(--line);
}
.persona-body { flex: 1; min-width: 260px; }
.persona-body h2 { font-size: 21px; font-weight: 700; margin-bottom: 4px; }
.persona-role {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .2em;
  color: var(--amber); text-transform: uppercase; display: block; margin-bottom: 14px;
}
.persona-body p { color: var(--muted); font-size: 14.5px; margin-bottom: 18px; }
.persona-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- 15. Galeri ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.fchip {
  font-family: var(--mono); font-size: 12px; letter-spacing: .12em;
  color: var(--muted); border: 1px solid var(--line);
  padding: 9px 16px; border-radius: 999px;
  transition: all .2s ease; text-transform: uppercase;
}
.fchip:hover { color: var(--text); border-color: var(--steel); }
.fchip.active {
  color: #191104; background: var(--amber); border-color: var(--amber);
  font-weight: 500;
}

.masonry { columns: 3 300px; column-gap: 18px; }
.g-item {
  break-inside: avoid; margin-bottom: 18px;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden; cursor: zoom-in;
  transition: transform .25s ease, border-color .25s ease;
}
.g-item:hover { transform: translateY(-3px); border-color: var(--steel); }
.g-item img { width: 100%; }
.g-cap {
  display: flex; align-items: center; gap: 9px;
  padding: 11px 14px; font-family: var(--mono); font-size: 11.5px;
  letter-spacing: .06em; color: var(--muted);
}
.g-cat { width: 7px; height: 7px; border-radius: 50%; flex: 0 0 auto; }
.g-cat[data-cat="kart"]   { background: var(--amber); }
.g-cat[data-cat="atolye"] { background: #6E9FD4; }
.g-cat[data-cat="arac"]   { background: var(--ok); }
.g-item.hidden { display: none; }

/* ---------- 16. Lightbox ---------- */
.lb {
  position: fixed; inset: 0; z-index: 100;
  display: none; align-items: center; justify-content: center;
  background: rgba(7, 10, 14, .93);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  padding: 60px 76px;
}
.lb.open { display: flex; }
body.lb-lock { overflow: hidden; }

.lb-img {
  max-width: 100%; max-height: calc(100vh - 160px);
  border: 1px solid var(--line); border-radius: var(--r-sm);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .6);
}
.lb-cap {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .08em;
  color: var(--muted); text-align: center; padding: 0 20px; max-width: 90vw;
}
.lb-count {
  position: absolute; top: 24px; left: 26px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .2em; color: var(--muted-2);
}
.lb-close, .lb-prev, .lb-next {
  position: absolute; display: flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border: 1px solid var(--line);
  border-radius: var(--r-sm); color: var(--text);
  background: rgba(18, 24, 38, .7); transition: all .2s ease;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { border-color: var(--amber); color: var(--amber); }
.lb-close { top: 20px; right: 22px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }

/* ---------- 17. İletişim ---------- */
.contact-grid {
  display: grid; grid-template-columns: .92fr 1.08fr; gap: 48px;
  align-items: start;
}
.c-stack { display: flex; flex-direction: column; gap: 16px; }
.c-card {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--r); padding: 22px 24px;
  transition: border-color .25s ease, transform .25s ease;
}
.c-card:hover { border-color: rgba(255, 174, 26, .35); transform: translateY(-2px); }
.c-ico {
  flex: 0 0 auto; width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  color: var(--amber); background: var(--steel-tint);
  border: 1px solid var(--line); border-radius: var(--r-sm);
}
.c-label {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .22em;
  color: var(--muted-2); text-transform: uppercase; display: block; margin-bottom: 5px;
}
.c-value { font-family: var(--disp); font-size: 18px; font-weight: 600; display: block; }
.c-value.small { font-size: 15.5px; font-family: var(--body); font-weight: 500; }
.c-sub { font-size: 13.5px; color: var(--muted); margin-top: 3px; display: block; }
.c-card .c-go {
  margin-left: auto; align-self: center; color: var(--muted-2);
  transition: color .2s ease, transform .2s ease;
}
.c-card:hover .c-go { color: var(--amber); transform: translateX(3px); }

.map-card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden;
}
.map-frame { position: relative; aspect-ratio: 16 / 11; background: var(--bg-2); }
.map-frame iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
  filter: grayscale(.9) contrast(1.04);
}
.map-body { padding: 24px 26px 28px; }
.addr { font-size: 15px; color: var(--muted); line-height: 1.65; margin: 6px 0 18px; }
.map-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.faq { max-width: 780px; }
.faq-item {
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--panel); margin-bottom: 12px;
  transition: border-color .25s ease;
}
.faq-item[open] { border-color: rgba(255, 174, 26, .35); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center;
  justify-content: space-between; gap: 18px;
  font-family: var(--disp); font-weight: 600; font-size: 15.5px;
  padding: 19px 22px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-family: var(--mono); font-size: 19px;
  color: var(--amber); transition: transform .25s ease; flex: 0 0 auto;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  padding: 0 22px 20px; color: var(--muted); font-size: 14.5px;
}

/* ---------- 18. Footer ---------- */
.site-footer {
  background: #080B10; border-top: 1px solid var(--line-soft);
  padding-top: 66px; margin-top: 40px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.25fr;
  gap: 44px; padding-bottom: 54px;
}
.f-brand p { color: var(--muted); font-size: 14px; margin: 16px 0 20px; max-width: 300px; }
.socials { display: flex; gap: 10px; }
.social-btn {
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: var(--r-sm); color: var(--muted);
  transition: all .2s ease;
}
.social-btn:hover { color: var(--amber); border-color: var(--amber); transform: translateY(-2px); }

.f-title {
  font-family: var(--mono); font-size: 11px; letter-spacing: .26em;
  color: var(--muted-2); text-transform: uppercase; margin-bottom: 18px;
}
.f-col ul li { margin-bottom: 10px; }
.f-link { font-size: 14px; color: var(--muted); transition: color .2s ease, padding-left .2s ease; }
.f-link:hover { color: var(--amber); padding-left: 4px; }

.f-contact li {
  display: flex; gap: 12px; margin-bottom: 14px;
  font-size: 14px; color: var(--muted); line-height: 1.55;
}
.f-contact svg { flex: 0 0 auto; margin-top: 3px; color: var(--amber); }
.f-contact a:hover { color: var(--amber); }
.f-note {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em;
  color: var(--muted-2); margin-top: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--line-soft);
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap; padding: 20px 0 22px;
  font-size: 13px; color: var(--muted-2);
}
.footer-bottom .domain {
  font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--muted);
}
.footer-bottom .domain:hover { color: var(--amber); }

/* ---------- 19. WhatsApp sabit buton ---------- */
.wa-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 80;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--wa); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .5);
  transition: transform .25s ease, box-shadow .25s ease;
}
.wa-fab:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 16px 36px -8px rgba(37, 211, 102, .6); }

/* ---------- 20. Reveal animasyonları ---------- */
/* .js sınıfı head'deki tek satırlık script ile eklenir; JS çalışmazsa
   içerik gizlenmez. Animasyon (transition değil) kullanılır ki kartların
   hover transition'ları ezilmesin. */
.js .reveal { opacity: 0; }
.js .reveal.in { opacity: 1; animation: rise .6s cubic-bezier(.2, .7, .3, 1) both; }
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}
.js [data-d="1"].in { animation-delay: .07s; }
.js [data-d="2"].in { animation-delay: .14s; }
.js [data-d="3"].in { animation-delay: .21s; }
.js [data-d="4"].in { animation-delay: .28s; }
.js [data-d="5"].in { animation-delay: .35s; }

/* ---------- 21. Duyarlılık ---------- */
@media (max-width: 1020px) {
  .main-nav {
    position: fixed; inset: 74px 0 0 0; z-index: 65;
    flex-direction: column; align-items: flex-start; justify-content: flex-start;
    gap: 6px; padding: 36px 28px;
    background: rgba(9, 12, 17, .97);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    transform: translateX(100%); transition: transform .35s cubic-bezier(.3, .7, .3, 1);
  }
  html.nav-open .main-nav { transform: translateX(0); }
  html.nav-open, html.nav-open body { overflow: hidden; }
  [data-theme="light"] .main-nav { background: rgba(243, 245, 249, .98); }
  .theme-btn { margin-left: auto; }
  .nav-link {
    font-family: var(--disp); font-size: 26px; font-weight: 600;
    text-transform: uppercase; padding: 10px 0; color: var(--text);
  }
  .nav-link::after { display: none; }
  .nav-link.active { color: var(--amber); }
  .nav-cta { margin: 18px 0 0; }
  .burger { display: flex; }

  .hero { padding: 72px 0 96px; }
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .term { max-width: 560px; }
  .why-grid, .about-grid, .kit-grid { grid-template-columns: 1fr; gap: 44px; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .lb { padding: 60px 16px; }
  .lb-prev { left: 8px; bottom: 18px; top: auto; transform: none; }
  .lb-next { right: 8px; bottom: 18px; top: auto; transform: none; }
  .lb-cap { bottom: 76px; }
}

@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .svc-grid, .steps, .teaser-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: clamp(2rem, 9vw, 2.6rem); }
  .hero-actions .btn { width: 100%; }
  .cta-band { padding: 40px 26px; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .persona { padding: 26px 22px; }
  .term-body { min-height: 296px; font-size: 12px; }
  .masonry { columns: 1; }
  .strip-values { letter-spacing: .18em; font-size: 11px; }
}

/* ---------- 22. Açık tema ---------- */
/* Varsayılan koyu; html[data-theme="light"] ile tüm token'lar değişir.
   Terminal, footer ve lightbox bilinçli olarak koyu kalır (marka imzası). */
[data-theme="light"] {
  --bg: #F3F5F9;
  --bg-2: #ECEFF5;
  --panel: #FFFFFF;
  --panel-2: #F6F8FC;
  --line: #D8DFE9;
  --line-soft: #E2E7EF;
  --steel: #8FA3BC;
  --steel-tint: rgba(70, 105, 150, .09);
  --amber: #B97300;
  --amber-2: #935B00;
  --amber-glow: rgba(185, 115, 0, .15);
  --ok: #178A55;
  --text: #16202E;
  --muted: #4C5B6E;
  --muted-2: #6C7A90;
}

/* Koyu kalan bölgeler: koyu token değerleri bu kapsamda geri yüklenir */
[data-theme="light"] .term,
[data-theme="light"] .site-footer {
  --text: #E8EDF5; --muted: #8FA0B5; --muted-2: #5F7085;
  --line: #1F2B3D; --line-soft: #182335;
  --panel: #121826; --panel-2: #161E2E;
  --steel-tint: rgba(70, 105, 150, .14);
  --amber: #FFAE1A; --amber-2: #FF8A00;
  --amber-glow: rgba(255, 174, 26, .14); --ok: #3FD08B;
}

[data-theme="light"] .btn-primary { color: #FFFFFF; }
[data-theme="light"] .fchip.active { color: #FFFFFF; }
[data-theme="light"] ::selection { background: #B97300; color: #FFF8EC; }

[data-theme="light"] .site-header { background: rgba(246, 248, 252, .82); }
[data-theme="light"] .site-header.scrolled {
  background: rgba(246, 248, 252, .95);
  box-shadow: 0 10px 28px -18px rgba(23, 43, 77, .3);
}
html.nav-open[data-theme="light"] .site-header { background: rgba(243, 245, 249, .98); }

[data-theme="light"] .hero::before,
[data-theme="light"] .page-hero::before {
  background-image: radial-gradient(rgba(35, 55, 85, .13) 1px, transparent 1px);
}
[data-theme="light"] .hero-osc path { stroke: #D98A00; }
[data-theme="light"] .term { filter: drop-shadow(0 24px 48px rgba(23, 43, 77, .3)); }

[data-theme="light"] .btn-ghost { background: rgba(255, 255, 255, .65); }
[data-theme="light"] .svc-card:hover,
[data-theme="light"] .c-card:hover {
  box-shadow: 0 18px 40px -20px rgba(23, 43, 77, .28), 0 0 0 1px var(--amber-glow);
}
[data-theme="light"] .cta-band {
  background: linear-gradient(135deg, #FFFFFF 0%, #EFF3FA 100%);
}
[data-theme="light"] .g-cat[data-cat="atolye"] { background: #4A7DB5; }

[data-theme="light"] ::-webkit-scrollbar-track { background: #E7EBF2; }
[data-theme="light"] ::-webkit-scrollbar-thumb { background: #C3CEDC; border-color: #E7EBF2; }

/* ---------- 23. Hareket azaltma ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal, .js .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
  .hero-osc path { animation: none; }
}
