/* ============================================================
   Keçiören Belediyesi Spor Kulübü — Ana Stil Dosyası
   ============================================================ */
:root {
  --blue-950: #071433;
  --blue-900: #0a1f4a;
  --blue-800: #0c2661;
  --blue-700: #0f3a8f;
  --blue-600: #1a4db8;
  --blue-500: #2d6ae8;
  --blue-400: #5b8ef5;
  --blue-300: #93b8fc;
  --blue-200: #bcd1fb;
  --blue-100: #e8f0ff;
  --blue-50:  #f4f8ff;
  --white:    #ffffff;
  --gray-600: #475569;
  --gray-500: #64748b;
  --gray-400: #94a3b8;
  --gray-200: #e2e8f0;
  --gray-100: #f1f5f9;
  --yellow-card: #facc15;
  --red-card:    #ef4444;
  --green-live:  #22c55e;
  --gold:        #f59e0b;
  --font: "Outfit", system-ui, sans-serif;
  --radius:    14px;
  --radius-sm: 8px;
  --shadow-lg: 0 24px 60px -16px rgba(10,31,74,0.32);
  --shadow:    0 8px 24px -6px rgba(10,31,74,0.18);
  --shadow-xs: 0 2px 8px -2px rgba(10,31,74,0.12);
  --max: 1180px;
  --header-h: 68px;
}

*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font);
  font-size: 16px; line-height: 1.6;
  color: var(--blue-950);
  background: var(--blue-50);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a   { color: var(--blue-600); text-decoration: none; }
a:hover { color: var(--blue-700); }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--gray-200);
}
.header-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 0 1.5rem; height: var(--header-h);
  display: flex; align-items: center;
  justify-content: space-between; gap: 1rem;
}
.brand {
  display: flex; align-items: center; gap: 0.7rem;
  color: var(--blue-900); font-weight: 800;
  font-size: 1rem; letter-spacing: -0.02em;
  flex-shrink: 0;
}
.brand-emblem {
  width: 42px; height: 42px; border-radius: 10px;
  background: linear-gradient(140deg, var(--blue-700), var(--blue-500));
  color: var(--white); display: grid; place-items: center;
  font-size: 0.72rem; font-weight: 900; letter-spacing: 0.02em;
  box-shadow: var(--shadow);
}
.nav-main {
  display: flex; align-items: center; gap: 0.1rem; flex-wrap: wrap;
}
.nav-main a {
  padding: 0.45rem 0.8rem; border-radius: 999px;
  font-size: 0.875rem; font-weight: 500; color: var(--blue-800);
  transition: background 0.18s, color 0.18s;
}
.nav-main a:hover { background: var(--blue-100); color: var(--blue-700); }
.btn-nav {
  padding: 0.55rem 1.1rem; border-radius: 999px;
  background: var(--blue-700); color: var(--white) !important;
  font-weight: 700; font-size: 0.875rem; border: none;
  cursor: pointer; box-shadow: var(--shadow);
  transition: background 0.18s, transform 0.15s;
  flex-shrink: 0;
}
.btn-nav:hover { background: var(--blue-800); transform: translateY(-1px); }
.hamburger {
  display: none; border: none; background: transparent;
  cursor: pointer; padding: 0.45rem; border-radius: var(--radius-sm);
  color: var(--blue-800);
}
.hamburger:hover { background: var(--blue-100); }

@media (max-width: 1024px) {
  .nav-main, .header-inner .btn-nav { display: none; }
  .hamburger { display: flex; }
}

/* Mobile nav */
.nav-mobile {
  display: none; flex-direction: column;
  background: var(--white); border-bottom: 1px solid var(--gray-200);
  padding: 0.75rem 1.5rem 1.25rem;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 0.7rem 0; font-weight: 500; color: var(--blue-900);
  border-bottom: 1px solid var(--gray-200); font-size: 0.95rem;
}
.nav-mobile a:last-child { border-bottom: none; }

/* ============================================================
   PROTOKOL ŞERİDİ  — hero içine taşındı, gizli
   ============================================================ */
