/* =========================================================
   Kaleyurdu Vakfı — Public Site CSS (Hi-Fi)
   Hudayi Vakfı tasarım dili · turkuaz / altın / beyaz
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Renk — Hudayi tarzı turkuaz */
  --teal-900: #0e6b62;
  --teal-800: #117e74;
  --teal-700: #128c80;
  --teal-600: #1ba39c;   /* ana turkuaz vurgu */
  --teal-500: #2cb5ad;
  --teal-100: #e0f2f0;
  --teal-50:  #f3f9f8;

  --gold-700: #b48d2e;
  --gold-600: #d4a843;   /* 40-yıl rozet tonu */
  --gold-500: #e3bd64;
  --gold-100: #faf1d8;

  --paper:      #ffffff;     /* sayfa arka plan */
  --paper-soft: #f5f5f5;     /* breadcrumb / şerit */
  --paper-edge: #ebebeb;     /* dipnot / bölüm ayrımı */

  --ink:        #2c2c2c;     /* ana metin */
  --ink-soft:   #555555;
  --ink-faint:  #888888;
  --ink-ghost:  #b8b8b8;
  --ink-line:   #e2e2e2;

  --danger:  #b91c1c;
  --success: #166534;

  /* Tipografi — tek sans ailesi */
  --sans:  'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Tahoma, sans-serif;
  --serif: 'Open Sans', Georgia, serif;     /* başlıkları yine Open Sans 700/800 */
  --mono:  'SF Mono', Menlo, monospace;
  --hand:  var(--sans);   /* eski şablonlardaki var(--hand) → sans */
  --note:  var(--sans);

  /* Geri uyumluluk: eski şablonlardaki --accent → turkuaz */
  --accent:      var(--teal-600);
  --accent-dk:   var(--teal-800);
  --accent-wash: var(--teal-50);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 6px 18px -6px rgba(0, 0, 0, 0.10), 0 2px 6px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 14px 36px -10px rgba(0, 0, 0, 0.14), 0 4px 10px rgba(0, 0, 0, 0.06);

  --radius:    3px;
  --radius-lg: 6px;

  --max:        1200px;
  --max-narrow: 960px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; display: block; }
a {
  color: var(--teal-600);
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover { color: var(--teal-800); text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4, h5 {
  font-family: var(--sans);
  color: var(--ink);
  margin: 0 0 12px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
}
h1 { font-size: 32px; font-weight: 800; }
h2 { font-size: 26px; }
h3 { font-size: 20px; }
h4 { font-size: 17px; }
p  { margin: 0 0 14px; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.section { padding: 56px 0; }
.section-tight { padding: 32px 0; }
.section-alt { background: var(--paper-soft); }

/* ---------- Tipografi yardımcıları ---------- */
.scribble { font-style: italic; }
.note     { color: var(--ink-soft); font-size: 14px; }

.kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-600);
}

.text-accent { color: var(--teal-600); }
.text-soft   { color: var(--ink-soft); }
.text-center { text-align: center; }

hr.divider {
  border: 0;
  border-top: 1px solid var(--ink-line);
  margin: 28px 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 11px 22px;
  border: 2px solid var(--teal-600);
  background: var(--teal-600);
  color: var(--paper);
  border-radius: var(--radius);
  text-decoration: none !important;
  transition: all 0.18s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover {
  background: var(--teal-800);
  border-color: var(--teal-800);
  color: var(--paper);
}
.btn-primary {
  background: var(--teal-600);
  color: var(--paper);
  border-color: var(--teal-600);
}
.btn-primary:hover {
  background: var(--teal-800);
  border-color: var(--teal-800);
  color: var(--paper);
}
.btn-gold {
  background: var(--gold-600);
  color: var(--ink);
  border-color: var(--gold-600);
}
.btn-gold:hover {
  background: var(--gold-700);
  border-color: var(--gold-700);
  color: var(--paper);
}
.btn-ghost {
  background: transparent;
  color: var(--teal-600);
  border-color: var(--teal-600);
}
.btn-ghost:hover {
  background: var(--teal-600);
  color: var(--paper);
  border-color: var(--teal-600);
}
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink-line);
}
.btn-outline:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.btn-sm { font-size: 11px; padding: 8px 16px; }
.btn-lg { font-size: 14px; padding: 14px 28px; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--paper-soft);
  color: var(--ink-soft);
  font-size: 12.5px;
  border-bottom: 1px solid var(--ink-line);
}
.topbar .container {
  display: flex; align-items: center; gap: 18px; padding: 8px 24px;
  flex-wrap: wrap;
}
.topbar a { color: var(--ink-soft); }
.topbar a:hover { color: var(--teal-600); }
.topbar .item { display: inline-flex; align-items: center; gap: 6px; }
.topbar .sep { color: var(--ink-ghost); }
.topbar .right { margin-left: auto; display: inline-flex; gap: 14px; }

