/* =========================================================
   Nevox3D — stil dosyası
   Renkleri değiştirmek için aşağıdaki :root değişkenlerini düzenleyin.
   ========================================================= */
:root {
  --bg: #0a0c0f;
  --bg-2: #0f1216;
  --surface: #141820;
  --surface-2: #1a1f29;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #e8ecf1;
  --muted: #8b95a3;
  --accent: #3fe0c5;          /* tarama turkuazı */
  --accent-dim: rgba(63, 224, 197, 0.14);
  --wa: #25d366;
  --radius: 14px;
  --radius-sm: 10px;
  --container: 1180px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", Consolas, "Roboto Mono", monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.12; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.muted { color: var(--muted); }
.accent { color: var(--accent); }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600; font-size: 0.98rem;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), background .25s, border-color .25s, box-shadow .25s;
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; }
.btn-primary { background: var(--accent); color: #04110e; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -10px rgba(63, 224, 197, .6); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 9px 16px; font-size: 0.88rem; }

/* ---------- Üst menü ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(10, 12, 15, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}
.header-inner { display: flex; align-items: center; gap: 28px; height: 70px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.25rem; letter-spacing: -0.01em; }
.logo b { color: var(--accent); font-weight: 700; }
.logo-mark { width: 28px; height: 28px; color: var(--accent); }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { font-size: 0.93rem; color: var(--muted); transition: color .2s; }
.nav a:hover { color: var(--text); }
.menu-toggle { display: none; }

/* ---------- Giriş ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: 110px 0 70px;
  overflow: hidden;
}
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 65% 45%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 65% 45%, #000 20%, transparent 75%);
  opacity: .6;
}
.hero::after {
  content: ""; position: absolute; width: 640px; height: 640px; right: -120px; top: 10%;
  background: radial-gradient(circle, rgba(63, 224, 197, .12), transparent 65%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); font-weight: 750; }
.lead { margin-top: 24px; font-size: 1.12rem; color: var(--muted); max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-chips { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-chips li {
  font-family: var(--mono); font-size: 0.78rem; color: var(--muted);
  padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px;
}
.hero-chips li::before { content: "●"; color: var(--accent); margin-right: 8px; font-size: .6rem; vertical-align: 2px; }

.hero-visual { display: flex; justify-content: center; }
.scan-frame { position: relative; width: min(100%, 500px); aspect-ratio: 1; }
.scan-frame canvas { width: 100%; height: 100%; display: block; }
.corner { position: absolute; width: 26px; height: 26px; border: 0 solid var(--accent); opacity: .7; }
.corner.tl { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; }
.corner.tr { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; }
.corner.bl { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; }
.corner.br { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; }
.scan-hud {
  position: absolute; left: 14px; right: 14px; bottom: 12px;
  display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; color: var(--muted);
}
.scan-hud span:first-child { color: var(--accent); }
.scan-hud span:first-child::before {
  content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); margin-right: 8px; vertical-align: 1px;
  animation: blink 1.6s infinite;
}
@keyframes blink { 50% { opacity: .2; } }

/* ---------- Bölümler ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-head { margin-bottom: clamp(40px, 6vw, 64px); max-width: 760px; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 700; }
.section-head .muted { margin-top: 16px; }

/* ---------- Görsel yer tutucuları ---------- */
/* Fotoğraf yoksa bu desen görünür; images klasörüne fotoğraf koyunca otomatik değişir */
.media, .g-item {
  position: relative; overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 12px, transparent 12px 24px),
    linear-gradient(160deg, var(--surface-2), var(--surface));
}
.media::before, .g-item::before {
  content: attr(data-label);
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--mono); font-size: .75rem; color: rgba(255,255,255,.28);
  letter-spacing: .04em; padding: 12px; text-align: center;
}
.media img, .g-item img {
  position: relative; z-index: 1;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease);
}

/* ---------- Hizmetler ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color .35s, transform .35s var(--ease);
}
.service-card:hover { border-color: rgba(63, 224, 197, .4); transform: translateY(-4px); }
.service-card:hover .media img { transform: scale(1.05); }
.service-card .media { aspect-ratio: 4 / 3; }
.service-body { padding: 26px 26px 30px; position: relative; }
.service-no {
  position: absolute; top: -22px; right: 22px;
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--bg); border: 1px solid var(--line-strong);
  font-family: var(--mono); color: var(--accent); z-index: 2;
}
.service-body h3 { font-size: 1.4rem; margin-bottom: 12px; }
.service-body p { color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 8px; font-size: .94rem; }
.ticks li { padding-left: 24px; position: relative; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 12px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

/* ---------- Süreç ---------- */
.steps {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
  position: relative;
}
.steps::before {
  content: ""; position: absolute; top: 27px; left: 28px; right: 28px; height: 1px;
  background: linear-gradient(90deg, var(--accent), var(--line-strong) 60%, transparent);
}
.step { position: relative; }
.step-no {
  display: grid; place-items: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--bg-2); border: 1px solid var(--line-strong);
  font-family: var(--mono); font-weight: 600; color: var(--accent);
  margin-bottom: 24px; position: relative;
  transition: background .3s, color .3s, border-color .3s;
}
.step:hover .step-no { background: var(--accent); color: #04110e; border-color: var(--accent); }
.step h3 { font-size: 1.2rem; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: .96rem; }

/* ---------- Galeri ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.g-item { aspect-ratio: 3 / 4; }
.g-item { margin: 0; border-radius: var(--radius-sm); border: 1px solid var(--line); cursor: zoom-in; }
.g-wide { grid-column: span 2; }
.g-tall { grid-row: span 2; }
.g-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 30px 16px 14px;
  font-size: .9rem; font-weight: 600;
  background: linear-gradient(transparent, rgba(0,0,0,.75));
  transform: translateY(6px); opacity: .9;
  transition: transform .35s var(--ease), opacity .35s;
}
.g-item:hover img { transform: scale(1.06); }
.g-item:hover figcaption { transform: none; opacity: 1; }

.lightbox {
  border: 0; padding: 0; background: transparent; max-width: 92vw; max-height: 90vh; color: var(--text);
}
.lightbox::backdrop { background: rgba(4, 6, 8, .9); backdrop-filter: blur(4px); }
.lightbox img { max-width: 92vw; max-height: 80vh; border-radius: var(--radius-sm); margin: 0 auto; }
.lb-caption { text-align: center; margin-top: 12px; color: var(--muted); }
.lb-close {
  position: fixed; top: 18px; right: 22px; width: 44px; height: 44px; border-radius: 50%;
  background: var(--surface); color: var(--text); border: 1px solid var(--line-strong);
  font-size: 1.6rem; line-height: 1; cursor: pointer;
}

/* ---------- SSS ---------- */
.faq-wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 60px; align-items: start; }
.faq-wrap .section-head { position: sticky; top: 110px; }
.faq { display: grid; gap: 12px; }
.faq details {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .3s;
}
.faq details[open] { border-color: rgba(63, 224, 197, .35); }
.faq summary {
  list-style: none; cursor: pointer;
  padding: 20px 56px 20px 22px; font-weight: 600; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font-family: var(--mono); font-size: 1.3rem; color: var(--accent); transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 22px 22px; color: var(--muted); }