.protocol-bar {
  display: none;
}
.protocol-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 1.1rem 1.5rem;
  display: flex; align-items: stretch;
  gap: 0; justify-content: space-between;
}
.protocol-group {
  display: flex; align-items: center; gap: 0.5rem;
}
.protocol-group-label {
  font-size: 0.65rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--blue-400);
  writing-mode: vertical-rl; text-orientation: mixed;
  transform: rotate(180deg);
  margin-right: 0.75rem; flex-shrink: 0;
}
.protocol-divider {
  width: 1px; background: var(--gray-200);
  margin: 0 1.5rem; align-self: stretch;
  flex-shrink: 0;
}
.proto-person {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 0.45rem;
  padding: 0 0.65rem;
  min-width: 90px;
}
.proto-person + .proto-person {
  border-left: 1px solid var(--gray-200);
}
.proto-avatar {
  width: 64px; height: 64px; border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid var(--blue-200);
  box-shadow: var(--shadow-xs);
  display: block; flex-shrink: 0;
}

/* Fotoğraf placeholder — kullanıcı resim ekleyene kadar */
.photo-slot {
  border-radius: 50%;
  width: 64px; height: 64px;
  background: linear-gradient(145deg, var(--blue-50), var(--blue-100));
  border: 2px dashed var(--blue-300);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 2px; flex-shrink: 0; overflow: hidden;
  position: relative;
}
.photo-slot svg { color: var(--blue-400); flex-shrink: 0; }
.photo-slot-hint {
  font-size: 0.5rem; font-weight: 700; color: var(--blue-400);
  text-align: center; line-height: 1.2; letter-spacing: 0.02em;
}

/* Dikdörtgen placeholder (başkan bölümü için) */
.photo-slot-rect {
  border-radius: var(--radius);
  width: 100%; aspect-ratio: 4/5;
  background: linear-gradient(145deg, var(--blue-50), var(--blue-100));
  border: 2px dashed var(--blue-300);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 0.75rem;
}
.photo-slot-rect svg { color: var(--blue-400); }
.photo-slot-rect p { margin: 0; font-size: 0.8rem; color: var(--blue-500); font-weight: 600; text-align: center; line-height: 1.4; }
.photo-slot-rect small { color: var(--gray-400); font-size: 0.72rem; }
.proto-name {
  font-size: 0.77rem; font-weight: 700;
  color: var(--blue-900); line-height: 1.2;
}
.proto-title {
  font-size: 0.67rem; color: var(--gray-500);
  line-height: 1.3; max-width: 13ch;
}
@media (max-width: 900px) {
  .protocol-bar { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: min(88vh, 740px);
  display: flex; align-items: center;
  color: var(--white); overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  object-fit: cover; width: 100%; height: 100%; z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    108deg,
    rgba(7,20,51,0.93) 0%,
    rgba(10,31,74,0.82) 52%,
    rgba(26,77,184,0.42) 100%
  );
}

/* 3 sütunlu hero ızgarası */
.hero-inner {
  position: relative; z-index: 2;
  max-width: var(--max); margin: 0 auto;
  padding: 3rem 1.5rem;
  width: 100%;
  display: grid;
  grid-template-columns: 210px 1fr 210px;
  gap: 1.75rem;
  align-items: stretch; /* sütunlar tam yüksekliği kaplar */
  min-height: min(82vh, 680px);
}