/* ---------- Site header / nav ---------- */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--ink-line);
  position: sticky; top: 0; z-index: 50;
}
.nav-bar {
  display: flex; align-items: center; gap: 24px; padding: 18px 24px;
  max-width: var(--max); margin: 0 auto;
}
.brand {
  display: flex; align-items: center; gap: 14px;
  text-decoration: none !important;
}
.brand img.logo, .brand .logo {
  width: 64px; height: 64px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--paper);
  border: 2px solid var(--gold-500);
  display: flex; align-items: center; justify-content: center;
}
.brand .name {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.1;
  color: var(--ink-faint);
}
.brand .name b {
  display: block;
  font-family: var(--sans);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal-700);
  margin-top: 4px;
  line-height: 1.1;
}
.nav-menu {
  margin-left: auto;
  display: flex; gap: 0; flex-wrap: wrap;
  list-style: none; padding: 0; margin: 0 0 0 auto;
  align-items: center;
}
.nav-menu li { position: relative; }
.nav-menu a {
  display: inline-block;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink);
  padding: 14px 16px;
  border-bottom: 3px solid transparent;
  text-transform: uppercase;
  transition: color 0.15s, border-color 0.15s;
}
.nav-menu a:hover {
  color: var(--teal-600);
  border-bottom-color: var(--teal-600);
}
.nav-menu a.active {
  color: var(--teal-600);
  border-bottom-color: var(--teal-600);
}
.nav-menu .has-sub > a::after { content: ' \25BE'; opacity: 0.6; font-size: 10px; margin-left: 4px; }
.nav-menu ul.sub {
  position: absolute; top: 100%; left: 0;
  list-style: none; margin: 0; padding: 6px 0;
  background: var(--paper);
  border: 1px solid var(--ink-line);
  border-top: 3px solid var(--teal-600);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  display: none;
  z-index: 60;
}
.nav-menu li:hover > ul.sub { display: block; }
.nav-menu ul.sub a {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
  padding: 10px 16px;
  color: var(--ink-soft);
  border: none;
}
.nav-menu ul.sub a:hover {
  color: var(--teal-700);
  background: var(--paper-soft);
  border: none;
}
.nav-toggle {
  display: none;
  background: transparent;
  border: 1.5px solid var(--teal-600);
  border-radius: var(--radius);
  padding: 8px 14px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-left: auto;
}