.faq details[open] p { animation: fadeDown .4s var(--ease); }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- İletişim ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: 22px; }
.contact-list { display: grid; gap: 14px; align-content: start; }
.contact-card {
  display: flex; align-items: center; gap: 18px;
  padding: 20px 22px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .3s, transform .3s var(--ease), background .3s;
}
.contact-card:hover { border-color: var(--line-strong); transform: translateX(4px); }
.c-icon {
  flex: none; width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center; background: var(--accent-dim); color: var(--accent);
}
.c-icon svg { width: 22px; height: 22px; }
.c-text { display: grid; min-width: 0; }
.c-text small { color: var(--muted); font-size: .82rem; }
.c-text strong { font-size: 1.08rem; overflow-wrap: anywhere; }
.c-arrow { margin-left: auto; color: var(--muted); font-size: 1.2rem; transition: color .3s, transform .3s var(--ease); }
.contact-card:hover .c-arrow { color: var(--accent); transform: translateX(3px); }
.contact-wa { border-color: rgba(37, 211, 102, .35); background: linear-gradient(120deg, rgba(37, 211, 102, .1), var(--surface) 70%); }
.contact-wa .c-icon { background: rgba(37, 211, 102, .15); color: var(--wa); }

.map {
  position: relative; min-height: 380px; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--surface);
}
.map iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 1;
  filter: grayscale(1) invert(.92) contrast(.9) hue-rotate(180deg);
}
.map-placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-family: var(--mono); font-size: .8rem; }

/* ---------- Alt bilgi ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 100px; font-size: .9rem; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.footer-inner p { color: var(--muted); }
.logo-small { font-size: 1.05rem; }

/* ---------- Sabit WhatsApp ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--wa); color: #fff;
  box-shadow: 0 10px 30px -8px rgba(37, 211, 102, .6);
  transition: transform .3s var(--ease);
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.08); }
.wa-float::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--wa); animation: ping 2.8s var(--ease) infinite;
}
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 70%, 100% { transform: scale(1.5); opacity: 0; } }

/* ---------- Kaydırınca beliren animasyon ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .reveal.in { opacity: 1; transform: none; }

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

/* =========================================================
   Duyarlı (mobil) düzen
   ========================================================= */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 10px; }
  .hero-visual { order: -1; }
  .scan-frame { width: min(78vw, 360px); }
  .hero { padding-top: 90px; min-height: auto; }
  .services { grid-template-columns: 1fr; max-width: 560px; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps::before { display: none; }
  .faq-wrap { grid-template-columns: 1fr; gap: 0; }
  .faq-wrap .section-head { position: static; }
  .contact { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .header-cta { display: none; }
  .menu-toggle {
    display: grid; place-content: center; gap: 6px; margin-left: auto;
    width: 44px; height: 44px; border-radius: 10px;
    background: transparent; border: 1px solid var(--line-strong); cursor: pointer;
  }
  .menu-toggle span { display: block; width: 20px; height: 2px; background: var(--text); transition: transform .3s var(--ease); }
  .menu-open .menu-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-open .menu-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav {
    position: fixed; inset: 70px 0 auto 0;
    flex-direction: column; gap: 0; margin: 0;
    background: rgba(10, 12, 15, .97);
    border-bottom: 1px solid var(--line);
    padding: 8px 20px 20px;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1.05rem; color: var(--text); }
  .menu-open .nav { transform: none; opacity: 1; visibility: visible; }
  .menu-open .site-header { background: rgba(10, 12, 15, .97); }
}

@media (max-width: 560px) {
  body { font-size: 15.5px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .steps { grid-template-columns: 1fr; }
  .gallery { gap: 10px; }
  .map { min-height: 300px; }
  /* Mobilde animasyonlar daha kısa ve sade */
  .js .reveal { transform: translateY(14px); transition-duration: .6s; }
  .wa-float::after { animation: none; }
}

/* Hareket azaltma tercihi olan kullanıcılar için */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