/* Orta metin — kendi içinde ortalı */
.hero-center {
  text-align: center;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  align-self: center;
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.76rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--blue-300);
  margin-bottom: 0.85rem;
}
.hero-kicker .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green-live);
  box-shadow: 0 0 0 4px rgba(34,197,94,0.28);
  animation: blink 2s infinite;
}
@keyframes blink { 50% { opacity: 0.6; } }
.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.9rem, 3.5vw, 2.9rem);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.1;
}
.hero-lead {
  margin: 0 0 1.5rem; font-size: 0.97rem;
  max-width: 38ch; color: rgba(255,255,255,0.85);
}
.hero-actions {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0.75rem; margin-bottom: 2rem;
}
.btn-hero-primary {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.65rem 1.3rem; border-radius: 999px;
  background: var(--blue-500); color: var(--white);
  font-weight: 700; font-size: 0.9rem; border: none; cursor: pointer;
  box-shadow: 0 8px 24px -4px rgba(45,106,232,0.5);
  transition: background 0.18s, transform 0.15s;
}
.btn-hero-primary:hover { background: var(--blue-600); transform: translateY(-1px); }
.btn-hero-outline {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.65rem 1.3rem; border-radius: 999px;
  border: 2px solid rgba(255,255,255,0.45);
  color: var(--white); font-weight: 600; font-size: 0.9rem;
  background: transparent; cursor: pointer;
  transition: border-color 0.18s, background 0.18s;
}
.btn-hero-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }
.hero-stats {
  display: flex; width: 100%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  overflow: hidden;
}
.hero-stat {
  flex: 1; padding: 0.9rem 1rem;
  border-right: 1px solid rgba(255,255,255,0.12);
}
.hero-stat:last-child { border-right: none; }
.hero-stat strong { display: block; font-size: 1.35rem; font-weight: 800; line-height: 1.1; }
.hero-stat span   { font-size: 0.74rem; color: rgba(255,255,255,0.72); }

/* Yan sütunlar — yetkili kartlar */
.hero-officials {
  display: flex; flex-direction: column; gap: 0.65rem;
  height: 100%;
}

/* Sol sütun: 2 kart eşit ve büyük */
.hero-officials .official-card { flex: 1; }

/* Sağ sütun: giderek küçülen 4 kart */
.hero-officials-right .official-card:nth-child(1) { flex: 3.2; }
.hero-officials-right .official-card:nth-child(2) { flex: 2.4; }
.hero-officials-right .official-card:nth-child(3) { flex: 1.6; }
.hero-officials-right .official-card:nth-child(4) { flex: 1.2; }

/* Portrait kart — fotoğraf tam kanama, isim altta overlay */
.official-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 0; /* flex shrink için gerekli */
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 8px 32px -8px rgba(7,20,51,0.5);
  transition: transform 0.22s, box-shadow 0.22s;
  cursor: default;
}
.official-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px -8px rgba(7,20,51,0.6);
}

/* Fotoğraf — kartı tam doldur */
.official-photo {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 6px;
  background: linear-gradient(160deg, rgba(12,38,97,0.65), rgba(7,20,51,0.45));
  border: 2px dashed rgba(255,255,255,0.22);
  border-radius: var(--radius);
  overflow: hidden;
}
.official-photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  display: block;
}
.official-photo svg { color: rgba(255,255,255,0.45); position: relative; z-index: 1; }
.official-photo-hint {
  font-size: 0.55rem; font-weight: 800; letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4); text-transform: uppercase;
  position: relative; z-index: 1;
}

/* İsim + unvan — altta gradient üzerinde */
.official-info {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  padding: 2rem 0.85rem 0.8rem;
  background: linear-gradient(0deg, rgba(7,20,51,0.92) 0%, transparent 100%);
  text-align: center;
}
.official-name {
  display: block; font-size: 0.75rem; font-weight: 700;
  color: var(--white); line-height: 1.3;
}
.official-title {
  display: block; font-size: 0.63rem; margin-top: 2px;
  color: rgba(255,255,255,0.72); line-height: 1.3;
}

/* ─── Mobil düzen ─────────────────────────────────────── */
@media (max-width: 860px) {
  .hero { min-height: auto; }

  /* Tek sütun: önce merkez metin, sonra sol grup (Erdoğan→Bak), sonra sağ grup (Mesut→Erhan→Yasin) */
  .hero-inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "center"
      "left"
      "right";
    gap: 0.75rem;
    padding: 2rem 1.1rem 2rem;
    min-height: unset;
    align-items: start;
  }
  .hero-center          { grid-area: center; align-self: start; }
  .hero-officials-left  { grid-area: left;  }
  .hero-officials-right { grid-area: right; }

  /* Mobilde sağ sütunu tamamen gizle */
  .hero-officials-right { display: none; }

  /* Sol grup: 2 kart alt alta (tam genişlik) */
  .hero-officials-left {
    flex-direction: column;
    height: auto;
    gap: 0.55rem;
  }

  .hero-officials-left .official-card {
    flex: unset;
    width: 100%;
    min-height: unset;
    aspect-ratio: 4 / 3;
  }

  /* Fotoğraf — kırpmadan tam göster */
  .official-photo {
    position: absolute; inset: 0; border: none;
  }
  .official-photo img {
    object-position: center top;
  }

  /* İsim bandı */
  .official-info {
    padding: 2rem 0.85rem 0.55rem;
    text-align: left;
  }
  .official-name  { font-size: 0.82rem; }
  .official-title { font-size: 0.68rem; }

  .hero h1 { font-size: clamp(1.5rem, 5vw, 2.2rem); }
  .hero-lead { font-size: 0.9rem; max-width: none; }
  .hero-stats { flex-direction: column; }
  .hero-stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .hero-stat:last-child { border-bottom: none; }
  .hero-stat strong { font-size: 1.2rem; }
}