/* ---------- Hero (Hudayi tarzı, tam-genişlik fotoğraflı) ---------- */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  min-height: 480px;
}
.hero-slide {
  display: none;
  position: relative;
  min-height: 480px;
  background-color: var(--ink);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.hero-slide.active { display: block; }
.hero-slide::before {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg,
      rgba(0, 0, 0, 0.55) 0%,
      rgba(0, 0, 0, 0.30) 40%,
      rgba(0, 0, 0, 0.10) 80%,
      rgba(0, 0, 0, 0.05) 100%);
  pointer-events: none;
}
.hero-slide .container {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  padding: 90px 24px 100px;
}
.hero-slide .hero-content {
  max-width: 620px;
}
.hero-slide .kicker {
  color: var(--gold-500);
  margin-bottom: 12px;
}
.hero-slide h1 {
  font-family: var(--sans);
  font-size: 48px;
  font-weight: 800;
  color: var(--paper);
  margin: 0 0 16px;
  letter-spacing: 0.01em;
  line-height: 1.1;
  text-transform: uppercase;
}
.hero-slide .quote {
  font-family: var(--sans);
  font-style: italic;
  font-weight: 400;
  font-size: 20px;
  color: var(--gold-500);
  margin: 0 0 18px;
  line-height: 1.4;
}
.hero-slide .lead {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  color: rgba(255,255,255,0.92);
  max-width: 540px;
  margin: 0 0 28px;
  line-height: 1.65;
}
.hero-slide .ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.hero-slide .ctas .btn-primary {
  background: var(--teal-600);
  color: var(--paper);
  border-color: var(--teal-600);
}
.hero-slide .ctas .btn-primary:hover {
  background: var(--teal-800);
  border-color: var(--teal-800);
}
.hero-slide .ctas .btn-gold,
.hero-slide .ctas .btn-ghost {
  background: var(--gold-600);
  color: var(--ink);
  border-color: var(--gold-600);
}
.hero-slide .ctas .btn-gold:hover,
.hero-slide .ctas .btn-ghost:hover {
  background: var(--gold-700);
  color: var(--paper);
  border-color: var(--gold-700);
}
.hero-dots {
  position: absolute;
  bottom: 22px; left: 0; right: 0;
  display: flex; gap: 8px; justify-content: center;
  z-index: 3;
}
.hero-dots button {
  width: 9px; height: 9px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,0.5);
  padding: 0;
  cursor: pointer;
  transition: all 0.18s ease;
}
.hero-dots button.active {
  background: var(--teal-500);
  width: 28px;
  border-radius: 999px;
}

/* ---------- Cards ---------- */
.card {
  background: var(--paper);
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--teal-500);
}
.card-body { padding: 22px; }
.card h3 {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ink);
}
.card p { font-size: 14.5px; color: var(--ink-soft); }

/* "Stamp" — turkuaz şerit */
.card .stamp,
.stamp {
  display: inline-block;
  background: var(--teal-100);
  color: var(--teal-800);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 2px;
}
.card .stamp {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 2;
}

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2-2 { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 1fr; }

/* ---------- Section heading ---------- */
.section-head { text-align: center; margin-bottom: 40px; }
.section-head .kicker { margin-bottom: 10px; }
.section-head h2 {
  font-size: 30px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.section-head h2::after {
  content: '';
  display: block;
  width: 56px;
  height: 3px;
  background: var(--teal-600);
  margin: 14px auto 0;
}
.section-head .sub,
.section-head p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.7;
  max-width: 640px;
  margin: 12px auto 0;
}

/* ---------- Page header (Hudayi hakkımızda tarzı) ---------- */
.page-hero {
  background: var(--paper-soft);
  border-bottom: 1px solid var(--ink-line);
  padding: 18px 24px;
}
.page-hero .container {
  max-width: var(--max);
  padding: 0;
}
.page-hero .crumbs {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  text-transform: uppercase;
  font-weight: 600;
}
.page-hero .crumbs a { color: var(--ink-soft); }
.page-hero .crumbs a:hover { color: var(--teal-600); }
.page-hero h1 {
  display: none;        /* Hudayi'de page-hero'da büyük başlık yok, breadcrumb-only */
}
.page-hero .kicker { color: var(--teal-600); }

