/* ============================================================
   PUNCH YAZILIM — Temel stiller (reset + tipografi + layout)
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* Lenis aktifken JS yumuşak scroll'u devralir */
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  color: var(--text-2);
  background-color: var(--bg-1);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

/* Cok katmanli atmosfer: gradient mesh + grain */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background: var(--grad-mesh);
  pointer-events: none;
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.04;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg, video, canvas { display: block; max-width: 100%; height: auto; }

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

button, input, textarea, select { font: inherit; color: inherit; }

ul, ol { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: var(--lh-tight);
  color: var(--text-1);
  letter-spacing: -0.02em;
}

h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); }
p { max-width: 70ch; }

::selection { background: var(--punch-violet-600); color: #fff; }

/* Erisilebilir focus */
:focus-visible {
  outline: 2px solid var(--punch-violet-400);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --- Layout yardimcilari --- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2.5rem);
}
.container-wide { max-width: var(--container-wide); }

.section { padding-block: clamp(4rem, 9vw, 9rem); position: relative; }
.section-sm { padding-block: clamp(2.5rem, 5vw, 5rem); }

/* Bolum baslik bloku */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--punch-violet-300);
  font-weight: 500;
}
.eyebrow::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--punch-violet-400);
}

.section-title {
  font-size: var(--fs-2xl);
  margin-top: var(--sp-3);
  max-width: 18ch;
}
.section-lead {
  margin-top: var(--sp-4);
  color: var(--text-2);
  max-width: 56ch;
  font-size: var(--fs-lg);
}

.text-gradient {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--punch-violet-600);
  color: #fff;
  padding: var(--sp-2) var(--sp-4);
  z-index: var(--z-cursor);
  border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

/* prefers-reduced-motion: animasyonlari sadelestir */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto; }
}
