/* ============================================================
   Anasayfa — Hero + 5 sections
   ============================================================ */

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  width: 100%;
  overflow: hidden;
  background: #0B1220;
  color: #F4F6FA;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 800ms ease;
  pointer-events: none;
  overflow: hidden;
}
.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}
.hero-slide-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1);
  transition: transform 7s linear;
  filter: contrast(1.04);
}
.hero-slide.is-active .hero-slide-img {
  transform: scale(1.05);
}
/* Görsel aydınlık kalsın: yalnız metnin durduğu sol taraf ve menü şeridi koyulaşır (eski düz %85 karartma fotoğrafı kapatıyordu) */
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11,18,32,0.62) 0%, rgba(11,18,32,0.34) 38%, rgba(11,18,32,0) 68%),
    linear-gradient(180deg, rgba(11,18,32,0.42) 0%, rgba(11,18,32,0) 22%, rgba(11,18,32,0) 70%, rgba(11,18,32,0.45) 100%);
  pointer-events: none;
}
/* Telefonda metin görselin tamamına yayılır: soldan değil alttan koyulaşır */
@media (max-width: 760px) {
  .hero-slide-overlay {
    background: linear-gradient(180deg, rgba(11,18,32,0.45) 0%, rgba(11,18,32,0.12) 25%, rgba(11,18,32,0.3) 55%, rgba(11,18,32,0.72) 100%);
  }
}
.hero-slide-overlay.vertical-strong {
  background: linear-gradient(180deg,
    rgba(11,18,32,0.45) 0%,
    rgba(11,18,32,0.2) 35%,
    rgba(11,18,32,0.92) 100%);
}
.hero-slide.vintage .hero-slide-img {
  filter: saturate(0.55) contrast(1.05) sepia(0.18) brightness(0.85);
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: clamp(110px, 16vh, 150px);
}
.hero-text {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.hero-text .eyebrow {
  color: #F4F6FA;
  opacity: 0.95;
}
/* Açık fotoğrafta da okunsun: katman hafifledi, yazıya yumuşak gölge */
.hero-text .eyebrow, .hero-text h1, .hero-text .hero-title, .hero-text p {
  text-shadow: 0 1px 2px rgba(11,18,32,0.45), 0 2px 18px rgba(11,18,32,0.35);
}
.hero-text h1, .hero-text .hero-title {
  color: #F4F6FA;
  font-size: clamp(36px, 5.5vw, 76px);
}
.hero-text p {
  color: #E2E8F0;
  font-size: clamp(15px, 1.4vw, 18px);
  max-width: 560px;
  line-height: 1.55;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}
/* Telefonda iki buton alt alta, tam genişlik; paneldeki uzun buton yazısı taşmaz, sarar (§6a) */
@media (max-width: 600px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; white-space: normal; height: auto; min-height: 48px; text-align: center; }
}

/* Slide animation for content */
.hero-slide:not(.is-active) .hero-text > * {
  opacity: 0;
  transform: translateY(16px);
}
.hero-slide.is-active .hero-text > * {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 700ms ease 200ms, transform 700ms ease 200ms;
}
.hero-slide.is-active .hero-text > *:nth-child(2) { transition-delay: 280ms; }
.hero-slide.is-active .hero-text > *:nth-child(3) { transition-delay: 360ms; }
.hero-slide.is-active .hero-text > *:nth-child(4) { transition-delay: 440ms; }
.hero-slide.is-active .hero-text > *:nth-child(5) { transition-delay: 520ms; }

/* Faaliyet slaytı: zorluk + durum rozeti (kartla aynı) */
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-meta .activity-difficulty { position: static; }