/* Sayfa başlığı bloğu — page-hero altında, container içinde */
.page-title {
  max-width: var(--max);
  margin: 0 auto;
  padding: 36px 24px 16px;
  border-bottom: 1px solid var(--ink-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.page-title h1 {
  display: block;
  font-family: var(--sans);
  font-size: 32px;
  font-weight: 800;
  color: var(--ink);
  margin: 0;
  padding-left: 16px;
  border-left: 4px solid var(--teal-600);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.page-title .cat {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--teal-600);
  text-transform: uppercase;
}
.page-title .cat:hover { color: var(--teal-800); }

/* ---------- Forms ---------- */
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.form-group label .req { color: var(--teal-600); margin-left: 2px; }
.form-control {
  width: 100%;
  padding: 11px 14px;
  font-family: var(--sans);
  font-size: 14.5px;
  background: var(--paper);
  border: 1.5px solid var(--ink-line);
  border-radius: var(--radius);
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-control:focus {
  outline: none;
  border-color: var(--teal-600);
  box-shadow: 0 0 0 3px rgba(27, 163, 156, 0.12);
}
textarea.form-control { resize: vertical; min-height: 110px; line-height: 1.6; }
.form-row { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.form-help { font-size: 13px; color: var(--ink-soft); margin-top: 6px; }
.form-error { font-size: 13px; color: var(--danger); margin-top: 6px; }

/* ---------- Alerts ---------- */
.alert {
  border: 1px solid var(--ink-line);
  border-left: 4px solid var(--teal-600);
  border-radius: var(--radius);
  padding: 12px 16px;
  margin-bottom: 14px;
  font-size: 14px;
  background: var(--paper);
}
.alert-success { background: #effbe6; border-left-color: var(--success); color: var(--success); }
.alert-error   { background: #fdecec; border-left-color: var(--danger);  color: #8a1f1f; }
.alert-info    { background: var(--teal-50); border-left-color: var(--teal-600); color: var(--teal-800); }

/* ---------- Modal ---------- */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(0, 0, 0, 0.55);
  display: none; align-items: center; justify-content: center;
  padding: 24px; z-index: 200;
}
.modal-backdrop.active { display: flex; }
.modal {
  background: var(--paper);
  border-top: 4px solid var(--teal-600);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  max-width: 540px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  position: relative;
}
.modal-head {
  padding: 16px 22px;
  border-bottom: 1px solid var(--ink-line);
  display: flex; align-items: center; justify-content: space-between;
  background: var(--paper);
}
.modal-head h3 { margin: 0; color: var(--ink); font-size: 18px; }
.modal-close {
  background: transparent; border: none;
  font-size: 24px; line-height: 1;
  color: var(--ink-faint);
  width: 32px; height: 32px;
  border-radius: var(--radius);
}
.modal-close:hover { background: var(--paper-soft); color: var(--ink); }
.modal-body { padding: 20px 22px; }
.modal-foot {
  padding: 14px 22px;
  border-top: 1px solid var(--ink-line);
  background: var(--paper-soft);
  display: flex; gap: 10px; justify-content: flex-end;
}

/* ---------- Popup (anasayfa giriş) ---------- */
.popup-modal {
  border-top: 0;
  padding: 0;
  /* Yatay overflow gizli (yuvarlak köşelerde resim kırpılsın), dikeyde gerekirse scroll. */
  overflow: hidden auto;
  position: relative;
}
.popup-close {
  position: absolute;
  top: 8px; right: 10px;
  z-index: 4;
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--ink-line);
  width: 36px; height: 36px;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  color: var(--ink);
}
.popup-close:hover { background: var(--paper); color: var(--teal-600); }
.popup-link {
  display: block;
  color: inherit;
  text-decoration: none !important;
}
.popup-image {
  display: block;
  width: 100%;
  height: auto;
  /* Desktop'ta görsel + başlık + CTA toplamı 90vh'i aşmasın. */
  max-height: clamp(260px, 50vh, 440px);
  object-fit: cover;
}
@media (max-width: 640px) {
  .popup-image { max-height: 60vh; }
}
.popup-text {
  padding: 18px 22px 4px;
}
.popup-text h3 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 20px;
}
.popup-text p {
  margin: 0 0 8px;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.6;
}
.popup-ctas {
  display: flex; gap: 10px; flex-wrap: wrap; justify-content: center;
  padding: 14px 22px 22px;
}

/* ---------- Popup persistent banner (üst menünün altında bant) ---------- */
.popup-banner {
  display: none;
  width: 100%;
  margin: 0;
  padding: 0;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.18);
  background: linear-gradient(90deg, var(--teal-700, #158d87) 0%, var(--teal-600) 100%);
  color: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: filter 0.2s ease;
}
.popup-banner.visible { display: block; }
.popup-banner:hover { filter: brightness(1.06); }
.popup-banner:focus-visible { outline: 2px solid var(--gold-600); outline-offset: -2px; }
.popup-banner > .container {
  display: flex; align-items: center; gap: 10px;
  padding-top: 9px; padding-bottom: 9px;
  font-size: 14px;
  line-height: 1.4;
}
.popup-banner-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  flex-shrink: 0;
}
.popup-banner-text {
  flex: 1;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.popup-banner-cta {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.92);
  white-space: nowrap;
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .popup-banner > .container { padding-top: 8px; padding-bottom: 8px; gap: 8px; font-size: 13px; }
  .popup-banner-cta { display: none; }
}

/* ---------- IBAN modal specifics ---------- */
.iban-row {
  display: flex; align-items: center; gap: 12px;
  background: var(--paper-soft);
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  padding: 11px 14px;
  font-family: var(--mono);
  font-size: 13.5px;
  margin-bottom: 10px;
}
.iban-row .label {
  font-family: var(--sans);
  color: var(--ink-faint);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  min-width: 96px;
}
.iban-row .value {
  flex: 1;
  word-break: break-all;
  color: var(--ink);
  font-weight: 500;
}
.iban-row .copy {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--teal-600);
  background: var(--paper);
  color: var(--teal-700);
  padding: 6px 10px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.15s ease;
}
.iban-row .copy:hover {
  background: var(--teal-600);
  color: var(--paper);
}
.qr-block {
  text-align: center;
  padding: 16px;
  background: var(--paper-soft);
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  margin: 14px 0;
}
.qr-block img {
  max-width: 200px;
  margin: 0 auto;
  border: 4px solid var(--paper);
  box-shadow: var(--shadow-sm);
  border-radius: 2px;
}

/* ---------- Contact strip ---------- */
.contact-strip {
  background: var(--paper-soft);
  border-top: 1px solid var(--ink-line);
  border-bottom: 1px solid var(--ink-line);
  padding: 32px 0;
}
.contact-strip .grid {
  grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.contact-strip .item {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--sans); font-size: 14px;
  color: var(--ink-soft);
}
.contact-strip .ic {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--teal-600);
  color: var(--paper);
  font-size: 18px;
  flex-shrink: 0;
}
.contact-strip b {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 2px;
}
.contact-strip a { color: var(--teal-700); }
.contact-strip a:hover { color: var(--teal-800); }

/* ---------- Footer ---------- */
.site-footer {
  background: #1a1a1a;
  color: rgba(255,255,255,0.72);
  border-top: 4px solid var(--teal-600);
  padding: 48px 0 24px;
  font-family: var(--sans);
}
.site-footer h5 {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--paper);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.site-footer .grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.site-footer .footer-bottom {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.site-footer .footer-bottom .copyright {
  margin: 0;
  border-top: 0;
  padding-top: 0;
}
.site-footer .footer-bottom .social { margin-top: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; font-size: 14px; }
.site-footer ul li { margin-bottom: 8px; }
.site-footer ul li::before { content: ''; }
.site-footer a { color: rgba(255,255,255,0.72); }
.site-footer a:hover { color: var(--teal-500); }
.site-footer .copyright {
  margin-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 16px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}
.site-footer .social { display: flex; gap: 10px; margin-top: 14px; }
.site-footer .social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.18s ease;
}
.site-footer .social a:hover {
  background: var(--teal-600);
  color: var(--paper);
  border-color: var(--teal-600);
}

/* ---------- List items ---------- */
.list-item {
  background: var(--paper);
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 22px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.list-item:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--teal-500);
}
.list-item .cover {
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  background: var(--paper-soft);
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--sans);
  color: var(--ink-faint);
  font-size: 12px;
  text-align: center;
  background-size: cover;
  background-position: center;
}
.list-item h3 {
  font-size: 19px;
  margin-bottom: 6px;
  font-weight: 700;
}
.list-item h3 a { color: var(--ink); }
.list-item h3 a:hover { color: var(--teal-700); }
.list-item .meta {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--ink-faint);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 8px;
}

