/* ===== Renkler ve temel ayarlar ===== */
:root {
  --teal-950: #082321;
  --teal-900: #0c2f2d;
  --teal-800: #0f3d3a;
  --teal-600: #1d5c56;
  --teal-300: #6fa8a0;
  --amber: #f2a93b;
  --amber-dark: #c9831c;
  --sand: #f5f0e6;
  --sand-dark: #e9e1d1;
  --ink: #1d2e2c;
  --muted: #5a6b68;
  --white: #fffdf8;
  --radius: 18px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-padding-top: 80px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: "Inter", system-ui, sans-serif;
  color: var(--ink);
  background: var(--sand);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }

h1, h2, h3 { font-family: "Fraunces", Georgia, serif; font-weight: 500; line-height: 1.08; color: var(--teal-900); letter-spacing: -0.01em; }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h3 { font-size: 1.25rem; }
h1 em, h2 em { font-style: italic; font-weight: 300; color: var(--amber-dark); }
a { color: inherit; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--amber-dark);
  margin-bottom: 1rem;
  display: flex; align-items: center; gap: 0.7rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }

/* ===== Butonlar ===== */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 1rem 1.7rem; border-radius: 999px;
  font: 600 0.95rem "Inter", sans-serif; text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.btn .arrow { transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-amber { background: var(--amber); color: var(--teal-950); }
.btn-amber:hover { background: #ffbd57; }
.btn-line { border-color: rgba(255, 255, 255, 0.35); color: var(--white); }
.btn-line:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); }

/* ===== Açılış ekranı ===== */
.preloader {
  position: fixed; inset: 0; z-index: 200; background: var(--teal-950);
  display: grid; place-content: center; justify-items: center; gap: 1.2rem; color: var(--sand);
}
.preloader-mark { width: 92px; height: 92px; }
.preloader-mark circle { fill: none; stroke: var(--amber); stroke-width: 1.5; }
.preloader-word { font-family: "Fraunces", serif; font-size: 1.4rem; letter-spacing: 0.02em; }
.preloader-word em { color: var(--amber); font-style: italic; font-weight: 300; }

/* ===== Üst menü ===== */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background 0.4s, box-shadow 0.4s, transform 0.4s var(--ease); }
.site-header.scrolled { background: rgba(245, 240, 230, 0.88); backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(12, 47, 45, 0.08); }
.site-header.hidden { transform: translateY(-100%); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 78px; }

.logo { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; font-family: "Fraunces", serif; font-size: 1.35rem; font-weight: 500; color: var(--white); transition: color 0.4s; }
.logo em { font-style: italic; font-weight: 300; color: var(--amber); }
.logo svg { width: 32px; height: 32px; }
.logo svg path { fill: var(--amber); }
.logo svg .vein { fill: none; stroke: var(--teal-900); stroke-width: 3; stroke-linecap: round; }
.scrolled .logo { color: var(--teal-900); }
.scrolled .logo em { color: var(--amber-dark); }

.main-nav { display: flex; align-items: center; gap: 2rem; }
.main-nav a { text-decoration: none; font-weight: 500; font-size: 0.92rem; color: rgba(255, 253, 248, 0.85); position: relative; transition: color 0.3s; }
.main-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.4s var(--ease); }
.main-nav a:not(.nav-cta):hover::after { transform: scaleX(1); transform-origin: left; }
.main-nav .nav-cta { padding: 0.55rem 1.2rem; border-radius: 999px; background: var(--amber); color: var(--teal-950); font-weight: 600; }
.scrolled .main-nav a:not(.nav-cta) { color: var(--ink); }

.menu-toggle { display: none; background: none; border: 0; cursor: pointer; width: 44px; height: 44px; position: relative; z-index: 2; }
.menu-toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--white); border-radius: 2px; transition: transform 0.35s var(--ease), background 0.3s; }
.menu-toggle span:nth-child(1) { top: 17px; }
.menu-toggle span:nth-child(2) { top: 25px; }
.scrolled .menu-toggle span { background: var(--teal-900); }

