/* =========================================================
   Zafer Kitabevi & Café — Anamur · Bozyazı
   Tasarım: "Kareli Defter"
   Kareli defter zemini + kırmızı marj çizgisi + bordo bloklar
   ========================================================= */

:root {
  /* Marka — logodan örneklendi */
  --bordo: #a3171c;
  --bordo-deep: #7a1015;
  --bordo-ink: #5c0c10;
  --kirmizi: #e41e10;

  /* Kağıt */
  --krem: #fbf7f0;
  --kagit: #f4ede1;
  --kart: #ffffff;

  /* Mürekkep */
  --murekkep: #1c1614;
  --kursun: #6b5f58;
  --kursun-acik: #948379;
  --cizgi: #e6dccb;

  /* Café */
  --kahve: #7a4b2a;
  --kahve-acik: #f0e4d8;

  --wrap: 1180px;
  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 8px;

  --golge-sm: 0 2px 8px rgba(60, 30, 20, 0.05);
  --golge-md: 0 16px 38px -18px rgba(70, 25, 20, 0.26);
  --golge-lg: 0 34px 70px -30px rgba(70, 25, 20, 0.4);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Kareli defter dokusu */
  --kare: 26px;
}

/* ===================== TEMEL ===================== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.62;
  color: var(--murekkep);
  background: var(--krem);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }

h1, h2, h3, h4 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-variation-settings: "SOFT" 32, "WONK" 1, "opsz" 90;
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.022em;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); font-variation-settings: "SOFT" 32, "WONK" 1, "opsz" 130; }
h2 { font-size: clamp(1.95rem, 4vw, 3rem); }
h3 { font-size: clamp(1.12rem, 1.8vw, 1.36rem); font-variation-settings: "SOFT" 28, "WONK" 1, "opsz" 32; }
h4 { font-size: 1.02rem; font-variation-settings: "SOFT" 24, "WONK" 0, "opsz" 20; }

p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--bordo); color: #fff; padding: 12px 20px;
  border-radius: 0 0 var(--r-sm) 0; font-weight: 700;
}
.skip:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--kirmizi);
  outline-offset: 3px;
  border-radius: 3px;
}

/* Kareli defter dokusu — sadece imza bloklarda */
.kareli {
  background-image:
    linear-gradient(var(--kare-renk, rgba(255, 255, 255, 0.055)) 1px, transparent 1px),
    linear-gradient(90deg, var(--kare-renk, rgba(255, 255, 255, 0.055)) 1px, transparent 1px);
  background-size: var(--kare) var(--kare);
}

