:root {
  --ink: #142033;
  --ink-soft: #3c4d63;
  --muted: #5c6b7c;
  --paper: #f3f6fb;
  --card: #ffffff;
  --line: #d7e2ef;
  --rust: #e23d4a;
  --rust-deep: #c4233a;
  --navy: #12315c;
  --shadow: 0 18px 40px rgba(18, 49, 92, 0.1);
  --serif: "Fraunces", "Times New Roman", serif;
  --sans: "Figtree", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.55;
  background:
    radial-gradient(900px 420px at 8% -10%, rgba(255, 176, 64, 0.55), transparent 60%),
    radial-gradient(800px 480px at 100% 0%, rgba(226, 61, 74, 0.28), transparent 55%),
    linear-gradient(180deg, #e7f0ff 0%, var(--paper) 280px);
  min-height: 100vh;
}
a { color: #b4233a; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
button, input, select { font: inherit; color: inherit; }

.ust {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 28px;
  background: rgba(255,255,255,0.94);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(16, 40, 77, 0.06);
  backdrop-filter: blur(8px);
}
.marka { display: flex; align-items: center; text-decoration: none; }
.marka img { height: 86px; width: auto; display: block; background: transparent; }
.menu { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.menu a { text-decoration: none; color: var(--ink-soft); padding: 8px 12px; border-radius: 999px; }
.menu a.aktif, .menu a:hover { background: #e8f0ff; color: var(--navy); }
.durum {
  background: #fff4d6;
  color: #7a3b00;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.78rem;
  font-weight: 750;
}
.onizleme { display: flex; gap: 6px; }
.onizleme button {
  border: 1px solid rgba(255,255,255,0.35);
  background: transparent; color: #fff;
  border-radius: 999px; padding: 6px 10px; cursor: pointer;
}
.onizleme button.secili { background: #fff; color: var(--navy); }

.sarmal { width: min(1120px, calc(100% - 48px)); margin: 0 auto; padding: 32px 0 72px; }
.kahraman { display: grid; grid-template-columns: 1.35fr 0.8fr; gap: 22px; align-items: stretch; margin-bottom: 22px; }
.kicker {
  letter-spacing: 0.16em; text-transform: uppercase;
  font-size: 0.75rem; color: var(--rust); font-weight: 800; margin: 0 0 8px;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 560; letter-spacing: -0.03em; margin: 0; }
h1 { font-size: clamp(2.5rem, 5vw, 4.3rem); line-height: 0.98; color: #10284d; }
.ozet { font-size: 1.14rem; color: var(--ink-soft); }
.yan-not {
  background: linear-gradient(160deg, #12315c, #1f6feb 70%, #ffb020);
  color: #fff; border-radius: 24px; padding: 24px;
  box-shadow: var(--shadow);
}
.yan-not strong { font-family: var(--serif); font-size: 1.55rem; display: block; margin-bottom: 8px; }
.yan-not p { margin: 0; color: #eef4ff; }

.izgara { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.kart {
  display: grid; grid-template-columns: auto 1fr; gap: 14px;
  padding: 18px; background: var(--card);
  border: 1px solid var(--line); border-radius: 20px;
  text-decoration: none; color: inherit;
  box-shadow: var(--shadow);
  border-top: 5px solid #1f6feb;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.kart:hover { transform: translateY(-3px); box-shadow: 0 22px 40px rgba(18, 49, 92, 0.16); }
.kod {
  width: 52px; height: 52px; border-radius: 16px;
  display: grid; place-items: center; color: #fff; font-weight: 800;
  background: #12315c;
}
.renk-0 { border-top-color: #e23d4a; } .renk-0 .kod { background: #e23d4a; }
.renk-1 { border-top-color: #f0a202; } .renk-1 .kod { background: #e08900; }
.renk-2 { border-top-color: #0f9b8e; } .renk-2 .kod { background: #0f9b8e; }
.renk-3 { border-top-color: #7c5cbf; } .renk-3 .kod { background: #7c5cbf; }
.renk-4 { border-top-color: #1f6feb; } .renk-4 .kod { background: #1f6feb; }
.renk-5 { border-top-color: #1f9d55; } .renk-5 .kod { background: #1f9d55; }
.renk-6 { border-top-color: #d6336c; } .renk-6 .kod { background: #d6336c; }
.renk-7 { border-top-color: #ef7b2f; } .renk-7 .kod { background: #ef7b2f; }
.renk-8 { border-top-color: #3d4db7; } .renk-8 .kod { background: #3d4db7; }
.renk-9 { border-top-color: #0e8f6e; } .renk-9 .kod { background: #0e8f6e; }
.renk-10 { border-top-color: #0b6e99; } .renk-10 .kod { background: #0b6e99; }
.kart h2 { font-size: 1.4rem; margin-bottom: 4px; color: #10284d; }
.kart p { margin: 0; color: var(--muted); }

.bolum { margin-top: 42px; }
.bolum h2 { font-size: 2rem; margin-bottom: 8px; color: #10284d; }
.ucretli-serit { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 12px; margin-top: 14px; }
.bos {
  background: #fff; border: 1px dashed #b9cbe2; border-radius: 18px; padding: 16px; color: var(--muted);
}
.bos b { display: block; color: var(--navy); font-family: var(--serif); font-size: 1.25rem; margin-bottom: 4px; }

.arac-ust { max-width: 48rem; margin-bottom: 18px; }
.arac-ust h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
.bilgi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 18px 0 22px; }
.bilgi article {
  background: #fff; border-radius: 18px; padding: 14px 16px;
  border: 1px solid var(--line); box-shadow: 0 8px 20px rgba(18, 49, 92, 0.05);
}
.bilgi article:nth-child(1) { border-top: 4px solid #1f6feb; }
.bilgi article:nth-child(2) { border-top: 4px solid #f0a202; }
.bilgi article:nth-child(3) { border-top: 4px solid #e23d4a; }
.bilgi h3 { font-size: 1.05rem; margin-bottom: 6px; color: #10284d; }
.bilgi p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }

.calisma { display: grid; grid-template-columns: 340px 1fr; gap: 18px; align-items: start; }
.form, .sonuc {
  background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 18px; box-shadow: var(--shadow);
}
.form { border-top: 5px solid #1f6feb; }
.sonuc { border-top: 5px solid #e23d4a; }
label { display: block; font-size: 0.92rem; font-weight: 700; margin: 12px 0 6px; color: #234; }
.ornek {
  display: block; margin-top: 14px; text-align: center; text-decoration: none;
  font-weight: 800; color: #12315c; background: #eef4ff;
  border: 1px solid #c9d7ea; border-radius: 12px; padding: 11px 12px;
}
.ornek:hover { background: #e3edfb; }
.yukle {
  position: relative; display: flex; align-items: center; justify-content: center;
  margin: 8px 0 0; min-height: 46px; cursor: pointer; text-align: center;
  border: 1px solid #c9d7ea; background: #f8fbff; border-radius: 12px; padding: 11px 12px;
}
.yukle input {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}
.secilen {
  display: block; margin-top: 6px; text-align: center;
  font-size: 0.85rem; font-weight: 600; color: #6a7c90;
}
button.indir {
  margin-top: 14px; border: 0; border-radius: 12px; padding: 12px 16px; cursor: pointer;
  background: #12315c; color: #fff; font-weight: 800;
}
button.indir:hover { filter: brightness(1.08); }
.urun-kart strong { display: block; margin-top: 8px; color: #c4233a; }
.fiyat-kutu { text-align: center; }
.fiyat-kutu p { margin: 0; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.75rem; font-weight: 800; color: #6a7c90; }
.fiyat-kutu strong { display: block; font-family: var(--serif); font-size: 2.4rem; color: #10284d; }
.fiyat-kutu span { display: block; margin: 6px 0 14px; color: var(--ink-soft); }
.satin, .satin.bekle {
  display: block; text-align: center; text-decoration: none; font-weight: 800; color: #fff;
  background: #12315c; border-radius: 12px; padding: 12px 14px;
}
.satin.bekle { background: #8aa0b8; }
.adimlar { list-style: none; padding: 0; margin: 0; }
.adimlar li { display: grid; grid-template-columns: auto 1fr; gap: 10px; margin: 0 0 10px; }
.adimlar span {
  width: 28px; height: 28px; border-radius: 50%; background: #12315c; color: #fff;
  display: grid; place-items: center; font-weight: 800;
}
.galeri { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 12px; }
.galeri img { width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--line); }
.galeri figcaption { color: var(--muted); font-size: 0.9rem; margin-top: 6px; }
.yonetim-ust { display: flex; justify-content: space-between; gap: 16px; align-items: end; }
.yonetim-kart { margin-top: 16px; }
.yonetim textarea {
  width: 100%; border: 1px solid #c9d7ea; background: #f8fbff; border-radius: 12px; padding: 11px 12px;
}
.kucuk {
  margin-top: 8px; border: 1px solid #c9d7ea; background: #fff; border-radius: 10px; padding: 8px 10px; cursor: pointer; font-weight: 700;
}
.sil-form { display: inline-block; margin: 8px 8px 0 0; }
.tuzak { position: absolute; left: -9999px; height: 0; width: 0; opacity: 0; }
.dar { max-width: 420px; }
input, select {
  width: 100%; border: 1px solid #c9d7ea; background: #f8fbff;
  border-radius: 12px; padding: 11px 12px;
}
input:focus, select:focus { outline: 2px solid #f7c1c6; border-color: var(--rust); background: #fff; }
.satir-iki { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.check { display: flex; gap: 8px; align-items: flex-start; font-weight: 600; margin-top: 12px; }
.check input { width: auto; margin-top: 4px; }
.hesapla, .yazdir {
  margin-top: 16px; width: 100%; border: 0; border-radius: 12px; padding: 12px 14px;
  background: linear-gradient(90deg, #e23d4a, #ff7a45); color: white; font-weight: 800; cursor: pointer;
}
.hesapla:hover { filter: brightness(1.05); }
.yazdir { background: var(--navy); width: auto; margin-top: 8px; }
.sekme { display: flex; gap: 6px; margin-bottom: 8px; }
.sekme a, .sekme button {
  flex: 1; border: 1px solid var(--line); background: #f4f7fb; border-radius: 999px; padding: 8px; cursor: pointer; font-weight: 700;
  text-align: center; text-decoration: none; color: var(--ink);
}
.sekme a.aktif, .sekme button.aktif { background: #12315c; color: #fff; border-color: #12315c; }
.buyuk {
  font-family: var(--serif); font-size: 2.7rem; letter-spacing: -0.03em;
  margin: 0 0 6px; color: #c4233a;
}
.buyuk small { font-family: var(--sans); font-size: 1rem; color: var(--muted); margin-left: 6px; }
.satirlar { width: 100%; border-collapse: collapse; margin-top: 12px; font-variant-numeric: tabular-nums; }
.satirlar th, .satirlar td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
.satirlar th { font-size: 0.75rem; letter-spacing: 0.07em; text-transform: uppercase; color: #6a7c90; }
.satirlar tr:nth-child(even) td { background: #f7faff; }
.sag { text-align: right !important; }
.hata { background: #fde8e4; color: #7f1d1d; padding: 10px 12px; border-radius: 12px; }
.uyari {
  margin-top: 14px; background: #fff7e8; border-left: 4px solid #f0a202;
  padding: 10px 12px; color: var(--ink-soft); font-size: 0.92rem; border-radius: 0 12px 12px 0;
}
.fis-baslik { margin: 18px 0 0; font-size: 1.3rem; color: #10284d; }
.alt {
  margin-top: 48px; padding: 22px 0 10px; border-top: 1px solid var(--line);
  color: var(--muted); display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
}
.alt a { color: var(--ink-soft); }
.metin, .anlat { width: 100%; }
.metin p, .anlat p, .ozet, .bilgi p, .uyari {
  text-align: justify;
  text-align-last: start;
  text-justify: inter-word;
  hyphens: auto;
}
.metin p { color: var(--ink-soft); }
.anlat { margin-top: 28px; }
.anlat h2 { font-size: 1.45rem; margin: 0 0 0.4rem; color: #10284d; }
.anlat h3 { font-size: 1.08rem; margin: 1.15rem 0 0.3rem; color: #10284d; }
.anlat p { margin: 0 0 0.5rem; color: var(--ink-soft); }
.yakin { display: grid; gap: 12px; margin-top: 18px; }

@media (max-width: 900px) {
  .ust { flex-wrap: wrap; padding: 14px 16px; }
  .sarmal { width: auto; padding-left: 16px; padding-right: 16px; }
  .kahraman, .izgara, .bilgi, .calisma, .ucretli-serit { grid-template-columns: 1fr; }
  .menu { width: 100%; }
}
@media print {
  .ust, .form, .bilgi, .alt, .yazdir, .menu, .onizleme, .durum { display: none !important; }
  body { background: white; }
  .sarmal { width: auto; }
  .calisma { display: block; }
  .sonuc { box-shadow: none; border: 0; }
}
