/* ================================================
   base.css — Çelik Raf | Reset + Değişkenler
   ================================================ */
:root {
  --primary:       #059669;
  --primary-hover: #047857;
  --primary-light: #ecfdf5;
  --secondary:     #0f172a;
  --accent:        #fbbf24;
  --bg:            #f4fbf7;
  --white:         #ffffff;
  --border:        #e2e8f0;
  --border-focus:  rgba(5,150,105,0.40);
  --text:          #0f172a;
  --muted:         #5b6475;
  --light:         #94a3b8;
  --shadow-xs:     0 1px 2px rgba(0,0,0,.05);
  --shadow-sm:     0 4px 6px -1px rgba(0,0,0,.07);
  --shadow-md:     0 10px 15px -3px rgba(0,0,0,.08);
  --shadow-lg:     0 20px 40px rgba(15,23,42,.10);
  --shadow-xl:     0 30px 60px rgba(15,23,42,.14);
  --r-sm:  8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;
  --r-2xl:24px;
  --ease: all 0.22s cubic-bezier(0.4,0,0.2,1);
}
*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body {
  font-family: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  background: radial-gradient(1000px 600px at 10% 0%, rgba(34,197,94,.16), transparent 60%),
              radial-gradient(900px 650px at 95% 5%, rgba(16,185,129,.12), transparent 55%),
              var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img,video,svg { display:block; max-width:100%; }
a { color:inherit; text-decoration:none; }
button,input,select,textarea { font-family:inherit; font-size:inherit; }
button { cursor:pointer; border:none; background:none; }
ul,ol { list-style:none; }
.container  { max-width:1200px; margin:0 auto; padding:0 20px; }
.container-sm { max-width:900px;  margin:0 auto; padding:0 20px; }
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }
.skip-link { position:absolute; top:-48px; left:0; background:#10b981; color:#fff; padding:10px 18px; z-index:10000; text-decoration:none; font-weight:700; font-size:14px; border-radius:0 0 8px 0; }
.skip-link:focus { top:0; outline:3px solid #064e3b; outline-offset:-3px; }
/* Yatay overflow guvenligi (son care) — taşan element olusursa kullanıcı sag-sol scroll yapamaz */
html, body { overflow-x: hidden; }

/* ──────────────────────────────────────────────────
   LEGAL PAGES (KVKK / Gizlilik / Cerez / Kullanim / Mesafeli Satis)
   ────────────────────────────────────────────────── */
.legal-page { padding: 40px 0 80px; background: #f8fafc; min-height: 60vh; }
.legal-content { max-width: 880px; margin: 0 auto; padding: 32px 28px; background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; box-shadow: 0 4px 16px rgba(15,23,42,.04); }
.legal-content h1 { font-size: 28px; font-weight: 900; color: #0f172a; margin-bottom: 6px; letter-spacing: -0.5px; }
.legal-content .legal-meta { font-size: 13px; color: #64748b; margin-bottom: 28px; padding-bottom: 18px; border-bottom: 1px solid #e2e8f0; }
.legal-content h2 { font-size: 19px; font-weight: 800; color: #059669; margin: 28px 0 12px; }
.legal-content h3 { font-size: 16px; font-weight: 700; color: #0f172a; margin: 20px 0 8px; }
.legal-content p { font-size: 14.5px; line-height: 1.75; color: #334155; margin-bottom: 12px; }
.legal-content ul, .legal-content ol { padding-left: 22px; margin-bottom: 14px; }
.legal-content li { font-size: 14.5px; line-height: 1.75; color: #334155; margin-bottom: 6px; list-style: disc; }
.legal-content ol li { list-style: decimal; }
.legal-content a { color: #059669; font-weight: 600; text-decoration: underline; }
.legal-content a:hover { color: #047857; }
.legal-content strong { color: #0f172a; font-weight: 700; }
.legal-content .placeholder { background: #fef3c7; color: #92400e; padding: 1px 6px; border-radius: 4px; font-weight: 600; font-size: 13px; }
.legal-content .info-box { background: #ecfdf5; border: 1px solid #bbf7d0; border-radius: 10px; padding: 14px 18px; margin: 16px 0; font-size: 14px; color: #065f46; }
.legal-content .warn-box { background: #fffbeb; border: 1px solid #fde68a; border-radius: 10px; padding: 14px 18px; margin: 16px 0; font-size: 14px; color: #92400e; }
.legal-content .legal-table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 13.5px; }
.legal-content .legal-table th, .legal-content .legal-table td { border: 1px solid #e2e8f0; padding: 10px 12px; text-align: left; }
.legal-content .legal-table th { background: #f1f5f9; font-weight: 800; color: #0f172a; }

@media (max-width:600px) {
  .legal-page { padding: 20px 0 60px; }
  .legal-content { padding: 22px 18px; border-radius: 10px; margin: 0 12px; }
  .legal-content h1 { font-size: 22px; }
  .legal-content h2 { font-size: 16px; margin-top: 22px; }
  .legal-content p, .legal-content li { font-size: 14px; }
}

/* ──────────────────────────────────────────────────
   COOKIE CONSENT BANNER (sticky bottom, KVKK uyumu)
   ────────────────────────────────────────────────── */
#cookieBanner { position: fixed; left: 16px; right: 16px; bottom: 16px; background: #0f172a; color: #fff; border-radius: 14px; padding: 16px 20px; box-shadow: 0 16px 40px rgba(15,23,42,.35); z-index: 9000; display: none; flex-wrap: wrap; align-items: center; gap: 14px; max-width: 1100px; margin: 0 auto; }
#cookieBanner.show { display: flex; }
#cookieBanner .cb-text { flex: 1 1 280px; font-size: 13.5px; line-height: 1.55; color: #e2e8f0; }
#cookieBanner .cb-text a { color: #6ee7b7; text-decoration: underline; font-weight: 600; }
#cookieBanner .cb-actions { display: flex; gap: 8px; flex-shrink: 0; }
#cookieBanner .cb-btn { padding: 10px 18px; border-radius: 9px; font-weight: 700; font-size: 13.5px; cursor: pointer; border: none; transition: .15s; text-decoration: none; display: inline-flex; align-items: center; }
#cookieBanner .cb-accept { background: #10b981; color: #fff; }
#cookieBanner .cb-accept:hover { background: #059669; }
#cookieBanner .cb-link { background: transparent; color: #cbd5e1; border: 1px solid #475569; }
#cookieBanner .cb-link:hover { background: rgba(255,255,255,.06); color: #fff; }
@media (max-width:600px) {
  #cookieBanner { left: 8px; right: 8px; bottom: 8px; padding: 14px; }
  #cookieBanner .cb-text { font-size: 13px; flex-basis: 100%; }
  #cookieBanner .cb-actions { width: 100%; }
  #cookieBanner .cb-btn { flex: 1; justify-content: center; }
}

/* ── Mobil Responsive — Temel ── */
@media (max-width: 768px) {
  html { font-size: 15px; }
  .container, .container-sm {
    padding: 0 16px;
    max-width: 100%;
  }
  h1 { font-size: clamp(24px, 6vw, 40px) !important; }
  h2 { font-size: clamp(20px, 5vw, 32px) !important; }
  h3 { font-size: clamp(16px, 4vw, 24px) !important; }
}
@media (max-width: 480px) {
  .container, .container-sm { padding: 0 12px; }
}