/* ===================== TİPOGRAFİ YARDIMCILARI ===================== */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--bordo);
  margin: 0 0 16px;
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px; flex: none;
  background: var(--kirmizi);
}
.eyebrow.on-dark { color: rgba(255, 255, 255, 0.82); }
.eyebrow.on-dark::before { background: #fff; }

.lead {
  font-size: clamp(1.04rem, 1.5vw, 1.2rem);
  color: var(--kursun);
  max-width: 58ch;
  line-height: 1.66;
}
.lead.on-dark { color: rgba(255, 255, 255, 0.8); }

/* Mono — kırtasiye "veri" dili: telefon, adres, saat, liste */
.mono {
  font-family: "DM Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.86rem;
  letter-spacing: 0.01em;
}

/* İMZA: marj çizgisi — okul defterinin kırmızı kenar çizgisi */
.sec-head { position: relative; max-width: 62ch; }
.sec-head::before {
  content: "";
  position: absolute;
  left: -30px; top: -8px;
  width: 1.5px; height: calc(100% + 16px);
  background: var(--kirmizi);
  opacity: 0.5;
}
.sec-head.on-dark::before { background: #fff; opacity: 0.4; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center::before { display: none; }
.sec-head.center .lead { margin-inline: auto; }
.sec-head .lead { margin-top: 18px; }
@media (max-width: 1290px) {
  .sec-head::before { display: none; }
}

/* ===================== BUTONLAR ===================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px;
  font-size: 0.97rem; font-weight: 700;
  border: 1.5px solid transparent;
  border-radius: var(--r-sm);
  transition: transform 0.25s var(--ease), background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.25s var(--ease);
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--kirmizi); color: #fff; box-shadow: 0 12px 26px -12px rgba(228, 30, 16, 0.75); }
.btn-primary:hover { background: var(--bordo); }

.btn-ink { background: var(--murekkep); color: var(--krem); }
.btn-ink:hover { background: var(--bordo); }

.btn-ghost { border-color: var(--cizgi); background: var(--kart); color: var(--murekkep); }
.btn-ghost:hover { border-color: var(--kirmizi); color: var(--bordo); }

.btn-light { background: #fff; color: var(--bordo-ink); }
.btn-light:hover { background: var(--krem); }

.btn-outline-light { border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* Metin bağlantısı — altı çizili "mürekkep" hissi */
.tlink {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 700; font-size: 0.94rem; color: var(--bordo);
  border-bottom: 1.5px solid rgba(163, 23, 28, 0.28);
  padding-bottom: 2px;
  transition: border-color 0.2s, gap 0.2s var(--ease);
}
.tlink:hover { border-bottom-color: var(--kirmizi); gap: 11px; }
.tlink svg { width: 14px; height: 14px; }

/* ===================== NAV ===================== */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(251, 247, 240, 0.88);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.nav.scrolled { border-bottom-color: var(--cizgi); box-shadow: 0 6px 24px -18px rgba(60, 30, 20, 0.5); }

.nav-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 22px;
  min-height: 74px;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 48px; width: auto; border-radius: 3px; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 9px 13px; border-radius: var(--r-sm);
  font-size: 0.93rem; font-weight: 500; color: var(--murekkep);
  transition: background 0.2s, color 0.2s;
}
.nav-links a:hover { background: rgba(163, 23, 28, 0.07); color: var(--bordo); }
.nav-links a[aria-current="page"] { color: var(--bordo); font-weight: 700; }

.nav-cta { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; font-size: 0.9rem; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--cizgi); border-radius: var(--r-sm);
  align-items: center; justify-content: center; background: var(--kart);
}
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--murekkep); position: relative; transition: background 0.2s; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--murekkep);
  transition: transform 0.25s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1000px) {
  .nav-toggle { display: inline-flex; }
  .nav-cta { display: none; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--krem);
    border-bottom: 1px solid var(--cizgi);
    padding: 8px 24px 20px;
    max-height: 0; overflow: hidden; opacity: 0;
    transition: max-height 0.35s var(--ease), opacity 0.25s, padding 0.3s;
  }
  .nav-links.open { max-height: 78vh; opacity: 1; overflow-y: auto; }
  .nav-links a { padding: 14px 4px; border-bottom: 1px solid var(--cizgi); border-radius: 0; font-size: 1rem; }
  .nav-links .nav-mob-cta { display: block; margin-top: 16px; }
  .nav-links .nav-mob-cta .btn { width: 100%; }
}
@media (min-width: 1001px) {
  .nav-links .nav-mob-cta { display: none; }
}