@media (max-width: 480px) {
  .hero-inner { padding: 1.5rem 0.9rem 1.75rem; gap: 0.5rem; }
  .hero-officials-left .official-card { aspect-ratio: 4 / 3; }
  .official-info { padding: 1.75rem 0.75rem 0.45rem; }
  .official-name  { font-size: 0.76rem; }
  .official-title { font-size: 0.62rem; }
  .hero-stat strong { font-size: 1rem; }
}

/* ============================================================
   SECTIONS — Ortak
   ============================================================ */
.section     { padding: 4.5rem 1.5rem; }
.section-alt { background: var(--white); }
.section-dark{ background: var(--blue-900); color: var(--white); }
.section-inner { max-width: var(--max); margin: 0 auto; }

.section-head {
  display: flex; flex-wrap: wrap; align-items: flex-end;
  justify-content: space-between; gap: 1rem; margin-bottom: 2.25rem;
}
.section-head h2 {
  margin: 0; font-size: clamp(1.55rem, 3vw, 2.05rem);
  font-weight: 800; letter-spacing: -0.025em; color: var(--blue-900);
  line-height: 1.2;
}
.section-dark .section-head h2 { color: var(--white); }
.section-head p {
  margin: 0.3rem 0 0; color: var(--gray-500);
  font-size: 0.93rem; max-width: 40ch;
}
.section-dark .section-head p { color: var(--blue-300); }

.pill {
  display: inline-flex; align-items: center;
  padding: 0.25rem 0.65rem; border-radius: 999px;
  background: var(--blue-100); color: var(--blue-700);
  font-weight: 700; font-size: 0.76rem;
}
.pill-outline {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.35);
  color: rgba(255,255,255,0.9);
}
.link-more { font-weight: 700; font-size: 0.88rem; white-space: nowrap; color: var(--blue-600); }

/* ============================================================
   HABERLER — Masonry
   ============================================================ */
.masonry { columns: 3; column-gap: 1.25rem; }
@media (max-width: 900px) { .masonry { columns: 2; } }
@media (max-width: 560px) { .masonry { columns: 1; } }
.masonry > article {
  break-inside: avoid; display: inline-block;
  width: 100%; margin-bottom: 1.25rem;
}

