/* ============ aiçözümler — v2 "Kendim İçin Teknoloji" ============ */
/* Tasarım kimliği çatıda resmî — ürünler miras alır (bkz. Plan-Site-Yenileme). */

:root {
  --bg:          #FAF7F2;  /* ana zemin — sıcak bej */
  --bg-alt:      #F1EBE3;  /* bölüm ayrımı zemini */
  --surface:     #FFFFFF;  /* kart zemini */
  --ink:         #1F1E1D;  /* ana metin */
  --ink-soft:    #5E5A55;  /* ikincil metin */
  --accent:      #C15F3C;  /* kiremit — buton, link, vurgu */
  --accent-dark: #A34E30;  /* hover */
  --accent-soft: #F3E3DA;  /* vurgu zemini (badge, hover bg) */
  --line:        #E4DCD1;  /* çizgi/border */
  --max: 1120px;
  --shadow: 0 1px 3px rgba(31, 30, 29, 0.06);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  font-family: "Lora", Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
}

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
  width: 100%;
}

.kicker {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

/* ---- butonlar ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 26px; border-radius: 8px; font-weight: 600; font-size: 0.98rem;
  background: var(--accent); color: #fff; border: 1px solid var(--accent);
  cursor: pointer; transition: background 0.18s ease, border-color 0.18s ease;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn--sm { padding: 9px 18px; font-size: 0.9rem; }
.btn--ghost {
  background: transparent; color: var(--ink); border: 1px solid var(--line);
}
.btn--ghost:hover { background: var(--accent-soft); border-color: var(--accent-soft); }

/* ---- nav ---- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 242, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px; padding-bottom: 16px;
}
.wordmark { font-family: "Lora", serif; font-weight: 700; font-size: 1.3rem; }
.wordmark__ai { color: var(--accent); }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a:not(.btn) { color: var(--ink-soft); font-weight: 500; font-size: 0.95rem; transition: color 0.18s; }
.nav__links a:not(.btn):hover { color: var(--ink); }

/* ---- hero ---- */
.hero { padding: clamp(64px, 10vw, 120px) 0 clamp(56px, 8vw, 96px); }
.hero__inner {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 6vw, 72px);
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  margin: 6px 0 22px;
}
.lead {
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  max-width: 44ch;
}
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.hero__visual { display: flex; justify-content: center; }

/* portre / sahne SVG placeholder (Faz 2'de webp'e döner) */
.portrait, .scene { width: 100%; max-width: 340px; height: auto; }
.portrait__head, .scene__head {
  stroke: var(--ink); stroke-width: 2; fill: var(--surface);
}
.portrait__eye, .scene__eye {
  stroke: var(--ink-soft); stroke-width: 2; fill: none; stroke-linecap: round;
}
.portrait .thread, .scene__thread {
  stroke: var(--line); stroke-width: 2.5; fill: none; stroke-linecap: round;
  transition: stroke 0.5s ease, stroke-width 0.5s ease;
}
.portrait .thread { stroke: var(--accent); opacity: 0.5; }

/* ---- bölümler ---- */
.section { padding: clamp(72px, 12vw, 120px) 0; }
.section--alt { background: var(--bg-alt); }
.section--narrow { max-width: 720px; }
.section h2 {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  margin: 0 0 24px;
}

/* ---- misyon / prose ---- */
.prose p { color: var(--ink-soft); font-size: 1.08rem; margin-bottom: 18px; max-width: 62ch; }
.prose p:last-child { margin-bottom: 0; }

/* ---- projeler (scrollytelling) ---- */
.projeler__head { max-width: 640px; margin-bottom: clamp(40px, 6vw, 64px); }
.projeler__head h2 { margin-bottom: 12px; }
.projeler__intro { color: var(--ink-soft); font-size: 1.02rem; }

.scrolly { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }

.scrolly__sticky {
  position: sticky; top: 96px;
  display: flex; justify-content: center;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.scene__thread.is-active { stroke: var(--accent); stroke-width: 3.5; }

.scrolly__steps { display: flex; flex-direction: column; gap: clamp(48px, 10vh, 120px); padding: 10vh 0; }
.step {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 32px; box-shadow: var(--shadow);
  opacity: 0.55; transition: opacity 0.4s ease, border-color 0.4s ease;
}
.step.is-active { opacity: 1; border-color: var(--accent-soft); }
.step h3 { font-size: 1.5rem; margin: 12px 0 4px; }
.step__sub { color: var(--ink-soft); font-weight: 500; margin-bottom: 14px; }
.step p { color: var(--ink-soft); }
.step__link { display: inline-block; margin-top: 16px; color: var(--accent); font-weight: 600; }
.step__link:hover { color: var(--accent-dark); }

/* durum etiketleri */
.tag {
  display: inline-block; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.02em;
  padding: 4px 12px; border-radius: 999px;
}
.tag--canli { background: var(--accent); color: #fff; }
.tag--kuruluyor { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
.tag--kulucka { background: var(--accent-soft); color: var(--accent-dark); }

/* ---- nasıl çalışıyorum ---- */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.scard {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 30px; box-shadow: var(--shadow);
}
.scard__num { font-family: "Lora", serif; font-size: 2rem; font-weight: 700; color: var(--accent); }
.scard h3 { font-size: 1.25rem; margin: 12px 0 8px; }
.scard p { color: var(--ink-soft); font-size: 0.98rem; }

/* ---- iletişim ---- */
.section--contact .contact__lead { color: var(--ink-soft); font-size: 1.08rem; margin-bottom: 30px; max-width: 54ch; }
.contact__cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---- footer ---- */
.footer { padding: 48px 0; border-top: 1px solid var(--line); background: var(--bg-alt); }
.footer p { color: var(--ink-soft); font-size: 0.95rem; }
.footer__fine { opacity: 0.7; margin-top: 6px; font-size: 0.86rem; }

/* ---- responsive ---- */
@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-width: 260px; margin: 0 auto; }
  .steps-grid { grid-template-columns: 1fr; }
  .scrolly { grid-template-columns: 1fr; gap: 24px; }
  .scrolly__sticky { top: 72px; padding: 20px; max-width: 260px; margin: 0 auto; }
  .scrolly__steps { padding: 4vh 0; gap: 40px; }
  .step { opacity: 1; } /* mobilde hep okunur */
}
@media (max-width: 560px) {
  .nav__links { gap: 16px; }
  .nav__links a:not(.btn) { display: none; }
}

/* ---- erişilebilirlik ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scene__thread, .step, .portrait .thread { transition: none; }
}
