/* ==========================================================================
   BURSA ATLETİZM İL TEMSİLCİLİĞİ & HAKEM DERNEĞİ - KURUMSAL STİL DOSYASI
   Sıfır Sunucu Yükü / Statik-Öncelikli Mimari
   Tasarım & Kodlama Standartları: Selim ÇELİK (GEMINI.md Uyumlu)
   ========================================================================== */

:root {
  --primary: #c81e1e;
  --primary-dark: #991b1b;
  --primary-light: #fef2f2;
  --navy: #0f172a;
  --navy-light: #1e293b;
  --slate-900: #0f172a;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --bg-light: #f8fafc;
  --white: #ffffff;
  --emerald: #059669;
  --emerald-bg: #ecfdf5;
  --blue: #1d4ed8;
  --blue-bg: #eff6ff;
  --amber: #d97706;
  --amber-bg: #fffbeb;
  --indigo: #4338ca;
  --indigo-bg: #eef2ff;
  --whatsapp: #16a34a;
  --whatsapp-bg: #f0fdf4;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 6px 16px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 14px 32px rgba(15, 23, 42, 0.14), 0 4px 10px rgba(15, 23, 42, 0.06);
  --container: 1280px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--slate-900);
  background-color: var(--bg-light);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   1. ÜST BANT (TOP BAR) - Tek Satır Kurumsal Standart (Slogansız)
   ========================================================================== */
.top-bar {
  background-color: var(--navy);
  color: #cbd5e1;
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 38px;
  white-space: nowrap;
  overflow: hidden;
  gap: 16px;
}

.top-bar-left,
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
  white-space: nowrap;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #e2e8f0;
  font-weight: 500;
}

.top-bar-item svg {
  width: 14px;
  height: 14px;
  color: #ef4444;
  flex-shrink: 0;
}

.top-bar-item:hover {
  color: var(--white);
}

.top-bar-wa {
  background: rgba(22, 163, 74, 0.2);
  color: #4ade80;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(74, 222, 128, 0.3);
  font-weight: 600;
}

.top-bar-wa svg {
  color: #4ade80;
}

.top-bar-wa:hover {
  background: #16a34a;
  color: var(--white);
}

.top-bar-wa:hover svg {
  color: var(--white);
}

/* ==========================================================================
   2. HEADER & NAVİGASYON
   ========================================================================== */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 20px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.brand-emblem {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(200, 30, 30, 0.25);
  flex-shrink: 0;
}

.brand-emblem svg {
  width: 28px;
  height: 28px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.brand-sub {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 8px 13px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--slate-700);
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background: var(--primary-light);
}

.nav-cta {
  background: var(--navy);
  color: var(--white) !important;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--primary);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  padding: 8px;
  color: var(--navy);
  cursor: pointer;
}

/* ==========================================================================
   3. HERO SLIDER (3 Görselli Kurumsal Slayt Alanı) & VİTRİN KUTULARI
   ========================================================================== */
.hero-slider-section {
  background: var(--navy);
  border-bottom: 3px solid var(--primary);
  position: relative;
}

.slider-wrapper {
  position: relative;
  height: 430px;
  overflow: hidden;
  background: #090d16;
}

.slide-item {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s ease;
  display: flex;
  align-items: center;
}

.slide-item.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.03);
  transition: transform 6s ease;
}

.slide-item.active .slide-bg {
  transform: scale(1);
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.72) 52%, rgba(15, 23, 42, 0.25) 100%);
}

.slide-content {
  position: relative;
  z-index: 3;
  color: var(--white);
  max-width: 720px;
  padding: 20px 0;
}

.slide-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary);
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.slide-content h2 {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.slide-content p {
  font-size: 1.02rem;
  color: #e2e8f0;
  margin-bottom: 22px;
  line-height: 1.5;
  max-width: 620px;
}

.slide-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.slide-btn-primary {
  background: var(--primary);
  color: var(--white);
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(200, 30, 30, 0.4);
  cursor: pointer;
  border: none;
}

.slide-btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.slide-btn-secondary {
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.slide-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.24);
}