.card {
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  transition: transform 0.22s, box-shadow 0.22s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-img { position: relative; overflow: hidden; }
.card-img img { width: 100%; height: auto; object-fit: cover; display: block; transition: transform 0.4s; }
.card:hover .card-img img { transform: scale(1.04); }
.card-img.r-wide img { aspect-ratio: 16/9; }
.card-img.r-sq   img { aspect-ratio: 1; }
.badge {
  position: absolute; top: 0.75rem; left: 0.75rem;
  padding: 0.28rem 0.6rem; border-radius: 999px;
  font-size: 0.68rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.badge-blue  { background: var(--blue-600); color: var(--white); }
.badge-white { background: var(--white); color: var(--blue-800); }
.badge-green { background: var(--green-live); color: var(--white); }
.card-body { padding: 1.1rem 1.25rem 1.3rem; }
.card-meta { font-size: 0.76rem; color: var(--gray-400); margin-bottom: 0.3rem; font-weight: 500; }
.card h3 { margin: 0 0 0.4rem; font-size: 1rem; font-weight: 700; color: var(--blue-900); line-height: 1.35; }
.card h3.lg { font-size: 1.2rem; }
.card p  { margin: 0; font-size: 0.88rem; color: var(--gray-500); line-height: 1.55; }

/* ============================================================
   CANLI YAYIN
   ============================================================ */
.live-wrap {
  display: grid; grid-template-columns: 1.25fr 1fr;
  gap: 1.25rem; align-items: start;
}
@media (max-width: 900px) { .live-wrap { grid-template-columns: 1fr; } }

.live-main {
  border-radius: var(--radius); overflow: hidden;
  background: var(--blue-950);
  border: 1px solid var(--gray-200); box-shadow: var(--shadow);
}
.live-screen {
  position: relative; aspect-ratio: 16/9;
  background: var(--blue-950); overflow: hidden;
}
.live-screen .poster {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.35; pointer-events: none;
}
.live-center {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 0.8rem;
  text-align: center; padding: 1.5rem; color: var(--white);
}
.live-center strong { font-size: 1rem; }
.live-center p  { margin: 0; font-size: 0.88rem; opacity: 0.85; }
.live-center small { font-size: 0.78rem; opacity: 0.6; }
.live-bar {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 0.5rem;
  padding: 0.9rem 1.25rem; background: var(--white);
  border-top: 1px solid var(--gray-200);
}
.live-bar strong { font-size: 0.93rem; color: var(--blue-900); }
.live-dots { display: flex; gap: 4px; margin-top: 3px; }
.live-dot  { width: 7px; height: 7px; border-radius: 50%; background: var(--gray-200); }
.live-dot.on { background: var(--green-live); }

.live-side { display: flex; flex-direction: column; gap: 0.9rem; }
.live-mini {
  display: flex; gap: 0.85rem; align-items: center;
  padding: 0.9rem; background: var(--white);
  border-radius: var(--radius); border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-xs);
  transition: transform 0.2s;
}
.live-mini:hover { transform: translateY(-2px); }
.live-mini img { width: 96px; height: 62px; border-radius: var(--radius-sm); object-fit: cover; flex-shrink: 0; }
.live-mini h4 { margin: 0 0 0.2rem; font-size: 0.88rem; font-weight: 700; color: var(--blue-900); line-height: 1.3; }
.live-mini span { font-size: 0.76rem; color: var(--gray-500); }

/* ============================================================
   SPOR KULÜPLERİMİZ
   ============================================================ */
.clubs-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.25rem;
}
@media (max-width: 900px) { .clubs-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .clubs-grid { grid-template-columns: 1fr; } }

.club-featured { grid-column: span 2; }
@media (max-width: 560px) { .club-featured { grid-column: span 1; } }

.club-card {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--gray-200); box-shadow: var(--shadow);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.22s, box-shadow 0.22s;
}
.club-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.club-thumb { position: relative; overflow: hidden; }
.club-thumb img { width: 100%; object-fit: cover; transition: transform 0.4s; }
.club-card:hover .club-thumb img { transform: scale(1.04); }
.club-featured .club-thumb img { aspect-ratio: 2.5/1; }
.club-card:not(.club-featured) .club-thumb img { aspect-ratio: 16/9; }
.club-thumb-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(7,20,51,0.75));
}
.club-thumb-tag {
  position: absolute; bottom: 0.75rem; left: 0.75rem;
  font-size: 0.7rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.07em; padding: 0.26rem 0.6rem;
  border-radius: 999px;
}
.tag-gold  { background: var(--gold); color: var(--blue-950); }
.tag-blue  { background: var(--blue-600); color: var(--white); }
.club-info { padding: 1.15rem 1.25rem 1.35rem; flex: 1; display: flex; flex-direction: column; gap: 0.35rem; }
.club-info h3 { margin: 0; font-size: 1.05rem; font-weight: 800; color: var(--blue-900); line-height: 1.3; }
.club-featured .club-info h3 { font-size: 1.2rem; }
.club-info p { margin: 0; font-size: 0.87rem; color: var(--gray-500); line-height: 1.55; }
.club-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: auto; padding-top: 0.75rem; }