/* ===================== HERO ===================== */
.hero {
  position: relative;
  background-color: var(--bordo);
  color: #fff;
  padding: clamp(64px, 9vw, 104px) 0 clamp(120px, 13vw, 150px);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(120% 92% at 82% 8%, rgba(228, 30, 16, 0.5), transparent 62%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 2; }

.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(32px, 5vw, 64px); align-items: center;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

.hero h1 { color: #fff; }
.hero .lead { margin-top: 22px; }

/* Hero yan panel — açık defter sayfası */
.hero-note {
  background-color: var(--krem);
  color: var(--murekkep);
  border-radius: var(--r-lg);
  padding: 30px 30px 26px;
  box-shadow: var(--golge-lg);
  position: relative;
  --kare-renk: rgba(28, 22, 20, 0.05);
}
.hero-note::before {
  content: "";
  position: absolute; left: 26px; top: 0; bottom: 0;
  width: 1.5px; background: rgba(228, 30, 16, 0.35);
}
.hero-note h2 {
  font-size: 1.3rem;
  font-variation-settings: "SOFT" 28, "WONK" 1, "opsz" 30;
  padding-left: 22px;
}
.hero-note .mono { color: var(--kursun); }
.note-list { list-style: none; margin: 18px 0 0; padding: 0 0 0 22px; }
.note-list li {
  display: flex; align-items: flex-start; gap: 11px;
  padding: 11px 0; border-bottom: 1px dashed var(--cizgi);
  font-size: 0.96rem;
}
.note-list li:last-child { border-bottom: 0; }
.note-list a { display: flex; align-items: flex-start; gap: 11px; width: 100%; transition: color 0.2s; }
.note-list a:hover { color: var(--bordo); }
.note-list a:hover .tick { background: var(--kirmizi); color: #fff; }
.note-list .tick {
  flex: none; width: 17px; height: 17px; margin-top: 3px;
  border: 1.5px solid var(--kirmizi); border-radius: 3px;
  display: grid; place-items: center; color: var(--kirmizi);
  transition: background 0.2s, color 0.2s;
}
.note-list .tick svg { width: 11px; height: 11px; }

/* ===================== ŞUBE KARTLARI ===================== */
.branches-float { margin-top: clamp(-104px, -8vw, -70px); position: relative; z-index: 5; }

.branch-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 780px) { .branch-cards { grid-template-columns: 1fr; } }

.branch-card {
  background: var(--kart);
  border: 1px solid var(--cizgi);
  border-left: 3px solid var(--kirmizi);
  border-radius: var(--r-md);
  padding: 26px 26px 22px;
  box-shadow: var(--golge-md);
  display: flex; flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.branch-card:hover { transform: translateY(-4px); box-shadow: var(--golge-lg); }

.branch-top { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; }
.branch-card h3 { font-size: 1.5rem; font-variation-settings: "SOFT" 30, "WONK" 1, "opsz" 40; }
.branch-ilce {
  font-family: "DM Mono", monospace; font-size: 0.72rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--kursun-acik);
}
.branch-adres { margin: 14px 0 0; color: var(--kursun); font-size: 0.94rem; line-height: 1.55; }
.branch-tel {
  display: inline-flex; align-items: center; gap: 9px;
  margin-top: 16px; font-family: "DM Mono", monospace; font-size: 1.06rem;
  font-weight: 500; color: var(--bordo);
}
.branch-tel svg { width: 16px; height: 16px; }
.branch-tel:hover { color: var(--kirmizi); }
.branch-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; padding-top: 18px; border-top: 1px dashed var(--cizgi); }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 13px; border-radius: 100px;
  border: 1px solid var(--cizgi); background: var(--krem);
  font-size: 0.83rem; font-weight: 600; color: var(--kursun);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.chip svg { width: 14px; height: 14px; }
.chip:hover { border-color: var(--kirmizi); color: var(--bordo); background: #fff; }

/* ===================== BÖLÜM ===================== */
.section { padding-block: clamp(62px, 8.5vw, 112px); }
.section-kagit { background: var(--kagit); }
.section-krem { background: var(--krem); }

.section-head-row {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 30px;
  margin-bottom: clamp(34px, 4.5vw, 54px);
}
@media (max-width: 820px) { .section-head-row { flex-direction: column; align-items: flex-start; gap: 20px; } }

/* ===================== KATEGORİ ŞERİDİ ===================== */
.kat-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(168px, 1fr)); gap: 14px;
}
.kat {
  display: flex; flex-direction: column; gap: 12px;
  padding: 22px 20px 20px;
  background: var(--kart); border: 1px solid var(--cizgi);
  border-left: 2px solid transparent;
  border-radius: var(--r-md);
  transition: transform 0.28s var(--ease), border-color 0.24s, box-shadow 0.28s var(--ease);
}
.kat:hover { transform: translateY(-4px); border-left-color: var(--kirmizi); box-shadow: var(--golge-md); }
.kat-ikon {
  width: 38px; height: 38px; border-radius: var(--r-sm);
  display: grid; place-items: center;
  background: rgba(163, 23, 28, 0.08); color: var(--bordo);
}
.kat-ikon svg { width: 20px; height: 20px; }
.kat h3 { font-size: 1.06rem; }
.kat p { font-size: 0.88rem; color: var(--kursun); line-height: 1.5; }