/* ---------- Filter / search ---------- */
.filter-bar {
  display: flex; gap: 12px; flex-wrap: wrap;
  background: var(--paper-soft);
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 22px;
}
.filter-bar input,
.filter-bar select { flex: 1; min-width: 180px; }

/* ---------- Pagination ---------- */
.pagination {
  display: flex; gap: 4px; justify-content: center; margin: 32px 0;
  font-family: var(--sans); font-size: 14px;
}
.pagination a, .pagination span {
  border: 1px solid var(--ink-line);
  background: var(--paper);
  padding: 8px 14px;
  border-radius: var(--radius);
  color: var(--ink-soft);
  text-decoration: none;
  transition: all 0.15s ease;
}
.pagination a:hover { border-color: var(--teal-600); color: var(--teal-700); }
.pagination .current {
  background: var(--teal-600);
  color: var(--paper);
  border-color: var(--teal-600);
  font-weight: 700;
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}
.gallery-item {
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  background-color: var(--paper-soft);
  position: relative;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.gallery-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.gallery-item.video::after {
  content: '\25B6';
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 38px; color: var(--paper);
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}

/* ---------- Timeline ---------- */
.timeline { position: relative; padding-left: 36px; }
.timeline::before {
  content: ''; position: absolute; left: 6px; top: 4px; bottom: 4px;
  width: 2px;
  background: var(--ink-line);
}
.timeline-item { position: relative; padding-bottom: 26px; }
.timeline-item::before {
  content: ''; position: absolute; left: -36px; top: 6px;
  width: 14px; height: 14px;
  background: var(--teal-600);
  border: 2px solid var(--paper);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--teal-500);
}
.timeline-item .year {
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 800;
  color: var(--teal-700);
  margin-bottom: 4px;
}
.timeline-item h3 {
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 6px;
}