/* Counter top right */
.hero-counter {
  position: absolute;
  top: 140px; /* büyük amblemin (nav-home) altında kalır */
  left: var(--gutter);
  z-index: 3;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: rgba(244, 246, 250, 0.82);
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 10px;
  /* Açık renkli slayt görselinde de okunsun (menü perdesiyle birlikte). */
  text-shadow: 0 1px 3px rgba(11, 18, 32, 0.7);
}
.hero-counter .current { color: #F4F6FA; font-weight: 600; }
.hero-counter::before {
  content: '';
  width: 24px;
  height: 1px;
  background: rgba(255,255,255,0.3);
  display: inline-block;
}

/* Coordinate stamp bottom right */
.hero-stamp {
  position: absolute;
  bottom: clamp(40px, 8vh, 80px);
  right: var(--gutter);
  z-index: 3;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: #E2E8F0;
  letter-spacing: 0.1em;
  text-align: right;
  text-shadow: 0 1px 2px rgba(11,18,32,0.6), 0 0 12px rgba(11,18,32,0.5);
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-end;
}
.hero-stamp .stamp-bar {
  width: 32px;
  height: 1px;
  background: var(--accent-primary);
  margin-top: 4px;
}

/* Hero topo corners */
.hero-topo {
  position: absolute;
  width: 280px;
  height: 280px;
  background-image: url('topo.svg');
  background-size: cover;
  background-position: center;
  opacity: 0.07;
  z-index: 1;
  pointer-events: none;
}
.hero-topo.tl { top: 0; left: 0; }
.hero-topo.br { bottom: 0; right: 0; transform: scaleX(-1); }

/* Sabit KDRK amblemi — her slide üstünde sağ üst */
.hero-logo-badge {
  position: absolute;
  top: 96px;
  right: var(--gutter);
  z-index: 4;
  pointer-events: none;
}
.hero-logo-badge .kdrk-mark {
  width: 92px;
  height: 92px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.25), 0 8px 28px rgba(0,0,0,0.35);
}
@media (max-width: 1023px) {
  .hero-logo-badge { top: 84px; }
  .hero-logo-badge .kdrk-mark { width: 64px; height: 64px; }
}

/* Indicators (dots/lines) */
.hero-dots {
  position: absolute;
  bottom: clamp(40px, 8vh, 60px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
}
.hero-dots button {
  width: 32px;
  height: 2px;
  background: rgba(255,255,255,0.25);
  border-radius: 1px;
  position: relative;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
}
.hero-dots button .dot-progress {
  position: absolute;
  inset: 0;
  width: 0%;
  background: var(--accent-primary);
  transition: width 0ms linear;
}
.hero-dots button.is-active {
  background: rgba(255,255,255,0.35);
}

/* Arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.25);
  background: transparent;
  color: #F4F6FA;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: background-color 200ms ease, border-color 200ms ease;
}
.hero-arrow:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.6);
}
.hero-arrow.prev { left: var(--gutter); }
.hero-arrow.next { right: var(--gutter); }
.hero-arrow svg { width: 18px; height: 18px; }
@media (max-width: 1023px) {
  .hero-arrow { display: none; }
  .hero-counter { top: 148px; }
}

/* ============================================================
   Section 1 — Yaklaşan Faaliyetler
   ============================================================ */
/* Temadan bağımsız koyu bölüm: renkler .force-dark token'larından gelir (açık temada da okunur). */
.section-upcoming {
  position: relative;
  overflow: hidden;
}
.section-upcoming .topo-watermark {
  background-position: top right;
  background-size: 600px;
  background-repeat: no-repeat;
  opacity: 0.04;
  inset: 0 0 50% 30%;
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.section-head-left { display: flex; flex-direction: column; gap: 16px; }
.section-head-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text-secondary);
}

.activities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 1023px) {
  .activities-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .activities-grid { grid-template-columns: 1fr; }
}

/* ---------- Faaliyet kartı (partials/activity-card.php) ----------
   Görsel [tarih · paylaş · durum] → konum → başlık → tür · zorluk → açıklama → kontenjan → Ayrıntı | Katıl.
   Kenarlık nötr; turuncu yalnız birincil eylemde ve küçük vurgularda. */