/* Slider Oklar & Noktalar */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.slider-arrow:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }

.slider-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px;
}

.slider-dot {
  width: 28px;
  height: 5px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  transition: all 0.25s;
}

.slider-dot.active {
  width: 44px;
  background: var(--primary);
}

/* 4x1 Simetrik Özellik / Vitrin Kutuları (.fb-header yan yana ikon + başlık) */
.feature-bar {
  background: #111827;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-boxes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  transition: transform 0.2s ease, background 0.2s ease;
  cursor: pointer;
  min-width: 0;
}

.feature-box:hover {
  background: rgba(255, 255, 255, 0.11);
  transform: translateY(-2px);
}

.fb-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  min-width: 0;
}

.fb-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fb-icon svg {
  width: 18px;
  height: 18px;
}

.fb-header h3 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.feature-box p {
  font-size: 0.8rem;
  color: #cbd5e1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

/* ==========================================================================
   4. BÖLÜM BAŞLIKLARI (Tek Satır white-space: nowrap Standardı)
   ========================================================================== */
.section-block {
  padding: 46px 0;
}

.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 24px;
  gap: 6px;
  border-bottom: 1px solid var(--slate-200);
  padding-bottom: 16px;
}

.section-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.section-desc {
  font-size: 0.9rem;
  color: var(--slate-600);
  margin-top: 4px;
  white-space: nowrap;
}

/* ==========================================================================
   5. FİLTRE VE ARAMA ÇUBUĞU (Yıl, Kategori, Anlık Arama)
   ========================================================================== */
.filter-toolbar {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.filter-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.filter-btn {
  border: 1px solid var(--slate-200);
  background: var(--bg-light);
  color: var(--slate-700);
  font-size: 0.83rem;
  font-weight: 600;
  padding: 7px 13px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.filter-btn .count-badge {
  background: rgba(15, 23, 42, 0.08);
  color: var(--slate-700);
  padding: 1px 6px;
  border-radius: 99px;
  font-size: 0.73rem;
}

.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.filter-btn.active .count-badge {
  background: rgba(255, 255, 255, 0.22);
  color: var(--white);
}

.filter-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  justify-content: flex-end;
  min-width: 280px;
}

.year-select {
  padding: 8px 12px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--navy);
  background-color: var(--bg-light);
  cursor: pointer;
}

.search-box {
  position: relative;
  flex: 1;
  max-width: 290px;
}

.search-box input {
  width: 100%;
  padding: 8px 12px 8px 34px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--navy);
  background: var(--bg-light);
  outline: none;
  transition: border-color 0.2s;
}

.search-box input:focus {
  border-color: var(--primary);
  background: var(--white);
}

.search-box svg {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--slate-500);
}

/* ==========================================================================
   6. YARIŞ HABERLERİ 2 SÜTUNLU SİMETRİK GRİD (2x4 = 8 Kart, Tek <h3> Başlık)
   Kart üzerinde link kalabalığı yok; linkler detay ekranında açıklamadan sonra!
   ========================================================================== */
.races-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.race-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 230px 1fr;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
  min-height: 200px;
}

.race-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.rc-thumb-wrap {
  position: relative;
  height: 100%;
  min-height: 200px;
  background: var(--navy);
  overflow: hidden;
}

.rc-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.race-card:hover .rc-thumb-wrap img {
  transform: scale(1.05);
}

.rc-date-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(4px);
  color: var(--white);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.rc-status-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.rc-status-badge.has-result {
  background: var(--emerald);
  color: var(--white);
}

.rc-status-badge.has-reg {
  background: var(--primary);
  color: var(--white);
}

.rc-status-badge.info-only {
  background: var(--blue);
  color: var(--white);
}

.rc-body {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Tek ve net ana başlık (<h3>) */
.rc-body h3 {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.15s;
}

.race-card:hover .rc-body h3 {
  color: var(--primary);
}

/* En fazla 2 satır açıklama */
.rc-desc {
  font-size: 0.87rem;
  color: var(--slate-600);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 16px;
  line-height: 1.5;
}

.rc-footer {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--slate-100);
  display: flex;
  align-items: center;
}