/* ---------- Faaliyet kartları (anasayfa 3 kart, Hudayi tarzı yuvarlak ikonlu) ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature {
  background: var(--paper);
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  padding: 36px 24px 28px;
  position: relative;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
  text-decoration: none !important;
  display: block;
  text-align: center;
}
.feature:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--teal-500);
}
.feature .num {
  width: 72px; height: 72px;
  margin: 0 auto 18px;
  background: var(--teal-600);
  color: var(--paper);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--sans);
  font-size: 28px;
  font-weight: 800;
  box-shadow: 0 0 0 4px var(--teal-50);
  position: static;
}
.feature:hover .num { background: var(--teal-800); }
.feature h3 {
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.feature ul {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink-soft);
  padding-left: 0;
  line-height: 1.75;
  margin: 0;
  list-style: none;
  text-align: left;
}
.feature ul li {
  margin-bottom: 4px;
  padding-left: 18px;
  position: relative;
}
.feature ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 11px;
  width: 6px; height: 6px;
  background: var(--teal-600);
  border-radius: 50%;
}

/* ---------- Mezun / yönetim portresi ---------- */
.portrait {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--paper-soft);
  background-size: cover;
  background-position: center;
  margin: 0 auto 12px;
  max-width: 140px;
  border: 3px solid var(--teal-100);
  box-shadow: var(--shadow-sm);
}

/* ---------- Tablo ---------- */
.tbl {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  overflow: hidden;
}
.tbl th, .tbl td {
  padding: 11px 14px;
  text-align: left;
  border-bottom: 1px solid var(--ink-line);
  font-size: 14px;
}
.tbl th {
  background: var(--paper-soft);
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
}
.tbl tr:last-child td { border-bottom: 0; }
.tbl tr:hover td { background: var(--paper-soft); }

/* ---------- Kurban hisse pair ---------- */
.kurban-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 28px;
}
.kurban-pair .card {
  border-top: 4px solid var(--teal-600);
}
.kurban-fiyat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 24px 26px !important;
  position: relative;
}
.kurban-fiyat-card .stamp {
  position: absolute;
  top: 12px; right: 14px;
}
.kurban-baslik {
  font-size: 22px;
  font-weight: 800;
  color: var(--teal-600);
  text-transform: uppercase;
  margin: 6px 0 14px;
  letter-spacing: 0.3px;
}
.kurban-aciklama {
  font-family: var(--note);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.6;
  margin-bottom: 14px;
  min-height: 80px;
}
.kurban-fiyat {
  font-size: 30px;
  font-weight: 800;
  color: #d22;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
}
.kurban-sec-btn { min-width: 200px; }
.kurban-sec-btn.is-selected {
  background: var(--gold-600);
  border-color: var(--gold-600);
  color: #fff;
}
@media (max-width: 768px) {
  .kurban-pair { grid-template-columns: 1fr; gap: 14px; }
  .kurban-aciklama { min-height: 0; }
  .kurban-fiyat { font-size: 26px; }
}

