/* ===== Temel / Reset ===== */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  color: #0f1621;
  background: #f7f9fc;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.6;
}

/* ===== Yerel yazı tipleri ===== */
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Regular.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-SemiBold.ttf") format("truetype");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "PlayfairDisplay";
  src: url("../fonts/PlayfairDisplay-Bold.ttf") format("truetype");
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ===== Değişkenler ===== */
:root{
  --bg: #f7f9fc;
  --ink: #0f1621;
  --ink-soft:#3a4961;
  --brand:#0ea5e9;      /* mavi ton */
  --brand-ink:#075985;
  --accent:#f59e0b;     /* sıcak vurgu */
  --card:#ffffff;
  --ring: rgba(14,165,233,0.25);
  --shadow: 0 10px 30px rgba(2,6,23,.08);
}

/* ===== Kapsayıcı ===== */
.container{
  width: min(1120px, 92vw);
  margin-inline: auto;
}

/* ===== Görseller (350px sınırı) ===== */
img{ width: 100%; max-width: 350px; height: auto; display: block; border-radius: 14px; }

/* ===== Sabit Header ===== */
.site-header{
  position: fixed; inset-block-start: 0; inset-inline: 0;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(2,6,23,.06);
  z-index: 1000;
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding: 12px 0;
}
.logo{
  font-weight: 700; letter-spacing:.2px; text-decoration:none; color:var(--ink);
  font-family: "PlayfairDisplay", serif; font-size: clamp(18px, 3.2vw, 24px);
}
.logo span{ color: var(--brand); }

.nav ul{ list-style:none; display:flex; gap: 20px; margin:0; padding:0; }
.nav a{
  text-decoration:none; color:var(--ink); font-weight:600; padding:8px 10px; border-radius:10px;
}
.nav a:hover{ background: rgba(14,165,233,.08); color:var(--brand-ink); }

/* Mobil menü butonu */
.nav-toggle{
  display:none; background:transparent; border:0; padding:6px; cursor:pointer;
}
.nav-toggle .bar{ display:block; width:26px; height:2px; background:var(--ink); margin:6px 0; border-radius:2px; }

/* Ana alan üst boşluğu (sabit header için) */
main{ padding-top: 72px; }

/* ===== CTA butonları ===== */
.cta{
  display:inline-block; border-radius: 12px; padding: 12px 16px;
  text-decoration:none; border:2px solid var(--brand);
  color: var(--brand-ink); font-weight:600; transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.cta.ghost:hover{ transform: translateY(-2px); background: var(--brand); color: #fff; box-shadow: var(--shadow); }

/* ===== Reveal animasyonu (JS ile .in-view eklenir) ===== */
.reveal{ opacity:0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in-view{ opacity:1; transform: translateY(0); }

/* ===== Footer ===== */
.site-footer{
  margin-top: 64px; background: #0b1220; color: #c9d6ea;
}
.footer-inner{
  display:flex; align-items:center; justify-content:space-between; gap: 16px;
  padding: 22px 0;
}
.site-footer a{ color:#fff; text-decoration: underline; }
.site-footer .brand span{ color: #fff; font-weight: 700; }
.backtotop{
  border:1px solid #334155; padding:8px 12px; border-radius:10px; text-decoration:none;
}
.backtotop:hover{ background:#111827; }

/* ===== Erişilebilirlik / Yardımcı ===== */
.visually-hidden{ position:absolute!important; width:1px;height:1px; margin:-1px; border:0; padding:0; clip:rect(0 0 0 0); overflow:hidden; }

/* ===== Duyarlılık ===== */
@media (max-width: 900px){
  .nav-toggle{ display:block; }
  .nav{ position: fixed; inset-inline: 0; top: 60px; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-bottom:1px solid rgba(2,6,23,.06); transform: translateY(-16px); opacity:0; pointer-events:none; transition: opacity .25s ease, transform .25s ease; }
  .nav.open{ opacity:1; transform: translateY(0); pointer-events:auto; }
  .nav ul{ flex-direction: column; gap: 0; padding: 10px; }
  .nav a{ display:block; padding:14px 10px; border-radius:8px; }
}

@media (prefers-reduced-motion: reduce){
  .reveal, .cta, .backtotop { transition: none !important; }
}