/* ===== Giriş ===== */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden;
  background: radial-gradient(ellipse at 70% 30%, #13504b 0%, var(--teal-900) 45%, var(--teal-950) 100%);
  color: var(--sand); display: flex; flex-direction: column; justify-content: center;
}
.topo { position: absolute; inset: -5%; width: 110%; height: 110%; }
.topo-lines path { fill: none; stroke: var(--teal-300); stroke-width: 1; vector-effect: non-scaling-stroke; }
.topo-lines path:nth-child(5n) { stroke-width: 1.6; stroke-opacity: 0.55; }
.topo-route { fill: none; stroke: var(--amber); stroke-width: 2; stroke-dasharray: 2 10; stroke-linecap: round; vector-effect: non-scaling-stroke; opacity: 0.8; }
.topo-points circle { fill: var(--amber); }
.topo-points .ring { fill: none; stroke: var(--amber); stroke-width: 1; vector-effect: non-scaling-stroke; }
.hero-grain {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background: linear-gradient(90deg, rgba(8, 35, 33, 0.92) 0%, rgba(8, 35, 33, 0.55) 45%, rgba(8, 35, 33, 0) 75%);
}

.hero-content { position: relative; z-index: 2; padding-top: 110px; padding-bottom: 120px; }
.hero-eyebrow { color: var(--amber); }
.hero-title { font-size: clamp(2.8rem, 8vw, 6.6rem); font-weight: 400; color: var(--white); line-height: 1; max-width: 11ch; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.hero-title .line > span { display: inline-block; }
.hero-title em { color: var(--amber); }
.hero-lead { max-width: 34rem; margin: 2rem 0 2.4rem; font-size: 1.08rem; color: rgba(245, 240, 230, 0.78); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }

.hero-meta {
  position: absolute; left: 0; right: 0; bottom: 28px; z-index: 2;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(245, 240, 230, 0.55);
}
.scroll-cue { display: flex; align-items: center; gap: 0.7rem; }
.scroll-cue i { width: 1px; height: 36px; background: rgba(245, 240, 230, 0.25); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--amber); animation: cue 2s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }

/* ===== Kayan şerit ===== */
.marquee { background: var(--amber); color: var(--teal-950); overflow: hidden; padding: 1.1rem 0; }
.marquee-track { display: flex; gap: 2rem; width: max-content; animation: marquee 32s linear infinite; font-family: "Fraunces", serif; font-size: clamp(1.2rem, 2.4vw, 1.8rem); white-space: nowrap; }
.marquee-track b { font-weight: 400; font-size: 0.8em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ===== Bölümler ===== */
.section { padding: clamp(5rem, 11vw, 9rem) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }

/* Manifesto */
.manifesto { background: var(--sand); }
.manifesto-text { font-family: "Fraunces", serif; font-size: clamp(1.6rem, 3.6vw, 2.9rem); line-height: 1.25; color: var(--teal-900); max-width: 1000px; font-weight: 400; }
.manifesto-text .w { opacity: 1; }

/* Hizmetler */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.service {
  position: relative; background: var(--white); border-radius: var(--radius); padding: 2rem 1.7rem 2.2rem;
  border: 1px solid rgba(12, 47, 45, 0.07); overflow: hidden; isolation: isolate;
  transition: transform 0.5s var(--ease), color 0.4s;
}
.service::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--teal-900);
  transform: translateY(101%); transition: transform 0.55s var(--ease);
}
.service:hover { transform: translateY(-6px); color: var(--sand); }
.service:hover::before { transform: translateY(0); }
.service:hover h3 { color: var(--white); }
.service:hover p { color: rgba(245, 240, 230, 0.75); }
.service:hover .service-icon { background: var(--amber); }
.service-no { font-family: "Fraunces", serif; font-size: 0.9rem; color: var(--amber-dark); }
.service-icon { width: 54px; height: 54px; border-radius: 14px; background: #dcebe8; display: grid; place-items: center; margin: 1.6rem 0 1.4rem; transition: background 0.4s; }
.service-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--teal-900); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.service h3 { margin-bottom: 0.6rem; transition: color 0.4s; }
.service p { color: var(--muted); font-size: 0.94rem; transition: color 0.4s; }

/* GIS katmanları */
.layers-section { background: var(--teal-900); color: var(--sand); padding: clamp(5rem, 10vw, 8rem) 0; overflow: hidden; }
.layers-section h2 { color: var(--white); }
.layers-section h2 em { color: var(--amber); }
.layers-section .eyebrow { color: var(--amber); }
.layers-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: center; min-height: 80vh; }
.layer-steps { list-style: none; margin-top: 2.5rem; display: grid; gap: 0.4rem; }
.layer-steps li { display: flex; gap: 1.2rem; padding: 1rem 0; border-top: 1px solid rgba(255, 255, 255, 0.1); opacity: 0.38; transition: opacity 0.5s; }
.layer-steps li.active { opacity: 1; }
.layer-steps li > span { font-family: "Fraunces", serif; color: var(--amber); font-size: 0.95rem; padding-top: 0.15rem; }
.layer-steps h3 { color: var(--white); font-size: 1.15rem; margin-bottom: 0.2rem; }
.layer-steps p { font-size: 0.92rem; color: rgba(245, 240, 230, 0.7); }