/* ============================================================
   MAÇLAR
   ============================================================ */
.matches-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; }
@media (max-width: 680px) { .matches-grid { grid-template-columns: 1fr; } }

.match-card {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--gray-200); box-shadow: var(--shadow-xs);
  padding: 1.2rem 1.35rem; display: flex; flex-direction: column; gap: 0.7rem;
}
.match-top {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.74rem; font-weight: 600; color: var(--gray-500);
  text-transform: uppercase; letter-spacing: 0.05em;
}
.match-teams {
  display: flex; align-items: center; justify-content: space-between;
  font-weight: 800; font-size: 1rem; color: var(--blue-900);
}
.match-teams .team { flex: 1; }
.match-teams .team.right { text-align: right; }
.match-vs {
  width: 2.4rem; height: 2.4rem; border-radius: 50%;
  background: var(--blue-100); color: var(--blue-700);
  display: grid; place-items: center;
  font-size: 0.7rem; font-weight: 800; flex-shrink: 0; margin: 0 0.5rem;
}
.match-info { display: flex; flex-wrap: wrap; gap: 0.4rem; font-size: 0.83rem; color: var(--gray-500); }

/* ============================================================
   PUAN TABLOSU
   ============================================================ */
.table-box {
  overflow-x: auto; border-radius: var(--radius);
  border: 1px solid var(--gray-200); background: var(--white);
  box-shadow: var(--shadow-xs);
}
.standings-table {
  width: 100%; border-collapse: collapse;
  font-size: 0.9rem; min-width: 520px;
}
.standings-table th,
.standings-table td {
  padding: 0.82rem 1rem;
  text-align: left; border-bottom: 1px solid var(--gray-200);
}
.standings-table th {
  background: var(--blue-50); color: var(--blue-800);
  font-weight: 700; font-size: 0.73rem;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.standings-table tr:last-child td { border-bottom: none; }
.standings-table .us { background: linear-gradient(90deg,rgba(232,240,255,0.95),transparent); font-weight: 700; }
.standings-table .n  { font-variant-numeric: tabular-nums; color: var(--gray-500); }
.standings-table .pts { font-weight: 800; color: var(--blue-700); }

/* ============================================================
   DİSİPLİN
   ============================================================ */
.disc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 680px) { .disc-grid { grid-template-columns: 1fr; } }