/* ===================== VİTRİN (asimetrik) ===================== */
.vitrin { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
@media (max-width: 900px) { .vitrin { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .vitrin { grid-template-columns: 1fr; } }

.v-card {
  background: var(--kart); border: 1px solid var(--cizgi); border-radius: var(--r-md);
  padding: 26px 24px; display: flex; flex-direction: column; gap: 10px;
  border-left: 2px solid transparent;
  transition: transform 0.28s var(--ease), border-color 0.24s, box-shadow 0.28s var(--ease);
}
.v-card:hover { transform: translateY(-4px); border-left-color: var(--kirmizi); box-shadow: var(--golge-md); }
.v-card p { font-size: 0.92rem; color: var(--kursun); }
.v-card .mono { color: var(--kursun-acik); font-size: 0.72rem; letter-spacing: 0.13em; text-transform: uppercase; }
.v-6 { grid-column: span 6; }
.v-4 { grid-column: span 4; }
.v-8 { grid-column: span 8; }
.v-12 { grid-column: span 12; }
@media (max-width: 900px) {
  .v-6, .v-4, .v-8, .v-12 { grid-column: span 1; }
}

.v-card.on-bordo {
  background-color: var(--bordo); color: #fff; border-color: var(--bordo);
  --kare-renk: rgba(255, 255, 255, 0.07);
}
.v-card.on-bordo p { color: rgba(255, 255, 255, 0.8); }
.v-card.on-bordo .mono { color: rgba(255, 255, 255, 0.6); }
.v-card.on-bordo:hover { border-left-color: #fff; }

/* Etiket listesi — raf etiketi hissi */
.etiketler { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; padding: 0; list-style: none; }
.etiketler li {
  font-family: "DM Mono", monospace; font-size: 0.76rem;
  padding: 5px 11px; border-radius: 100px;
  background: var(--kagit); color: var(--kursun); border: 1px solid var(--cizgi);
}
.on-bordo .etiketler li { background: rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.9); border-color: rgba(255, 255, 255, 0.2); }

/* ===================== OKUL LİSTESİ BANDI ===================== */
.band {
  background-color: var(--bordo-deep); color: #fff;
  --kare-renk: rgba(255, 255, 255, 0.06);
  position: relative; overflow: hidden;
}
.band-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
  gap: clamp(32px, 5vw, 62px); align-items: center;
}
@media (max-width: 900px) { .band-grid { grid-template-columns: 1fr; } }
.band h2 { color: #fff; }

.liste-kagit {
  background: var(--krem); color: var(--murekkep);
  border-radius: var(--r-md); padding: 26px 26px 22px;
  box-shadow: var(--golge-lg); position: relative;
  transform: rotate(-1.1deg);
}
.liste-kagit::before {
  content: ""; position: absolute; left: 24px; top: 0; bottom: 0;
  width: 1.5px; background: rgba(228, 30, 16, 0.32);
}
.liste-kagit .liste-baslik {
  padding-left: 20px; font-family: "DM Mono", monospace;
  font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--kursun-acik); margin-bottom: 14px;
}
.liste-kagit ul { list-style: none; margin: 0; padding: 0 0 0 20px; }
.liste-kagit li {
  display: flex; align-items: center; gap: 11px;
  padding: 10px 0; border-bottom: 1px solid var(--cizgi);
  font-size: 0.95rem;
}
.liste-kagit li:last-child { border-bottom: 0; }
.liste-kagit .kutu {
  flex: none; width: 16px; height: 16px;
  border: 1.5px solid var(--kursun-acik); border-radius: 3px;
  display: grid; place-items: center; color: transparent;
  transition: color 0.25s, border-color 0.25s, background 0.25s;
}
.liste-kagit .kutu svg { width: 10px; height: 10px; }
.liste-kagit li.ok .kutu { border-color: var(--kirmizi); background: var(--kirmizi); color: #fff; }
.liste-kagit li.ok span:last-child { color: var(--kursun); text-decoration: line-through; text-decoration-color: rgba(228, 30, 16, 0.5); }

/* ===================== CAFÉ ===================== */
.section-cafe { background: var(--kahve-acik); }
.section-cafe .eyebrow { color: var(--kahve); }
.section-cafe .eyebrow::before { background: var(--kahve); }
.section-cafe .sec-head::before { background: var(--kahve); }
.section-cafe .tlink { color: var(--kahve); border-bottom-color: rgba(122, 75, 42, 0.3); }
.section-cafe .tlink:hover { border-bottom-color: var(--kahve); }

.cafe-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(30px, 5vw, 60px); align-items: center; }
@media (max-width: 900px) { .cafe-grid { grid-template-columns: 1fr; } }

.menu-kart {
  background: var(--kart); border: 1px solid rgba(122, 75, 42, 0.16);
  border-radius: var(--r-md); padding: 26px 26px 22px; box-shadow: var(--golge-md);
}
.menu-kart h3 { color: var(--kahve); margin-bottom: 16px; }
.menu-satir {
  display: flex; align-items: baseline; gap: 12px;
  padding: 11px 0; border-bottom: 1px dashed rgba(122, 75, 42, 0.2);
}
.menu-satir:last-child { border-bottom: 0; }
.menu-satir .ad { font-weight: 600; font-size: 0.96rem; }
.menu-satir .nokta { flex: 1; border-bottom: 1px dotted rgba(122, 75, 42, 0.35); transform: translateY(-3px); }
.menu-satir .not { font-family: "DM Mono", monospace; font-size: 0.78rem; color: var(--kursun-acik); }

/* ===================== GENEL İKİ KOLON ===================== */
.iki-kolon {
  display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(30px, 5vw, 60px); align-items: center;
}
.iki-kolon.esit { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.iki-kolon.ust { align-items: start; }
/* Şaşırtmalı düzen: masaüstünde kolonlar yer değiştirir,
   mobilde DOM sırası korunur (başlık her zaman önce okunur) */
@media (min-width: 901px) {
  .iki-kolon.ters > :first-child { order: 2; }
  .iki-kolon.ters > :last-child { order: 1; }
}
@media (max-width: 900px) { .iki-kolon, .iki-kolon.esit { grid-template-columns: 1fr; } }

/* ===================== RAF LİSTESİ =====================
   Café menüsündeki nokta-liderli dil, ürün raflarına taşındı */
.raf-liste {
  background: var(--kart); border: 1px solid var(--cizgi);
  border-radius: var(--r-md); padding: 6px 24px;
  box-shadow: var(--golge-md);
}
.raf-satir {
  display: flex; align-items: baseline; gap: 12px;
  padding: 14px 0; border-bottom: 1px dashed var(--cizgi);
}
.raf-satir:last-child { border-bottom: 0; }
.raf-satir .ad { font-weight: 600; font-size: 0.96rem; flex: none; }
.raf-satir .nokta { flex: 1; min-width: 18px; border-bottom: 1px dotted var(--cizgi); transform: translateY(-3px); }
.raf-satir .not {
  font-family: "DM Mono", monospace; font-size: 0.77rem;
  color: var(--kursun-acik); text-align: right; flex: none;
}
@media (max-width: 460px) {
  .raf-satir { flex-wrap: wrap; gap: 4px 12px; }
  .raf-satir .nokta { display: none; }
  .raf-satir .not { text-align: left; width: 100%; }
}

/* ===================== NEDEN BİZ ===================== */
.neden-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 2px; background: var(--cizgi); border: 1px solid var(--cizgi); border-radius: var(--r-md); overflow: hidden; }
.neden {
  background: var(--krem); padding: 30px 26px 28px;
  transition: background 0.25s;
}
.neden:hover { background: var(--kart); }
.neden .n-ikon {
  width: 36px; height: 36px; border-radius: var(--r-sm);
  display: grid; place-items: center; margin-bottom: 16px;
  background: rgba(228, 30, 16, 0.09); color: var(--bordo);
}
.neden .n-ikon svg { width: 19px; height: 19px; }
.neden h3 { margin-bottom: 9px; }
.neden p { font-size: 0.92rem; color: var(--kursun); }

/* Adımlar — gerçek bir sıra olduğu için numaralı */
.adimlar { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 16px; }
.adimlar li { display: grid; grid-template-columns: 30px 1fr; gap: 15px; align-items: start; }
.adimlar .n {
  font-family: "DM Mono", monospace; font-size: 0.8rem;
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4); color: #fff;
  display: grid; place-items: center;
}
.adimlar strong { display: block; color: #fff; font-size: 1rem; margin-bottom: 2px; }
.adimlar p { color: rgba(255, 255, 255, 0.72); font-size: 0.93rem; margin: 0; }

/* ===================== ŞUBE / HARİTA ===================== */
.sube-blok {
  display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(26px, 4vw, 48px); align-items: center;
  padding-block: clamp(34px, 5vw, 56px);
  border-top: 1px solid var(--cizgi);
}
.sube-blok:first-of-type { border-top: 0; padding-top: 0; }
@media (max-width: 880px) { .sube-blok { grid-template-columns: 1fr; } }

.harita {
  border-radius: var(--r-md); overflow: hidden;
  border: 1px solid var(--cizgi); box-shadow: var(--golge-md);
  background: var(--kagit);
  aspect-ratio: 16 / 11;
}
.harita iframe { width: 100%; height: 100%; border: 0; display: block; }

.bilgi-satir {
  display: grid; grid-template-columns: 26px 1fr; gap: 13px;
  padding: 13px 0; border-bottom: 1px dashed var(--cizgi);
  align-items: start;
}
.bilgi-satir:last-child { border-bottom: 0; }
.bilgi-satir svg { width: 17px; height: 17px; color: var(--bordo); margin-top: 3px; }
.bilgi-satir .k {
  font-family: "DM Mono", monospace; font-size: 0.7rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--kursun-acik);
  display: block; margin-bottom: 3px;
}
.bilgi-satir .d { font-size: 0.96rem; line-height: 1.5; }
.bilgi-liste { margin: 20px 0 0; }