.rc-detail-trigger {
  width: 100%;
  background: var(--navy);
  border: 1px solid var(--navy);
  color: var(--white);
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  transition: all 0.15s;
}

.race-card:hover .rc-detail-trigger {
  background: var(--primary);
  border-color: var(--primary);
}

/* Detay Modalı İçindeki Renk Kodlu Bağlantı Butonları */
.rc-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  border: 1px solid transparent;
  transition: all 0.15s;
}

.rc-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.rc-btn.btn-statu {
  background: var(--blue-bg);
  color: var(--blue);
  border-color: #bfdbfe;
}
.rc-btn.btn-statu:hover {
  background: var(--blue);
  color: var(--white);
}

.rc-btn.btn-kayit {
  background: var(--primary-light);
  color: var(--primary);
  border-color: #fecaca;
}
.rc-btn.btn-kayit:hover {
  background: var(--primary);
  color: var(--white);
}

.rc-btn.btn-kontrol {
  background: var(--amber-bg);
  color: var(--amber);
  border-color: #fde68a;
}
.rc-btn.btn-kontrol:hover {
  background: var(--amber);
  color: var(--white);
}

.rc-btn.btn-start {
  background: var(--indigo-bg);
  color: var(--indigo);
  border-color: #c7d2fe;
}
.rc-btn.btn-start:hover {
  background: var(--indigo);
  color: var(--white);
}

.rc-btn.btn-sonuc {
  background: var(--emerald-bg);
  color: var(--emerald);
  border-color: #a7f3d0;
}
.rc-btn.btn-sonuc:hover {
  background: var(--emerald);
  color: var(--white);
}

.rc-btn.btn-whatsapp {
  background: var(--whatsapp-bg);
  color: var(--whatsapp);
  border-color: #bbf7d0;
}
.rc-btn.btn-whatsapp:hover {
  background: var(--whatsapp);
  color: var(--white);
}

.rc-btn.btn-dosya {
  background: var(--slate-100);
  color: var(--slate-700);
  border-color: var(--slate-200);
}
.rc-btn.btn-dosya:hover {
  background: var(--navy);
  color: var(--white);
}

/* Sayfalama (Pagination) */
.pagination-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.page-btn {
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--slate-200);
  background: var(--white);
  color: var(--slate-700);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.page-btn:hover:not(:disabled) {
  border-color: var(--primary);
  color: var(--primary);
}

.page-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.page-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* ==========================================================================
   7. KURUMSAL BÖLÜM: İL TEMSİLCİLİĞİ, KURULLAR & HAKEM DERNEĞİ
   (Sol ve Sağ Sütun align-items: stretch ile birebir aynı hizada)
   ========================================================================== */
.corporate-section {
  background: var(--white);
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}

.corporate-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.corp-card {
  background: var(--bg-light);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.corp-card-top {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.corp-badge-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--slate-200);
}

.corp-badge-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.corp-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.corp-icon.red {
  background: var(--primary);
}

.corp-badge-title h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
}

.corp-summary {
  font-size: 0.88rem;
  color: var(--slate-600);
}

.board-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.board-member {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  padding: 10px 13px;
  display: flex;
  flex-direction: column;
}

.board-member.highlight {
  border-left: 3px solid var(--primary);
}

.bm-role {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.bm-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: 2px;
}

.corp-footer-box {
  margin-top: 18px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.iban-box {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.iban-bank {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--slate-500);
}

.iban-num {
  font-family: monospace;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy);
}

.btn-doc-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-doc {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 13px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--navy);
  color: var(--white);
  border: none;
  cursor: pointer;
}

.btn-doc.red {
  background: var(--primary);
}

.btn-doc:hover {
  opacity: 0.92;
}

/* ==========================================================================
   8. İLETİŞİM BÖLÜMÜ (Parantez İçi Açıklamasız Telefon Standardı)
   ========================================================================== */