.disc-block {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--gray-200); box-shadow: var(--shadow-xs);
  padding: 1.35rem;
}
.disc-block h3 {
  margin: 0 0 1rem; display: flex; align-items: center;
  gap: 0.5rem; font-size: 0.97rem; color: var(--blue-900);
}
.card-icon { width: 13px; height: 17px; border-radius: 2px; display: inline-block; }
.card-icon.y { background: linear-gradient(180deg,#facc15,#ca8a04); }
.card-icon.r { background: linear-gradient(180deg,#ef4444,#b91c1c); }
.p-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.6rem 0; border-top: 1px solid var(--gray-200); font-size: 0.9rem;
}
.p-row:first-of-type { border-top: none; padding-top: 0; }
.p-name { font-weight: 600; color: var(--blue-900); }
.p-num  { font-weight: 800; font-variant-numeric: tabular-nums; }
.p-num.y { color: #a16207; }
.p-num.r { color: #b91c1c; }

/* ============================================================
   BAŞARILAR
   ============================================================ */
.ach-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 1.15rem;
}
@media (max-width: 900px) { .ach-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px) { .ach-grid { grid-template-columns: 1fr; } }

.ach-card {
  position: relative; overflow: hidden;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius); padding: 1.5rem 1.25rem;
  text-align: center;
  transition: background 0.2s;
}
.ach-card:hover { background: rgba(255,255,255,0.13); }
.ach-icon { font-size: 2.4rem; line-height: 1; margin-bottom: 0.55rem; }
.ach-year {
  position: absolute; top: 0.7rem; right: 0.8rem;
  font-size: 0.67rem; font-weight: 700;
  color: var(--gold); background: rgba(245,158,11,0.15);
  padding: 0.18rem 0.5rem; border-radius: 999px;
}
.ach-card h3 { margin: 0 0 0.25rem; font-size: 0.95rem; font-weight: 800; color: var(--white); }
.ach-card p  { margin: 0; font-size: 0.8rem; color: var(--blue-300); }

/* ============================================================
   KADRO
   ============================================================ */
.squad-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 1.25rem;
}
@media (max-width: 900px) { .squad-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px) { .squad-grid { grid-template-columns: 1fr; } }

.squad-card {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--gray-200); box-shadow: var(--shadow-xs);
  overflow: hidden; text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.squad-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.squad-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.squad-info { padding: 0.9rem 1rem 1.05rem; }
.squad-no   { display: block; font-size: 0.72rem; font-weight: 800; color: var(--blue-500); margin-bottom: 0.15rem; }
.squad-info h3 { margin: 0 0 0.15rem; font-size: 0.95rem; font-weight: 700; color: var(--blue-900); }
.squad-info span { font-size: 0.8rem; color: var(--gray-500); }

/* ============================================================
   TESİSLER
   ============================================================ */
.facilities {
  display: grid;
  grid-template-columns: repeat(12,1fr);
  grid-auto-rows: 195px;
  gap: 1rem;
}
.fac { border-radius: var(--radius); overflow: hidden; position: relative; }
.fac img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; display: block; }
.fac:hover img { transform: scale(1.05); }
.fac:nth-child(1) { grid-column: span 7; grid-row: span 2; }
.fac:nth-child(2) { grid-column: span 5; }
.fac:nth-child(3) { grid-column: span 5; }
.fac:nth-child(4) { grid-column: span 4; }
.fac:nth-child(5) { grid-column: span 4; }
.fac:nth-child(6) { grid-column: span 4; }
.fac-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 1.5rem 1rem 0.75rem;
  background: linear-gradient(0deg, rgba(7,20,51,0.82), transparent);
  color: var(--white); font-size: 0.83rem; font-weight: 700;
}
@media (max-width: 900px) {
  .facilities { grid-template-columns: repeat(2,1fr); grid-auto-rows: 160px; }
  .fac { grid-column: span 1 !important; grid-row: span 1 !important; }
}
@media (max-width: 540px) {
  .facilities { grid-template-columns: 1fr; grid-auto-rows: 200px; }
}

/* ============================================================
   SPONSORLAR
   ============================================================ */