/* Kurban bilgi listesi + not + iletişim bloğu */
.kurban-madde-listesi {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  font-family: var(--note);
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink);
}
.kurban-madde-listesi li {
  padding-left: 18px;
  position: relative;
}
.kurban-madde-listesi li::before {
  content: '\2022';
  position: absolute;
  left: 0;
  color: var(--teal-600);
  font-size: 20px;
  line-height: 1.4;
}
.kurban-not {
  font-family: var(--note);
  font-size: 14.5px;
  line-height: 1.7;
  color: #c0392b;
  margin: 0 0 28px;
  text-align: center;
}
.kurban-iletisim {
  text-align: center;
  margin: 0 0 36px;
}
.kurban-iletisim h3 {
  color: var(--teal-600);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: 0.3px;
  margin: 0 0 14px;
}
.kurban-telefon {
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: var(--note);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1.6;
}
.kurban-telefon a { color: #c0392b; text-decoration: none; }
.kurban-telefon a:hover { text-decoration: underline; }
@media (max-width: 640px) {
  .kurban-iletisim h3 { font-size: 16px; }
  .kurban-telefon { font-size: 17px; }
}

/* ---------- Bağış kart grid (4 kart 2x2, mobilde 1 sütun) ---------- */
.bagis-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.bagis-grid .feature { padding-top: 32px; }
@media (max-width: 768px) {
  .bagis-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ---------- Skip link (a11y) ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--teal-700); color: var(--paper);
  padding: 10px 18px;
  z-index: 1000;
  font-size: 13px;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .site-footer .grid { grid-template-columns: 1fr 1fr; }
  .contact-strip .grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  h1 { font-size: 26px; }
  h2 { font-size: 22px; }
  .section { padding: 44px 0; }
  .hero { min-height: 380px; }
  .hero-slide { min-height: 380px; }
  .hero-slide .container { padding: 60px 20px 70px; }
  .hero-slide h1 { font-size: 32px; }
  .hero-slide .quote { font-size: 17px; }
  .nav-toggle { display: inline-flex; }
  .nav-bar { padding: 14px 20px; }
  .nav-menu {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--paper);
    border-top: 1px solid var(--ink-line);
    border-bottom: 1px solid var(--ink-line);
    padding: 0;
    margin: 0;
    box-shadow: var(--shadow-md);
  }
  .nav-menu.open { display: flex; }
  .nav-menu li { width: 100%; }
  .nav-menu a {
    width: 100%;
    border: none;
    border-bottom: 1px solid var(--ink-line);
    padding: 14px 20px;
  }
  .nav-menu a.active { border-bottom-color: var(--ink-line); }
  .nav-menu ul.sub {
    position: static;
    box-shadow: none;
    border: none;
    border-top: 0;
    padding-left: 16px;
    display: block;
    background: var(--paper-soft);
  }
  .grid-4, .grid-3, .grid-2, .grid-2-2,
  .feature-grid,
  .site-footer .grid,
  .contact-strip .grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .list-item { grid-template-columns: 1fr; }
  .list-item .cover { aspect-ratio: 16/9; }
  .topbar .container { font-size: 12px; gap: 10px; }
  .topbar .right { width: 100%; margin-left: 0; justify-content: flex-end; }
  .page-title { padding: 24px 20px 14px; }
  .page-title h1 { font-size: 24px; }
  .brand img.logo, .brand .logo { width: 52px; height: 52px; }
  .brand .name { font-size: 10px; }
  .brand .name b { font-size: 16px; }
}

/* ---------- Print ---------- */
@media print {
  .topbar, .site-header, .site-footer, .contact-strip, .hero-dots, .nav-toggle { display: none !important; }
  body { background: var(--paper); color: var(--ink); }
  .container { max-width: 100%; }
  .hero, .page-hero { background: var(--paper); color: var(--ink); border-bottom: 1px solid var(--ink-line); }
  .hero-slide h1, .page-title h1 { color: var(--ink); }
}
