/* =============================================================
   İSTANBUL SİTE SPOR KULÜBÜ - Ana Stil
   Tema: Kırmızı (#C8102E) - Beyaz (#FFFFFF) - Siyah (#1A1A1A)
   ============================================================= */

:root {
  --renk-ana: #C8102E;
  --renk-ana-koyu: #9b0c23;
  --renk-ana-acik: #e21e3c;
  --renk-ikinci: #FFFFFF;
  --renk-uc: #1A1A1A;
  --renk-gri: #f4f4f4;
  --renk-gri-koyu: #6b6b6b;
  --renk-cizgi: #e6e6e6;
  --golge: 0 4px 16px rgba(0,0,0,0.08);
  --golge-koyu: 0 10px 30px rgba(0,0,0,0.18);
  --radius: 6px;
  --gecis: all .25s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--renk-uc);
  background: #fff;
  overflow-x: hidden;
}

a { color: var(--renk-ana); text-decoration: none; transition: var(--gecis); }
a:hover { color: var(--renk-ana-koyu); }

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

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ----- ÜST BAR ----- */
.topbar {
  background: var(--renk-uc);
  color: #ccc;
  font-size: 13px;
  padding: 8px 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.topbar a { color: #ccc; }
.topbar a:hover { color: #fff; }
.topbar .iletisim span { margin-right: 18px; }
.topbar .iletisim i { color: var(--renk-ana); margin-right: 5px; }
.topbar .sosyal a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  margin-left: 4px;
}
.topbar .sosyal a:hover { background: var(--renk-ana); color: #fff; }

/* ----- HEADER / LOGO ----- */
.site-header {
  background: #fff;
  border-bottom: 4px solid var(--renk-ana);
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  position: sticky; top: 0; z-index: 999;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}
.logo-wrap { display: flex; align-items: center; gap: 14px; }
.logo-circle {
  width: 64px; height: 64px;
  background: var(--renk-ana);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 900; font-size: 22px;
  border: 4px solid #fff;
  box-shadow: 0 0 0 2px var(--renk-ana);
  flex-shrink: 0;
  overflow: hidden;
}
.logo-circle img { width: 100%; height: 100%; object-fit: cover; }
.logo-text h1 {
  font-size: 20px; color: var(--renk-uc);
  font-weight: 900; letter-spacing: .5px; line-height: 1.1;
}
.logo-text h1 span { color: var(--renk-ana); }
.logo-text small {
  font-size: 11px; color: var(--renk-gri-koyu);
  text-transform: uppercase; letter-spacing: 2px;
}

.uye-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--renk-ana); color: #fff;
  padding: 10px 18px; border-radius: var(--radius);
  font-weight: 700; font-size: 13px;
  text-transform: uppercase; letter-spacing: .5px;
}
.uye-btn:hover { background: var(--renk-ana-koyu); color: #fff; }

/* ----- NAV ----- */
.main-nav { background: var(--renk-uc); }
.main-nav .container { display: flex; align-items: center; justify-content: space-between; }
.nav-menu { display: flex; list-style: none; }
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  display: block; padding: 16px 18px; color: #fff;
  font-weight: 700; text-transform: uppercase;
  font-size: 13px; letter-spacing: .8px;
}
.nav-menu > li > a:hover,
.nav-menu > li.active > a { background: var(--renk-ana); color: #fff; }
.nav-menu .submenu {
  position: absolute; top: 100%; left: 0;
  background: #fff; min-width: 220px;
  box-shadow: var(--golge-koyu);
  border-top: 3px solid var(--renk-ana);
  list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: var(--gecis);
  z-index: 1000;
}
.nav-menu > li:hover .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-menu .submenu li a {
  display: block; padding: 11px 16px; color: var(--renk-uc);
  font-size: 13px; border-bottom: 1px solid var(--renk-cizgi);
}
.nav-menu .submenu li a:hover { background: var(--renk-ana); color: #fff; }

.nav-toggle { display: none; background: var(--renk-ana); border: none; color: #fff; padding: 14px; cursor: pointer; }

/* ----- SLIDER ----- */
.hero {
  position: relative;
  height: 520px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--renk-uc) 0%, #2d0a10 60%, var(--renk-ana) 100%);
}
.hero-slide {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1s ease;
}
.hero-slide.aktif { opacity: 1; }
.hero-slide::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,.45) 50%, rgba(200,16,46,.55) 100%);
}
.hero-content {
  position: relative; z-index: 2; color: #fff;
  max-width: 700px;
}
.hero-content h2 {
  font-size: 48px; line-height: 1.1; font-weight: 900;
  text-shadow: 0 2px 12px rgba(0,0,0,.4);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.hero-content h2 span { color: var(--renk-ana-acik); }
.hero-content p { font-size: 18px; margin-bottom: 24px; opacity: .95; }
.btn {
  display: inline-block;
  padding: 14px 28px;
  background: var(--renk-ana);
  color: #fff !important;
  border: none; border-radius: var(--radius);
  font-weight: 700; text-transform: uppercase;
  letter-spacing: .8px; font-size: 13px;
  cursor: pointer; transition: var(--gecis);
}
.btn:hover { background: var(--renk-ana-koyu); transform: translateY(-2px); }
.btn-outline { background: transparent; border: 2px solid #fff; }
.btn-outline:hover { background: #fff; color: var(--renk-uc) !important; }
.btn-sm { padding: 8px 16px; font-size: 12px; }

.slider-dots {
  position: absolute; bottom: 20px; left: 50%;
  transform: translateX(-50%); z-index: 5;
  display: flex; gap: 8px;
}
.slider-dots span {
  width: 12px; height: 12px; border-radius: 50%;
  background: rgba(255,255,255,.4); cursor: pointer;
  transition: var(--gecis);
}
.slider-dots span.aktif { background: var(--renk-ana); width: 32px; border-radius: 6px; }

/* ----- BÖLÜM BAŞLIK ----- */
.section { padding: 60px 0; }
.section-baslik {
  position: relative;
  margin-bottom: 36px;
  text-align: left;
}
.section-baslik h2 {
  font-size: 28px; font-weight: 900;
  text-transform: uppercase;
  color: var(--renk-uc);
  display: inline-block;
  padding-bottom: 12px;
  border-bottom: 4px solid var(--renk-ana);
  letter-spacing: 1px;
}
.section-baslik .alt { color: var(--renk-gri-koyu); font-size: 14px; margin-top: 8px; }
.section.alt { background: var(--renk-gri); }

/* ----- MAÇ KARTI (Anasayfa) ----- */
.mac-banner {
  background: linear-gradient(135deg, var(--renk-uc), var(--renk-ana));
  color: #fff;
  border-radius: 12px;
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  box-shadow: var(--golge-koyu);
  margin-bottom: 24px;
}
.mac-banner .takim {
  text-align: center;
}
.mac-banner .takim .logo {
  width: 80px; height: 80px; margin: 0 auto 10px;
  background: #fff; color: var(--renk-ana);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 26px;
}
.mac-banner .takim .ad { font-weight: 900; text-transform: uppercase; font-size: 16px; }
.mac-banner .skor { text-align: center; }
.mac-banner .skor .vs { font-size: 14px; opacity: .8; letter-spacing: 3px; }
.mac-banner .skor .skor-rakam { font-size: 56px; font-weight: 900; line-height: 1; }
.mac-banner .skor .tarih { font-size: 13px; opacity: .9; margin-top: 4px; }
.mac-banner .skor .stadyum { font-size: 12px; opacity: .8; margin-top: 2px; }

/* ----- HABER KARTLARI ----- */
.grid-haberler {
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.haber-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--golge);
  transition: var(--gecis);
  display: flex; flex-direction: column;
}
.haber-card:hover { transform: translateY(-4px); box-shadow: var(--golge-koyu); }
.haber-card .resim {
  position: relative; aspect-ratio: 16/10; overflow: hidden;
  background: linear-gradient(135deg, var(--renk-uc), var(--renk-ana));
}
.haber-card .resim img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.haber-card:hover .resim img { transform: scale(1.06); }
.haber-card .kategori-rozet {
  position: absolute; top: 12px; left: 12px;
  background: var(--renk-ana); color: #fff;
  padding: 4px 10px; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .5px;
  border-radius: 3px;
}
.haber-card .icerik { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.haber-card .meta { font-size: 12px; color: var(--renk-gri-koyu); margin-bottom: 8px; }
.haber-card h3 {
  font-size: 17px; line-height: 1.35; margin-bottom: 10px;
  color: var(--renk-uc);
}
.haber-card h3 a { color: inherit; }
.haber-card h3 a:hover { color: var(--renk-ana); }
.haber-card .ozet { font-size: 14px; color: var(--renk-gri-koyu); flex: 1; }
.haber-card .devam { margin-top: 14px; font-size: 13px; font-weight: 700; text-transform: uppercase; color: var(--renk-ana); }

/* ----- FİKSTÜR / SONUÇ TABLOSU ----- */
.fikstur-listesi { display: flex; flex-direction: column; gap: 8px; }
.fikstur-item {
  background: #fff; border-radius: var(--radius);
  padding: 14px 18px;
  display: grid; grid-template-columns: 80px 1fr 90px 1fr 110px; gap: 12px;
  align-items: center;
  box-shadow: var(--golge);
  border-left: 4px solid var(--renk-ana);
}
.fikstur-item .hafta { font-size: 12px; font-weight: 700; color: var(--renk-gri-koyu); text-transform: uppercase; }
.fikstur-item .ev   { text-align: right; font-weight: 700; }
.fikstur-item .dep  { text-align: left;  font-weight: 700; }
.fikstur-item .ev.bizim, .fikstur-item .dep.bizim { color: var(--renk-ana); }
.fikstur-item .skor {
  background: var(--renk-uc); color: #fff;
  border-radius: var(--radius);
  padding: 6px 10px; font-weight: 900; text-align: center;
  font-size: 16px;
}
.fikstur-item .skor.beklenen { background: #ddd; color: var(--renk-uc); font-weight: 700; font-size: 13px; }
.fikstur-item .tarih { text-align: right; font-size: 13px; color: var(--renk-gri-koyu); }

/* ----- PUAN DURUMU ----- */
.puan-tablo { width: 100%; border-collapse: collapse; background: #fff; box-shadow: var(--golge); border-radius: var(--radius); overflow: hidden; }
.puan-tablo th { background: var(--renk-uc); color: #fff; padding: 12px 8px; font-size: 12px; text-align: center; text-transform: uppercase; }
.puan-tablo th:nth-child(2) { text-align: left; }
.puan-tablo td { padding: 10px 8px; border-bottom: 1px solid var(--renk-cizgi); text-align: center; font-size: 14px; }
.puan-tablo td:nth-child(2) { text-align: left; font-weight: 600; }
.puan-tablo tr.bizim td { background: rgba(200,16,46,.08); color: var(--renk-ana); font-weight: 700; }
.puan-tablo .puan { font-weight: 900; color: var(--renk-ana); }

/* ----- OYUNCULAR ----- */
.grid-oyuncular {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}
.oyuncu-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  box-shadow: var(--golge);
  transition: var(--gecis);
  position: relative;
}
.oyuncu-card:hover { transform: translateY(-4px); }
.oyuncu-card .foto {
  height: 200px; background: linear-gradient(180deg, var(--renk-ana) 0%, var(--renk-ana-koyu) 100%);
  position: relative; overflow: hidden;
}
.oyuncu-card .forma-no {
  position: absolute; top: 8px; right: 12px;
  font-size: 60px; font-weight: 900; color: rgba(255,255,255,.2);
  line-height: 1;
}
.oyuncu-card .foto img { width: 100%; height: 100%; object-fit: cover; }
.oyuncu-card .info { padding: 14px; }
.oyuncu-card .info .ad { font-weight: 800; text-transform: uppercase; font-size: 14px; }
.oyuncu-card .info .poz { font-size: 12px; color: var(--renk-gri-koyu); text-transform: uppercase; margin-top: 4px; }

/* ----- SPONSORLAR ----- */
.sponsor-grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  align-items: center;
}
.sponsor-card {
  background: #fff; padding: 18px;
  border-radius: var(--radius);
  text-align: center;
  border: 1px solid var(--renk-cizgi);
  transition: var(--gecis);
  font-weight: 700;
  color: var(--renk-gri-koyu);
}
.sponsor-card:hover { border-color: var(--renk-ana); color: var(--renk-ana); }

/* ----- SAYFA İÇERİĞİ ----- */
.page-banner {
  background: linear-gradient(135deg, var(--renk-uc), var(--renk-ana));
  color: #fff;
  padding: 60px 0 40px;
  position: relative;
  overflow: hidden;
}
.page-banner::after {
  content: ''; position: absolute; bottom: -1px; left: 0; right: 0;
  height: 30px;
  background: linear-gradient(to top right, #fff 49%, transparent 51%);
}
.page-banner h1 { font-size: 38px; font-weight: 900; text-transform: uppercase; letter-spacing: 1px; }
.page-banner .yol { margin-top: 8px; font-size: 14px; opacity: .9; }
.page-banner .yol a { color: #fff; opacity: .85; }
.page-banner .yol a:hover { opacity: 1; }

.page-icerik { padding: 50px 0; }
.page-icerik h2 { font-size: 24px; margin: 20px 0 12px; color: var(--renk-uc); }
.page-icerik h3 { font-size: 20px; margin: 18px 0 10px; color: var(--renk-ana); }
.page-icerik p  { margin-bottom: 14px; }
.page-icerik ul, .page-icerik ol { margin: 14px 0 14px 24px; }
.page-icerik li { margin-bottom: 6px; }

.icerik-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; }
@media (max-width: 880px) { .icerik-grid { grid-template-columns: 1fr; } }

.yan-blok { background: var(--renk-gri); padding: 22px; border-radius: var(--radius); }
.yan-blok h4 { font-size: 16px; text-transform: uppercase; color: var(--renk-ana); margin-bottom: 14px; border-bottom: 2px solid var(--renk-ana); padding-bottom: 8px; }
.yan-blok ul { list-style: none; }
.yan-blok ul li { padding: 8px 0; border-bottom: 1px solid var(--renk-cizgi); font-size: 14px; }
.yan-blok ul li:last-child { border: none; }

/* ----- FORMLAR ----- */
.form-grup { margin-bottom: 16px; }
.form-grup label { display: block; font-weight: 700; margin-bottom: 6px; font-size: 13px; text-transform: uppercase; color: var(--renk-uc); }
.form-grup input, .form-grup select, .form-grup textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--renk-cizgi);
  border-radius: var(--radius); font-size: 14px; font-family: inherit;
  transition: var(--gecis);
}
.form-grup input:focus, .form-grup select:focus, .form-grup textarea:focus {
  outline: none; border-color: var(--renk-ana);
  box-shadow: 0 0 0 3px rgba(200,16,46,.15);
}
.form-grup .hata { color: var(--renk-ana); font-size: 12px; margin-top: 4px; }

.alert {
  padding: 14px 18px; border-radius: var(--radius);
  margin-bottom: 18px; font-size: 14px;
  border-left: 4px solid;
}
.alert-success { background: #e7f7ec; border-color: #28a745; color: #1b5e2a; }
.alert-error,
.alert-danger  { background: #fde8eb; border-color: var(--renk-ana); color: var(--renk-ana-koyu); }
.alert-info    { background: #e7f1fb; border-color: #0d6efd; color: #073f8c; }
.alert-warning { background: #fff7e0; border-color: #ffb400; color: #6f4d00; }

/* ----- ÜYE PANELİ ----- */
.uye-panel { display: grid; grid-template-columns: 240px 1fr; gap: 24px; }
.uye-panel .menu { background: var(--renk-uc); border-radius: var(--radius); overflow: hidden; }
.uye-panel .menu a {
  display: block; color: #fff; padding: 14px 18px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: 14px; font-weight: 600;
}
.uye-panel .menu a:hover, .uye-panel .menu a.aktif { background: var(--renk-ana); }
.uye-panel .icerik { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--golge); }
@media (max-width: 768px) { .uye-panel { grid-template-columns: 1fr; } }

/* ----- FOOTER ----- */
.site-footer {
  background: var(--renk-uc);
  color: #ccc;
  padding: 50px 0 20px;
  margin-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 30px;
  margin-bottom: 30px;
}
.footer-grid h4 { color: #fff; margin-bottom: 16px; font-size: 15px; text-transform: uppercase; border-bottom: 3px solid var(--renk-ana); padding-bottom: 8px; display: inline-block; }
.footer-grid ul { list-style: none; }
.footer-grid ul li { padding: 5px 0; font-size: 14px; }
.footer-grid ul li a { color: #bbb; }
.footer-grid ul li a:hover { color: var(--renk-ana-acik); padding-left: 4px; }
.footer-grid .iletisim-info { font-size: 14px; line-height: 1.8; }
.footer-grid .iletisim-info b { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 20px; text-align: center;
  font-size: 13px; color: #888;
}
.footer-bottom a { color: var(--renk-ana-acik); }

/* ----- DUYARLI ----- */
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mac-banner { grid-template-columns: 1fr; gap: 8px; }
  .mac-banner .takim .logo { width: 60px; height: 60px; font-size: 20px; }
  .fikstur-item { grid-template-columns: 1fr 1fr 1fr; row-gap: 6px; }
  .fikstur-item .hafta, .fikstur-item .tarih { grid-column: 1 / -1; text-align: left; }
}
@media (max-width: 768px) {
  .topbar .iletisim { display: none; }
  .nav-toggle { display: block; }
  .nav-menu {
    display: none; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--renk-uc);
  }
  .nav-menu.acik { display: flex; }
  .nav-menu .submenu { position: static; opacity: 1; visibility: visible; transform: none; background: rgba(255,255,255,.05); }
  .nav-menu .submenu li a { color: #ccc; }
  .hero { height: 380px; }
  .hero-content h2 { font-size: 28px; }
  .hero-content p { font-size: 15px; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 40px 0; }
  .section-baslik h2 { font-size: 22px; }
  .page-banner h1 { font-size: 26px; }
}

/* Logo SVG */
.logo-svg { width: 56px; height: 56px; }