.sponsors-grid {
  display: grid; grid-template-columns: repeat(5,1fr); gap: 1.15rem;
}
@media (max-width: 900px) { .sponsors-grid { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 540px) { .sponsors-grid { grid-template-columns: repeat(2,1fr); } }

.sponsor-card {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--gray-200); box-shadow: var(--shadow-xs);
  padding: 1.5rem 1rem; display: flex; flex-direction: column;
  align-items: center; gap: 0.55rem; text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.sponsor-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.sponsor-logo {
  width: 68px; height: 68px; border-radius: 14px;
  display: grid; place-items: center;
  font-size: 1.1rem; font-weight: 900; letter-spacing: -0.03em;
}
.sponsor-card h4 { margin: 0; font-size: 0.87rem; font-weight: 700; color: var(--blue-900); }
.sponsor-card span { font-size: 0.74rem; color: var(--gray-500); }
.tier {
  font-size: 0.63rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.09em; padding: 0.17rem 0.5rem; border-radius: 999px;
}
.tier-p { background: #e5e7eb; color: #374151; }
.tier-a { background: rgba(245,158,11,0.15); color: #b45309; }
.tier-g { background: var(--blue-100); color: var(--blue-700); }

/* ============================================================
   BAŞKANIN MESAJI
   ============================================================ */
.president {
  display: grid; grid-template-columns: 260px 1fr;
  gap: 2.5rem; align-items: center;
  background: linear-gradient(135deg,var(--white),var(--blue-50));
  border-radius: var(--radius); border: 1px solid var(--gray-200);
  padding: 2.5rem; box-shadow: var(--shadow-xs);
}
@media (max-width: 780px) {
  .president { grid-template-columns: 1fr; text-align: center; }
  .president img { max-width: 200px; margin: 0 auto; }
}
.president img { border-radius: var(--radius); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.president h2  { margin: 0 0 0.3rem; font-size: 1.55rem; font-weight: 800; color: var(--blue-900); }
.president .role { margin: 0 0 1rem; font-weight: 600; color: var(--blue-600); font-size: 0.88rem; }
.president p   { margin: 0 0 1rem; color: var(--gray-500); font-size: 0.92rem; }
.president p:last-child { margin: 0; }
.blockquote {
  border-left: 4px solid var(--blue-500); padding-left: 1rem;
  font-style: italic; color: var(--blue-800);
}
@media (max-width: 780px) {
  .blockquote { border-left: none; border-top: 4px solid var(--blue-500); padding: 0.75rem 0 0; text-align: left; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--blue-950); color: rgba(255,255,255,0.8);
  padding: 3.5rem 1.5rem 2rem;
}
.footer-grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1.3fr repeat(3,1fr); gap: 2rem;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-brand .brand { color: var(--white); }
.footer-brand .brand-emblem { background: var(--blue-500); }
.footer-brand p { margin: 0; font-size: 0.87rem; color: rgba(255,255,255,0.55); line-height: 1.65; max-width: 28ch; }

.footer-col h4 { margin: 0 0 0.85rem; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--blue-400); }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 0.4rem; }
.footer-col a  { color: rgba(255,255,255,0.8); font-size: 0.87rem; transition: color 0.15s; }
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  max-width: var(--max); margin: 2.5rem auto 0;
  padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.8rem; color: rgba(255,255,255,0.45); text-align: center;
}

/* ============================================================
   SPONSORLAR — Boş durum
   ============================================================ */
.sponsors-empty {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center;
  padding: 4rem 2rem;
  background: var(--blue-50);
  border: 2px dashed var(--blue-200);
  border-radius: var(--radius);
  gap: 0.75rem;
}
.sponsors-empty-icon { font-size: 3rem; line-height: 1; }
.sponsors-empty h3 { margin: 0; font-size: 1.2rem; font-weight: 800; color: var(--blue-900); }
.sponsors-empty p  { margin: 0; font-size: 0.92rem; color: var(--gray-500); max-width: 36ch; }

/* ============================================================
   ÇEREZ BANNER
   ============================================================ */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: var(--blue-950);
  border-top: 3px solid var(--blue-500);
  box-shadow: 0 -8px 32px -8px rgba(7,20,51,0.5);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 1.1rem 1.5rem;
  display: flex; align-items: center;
  justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
}
.cookie-text {
  display: flex; align-items: flex-start; gap: 1rem; flex: 1;
}
.cookie-icon { font-size: 1.6rem; flex-shrink: 0; margin-top: 2px; }
.cookie-text strong { display: block; color: var(--white); font-size: 0.95rem; margin-bottom: 0.25rem; }
.cookie-text p { margin: 0; font-size: 0.82rem; color: rgba(255,255,255,0.7); line-height: 1.5; max-width: 52ch; }
.cookie-actions { display: flex; gap: 0.65rem; flex-shrink: 0; }
.cookie-btn-primary {
  padding: 0.6rem 1.3rem; border-radius: 999px;
  background: var(--blue-500); color: var(--white);
  font-weight: 700; font-size: 0.88rem; border: none; cursor: pointer;
  transition: background 0.18s;
}
.cookie-btn-primary:hover { background: var(--blue-400); }
.cookie-btn-secondary {
  padding: 0.6rem 1.1rem; border-radius: 999px;
  background: transparent; color: rgba(255,255,255,0.75);
  font-weight: 600; font-size: 0.88rem;
  border: 1.5px solid rgba(255,255,255,0.25); cursor: pointer;
  transition: border-color 0.18s, color 0.18s;
}
.cookie-btn-secondary:hover { border-color: rgba(255,255,255,0.6); color: var(--white); }
@media (max-width: 640px) {
  .cookie-inner { flex-direction: column; }
  .cookie-actions { width: 100%; justify-content: flex-end; }
}

/* ============================================================
   REVEAL ANİMASYONU
   ============================================================ */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: none; }