.layers-stage { height: 560px; display: grid; place-items: center; perspective: 1600px; }
.stack { position: relative; width: 300px; height: 300px; transform-style: preserve-3d; transform: rotateX(58deg) rotateZ(-38deg); }
.plane { position: absolute; inset: 0; transform-style: preserve-3d; border-radius: 6px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35); }
.plane svg { width: 100%; height: 100%; display: block; border-radius: 6px; }
.plane-1 { transform: translateZ(0); }
.plane-2 { transform: translateZ(70px); }
.plane-3 { transform: translateZ(140px); }
.plane-4 { transform: translateZ(210px); }
.plane-label {
  position: absolute; left: 104%; top: 6%; white-space: nowrap;
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber);
  transform: rotateZ(38deg) rotateX(-58deg); transform-origin: left top;
}

/* Analiz listesi */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 0.7rem; }
.chips li {
  padding: 0.75rem 1.2rem; border-radius: 999px; border: 1px solid rgba(12, 47, 45, 0.18);
  font-weight: 500; font-size: 0.95rem; background: var(--white);
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.chips li:hover { background: var(--teal-900); color: var(--sand); border-color: var(--teal-900); transform: translateY(-3px); }

/* Süreç */
.process { background: var(--sand-dark); }
.process-track { position: relative; }
.process-line { position: absolute; left: 0; right: 0; top: 9px; height: 2px; background: rgba(12, 47, 45, 0.12); }
.process-line i { position: absolute; inset: 0; background: var(--amber); transform-origin: left; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; position: relative; }
.step-dot { display: block; width: 20px; height: 20px; border-radius: 50%; background: var(--sand-dark); border: 2px solid var(--amber); margin-bottom: 1.6rem; }
.step-no { font-family: "Fraunces", serif; font-size: 3rem; color: var(--teal-900); line-height: 1; opacity: 0.18; display: block; margin-bottom: 0.6rem; }
.steps h3 { margin-bottom: 0.5rem; }
.steps p { color: var(--muted); font-size: 0.95rem; }

/* Hakkımda */
.about-inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(2rem, 6vw, 6rem); }
.about-head h2 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
.role { color: var(--muted); font-weight: 500; margin-top: 0.8rem; }
.about-body > p { font-size: 1.08rem; margin-bottom: 1.3rem; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.2rem; }
.facts div { background: var(--white); border-radius: var(--radius); padding: 1.4rem; border: 1px solid rgba(12, 47, 45, 0.07); }
.facts strong { display: block; font-family: "Fraunces", serif; font-weight: 500; font-size: 2rem; color: var(--teal-900); }
.facts span { font-size: 0.86rem; color: var(--muted); }

/* İletişim */
.contact { position: relative; background: var(--teal-950); color: var(--sand); padding: clamp(5rem, 11vw, 9rem) 0; overflow: hidden; }
.contact-topo { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--teal-300); opacity: 0.18; }
.contact-inner { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact .eyebrow { color: var(--amber); }
.contact-title { font-size: clamp(2.8rem, 7vw, 5.4rem); color: var(--white); }
.contact-title em { color: var(--amber); }
.contact-info > p { color: rgba(245, 240, 230, 0.72); margin: 1.4rem 0 2.4rem; max-width: 28rem; }
.contact-list { list-style: none; display: grid; gap: 1.4rem; }
.contact-list li { display: flex; flex-direction: column; gap: 0.2rem; }
.contact-list span { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--amber); font-weight: 600; }
.contact-list a { text-decoration: none; font-family: "Fraunces", serif; font-size: clamp(1.3rem, 2.6vw, 1.9rem); color: var(--white); word-break: break-word; transition: color 0.3s; }
.contact-list a:hover { color: var(--amber); }

.contact-form { background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.1); padding: 2rem; border-radius: var(--radius); display: grid; gap: 1.1rem; backdrop-filter: blur(6px); }
.contact-form label { display: grid; gap: 0.45rem; font-size: 0.85rem; font-weight: 500; color: rgba(245, 240, 230, 0.8); }
.contact-form input, .contact-form select, .contact-form textarea {
  font: 400 1rem "Inter", sans-serif; padding: 0.85rem 1rem; border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px; background: rgba(8, 35, 33, 0.6); color: var(--white); width: 100%;
}
.contact-form select option { color: var(--ink); }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(245, 240, 230, 0.4); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--amber); }
.contact-form .btn { justify-self: start; border: 0; }