/* ===================== SIKÇA SORULANLAR ===================== */
.sss { border-top: 1px solid var(--cizgi); max-width: 78ch; }
.sss details { border-bottom: 1px solid var(--cizgi); }
.sss summary {
  padding: 20px 44px 20px 0; cursor: pointer;
  font-weight: 700; font-size: 1.01rem; list-style: none;
  position: relative; transition: color 0.2s;
}
.sss summary::-webkit-details-marker { display: none; }
.sss summary:hover { color: var(--bordo); }
.sss summary::after {
  content: "+"; position: absolute; right: 10px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 400; line-height: 1; color: var(--kirmizi);
}
.sss details[open] summary::after { content: "\2212"; }
.sss .cevap { padding: 0 44px 22px 0; color: var(--kursun); font-size: 0.96rem; }
.sss .cevap p:last-child { margin-bottom: 0; }

/* ===================== CTA ŞERİDİ ===================== */
.cta {
  background-color: var(--bordo); color: #fff;
  --kare-renk: rgba(255, 255, 255, 0.06);
  text-align: center;
}
.cta h2 { color: #fff; margin-bottom: 16px; }
.cta .lead { margin-inline: auto; }
.cta .btn-row { justify-content: center; }

/* ===================== PROSE (yasal / metin sayfaları) ===================== */
.sayfa-basi {
  background-color: var(--bordo); color: #fff;
  --kare-renk: rgba(255, 255, 255, 0.055);
  padding-block: clamp(50px, 7vw, 84px);
}
.sayfa-basi h1 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.sayfa-basi .lead { margin-top: 18px; }

.prose { max-width: 74ch; }
.prose h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  margin: 46px 0 14px; padding-left: 18px; position: relative;
}
.prose h2::before {
  content: ""; position: absolute; left: 0; top: 0.18em; bottom: 0.18em;
  width: 2px; background: var(--kirmizi);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 28px 0 10px; }