.activity-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
  color: inherit;
}
.activity-card:hover {
  border-color: color-mix(in srgb, var(--accent-primary) 55%, var(--border));
  box-shadow: 0 16px 32px -20px rgba(0, 0, 0, 0.45);
  transform: translateY(-3px);
}
.activity-card:hover .activity-media { transform: scale(1.04); }
.activity-img {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-secondary);
}
.activity-media {
  position: absolute;
  inset: 0;
  transition: transform 600ms ease;
}
.activity-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.activity-img img[hidden] { display: none; }
/* Kapak yoksa ya da yüklenemezse: kurumsal dağ silueti (site.js kırık görseli gizler). */
.activity-img-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  background:
    radial-gradient(120% 90% at 50% 120%, color-mix(in srgb, var(--accent-primary) 16%, transparent), transparent 60%),
    var(--bg-secondary);
}
.activity-img-fallback svg { width: 34%; max-width: 120px; opacity: 0.55; }
.activity-img::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(11, 18, 32, 0.35) 0%, rgba(11, 18, 32, 0) 32%, rgba(11, 18, 32, 0) 60%, rgba(11, 18, 32, 0.55) 100%);
}
.activity-date {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  min-width: 48px;
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(11, 18, 32, 0.85);
  backdrop-filter: blur(8px);
  color: #F4F6FA;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.05;
}
.activity-date .day { font: 800 20px 'Manrope', sans-serif; letter-spacing: -0.02em; }
.activity-date .month { margin-top: 3px; font: 600 12px 'JetBrains Mono', monospace; letter-spacing: 0.14em; color: #FB923C; }
/* Paylaş: görünür 40 px koyu daire, dokunma alanı 44 px (kenar dolgusuyla). */
.activity-card :is(.social-share-trigger.is-icon, .card-share) {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 4;
  width: 48px;
  height: 48px;
  min-height: 0;
  padding: 4px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #F4F6FA;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.activity-card :is(.social-share-trigger.is-icon, .card-share)[hidden] { display: none; }
.activity-card :is(.social-share-trigger.is-icon, .card-share)::before {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 999px;
  background: rgba(11, 18, 32, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  transition: background-color 180ms ease, border-color 180ms ease;
}
.activity-card :is(.social-share-trigger.is-icon, .card-share) svg { position: relative; width: 18px; height: 18px; }
.activity-card :is(.social-share-trigger.is-icon, .card-share):hover::before { background: rgba(11, 18, 32, 0.92); border-color: var(--accent-primary); }
.activity-card :is(.social-share-trigger.is-icon, .card-share):focus-visible { outline: none; }
.activity-card :is(.social-share-trigger.is-icon, .card-share):focus-visible::before { box-shadow: 0 0 0 2px var(--accent-primary); }

.activity-difficulty {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 10px; border-radius: 999px;
  font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  background: rgba(11,18,32,0.88); color: #F4F6FA; border: 1px solid rgba(255,255,255,0.14);
}
.activity-difficulty::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--lv, #94A3B8); flex-shrink: 0; }
.activity-difficulty .lv { color: #94A3B8; font-weight: 500; }
.activity-difficulty.easy { --lv: #34D399; }
.activity-difficulty.medium { --lv: #FB923C; }
.activity-difficulty.hard { --lv: #F87171; }
.activity-difficulty.very-hard { --lv: #DC2626; }
/* 5 kademe (Activity::LEVELS): Kolay-Orta yeşil-turuncu arası oklch ile türetilir, Orta-Zor = zor kırmızısı (CLAUDE.md §1) */
.activity-difficulty.easy-medium { --lv: color-mix(in oklch, #34D399, #FB923C); }
.activity-difficulty.medium-hard { --lv: #F87171; }
.activity-difficulty.education { --lv: #38BDF8; }
.activity-difficulty.social { --lv: #CBD5E1; }
.activity-difficulty.full { --lv: #94A3B8; }
.activity-status {
  position: absolute; left: 16px; bottom: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 10px; border-radius: 999px;
  font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  background: rgba(11,18,32,0.88); color: #F4F6FA;
}
.activity-status::before { content: ''; width: 8px; height: 8px; border-radius: 2px; background: var(--st, #94A3B8); }
.activity-status.open { --st: #10B981; }
.activity-status.few { --st: #F59E0B; }
.activity-status.full, .activity-status.closed { --st: #94A3B8; }
.activity-status.postponed { --st: #F59E0B; }
.activity-status.cancelled { --st: #EF4444; }
.activity-status.done { --st: #38BDF8; }
.activity-status.is-inline { position: static; }
/* Aynı kalıbın albüm ve duyuru kartları: sol alttaki rozet fotoğraf sayısı ya da içerik türünü yazar. */
.activity-status.is-count::before { display: none; }
.activity-status.is-count svg { width: 13px; height: 13px; flex-shrink: 0; }
.activity-status.type-duyuru { --st: #FB923C; }
.activity-status.type-haber { --st: #38BDF8; }
.activity-status.type-rapor { --st: #10B981; }
.activity-card.is-past .activity-media { filter: saturate(0.6); }
.activity-card .past-note { font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-secondary); }
.progress-fill.is-muted { background: var(--text-secondary); }

.activity-card .activity-status { left: 12px; bottom: 12px; padding: 4px 9px; gap: 7px; font-size: 12px; }

.activity-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px 12px;
}
.activity-loc {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  font-size: 13px;
  color: var(--text-secondary);
}
.activity-loc span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.activity-loc svg { width: 14px; height: 14px; flex-shrink: 0; color: var(--accent-primary); }
.activity-card :is(h3, .news-card-title) { margin: 0; font-size: clamp(18px, 1.5vw, 20px); line-height: 1.25; letter-spacing: -0.015em; color: var(--text-primary); }
/* Başlık bağlantısı tüm kartı açar (::after); en fazla iki satır. */
.activity-card :is(h3, .news-card-title) a { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.activity-card :is(h3, .news-card-title) a::after { content: ''; position: absolute; inset: 0; z-index: 3; }
.activity-card :is(h3, .news-card-title) a:focus-visible { outline: none; }
.activity-card :is(h3, .news-card-title) a:focus-visible::after { outline: 2px solid var(--accent-primary); outline-offset: -2px; border-radius: 14px; }
.activity-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; font-size: 13px; color: var(--text-secondary); }
.activity-meta .activity-category { font: 600 13px 'Inter', sans-serif; color: var(--accent-primary); letter-spacing: 0; text-transform: none; border: 0; padding: 0; }
.activity-meta .sep { opacity: 0.6; }
.activity-level { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--text-primary); white-space: nowrap; }
.activity-level::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--lv, #94A3B8); }
.activity-level.easy { --lv: #34D399; }
.activity-level.easy-medium { --lv: color-mix(in oklch, #34D399, #FB923C); }
.activity-level.medium { --lv: #FB923C; }
.activity-level.medium-hard { --lv: #F87171; }
.activity-level.very-hard { --lv: #DC2626; }
.activity-level.education { --lv: #38BDF8; }
.activity-level.social { --lv: #CBD5E1; }
.activity-card p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--text-secondary); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
/* Kontenjan içeriğin sonunda; boşluk kartlar arasında hizayı korumak için burada açılır. */
.activity-quota { margin-top: auto; padding-top: 6px; display: flex; flex-direction: column; gap: 6px; }
.quota-line { display: flex; justify-content: space-between; gap: 12px; font: 500 12px 'JetBrains Mono', monospace; letter-spacing: 0.04em; color: var(--text-secondary); }
.quota-line .count { color: var(--text-primary); font-weight: 600; }
.activity-quota .progress-bar { height: 4px; border-radius: 999px; }
.activity-quota .progress-fill { border-radius: 999px; }
/* Durum satırı yalnız kompakt kartta görünür (takvim paneli); renk tek başına anlam taşımaz, metin yazılıdır. */
.quota-status { --st: var(--text-secondary); display: none; align-items: center; gap: 6px; font: 600 13px 'Inter', sans-serif; color: var(--text-primary); }
.quota-status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--st); flex-shrink: 0; }
.quota-status.open { --st: var(--success); }
.quota-status.few, .quota-status.postponed { --st: var(--warning); }
.quota-status.cancelled { --st: var(--danger); }
.quota-note {font: 500 12px 'JetBrains Mono', monospace; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-secondary); }

.activity-actions {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 0 16px 16px;
}
.activity-actions.is-single { grid-template-columns: minmax(0, 1fr); }
/* Genel paylaş (albüm, duyuru): kopyalama sonrası kısa bilgi balonu */
.card-share-tip { position: absolute; top: calc(100% + 2px); right: 4px; padding: 6px 10px; border-radius: 8px; background: rgba(11, 18, 32, 0.92); color: #F4F6FA; font: 500 12px 'Inter', sans-serif; white-space: nowrap; pointer-events: none; opacity: 0; transform: translateY(-4px); transition: opacity 160ms ease, transform 160ms ease; }
.card-share-tip:empty { display: none; }
.card-share.is-tip .card-share-tip { opacity: 1; transform: none; }
/* Kart başlığı linki ≥ 44px dokunma alanı (§6); kart her sayfada home.css ile gelir */
.activity-body h3 a, .news-card-title a { display: inline-block; padding-block: 11px; margin-block: -11px; }
.card-btn {
  min-height: 44px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-primary);
  font: 600 14px 'Inter', sans-serif;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: border-color 180ms ease, background-color 180ms ease, filter 180ms ease;
}
.card-btn:hover { border-color: color-mix(in srgb, var(--text-primary) 40%, transparent); }
.card-btn.is-primary { border-color: var(--accent-primary); background: var(--accent-primary); color: var(--on-accent); }
.card-btn.is-primary:hover { filter: brightness(1.08); color: var(--on-accent); }
.card-btn.is-disabled { cursor: default; color: var(--text-secondary); background: color-mix(in srgb, var(--text-secondary) 10%, transparent); border-color: transparent; }
.card-btn.is-disabled:hover { border-color: transparent; }

.progress-bar {
  height: 2px;
  background: rgba(255,255,255,0.08);
  border-radius: 1px;
  overflow: hidden;
}
[data-theme="light"] .progress-bar { background: rgba(11,18,32,0.08); }
[data-theme="light"] .force-dark .progress-bar { background: rgba(255,255,255,0.08); }
.progress-fill {
  height: 100%;
  background: var(--accent-primary);
  border-radius: 1px;
}

/* ============================================================
   Section 2 — Faaliyetlerimiz (Light bento)
   ============================================================ */
.section-disciplines {
  position: relative;
  overflow: hidden;
}
.section-disciplines .head-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-bottom: 64px;
}
.section-disciplines .head-center p {
  max-width: 540px;
  font-size: 16px;
  text-wrap: pretty;
}

.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 200px;
  gap: 16px;
}
.bento-tile {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #1A2638;
  cursor: pointer;
  transition: transform 220ms ease, box-shadow 220ms ease;
  border: 1px solid var(--border);
}
.bento-tile-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 600ms ease;
}
.bento-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,18,32,0) 30%, rgba(11,18,32,0.85) 100%);
}
.bento-tile:hover .bento-tile-img { transform: scale(1.04); }
.bento-tile:hover {
  box-shadow: 0 0 0 1px var(--accent-primary), 0 16px 40px -16px rgba(249,115,22,0.3);
}
.bento-tile-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  color: #F4F6FA;
}
.bento-tile-content h3 {
  font-size: 22px;
  color: #fff;
  text-shadow: 0 1px 16px rgba(0,0,0,0.4);
}
.bento-tile.feature h3 {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1;
}
.bento-tile-content .sub {
  font-size: 13px;
  color: rgba(244,246,250,0.85);
  line-height: 1.45;
  max-width: 320px;
}
.bento-tile .arrow-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(11,18,32,0.4);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  z-index: 3;
  transition: background-color 200ms ease, transform 200ms ease;
}
.bento-tile:hover .arrow-btn {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: var(--on-accent); /* turuncu üstüne #fff yazılmaz (§1) */
  transform: rotate(-45deg);
}
.bento-tile .tile-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin-bottom: 4px;
}

/* Bento layout — tam dolu 3×3 */
.bento-tile.feature   { grid-column: 1; grid-row: 1 / span 2; }
.bento-tile.t-mountain { grid-column: 2; grid-row: 1; }
.bento-tile.t-climb    { grid-column: 3; grid-row: 1; }
.bento-tile.t-ski      { grid-column: 2; grid-row: 2; }
.bento-tile.t-edu      { grid-column: 3; grid-row: 2; }
.bento-tile.t-social   { grid-column: 1; grid-row: 3; }
.bento-tile.t-rescue   { grid-column: 2 / span 2; grid-row: 3; }

@media (max-width: 1023px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }
  .bento-tile.feature   { grid-column: 1; grid-row: 1 / span 2; }
  .bento-tile.t-mountain { grid-column: 2; grid-row: 1; }
  .bento-tile.t-climb    { grid-column: 2; grid-row: 2; }
  .bento-tile.t-ski      { grid-column: 1; grid-row: 3; }
  .bento-tile.t-edu      { grid-column: 2; grid-row: 3; }
  .bento-tile.t-social   { grid-column: 1; grid-row: 4; }
  .bento-tile.t-rescue   { grid-column: 2; grid-row: 4; }
}
@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; }
  .bento-tile.feature { grid-column: span 1; grid-row: span 2; }
  .bento-tile.t-mountain, .bento-tile.t-climb, .bento-tile.t-ski,
  .bento-tile.t-edu, .bento-tile.t-social, .bento-tile.t-rescue {
    grid-column: 1; grid-row: span 1;
  }
}

/* ============================================================
   Section 3 — Rakamlarla KDRK (Dark Parallax)
   ============================================================ */
.section-stats {
  background: #0B1220;
  color: #F4F6FA;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.stats-mountains {
  position: absolute;
  inset: auto 0 0 0;
  height: 60%;
  opacity: 0.06;
  pointer-events: none;
  background-image: url('mountains.svg');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  transform: translateY(0);
  will-change: transform;
}
.section-stats .head-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-bottom: 80px;
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  z-index: 2;
}
.stat {
  padding: 0 24px;
  text-align: center;
  border-right: 1px solid rgba(249,115,22,0.18);
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
.stat:last-child { border-right: none; }
.stat-number {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: clamp(48px, 6vw, 80px);
  color: var(--accent-primary);
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
}
.stat-number .plus { font-size: 0.6em; color: var(--accent-primary); margin-left: 2px; }
.stat-label {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #94A3B8;
}
@media (max-width: 1023px) {
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 0;
  }
  .stat { border-right: none; padding: 16px 12px; border-bottom: 1px solid rgba(249,115,22,0.12); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-last-child(-n+2) { border-bottom: none; }
}

/* ============================================================
   Section 4 — Duyurular (Light editorial)
   ============================================================ */
.section-news {
  position: relative;
}
.news-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 48px;
}
@media (max-width: 1023px) {
  .news-grid { grid-template-columns: 1fr; gap: 40px; }
}

.news-feature {
  display: flex;
  flex-direction: column;
  gap: 20px;
  cursor: pointer;
}
.news-feature-cover {
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background: var(--surface);
}
.news-feature-cover > div {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 600ms ease;
}
.news-feature:hover .news-feature-cover > div { transform: scale(1.03); }
.pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
}
.pill.pill-accent { background: var(--accent-primary); color: var(--on-accent); }
.pill.pill-outline {
  border: 1px solid var(--border);
  color: var(--text-secondary);
  background: transparent;
}
.news-feature h3 {
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.15;
}
.news-feature .meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text-secondary);
  letter-spacing: 0.06em;
  display: flex;
  gap: 16px;
}

.news-list {
  display: flex;
  flex-direction: column;
}
.news-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  align-items: center;
  transition: background-color 200ms ease;
  cursor: pointer;
}
.news-item:first-child { border-top: none; padding-top: 0; }
.news-item:hover h4 { color: var(--accent-primary); }
.news-item:hover .news-thumb > div { transform: scale(1.04); }
.news-thumb {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface);
  position: relative;
}
.news-thumb > div {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 400ms ease;
}
.news-item-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.news-item h4 {
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
  color: var(--text-primary);
  transition: color 200ms ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-item .meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text-secondary);
  letter-spacing: 0.06em;
}
.news-item .pill { font-size: 12px; padding: 3px 8px; align-self: flex-start; }

/* ============================================================
   Section 5 — Bizi Takip Et (Dark full-bleed)
   ============================================================ */
.section-follow {
  background: #0B1220;
  color: #F4F6FA;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.section-follow .bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?w=2000&q=80&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  opacity: 0.45;
  filter: saturate(0.7);
}
.section-follow .bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,18,32,0.9) 0%, rgba(11,18,32,0.65) 50%, rgba(11,18,32,0.95) 100%);
}
.section-follow .container { position: relative; z-index: 2; }
.section-follow .head-center {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  margin-bottom: 56px;
}
.section-follow h2 { color: #F4F6FA; max-width: 820px; }
.section-follow .head-center p {
  max-width: 600px;
  color: #CBD5E1;
  font-size: 16px;
}
.socials-row {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}
.social-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}
.social-icon {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #F4F6FA;
  transition: background-color 220ms ease, color 220ms ease, border-color 220ms ease, transform 220ms ease;
}
.social-icon svg { width: 24px; height: 24px; }
.social-block:hover .social-icon {
  background: var(--accent-primary);
  color: var(--on-accent);
  border-color: var(--accent-primary);
  transform: translateY(-3px);
}
.social-block .label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #94A3B8;
}

/* ============================================================
   Tweaks panel position
   ============================================================ */


/* ---------- Hero kontrolleri ---------- */
.hero-controls { position: absolute; bottom: clamp(28px, 6vh, 52px); left: 50%; transform: translateX(-50%); z-index: 3; display: flex; align-items: center; gap: 8px; }
.hero-controls .hero-dots { position: static; transform: none; gap: 0; }
.hero-dots button { width: 44px; height: 44px; background: none; display: inline-flex; align-items: center; justify-content: center; overflow: visible; border-radius: 8px; }
.hero-dots button.is-active { background: none; }
.dot-track { position: relative; display: block; width: 32px; height: 3px; border-radius: 2px; background: rgba(255,255,255,0.3); overflow: hidden; }
.hero-dots button.is-active .dot-track { background: rgba(255,255,255,0.5); }
.hero-pause { width: 44px; height: 44px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.3); color: #F4F6FA; display: inline-flex; align-items: center; justify-content: center; transition: background-color 180ms ease; }
.hero-pause:hover { background: rgba(255,255,255,0.1); }
.hero-pause svg { width: 16px; height: 16px; }
.hero-pause .i-play, .hero-pause.is-paused .i-pause { display: none; }
.hero-pause.is-paused .i-play { display: block; }
@media (max-width: 640px) { .hero-stamp { display: none; } .hero-text p { font-size: 16px; } }

/* Slider: her slaytta sabit "Bize katıl" */
.hero-join{position:absolute;right:var(--gutter);bottom:clamp(28px,6vh,52px);z-index:3;display:flex;align-items:center;gap:8px}
.hero-join-label{white-space:nowrap;font-family:'JetBrains Mono',monospace;font-size:12px;font-weight:600;letter-spacing:0.18em;text-transform:uppercase;color:#F4F6FA;display:inline-flex;align-items:center;gap:10px;margin-right:4px}
.hero-join-label::before{content:'';width:24px;height:1px;background:var(--accent-primary)}
.hero-join-link{white-space:nowrap;height:44px;padding:0 16px;border-radius:999px;border:1px solid rgba(255,255,255,0.3);background:rgba(11,18,32,0.35);backdrop-filter:blur(6px);color:#F4F6FA;font-size:14px;font-weight:600;display:inline-flex;align-items:center;gap:8px;transition:border-color 180ms ease,background-color 180ms ease}
.hero-join-link svg{width:18px;height:18px}
.hero-join-link:hover{border-color:var(--accent-primary);background:rgba(11,18,32,0.6);color:#F4F6FA}
@media (max-width:1280px){.hero-join{left:50%;right:auto;transform:translateX(-50%);bottom:calc(clamp(28px,6vh,52px) + 52px)}.hero-content{padding-bottom:calc(clamp(28px,6vh,52px) + 52px + 44px + 28px)}}
@media (max-width:520px){.hero-join-label{display:none}.hero-join-link{padding:0 14px;font-size:13px}}
/* "Bize katıl" bağlantıları varken damga onların üstüne çıkar; dar ekranda metinle çakışacağı için gizlenir */
.hero.has-join .hero-stamp{bottom:calc(clamp(28px,6vh,52px) + 44px + 20px)}
@media (max-width:1280px){.hero.has-join .hero-stamp{bottom:calc(clamp(28px,6vh,52px) + 52px + 44px + 20px)}}
@media (max-width:1040px){.hero.has-join .hero-stamp{display:none}}

/* Yaklaşan faaliyet yokken boş durum */
.activities-more { display: flex; justify-content: center; margin-top: 40px; }
@media (max-width: 600px) { .activities-more .btn { width: 100%; justify-content: center; } }
.activities-empty {display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 32px; border: 1px dashed var(--border); border-radius: 12px; }
.activities-empty p { font-size: 16px; line-height: 1.6; color: var(--text-secondary); max-width: 56ch; margin: 0; }

/* A user-managed carousel can contain any number of slides. */
.hero-controls .hero-dots{max-width:calc(100vw - 160px);overflow-x:auto;scrollbar-width:thin}.hero-controls .hero-dots button{flex-shrink:0}
/* Telefonda amblem daha küçük büyür; sayaç onun hemen altında kalır. */
@media (max-width: 600px) { .hero-counter { top: 120px; } }
