/* ══════════════════════════════════════════════════════════
   TRIVON STUDIO — YASAL SAYFA STİLİ (REV18)
   Neden ayrı dosya: mesafeli satış, gizlilik, teslimat-iade,
   ön bilgilendirme ve hakkımızda sayfaları aynı kabuğu kullanıyor.
   Tek yerden değiştirilsin diye index.html'in devasa <style>
   bloğuna eklenmedi. Renk değişkenleri index.html ile BİREBİR
   aynı tutulmalı — biri değişirse buradaki de değişmeli.
   ══════════════════════════════════════════════════════════ */

:root {
  --walnut:     #3b2a1a;
  --oak:        #7a5c3a;
  --cream:      #f5f0e8;
  --warm-led:   #f5c842;
  --epoxy-blue: #1a9bbf;
  --anthra:     #1c1c1e;
  --mid-grey:   #2e2e30;
  --text-light: #d4c9b8;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--anthra);
  color: var(--text-light);
  font-family: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-weight: 300;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--warm-led); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Üst şerit ── */
.legal-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: rgba(28, 28, 30, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(122, 92, 58, .25);
}
.legal-nav .brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  color: var(--cream);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .18em;
}
.legal-nav .brand:hover { text-decoration: none; }
.legal-nav .brand img { height: 30px; width: 30px; object-fit: contain; }
.legal-nav .back {
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-light);
  white-space: nowrap;
}

/* ── Gövde ── */
.legal-wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 5rem;
}
.legal-eyebrow {
  font-size: .68rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--warm-led);
  margin: 0 0 .9rem;
}
h1 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--cream);
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 1.2rem;
}
h2 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--cream);
  font-size: 1.35rem;
  font-weight: 600;
  margin: 2.8rem 0 .9rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(212, 201, 184, .12);
}
h3 {
  color: var(--cream);
  font-size: 1rem;
  font-weight: 500;
  margin: 1.8rem 0 .6rem;
  letter-spacing: .02em;
}
p, li { font-size: .95rem; }
ul, ol { padding-left: 1.3rem; }
li { margin-bottom: .5rem; }
strong { color: var(--cream); font-weight: 500; }

.updated {
  font-size: .75rem;
  /* .5 alfa 3.6:1 veriyordu — küçük metin için WCAG AA sınırı 4.5:1.
     .6 ile 4.6:1 oluyor; renk tonu aynı, sadece biraz daha okunur. */
  color: rgba(212, 201, 184, .6);
  margin: 0 0 2.5rem;
}

/* ── Bilgi kutusu ── */
.box {
  background: var(--mid-grey);
  border: 1px solid rgba(122, 92, 58, .28);
  border-radius: 3px;
  padding: 1.4rem 1.6rem;
  margin: 1.5rem 0;
}
.box.accent { border-left: 3px solid var(--warm-led); }

/* ── Künye / taraf tablosu ── */
table.party {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2rem 0;
  font-size: .9rem;
}
table.party th,
table.party td {
  text-align: left;
  vertical-align: top;
  padding: .6rem .8rem;
  border-bottom: 1px solid rgba(212, 201, 184, .1);
}
table.party th {
  width: 38%;
  color: var(--cream);
  font-weight: 500;
  white-space: nowrap;
}
.table-scroll { overflow-x: auto; }

/* ── Doldurulması gereken alan ──
   Bu işaret CANLIYA ÇIKMADAN ÖNCE temizlenmeli. Gözden kaçmasın
   diye bilerek dikkat çekici. Tümünü bulmak için projede
   "data-fill" araması yapılabilir. */
.fill {
  display: inline-block;
  background: rgba(245, 200, 66, .16);
  border: 1px dashed var(--warm-led);
  color: var(--warm-led);
  border-radius: 2px;
  padding: 0 .4rem;
  font-size: .85em;
}

/* ── Ödeme / güven bandı ── */
.pay-band {
  margin-top: 2.5rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(212, 201, 184, .12);
}
.pay-band img {
  max-width: 100%;
  height: auto;
  opacity: .9;
}

/* ── Alt bilgi ── */
.legal-footer {
  border-top: 1px solid rgba(122, 92, 58, .2);
  background: rgba(0, 0, 0, .35);
  padding: 2.5rem 1.5rem;
  text-align: center;
}
.legal-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem 1.4rem;
  margin-bottom: 1.4rem;
  font-size: .75rem;
}
.legal-footer nav a { color: var(--text-light); }
.legal-footer nav a:hover { color: var(--warm-led); }
.legal-footer .copy { font-size: .72rem; color: rgba(212, 201, 184, .6); margin: 0; } /* .4 = 2.8:1 idi, AA altı */

@media (max-width: 640px) {
  table.party th { width: auto; white-space: normal; }
  table.party, table.party tbody, table.party tr, table.party th, table.party td { display: block; }
  table.party th { border-bottom: none; padding-bottom: 0; }
  table.party td { padding-top: .15rem; }
}