/* Alt bilgi */
.site-footer { background: var(--teal-950); color: rgba(245, 240, 230, 0.55); padding: 2rem 0 2.2rem; font-size: 0.86rem; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding-right: 64px; }
.footer-mark { font-family: "Fraunces", serif; font-size: 1.2rem; color: var(--white); }
.footer-mark em { color: var(--amber); font-weight: 300; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); }

.footer-links { display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.link-btn:hover { color: var(--white); }

/* Çerez bandı */
.cookie-banner {
  position: fixed; left: 20px; bottom: 20px; z-index: 70; max-width: 420px;
  background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 1.3rem 1.4rem;
  box-shadow: 0 20px 50px rgba(8, 35, 33, 0.3); border: 1px solid rgba(12, 47, 45, 0.08);
  transform: translateY(20px); opacity: 0; transition: transform 0.4s var(--ease), opacity 0.4s;
}
.cookie-banner.show { transform: translateY(0); opacity: 1; }
.cookie-banner p { font-size: 0.9rem; color: var(--muted); }
.cookie-banner a { color: var(--teal-800); font-weight: 600; }
.cookie-actions { display: flex; gap: 0.6rem; justify-content: flex-end; margin-top: 1rem; }
.cookie-btn { font: 600 0.88rem "Inter", sans-serif; padding: 0.6rem 1.2rem; border-radius: 999px; cursor: pointer; border: 1.5px solid var(--teal-900); }
.cookie-reject { background: transparent; color: var(--teal-900); }
.cookie-accept { background: var(--teal-900); color: var(--white); }
.cookie-btn:hover { opacity: 0.85; }

/* Gizlilik sayfası */
.legal { padding: 140px 0 6rem; }
.legal .container { max-width: 760px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 0.6rem; }
.legal .updated { color: var(--muted); font-size: 0.9rem; margin-bottom: 2.5rem; }
.legal h2 { font-size: 1.4rem; margin: 2.2rem 0 0.7rem; }
.legal p, .legal li { color: var(--ink); margin-bottom: 0.8rem; }
.legal ul { padding-left: 1.3rem; }
.legal a { color: var(--teal-600); }

/* WhatsApp butonu */
.whatsapp-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25); transition: transform 0.3s var(--ease);
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 30px; height: 30px; fill: #fff; }

/* ===== Mobil uyum ===== */
@media (max-width: 1024px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .layers-inner { grid-template-columns: 1fr; min-height: 0; }
  .layers-stage { height: 460px; order: -1; }
}

@media (max-width: 860px) {
  .about-inner, .contact-inner { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .process-line { display: none; }
}

@media (max-width: 760px) {
  .menu-toggle { display: block; }
  .main-nav {
    position: fixed; inset: 0; background: var(--teal-950); flex-direction: column; justify-content: center; align-items: flex-start;
    gap: 0.4rem; padding: 0 28px; clip-path: circle(0% at calc(100% - 38px) 39px); transition: clip-path 0.7s var(--ease);
  }
  .main-nav.open { clip-path: circle(150% at calc(100% - 38px) 39px); }
  .main-nav a, .scrolled .main-nav a:not(.nav-cta) { font-family: "Fraunces", serif; font-size: 2.2rem; color: var(--sand); }
  .main-nav .nav-cta { margin-top: 1.2rem; font-family: "Inter", sans-serif; font-size: 1rem; }
  .menu-open .menu-toggle span { background: var(--white); }
  .menu-open .menu-toggle span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
  .menu-open .menu-toggle span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
  .menu-open .logo { color: var(--white); }
  .hero-meta .coord, .hero-meta .scale { display: none; }
  .hero-meta { justify-content: center; }
  .facts { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .services, .steps { grid-template-columns: 1fr; }
  .layers-stage { height: 380px; }
  .stack { width: 210px; height: 210px; }
  .plane-label { font-size: 0.62rem; }
  .contact-form { padding: 1.4rem; }
  .hero-content { padding-bottom: 110px; }
  .cookie-banner { left: 12px; right: 12px; bottom: 88px; max-width: none; }
}

/* Hareket azaltma tercihi */
@media (prefers-reduced-motion: reduce) {
  .marquee-track, .scroll-cue i::after { animation: none; }
  * { transition-duration: 0.01ms !important; }
}
