/* =========================================================
   BASE — değişkenler, reset, tipografi, yardımcı sınıflar
   ========================================================= */

:root {
  /* Renkler */
  --c-ink: #111;
  --c-text: #1f1f1f;
  --c-muted: #6b6560;
  --c-white: #fff;
  --c-gold-dark: #c38a52;
  --c-gold: #dba25f;
  --c-gold-light: #fbc26e;
  --c-beige: #e3d8c7;
  --c-peach: #fff3e4;
  --c-orange: #e59f44;
  --c-cream: #ffe6c0;
  --c-card: #302f2b;
  --c-dark: #1b1916;

  --grad-gold: linear-gradient(90deg, var(--c-gold-dark) 0%, var(--c-gold-light) 100%);
  --grad-gold-v: linear-gradient(180deg, var(--c-gold-light) 0%, var(--c-gold-dark) 100%);

  /* Tipografi */
  --font: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Ölçüler */
  --container: 1240px;
  --gutter: 24px;
  --radius: 22px;
  --header-h: 170px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--c-text);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

:focus-visible { outline: 2px solid var(--c-gold); outline-offset: 3px; }

body.no-scroll { overflow: hidden; }

/* display tanımlı bileşenlerde de hidden özniteliği çalışsın */
[hidden] { display: none !important; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: 90px; }

.center { text-align: center; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.lower { text-transform: none; }

/* ---------- Tipografi ---------- */
.title-xl,
.title-lg {
  font-weight: 600;
  color: var(--c-ink);
  letter-spacing: -0.01em;
}

.title-xl { font-size: clamp(40px, 5vw, 62px); line-height: 0.98; }
.title-lg { font-size: clamp(30px, 3.4vw, 46px); line-height: 0.98; }

.eyebrow {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c-ink);
}

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

/* ---------- Scroll animasyonu (JS aktifse) ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

@media (max-width: 768px) {
  :root { --gutter: 16px; --header-h: 100px; --header-offset: 8px; }
  .section { padding-block: 64px; }
}
