/* ===== Tasarım sistemi: renkler, tipografi, butonlar ===== */
:root {
  --orange: #FF6A00;        /* İmza turuncu: CTA, ikon, vurgu */
  --orange-hover: #FF8126;
  --orange-ink: #B34700;    /* Açık zeminde okunabilir turuncu metin */
  --night: #0B0D10;         /* Gece siyahı */
  --charcoal: #202328;      /* Kömür grisi */
  --offwhite: #F5F5F2;      /* Kırık beyaz */
  --gray: #A7ADB4;          /* Orta gri */
  --gray-ink: #565C64;      /* Açık zeminde ikincil metin */
  --text-dark: #14161A;
  --line-dark: rgba(255, 255, 255, .1);
  --line-light: #E1E1DB;

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 14px;
  --header-h: 90px;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--night);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.container { width: min(var(--container), 100% - 32px); margin-inline: auto; }
@media (min-width: 768px) { .container { width: min(var(--container), 100% - 48px); } }

/* Erişilebilirlik */
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--orange); color: var(--night);
  padding: .6rem 1rem; border-radius: 8px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 16px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

/* Tipografi */
h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; }
h1 { font-size: clamp(2.5rem, 7vw, 4.8rem); font-weight: 800; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.8rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.accent { color: var(--orange); }

/* Butonlar */
/* Kapsül buton; ok ikonu sağda yuvarlak bir kutucukta durur ve üzerine gelince döner */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .8rem;
  min-height: 48px; padding: .4rem 1.5rem;
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: .95rem; line-height: 1.2; letter-spacing: -.005em;
  text-decoration: none; white-space: nowrap;
  transition: background-color .25s, border-color .25s, color .25s, box-shadow .3s, transform .2s;
}
.btn:has(> .icon) { padding-right: .4rem; }
.btn:active { transform: scale(.97); }
.btn .icon {
  width: 38px; height: 38px; padding: 10px; border-radius: 50%;
  transition: transform .45s cubic-bezier(.2, .8, .2, 1), background-color .25s, color .25s;
}
.btn:hover .icon { transform: rotate(-45deg); }

.btn-primary {
  background: var(--orange); color: var(--night);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35);
}
.btn-primary:hover { background: var(--orange-hover); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 12px 32px -10px rgba(255, 106, 0, .7); }
.btn-primary .icon { background: var(--night); color: var(--orange); }
/* Üzerine gelince butonun üstünden geçen ışık */
.btn-primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s ease;
}
.btn-primary:hover::before { transform: translateX(120%); }

.btn-ghost {
  color: #fff; background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .18);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .35); }
.btn-ghost .icon { background: rgba(255, 255, 255, .12); color: #fff; }
.btn-ghost:hover .icon { background: var(--orange); color: var(--night); }

.btn-outline { color: var(--text-dark); border-color: rgba(20, 22, 26, .22); }
.btn-outline:hover { color: #fff; background: var(--text-dark); border-color: var(--text-dark); }
.btn-outline .icon { background: var(--text-dark); color: #fff; }
.btn-outline:hover .icon { background: var(--orange); color: var(--night); }
.btn-block { width: 100%; }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }

.icon {
  width: 24px; height: 24px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}

/* config.js'te boş bırakılan alanlar */
.is-placeholder { font-style: italic; opacity: .75; }
a.is-placeholder { cursor: default; }

/* ===== Fotoğraf yer tutucu sistemi =====
   Görsel dosyası yoksa koyu desenli zemin + dosya adı notu görünür. */
.photo {
  position: relative; overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .035) 0 12px, transparent 12px 24px),
    var(--charcoal);
}
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo.is-missing img { display: none; }
.photo-note {
  display: none;
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2;
  padding: .55rem .75rem;
  font-size: .75rem; line-height: 1.45; color: #D9DCE0;
  background: rgba(11, 13, 16, .75);
  border: 1px dashed rgba(255, 106, 0, .55); border-radius: 8px;
}
.photo-note b { color: var(--orange); font-weight: 700; }
.photo.is-missing .photo-note { display: block; }

/* Kaydırınca beliren içerik */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

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