.contact-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 16px 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  white-space: nowrap;
}

.contact-card .fb-header {
  margin-bottom: 0;
}

.contact-card .fb-header h3 {
  color: var(--navy);
  font-size: 0.98rem;
  white-space: nowrap;
}

.contact-card .fb-icon {
  background: var(--primary-light);
  color: var(--primary);
}

.contact-val {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: 0;
  display: inline-block;
  white-space: nowrap;
}

.contact-val:hover {
  color: var(--primary);
}

.contact-sub {
  font-size: 0.82rem;
  color: var(--slate-500);
  margin-top: 4px;
}

/* ==========================================================================
   9. FOOTER & SELİM ÇELİK İMZA STANDARDI
   ========================================================================== */
.site-footer {
  background: var(--navy);
  color: #94a3b8;
  padding: 28px 0;
  font-size: 0.85rem;
  border-top: 3px solid var(--primary);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-sign a {
  color: #e2e8f0;
  font-weight: 600;
}

.footer-sign a:hover {
  color: #f87171;
}

/* ==========================================================================
   10. DETAY MODAL PENCERESİ (Önce Açıklama, Sonra Bağlantılar)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-dialog {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 760px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--slate-200);
}

.modal-head {
  padding: 18px 24px;
  border-bottom: 1px solid var(--slate-200);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 5;
}

.modal-head h2 {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.3;
}

.modal-close {
  background: var(--slate-100);
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--slate-700);
  flex-shrink: 0;
}

.modal-close:hover {
  background: var(--primary);
  color: var(--white);
}

.modal-content {
  padding: 24px;
}

.modal-poster {
  width: 100%;
  max-height: 300px;
  object-fit: contain;
  background: var(--navy);
  border-radius: var(--radius-md);
  margin-bottom: 18px;
}

.modal-notes {
  background: var(--bg-light);
  border: 1px solid var(--slate-200);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  font-size: 0.9rem;
  color: var(--slate-700);
  margin-bottom: 20px;
  line-height: 1.6;
}

.modal-notes p + p {
  margin-top: 8px;
}

.modal-links-section {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 18px;
}

.modal-links-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-links-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-links-list .rc-btn {
  width: 100%;
  justify-content: flex-start;
  padding: 13px 18px;
  font-size: 0.92rem;
}

.modal-share-bar {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--slate-200);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

/* ==========================================================================
   11. RESPONSIVE (MOBİL & TABLET UYUMLULUK)
   ========================================================================== */
@media (max-width: 1100px) {
  .feature-boxes {
    grid-template-columns: repeat(2, 1fr);
  }
  .races-grid {
    grid-template-columns: 1fr;
  }
  .corporate-split {
    grid-template-columns: 1fr;
  }
  .section-title,
  .section-desc {
    white-space: normal;
  }
}

@media (max-width: 768px) {
  .top-bar-left .hide-mobile {
    display: none;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px;
    border-bottom: 2px solid var(--primary);
    box-shadow: var(--shadow-md);
  }
  .main-nav.open {
    display: flex;
  }
  .mobile-menu-btn {
    display: inline-flex;
  }
  .slider-wrapper {
    height: 360px;
  }
  .slide-content h2 {
    font-size: 1.5rem;
  }
  .slider-arrow {
    display: none;
  }
  .race-card {
    grid-template-columns: 1fr;
  }
  .rc-thumb-wrap {
    height: 190px;
  }
  .feature-boxes,
  .contact-strip,
  .modal-links-list,
  .board-grid {
    grid-template-columns: 1fr;
  }
  .section-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .filter-toolbar {
    padding: 12px;
    gap: 10px;
  }
  .filter-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    width: 100%;
  }
  .filter-btn {
    width: 100%;
    justify-content: center;
    padding: 8px 4px;
    font-size: 0.78rem;
    white-space: nowrap;
  }
  .filter-btn .count-badge {
    display: none;
  }
  .filter-right {
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: 135px 1fr;
    gap: 8px;
  }
  .search-box {
    max-width: none;
  }
}