.prose p, .prose li { color: var(--kursun); }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 1.05em; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--bordo); border-bottom: 1px solid rgba(163, 23, 28, 0.3); }
.prose a:hover { border-bottom-color: var(--kirmizi); }
.prose strong { color: var(--murekkep); }
.prose .guncelleme {
  font-family: "DM Mono", monospace; font-size: 0.8rem; color: var(--kursun-acik);
  padding: 12px 16px; background: var(--kagit); border-radius: var(--r-sm);
  border-left: 2px solid var(--kirmizi); margin-bottom: 34px;
}

/* ===================== FOOTER ===================== */
.footer {
  background: var(--bordo-ink); color: rgba(255, 255, 255, 0.75);
  padding-block: clamp(48px, 6vw, 72px) 28px;
  font-size: 0.93rem;
}
.footer-grid {
  display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 36px; padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
@media (max-width: 940px) { .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-logo img { height: 54px; width: auto; border-radius: 3px; }
.footer-marka { margin-top: 16px; max-width: 34ch; line-height: 1.6; }
.footer h4 {
  color: #fff; font-family: "DM Sans", sans-serif; font-weight: 700;
  font-size: 0.74rem; letter-spacing: 0.17em; text-transform: uppercase;
  margin-bottom: 15px;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 9px; }
.footer a { transition: color 0.2s; }
.footer a:hover { color: #fff; }
.footer .mono { color: rgba(255, 255, 255, 0.85); }

.footer-alt {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 14px; padding-top: 22px;
  font-size: 0.84rem; color: rgba(255, 255, 255, 0.55);
}
.footer-alt nav { display: flex; flex-wrap: wrap; gap: 18px; }

.sosyal { display: flex; gap: 9px; margin-top: 16px; }
.sosyal a {
  width: 38px; height: 38px; border-radius: var(--r-sm);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: grid; place-items: center; color: rgba(255, 255, 255, 0.8);
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.25s var(--ease);
}
.sosyal a:hover { background: rgba(255, 255, 255, 0.13); border-color: #fff; color: #fff; transform: translateY(-2px); }
.sosyal svg { width: 17px; height: 17px; }

/* ===================== WHATSAPP FAB ===================== */
.wa { position: fixed; right: 20px; bottom: 20px; z-index: 70; }
.wa-btn {
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.65);
  transition: transform 0.25s var(--ease);
}
.wa-btn:hover { transform: scale(1.06); }
.wa-btn svg { width: 28px; height: 28px; }

.wa-menu {
  position: absolute; right: 0; bottom: 68px;
  width: 246px; background: var(--kart);
  border: 1px solid var(--cizgi); border-radius: var(--r-md);
  box-shadow: var(--golge-lg);
  padding: 8px; overflow: hidden;
  opacity: 0; visibility: hidden; transform: translateY(8px) scale(0.97);
  transform-origin: bottom right;
  transition: opacity 0.22s, transform 0.28s var(--ease), visibility 0.22s;
}
.wa-menu.open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.wa-menu .wa-baslik {
  font-family: "DM Mono", monospace; font-size: 0.68rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--kursun-acik);
  padding: 9px 12px 7px;
}
.wa-menu a {
  display: block; padding: 11px 12px; border-radius: var(--r-sm);
  transition: background 0.18s;
}
.wa-menu a:hover { background: var(--kagit); }
.wa-menu .ad { font-weight: 700; font-size: 0.94rem; display: block; }
.wa-menu .no { font-family: "DM Mono", monospace; font-size: 0.8rem; color: var(--kursun); }

@media (max-width: 560px) { .wa { right: 14px; bottom: 14px; } }

/* ===================== 404 ===================== */
.err { min-height: 66vh; display: grid; place-items: center; text-align: center; padding-block: 80px; }
.err .kod {
  font-family: "Fraunces", serif; font-variation-settings: "SOFT" 40, "WONK" 1, "opsz" 144;
  font-size: clamp(5rem, 17vw, 10rem); line-height: 0.9; color: var(--kirmizi);
  margin-bottom: 18px;
}

/* ===================== SCROLL REVEAL ===================== */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 0; transform: translateY(20px); }
  .liste-kagit { transform: none; }
}
