/* ==========================================================================
   Bursa Masa Tenisi Akademisi - Alman Disiplini / Mercedes Teması
   ========================================================================== */

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

:root {
  /* Mercedes Teması Renkleri */
  --bg-color: #030303;       /* Zifiri Siyah */
  --bg-darker: #000000;
  --bg-card: rgba(18, 18, 18, 0.85); /* Mat Antrasit */
  --border-color: rgba(255, 255, 255, 0.1); /* Metalik Çizgi */
  --border-glow: rgba(0, 229, 255, 0.3);
  
  --primary: #00e5ff;      /* Keskin Buz Mavisi / Cyan */
  --primary-dark: #00b3cc;
  --primary-glow: rgba(0, 229, 255, 0.4);
  --secondary: #d1d5db;    /* Metalik Gümüş */
  
  --text-main: #f3f4f6;
  --text-muted: #8892b0;
  --text-dark: #0a0a0a;
  
  --glass-blur: blur(20px);
  --transition: all 0.25s cubic-bezier(0.2, 0, 0, 1);
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.8);

  /* Sponsor scroll speed */
  --sponsor-speed: 25s;
  --sponsor-bg: rgba(255,255,255,0.01);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-color) !important;
  color: var(--text-main);
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, .font-display {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Grid & Layout */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-primary { color: var(--primary); }
.font-bold { font-weight: bold; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.p-0 { padding: 0 !important; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.w-full { width: 100%; }
.max-w-2xl { max-width: 42rem; }
.max-w-4xl { max-width: 56rem; }
.overflow-hidden { overflow: hidden; }

/* Komponentler */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-color);
  border-radius: 4px; /* Keskin köşeler - Mercedes stili */
  box-shadow: var(--shadow);
  padding: 24px;
  transition: var(--transition);
}

.glass-card:hover {
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 2px; /* Keskin köşeler */
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-primary {
  background: var(--primary);
  color: var(--text-dark);
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 0 15px var(--primary-glow);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

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

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

.divider {
  width: 40px;
  height: 2px;
  background: var(--primary);
  margin-top: 15px;
}

/* Header & Navigasyon */
#header {
  position: fixed;
  top: 0; left: 0; width: 100%;
  background: rgba(3, 3, 3, 0.9);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  height: 80px;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
}

.logo-img {
  height: 35px;
  width: auto;
  object-fit: contain;
}

.logo-icon-fallback i {
  color: var(--primary);
  font-size: 24px;
}

.logo-text-main {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.05em;
}
.logo-text-main span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

.nav-links a.nav-item {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: var(--transition);
  position: relative;
  padding: 10px 0;
}

.nav-links a.nav-item:hover, .nav-links a.nav-item.active {
  color: var(--primary);
}

.nav-links a.nav-item.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary-glow);
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-color);
  border-top: 2px solid var(--primary);
  min-width: 200px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  border-radius: 0 0 4px 4px;
  padding: 10px 0;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  color: var(--text-main);
  text-decoration: none;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: var(--transition);
}

.dropdown-menu li a:hover {
  background: rgba(255,255,255,0.05);
  color: var(--primary);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

/* SPA Pages Logic */
.app-page {
  display: none;
  animation: fadeIn 0.4s ease;
}

.app-page.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.page-container {
  padding-top: 40px;
  padding-bottom: 80px;
}

.page-title {
  font-size: 36px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ==========================================================================
   YÜKLENİYOR EKRANI (Gelişmiş Ping-Pong Animasyonu)
   ========================================================================== */
#splash-screen {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  background: #030303 !important;   /* KRITIK: var() kullanma — CSS yüklenmeden beyaz olur! */
  transition: opacity 0.8s ease, visibility 0.8s ease;
  overflow: hidden;
}
#splash-screen.hidden { opacity: 0; visibility: hidden; }

.splash-bg {
  position: absolute; inset: 0;
  background: radial-gradient(circle at center, rgba(0,229,255,0.1) 0%, #030303 70%) !important;
}

.splash-animation-container {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Raket */
.splash-racket {
  position: absolute;
  font-size: 80px;
  color: var(--primary);
  opacity: 0;
  transform: translateY(100px) rotate(-20deg);
  animation: racket-enter 1.2s ease forwards;
}

/* Top */
.splash-ball {
  position: absolute;
  width: 20px; height: 20px;
  background: radial-gradient(circle, var(--primary) 0%, rgba(6,182,212,0.4) 60%, transparent 100%);
  border-radius: 50%;
  box-shadow: 0 0 15px var(--primary), 0 0 30px rgba(6,182,212,0.5);
  opacity: 0;
  transform: translate(200px, -300px) scale(1);
  animation: ball-bounce 2.2s cubic-bezier(.3,.01,.7,.99) forwards;
  animation-delay: 0.3s;
}

/* Parlama — DÜZELTME: Beyaz değil primary renk, max opacity 0.65 */
.splash-flash {
  position: absolute;
  width: 100vmax; height: 100vmax;
  background: radial-gradient(circle, var(--primary) 0%, rgba(0,229,255,0.3) 40%, transparent 70%);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  animation: flash-explode 1.5s ease forwards;
  animation-delay: 1.8s;
  z-index: 10;
}

/* Logo Çıkışı */
.splash-logo-reveal {
  position: absolute;
  display: flex; flex-direction: column; align-items: center; gap: 20px;
  opacity: 0;
  transform: scale(0.5);
  animation: logo-reveal 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  animation-delay: 2.1s;
  z-index: 20;
  text-align: center;
  padding: 0 20px;
}
.splash-logo-area {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
}
#splash-logo-img {
  max-height: 160px;
  max-width: 320px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 30px var(--primary-glow)) drop-shadow(0 0 60px rgba(6,182,212,0.3));
}
.splash-brand-text {
  font-size: clamp(20px, 5vw, 32px);
  font-weight: 800; font-family: 'Outfit', sans-serif;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: #ffffff !important;
  text-shadow: 0 2px 20px rgba(0,229,255,0.4), 0 0 40px rgba(0,0,0,0.8);
  opacity: 0;
  animation: text-fade-in 1s ease forwards;
  animation-delay: 2.8s;
  line-height: 1.3;
  word-wrap: break-word;
  max-width: 90vw;
}
.splash-brand-text .accent { color: #00e5ff !important; } /* Sabit primary — var() değil */
.splash-sub-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6) !important;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-family: 'Outfit', sans-serif;
  margin-top: -8px;
  opacity: 0;
  animation: text-fade-in 1s ease forwards;
  animation-delay: 3.0s;
}



/* Keyframeler */
@keyframes racket-enter {
  0% { opacity: 0; transform: translate(-100px, 150px) rotate(-45deg) scale(0.5); }
  50% { opacity: 1; transform: translate(0, 0) rotate(20deg) scale(1.1); }
  100% { opacity: 1; transform: translate(0, 0) rotate(-15deg) scale(1); }
}

@keyframes ball-bounce {
  0%   { opacity: 0;   transform: translate(300px, -300px) scale(1); }
  15%  { opacity: 1;   transform: translate(200px, -200px) scale(1); }
  40%  { opacity: 1;   transform: translate(15px, -15px) scale(0.8); }
  50%  { opacity: 0.8; transform: translate(0, -30px) scale(2); }
  80%  { opacity: 0.4; transform: translate(0, 0) scale(60); }
  100% { opacity: 0;   transform: translate(0, 0) scale(120); }
}

@keyframes flash-explode {
  0%   { opacity: 0; transform: scale(0); }
  25%  { opacity: 0.65; transform: scale(0.9); }
  100% { opacity: 0; transform: scale(1.5); }
}

@keyframes logo-reveal {
  0% { opacity: 0; transform: scale(0.3); }
  60% { opacity: 1; transform: scale(1.1); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes text-fade-in {
  0% { opacity: 0; transform: translateY(15px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes load { to { width: 100%; } }
@keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.05); } 100% { transform: scale(1); } }
@keyframes modalIn {
  0%   { opacity: 0; transform: scale(0.7) translateY(-30px); }
  60%  { opacity: 1; transform: scale(1.03) translateY(4px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}


/* --- Sponsor Marquee --- */
.sponsor-section {
  padding: 10px 0;
  background: var(--sponsor-bg, rgba(255,255,255,0.01));
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  overflow: hidden;
  display: flex;
}
.sponsor-section h3 {
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 30px;
  font-family: 'Outfit', sans-serif;
}
.sponsor-marquee {
  display: flex;
  overflow: hidden;
  width: 100%;
}
.marquee-content {
  display: flex;
  width: max-content;
  animation: marquee var(--sponsor-speed, 25s) linear infinite;
}
.sponsor-marquee:hover .marquee-content {
  animation-play-state: paused;
}
.sponsor-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 40px;
  transition: transform 0.3s;
  cursor: default;
}
.sponsor-item:hover {
  opacity: 1;
  transform: scale(1.05);
}
.sponsor-item img {
  height: 60px;
  max-width: 150px;
  object-fit: contain;
  margin-bottom: 10px;
  transition: transform 0.3s, filter 0.3s;
}
.sponsor-item:hover img {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 8px rgba(255,255,255,0.2));
}
.sponsor-item span {
  font-size: 12px;
  color: var(--text-muted);
  font-family: 'Outfit', sans-serif;
  text-align: center;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   HERO SLİDER — Ana Sayfa Tam Ekran Slayt
   ========================================================================== */
.hero-slider {
  position: relative;
  width: 100%;
  height: calc(100vh - 80px);
  min-height: 750px;
  overflow: hidden;
  background: var(--bg-darker);
}

.hero-slider .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-slider .slide.active {
  opacity: 1;
}

.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 6s ease;
}

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

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.2) 100%);
}

.slide-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 24px;
  animation: slideContentIn 0.8s ease;
}

@keyframes slideContentIn {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.slide-tag {
  display: inline-block;
  color: var(--primary);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid rgba(0,229,255,0.3);
  padding: 5px 16px;
  border-radius: 20px;
  background: rgba(0,229,255,0.08);
}

.slide-title {
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1.05;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 30px rgba(0,0,0,0.5);
}

.slide-title .accent {
  color: var(--primary);
  -webkit-text-stroke: 0;
}

.slide-subtitle {
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.slide-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Slider nav arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 18px;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}
.slider-arrow:hover { background: var(--primary); color: #000; border-color: var(--primary); }
.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }

/* Slider dots */
.slider-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px;
}
.slider-dot {
  width: 8px; height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.3s;
}
.slider-dot.active {
  width: 24px;
  background: var(--primary);
}

/* Fallback hero (slider boşsa) */
.hero {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  position: relative;
  background: radial-gradient(circle at center, rgba(0, 229, 255, 0.05) 0%, transparent 60%);
}

.hero-grid {
  display: flex;
  justify-content: center;
  text-align: center;
}

.hero-content {
  max-width: 800px;
}

.hero-tag {
  color: var(--primary);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 64px;
  line-height: 1.1;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-title span {
  color: transparent;
  -webkit-text-stroke: 1px var(--primary);
}

.hero-desc {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* Sponsor Marquee (Sayfa Akışında Çakışmayı Önleyen Düzeltme) */
.sponsor-section {
  position: relative !important;
  z-index: 2 !important;
  width: 100% !important;
  margin: 30px 0 !important;
  background: rgba(255,255,255,0.02) !important;
  border-top: 1px solid var(--border-color) !important;
  border-bottom: 1px solid var(--border-color) !important;
  overflow: hidden !important;
  clear: both !important;
}

.sponsor-marquee {
  width: 100% !important;
  padding: 16px 0 !important;
  background: transparent !important;
  border: none !important;
  overflow: hidden !important;
  position: relative !important;
  bottom: auto !important;
  left: auto !important;
}

.sponsor-track {
  display: flex;
  gap: 60px;
  align-items: center;
  width: max-content;
  animation: scroll 30s linear infinite;
}

.sponsor-logo {
  font-family: 'Outfit';
  font-size: 20px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0.5;
  transition: var(--transition);
}

.sponsor-logo:hover {
  opacity: 1;
  color: #fff;
}

@keyframes scroll {
  to { transform: translateX(calc(-50% - 30px)); }
}

/* Sayfa İçerikleri (About, Programs, vs) */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 40px;
  align-items: center;
}

.about-image-card img {
  width: 100%;
  border-radius: 4px;
  border: 1px solid var(--border-color);
  filter: grayscale(80%) contrast(120%);
  transition: var(--transition);
}

.about-image-card img:hover {
  filter: grayscale(0%) contrast(100%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.stat-box {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-color);
  padding: 20px;
  text-align: center;
  border-radius: 4px;
}

.stat-num {
  font-size: 32px;
  font-weight: bold;
  font-family: 'Outfit';
  color: var(--primary);
}

.stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-top: 5px;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.program-icon {
  font-size: 32px;
  color: var(--primary);
  margin-bottom: 20px;
}

.program-card h3 {
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Tables (Rankings) */
.data-table th {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 12px;
  color: var(--text-muted);
}
.data-table td {
  font-size: 14px;
}

/* Video Grid */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

/* ==========================================================================
   YENİ ANA SAYFA BÖLÜMLERİ
   ========================================================================== */

/* İstatistik Şeridi */
.stats-strip {
  background: linear-gradient(135deg, rgba(0,229,255,0.06) 0%, rgba(0,0,0,0) 100%);
  border-top: 1px solid rgba(0,229,255,0.15);
  border-bottom: 1px solid rgba(0,229,255,0.15);
  padding: 36px 0;
}
.stats-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.strip-stat-num {
  font-size: clamp(32px, 4vw, 48px);
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}
.strip-stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}
.strip-divider {
  width: 1px;
  background: var(--border-color);
  align-self: stretch;
}

/* Section Header */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
}
.section-title {
  font-size: clamp(22px, 3vw, 32px);
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.section-title .accent { color: var(--primary); }
.section-divider {
  width: 48px;
  height: 3px;
  background: var(--primary);
  margin-top: 10px;
  box-shadow: 0 0 12px var(--primary-glow);
}
.section-link {
  font-size: 13px;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.section-link:hover { color: #fff; }
.home-section {
  padding: 64px 0;
}
.home-section:nth-child(even) {
  background: rgba(255,255,255,0.01);
}

/* ==========================================================================
   HIZLI EYLEM ÇUBUĞU — Hero Altı
   ========================================================================== */
.quick-actions-bar {
  background: rgba(255,255,255,0.03);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 0;
  position: relative;
  z-index: 5;
}
.quick-actions-inner {
  display: flex;
  align-items: stretch;
  min-height: 80px;
}
.qa-divider {
  width: 1px;
  background: var(--border-color);
  flex-shrink: 0;
  align-self: stretch;
  margin: 12px 0;
}
.qa-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 24px;
  text-decoration: none;
  color: var(--text-main);
  transition: background 0.2s ease, transform 0.2s ease;
  position: relative;
}
.qa-item:hover {
  background: rgba(var(--primary-rgb, 6,182,212), 0.06);
}
.qa-item:hover .qa-arrow { opacity: 1; transform: translateX(4px); }
.qa-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: rgba(var(--primary-rgb, 6,182,212), 0.12);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.qa-icon--gold  { background: rgba(245,158,11,0.12); color: #f59e0b; }
.qa-icon--silver{ background: rgba(148,163,184,0.12); color: #94a3b8; }
.qa-icon--green { background: rgba(16,185,129,0.12); color: #10b981; }
.qa-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.qa-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.qa-title {
  font-size: 14px;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  color: var(--text-main);
  line-height: 1;
}
.qa-arrow {
  margin-left: auto;
  color: var(--text-muted);
  opacity: 0;
  transition: all 0.2s ease;
  font-size: 12px;
}

/* ==========================================================================
   ANA İKİ KOLON LAYOUT (Haberler + Kenar Panel)
   ========================================================================== */
.home-main-grid {
  padding: 60px 0;
  background: rgba(255,255,255,0.01);
}
.home-main-cols {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: start;
}
.home-col-main { min-width: 0; }
.home-col-side { min-width: 0; }

/* Kategori Sekmeleri (TTBursa Stili) */
.news-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
  flex-wrap: wrap;
}
.news-tab {
  background: rgba(255,255,255,0.05);
  border: none;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 14px;
  cursor: pointer;
  transition: all 0.2s;
  border-radius: 4px;
}
.news-tab:hover { background: rgba(255,255,255,0.1); color: var(--text-main); }
.news-tab.active {
  background: var(--primary);
  color: #fff;
}
/* Özel Tab Renkleri */
.news-tab[data-cat="Turnuva"].active { background: #f59e0b; color:#111;}
.news-tab[data-cat="Duyuru"].active { background: #10b981; color:#fff;}
.news-tab[data-cat="Haber"].active { background: #ef4444; color:#fff;}

/* Kenar Panel Widget */
.side-widget {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
}
.side-widget-header {
  background: rgba(var(--primary-rgb, 6,182,212), 0.08);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.side-widget-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  text-decoration: none;
  border-top: 1px solid var(--border-color);
  transition: background 0.2s;
}
.side-widget-more:hover { background: rgba(var(--primary-rgb, 6,182,212), 0.05); }

/* Turnuva Side Item */
.side-tournament-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-color);
  transition: background 0.2s;
  cursor: pointer;
}
.side-tournament-item:hover { background: rgba(255,255,255,0.02); }
.side-tournament-item:last-child { border-bottom: none; }
.side-tournament-name {
  font-size: 13px;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  color: var(--text-main);
  line-height: 1.3;
}
.side-tournament-meta {
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}
.side-tournament-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 3px;
  background: rgba(var(--primary-rgb, 6,182,212), 0.12);
  color: var(--primary);
}

/* Mini Sıralama Tablosu */
.mini-rank-table {
  width: 100%;
  border-collapse: collapse;
}
.mini-rank-table tr {
  border-bottom: 1px solid var(--border-color);
  transition: background 0.2s;
}
.mini-rank-table tr:hover { background: rgba(255,255,255,0.02); }
.mini-rank-table tr:last-child { border-bottom: none; }
.mini-rank-table td {
  padding: 10px 12px;
  font-size: 13px;
  color: var(--text-main);
}
.mini-rank-table .rank-pos {
  font-weight: 700;
  width: 32px;
  text-align: center;
  font-family: 'Outfit', sans-serif;
  color: var(--text-muted);
}
.mini-rank-table .rank-name {
  font-weight: 600;
}
.mini-rank-table .rank-score {
  text-align: right;
  font-weight: 700;
  color: var(--primary);
  font-family: 'Outfit', sans-serif;
}

/* Responsive */
@media (max-width: 900px) {
  .home-main-cols { grid-template-columns: 1fr; }
  .home-col-side { order: -1; }
  .quick-actions-inner { flex-wrap: wrap; }
  .qa-item { min-width: 50%; }
  .qa-divider { display: none; }
}
@media (max-width: 480px) {
  .qa-item { min-width: 100%; padding: 14px 16px; }
}

/* Haberler */
.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.news-featured {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16/10;
  cursor: pointer;
  transition: var(--transition);
}
.news-featured:hover { transform: translateY(-4px); }
.news-featured img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.news-featured-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.1) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}
.news-cat-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 3px 10px;
  border-radius: 3px;
  background: var(--primary);
  color: #000;
  margin-bottom: 10px;
}
.news-featured-title {
  font-size: clamp(16px, 2vw, 22px);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 8px;
}
.news-featured-date {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.news-list-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
  background: rgba(255,255,255,0.01);
}
.news-list-item:hover {
  border-color: rgba(0,229,255,0.3);
  background: rgba(0,229,255,0.03);
  transform: translateX(4px);
}
.news-list-img {
  width: 80px;
  height: 60px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 20px;
}
.news-list-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}
.news-list-info {
  flex: 1;
  min-width: 0;
}
.news-list-title {
  font-size: 13px;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  color: var(--text-main);
  line-height: 1.4;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-list-meta {
  font-size: 11px;
  color: var(--text-muted);
}

/* Haber Modal */
.news-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10001;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.news-modal.open { display: flex; }
.news-modal-box {
  background: rgba(12,12,18,0.98);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  max-width: 680px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  animation: fadeIn 0.3s ease;
}
.news-modal-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
  display: block;
}
.news-modal-body {
  padding: 28px;
}
.news-modal-body h2 {
  font-size: 22px;
  font-family: 'Outfit', sans-serif;
  margin-bottom: 12px;
  color: #fff;
}
.news-modal-body .news-modal-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 20px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.news-modal-body .news-modal-content {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-muted);
}
.news-modal-close {
  position: absolute;
  top: 14px; right: 14px;
  background: rgba(0,0,0,0.5);
  border: none;
  color: #fff;
  width: 34px; height: 34px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  z-index: 5;
}
.news-modal-close:hover { background: var(--primary); color: #000; }

/* Galeri */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,229,255,0.0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}
.gallery-item:hover .gallery-item-overlay {
  background: rgba(0,229,255,0.15);
}
.gallery-item-overlay i {
  font-size: 28px;
  color: rgba(255,255,255,0);
  transition: color 0.3s;
}
.gallery-item:hover .gallery-item-overlay i { color: #fff; }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 20000;
  background: rgba(0,0,0,0.95);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lightbox.open { display: flex; }
.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 4px;
  animation: fadeIn 0.3s ease;
}
.lightbox-close {
  position: fixed;
  top: 20px; right: 20px;
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  z-index: 20001;
}
.lightbox-close:hover { background: var(--primary); color: #000; }
.lightbox-caption {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  text-align: center;
  max-width: 600px;
}
.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  width: 48px; height: 48px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  z-index: 20001;
}
.lightbox-nav:hover { background: var(--primary); color: #000; }
.lightbox-nav.prev { left: 16px; }
.lightbox-nav.next { right: 16px; }

/* Ana Sayfa Video */
.home-video-featured {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: #000;
  border: 1px solid var(--border-color);
}
.home-video-featured iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
}

/* Ana Sayfa Turnuvalar & Sıralama Preview */
.home-rankings-table {
  width: 100%;
  border-collapse: collapse;
}
.home-rankings-table th,
.home-rankings-table td {
  padding: 12px 16px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid var(--border-color);
}
.home-rankings-table th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 600;
}
.home-rankings-table tr:last-child td { border-bottom: none; }
.home-rankings-table tbody tr:hover td { background: rgba(255,255,255,0.02); }
.rank-gold   { color: gold; }
.rank-silver { color: silver; }
.rank-bronze { color: #cd7f32; }

/* İletişim Özeti (Ana Sayfa) */
.home-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}
.contact-info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15px;
  color: var(--text-muted);
}
.contact-info-list li i {
  font-size: 18px;
  color: var(--primary);
  width: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-info-list li strong {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 3px;
}
.contact-info-list li span {
  color: var(--text-main);
  font-size: 14px;
}
.contact-social-row {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.contact-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 4px;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.contact-social-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(0,229,255,0.05);
}
.contact-map-wrap {
  border-radius: 8px;
  overflow: hidden;
  height: 300px;
  border: 1px solid var(--border-color);
  background: rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-map-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
.contact-map-placeholder {
  color: var(--text-muted);
  text-align: center;
  font-size: 14px;
}
.contact-map-placeholder i { font-size: 40px; margin-bottom: 12px; display: block; }

/* Scroll to Top Butonu */
.scroll-top-btn {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: rgba(0,229,255,0.12);
  border: 1px solid rgba(0,229,255,0.3);
  color: var(--primary);
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  z-index: 999;
  transition: all 0.3s;
  backdrop-filter: blur(8px);
}
.scroll-top-btn.visible { display: flex; }
.scroll-top-btn:hover {
  background: var(--primary);
  color: #000;
  box-shadow: 0 0 20px var(--primary-glow);
}

/* Footer */
.footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--border-color);
  padding: 60px 0 20px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer h4 { margin-bottom: 20px; text-transform: uppercase; letter-spacing: 0.1em; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { color: var(--text-muted); text-decoration: none; transition: var(--transition); }
.footer ul a:hover { color: var(--primary); }
.social-icons a { color: #fff; font-size: 20px; margin-right: 15px; transition: var(--transition); }
.social-icons a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid var(--border-color); padding-top: 20px; text-align: center; color: var(--text-muted); font-size: 13px; }

/* Modal */
.modal {
  display: none; position: fixed; inset: 0; z-index: 10000;
  background: rgba(0,0,0,0.8); backdrop-filter: blur(5px);
  align-items: center; justify-content: center;
}
.modal-content {
  width: 90%; max-width: 400px;
  position: relative;
}
.close-modal {
  position: absolute; top: 15px; right: 20px;
  font-size: 20px; cursor: pointer; color: var(--text-muted);
  transition: var(--transition);
}
.close-modal:hover { color: #fff; }

/* Loader Spinner */
.loader-spinner {
  border: 3px solid rgba(255,255,255,0.1);
  border-top-color: var(--primary);
  border-radius: 50%;
  width: 40px; height: 40px;
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Mobile */
@media (max-width: 992px) {
  .hero-title { font-size: 48px; }
  .about-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .sponsor-marquee { position: relative; }
  .hero { min-height: auto; padding: 100px 0; }
  .stats-strip-inner { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .news-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .home-contact-grid { grid-template-columns: 1fr; }
  .hero-slider { height: 75vh; min-height: 550px; }
}

@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .nav-links {
    position: fixed; top: 80px; left: -100%; width: 100%; height: calc(100vh - 80px);
    flex-direction: column; background: var(--bg-darker);
    padding: 40px 20px; transition: 0.4s ease;
    align-items: flex-start;
  }
  .nav-links.active { left: 0; }
  .nav-links a.nav-item { font-size: 18px; padding: 15px 0; width: 100%; display: block; }
  .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; border: none; background: rgba(255,255,255,0.02); padding-left: 20px; display: none; }
  .dropdown.active .dropdown-menu { display: block; }
  .hero-title { font-size: 36px; }
  .hero-actions { flex-direction: column; }
  #header-auth-container { gap: 8px; }
  #btn-login-header { padding: 8px; font-size: 11px; }
  .stats-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .section-header { flex-direction: column; align-items: flex-start; gap: 10px; }
  .slider-arrow { width: 38px; height: 38px; font-size: 14px; }
  .slide-actions { flex-direction: column; align-items: center; }
  .home-section { padding: 44px 0; }
}

/* --- WhatsApp Floating Button --- */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 35px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 1000;
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
  animation: pulse-wp 2s infinite;
}
.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(37,211,102,0.4);
}
@keyframes pulse-wp {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
  70% { box-shadow: 0 0 0 15px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ==========================================================================
   AUTH MODAL — Giriş / Kayıt / Şifremi Unuttum
   ========================================================================== */
.auth-modal-box {
  background: rgba(10,10,15,0.98);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 36px 32px;
  width: 90%;
  max-width: 460px;
  position: relative;
  box-shadow: 0 30px 80px rgba(0,0,0,0.8);
  animation: fadeIn 0.3s ease;
}
.auth-tabs {
  display: flex;
  gap: 4px;
  background: rgba(255,255,255,0.03);
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 28px;
  border: 1px solid var(--border-color);
}
.auth-tab-btn {
  flex: 1;
  padding: 10px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.auth-tab-btn.active {
  background: var(--primary);
  color: #000;
}
.auth-tab-panel { display: none; }
.auth-tab-panel.active { display: block; }

.auth-modal-box h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  margin-bottom: 6px;
  color: #fff;
}
.auth-modal-box p.auth-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.auth-form-group {
  margin-bottom: 16px;
}
.auth-form-group label {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}
.auth-input {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 12px 14px;
  color: #fff;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.auth-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,229,255,0.1);
}
.auth-input::placeholder { color: var(--text-muted); }
.auth-submit-btn {
  width: 100%;
  padding: 13px;
  background: var(--primary);
  color: #000;
  border: none;
  border-radius: 8px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 8px;
}
.auth-submit-btn:hover { background: var(--primary-dark); box-shadow: 0 0 20px var(--primary-glow); }
.auth-submit-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.auth-error-msg {
  background: rgba(239,68,68,0.12);
  border: 1px solid rgba(239,68,68,0.3);
  border-radius: 8px;
  padding: 10px 14px;
  color: #f87171;
  font-size: 13px;
  margin-bottom: 16px;
  display: none;
}
.auth-success-msg {
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.3);
  border-radius: 8px;
  padding: 10px 14px;
  color: #6ee7b7;
  font-size: 13px;
  margin-bottom: 16px;
  display: none;
}
.auth-link-btn {
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
  font-size: 13px;
  text-decoration: underline;
  padding: 0;
}
.auth-close-btn {
  position: absolute;
  top: 16px; right: 16px;
  background: rgba(255,255,255,0.06);
  border: none;
  color: var(--text-muted);
  width: 32px; height: 32px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.auth-close-btn:hover { background: rgba(255,255,255,0.12); color: #fff; }

/* Header'daki bildirim rozeti */
.notif-badge {
  background: #ef4444;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  position: absolute;
  top: -6px; right: -8px;
}
.btn-relative { position: relative; display: inline-flex; }

/* ==========================================================================
   PROFIL SAYFASI
   ========================================================================== */
.profile-hero {
  background: linear-gradient(135deg, rgba(0,229,255,0.08), rgba(0,0,0,0));
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 30px;
}
.profile-avatar {
  width: 80px; height: 80px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #000;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  flex-shrink: 0;
  overflow: hidden;
}
.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile-info h2 { font-size: 24px; margin-bottom: 4px; }
.profile-info p  { color: var(--text-muted); font-size: 14px; }
.profile-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 8px;
}
.badge-active   { background: rgba(16,185,129,0.15); color: #6ee7b7; border: 1px solid rgba(16,185,129,0.3); }
.badge-pending  { background: rgba(245,158,11,0.15); color: #fcd34d; border: 1px solid rgba(245,158,11,0.3); }
.badge-inactive { background: rgba(107,114,128,0.15); color: #9ca3af; border: 1px solid rgba(107,114,128,0.3); }

.profile-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
  margin-bottom: 30px;
}
.profile-stat-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: border-color 0.2s;
}
.profile-stat-card:hover { border-color: rgba(0,229,255,0.3); }
.profile-stat-num {
  font-size: 28px;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  color: var(--primary);
}
.profile-stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-top: 4px;
}

.profile-section-title {
  font-size: 16px;
  font-family: 'Outfit', sans-serif;
  color: var(--primary);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 8px;
}
.profile-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.profile-tab-btn {
  border: 1px solid var(--border-color);
  background: rgba(255,255,255,0.03);
  color: var(--text-muted);
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition);
}
.profile-tab-btn:hover,
.profile-tab-btn.active {
  border-color: rgba(0,229,255,0.35);
  color: var(--primary);
  background: rgba(0,229,255,0.08);
}
.profile-tab-panel {
  display: none;
}
.profile-tab-panel.active {
  display: block;
}
.profile-section-subtitle {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 20px;
}
.profile-status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.profile-status-card {
  border: 1px solid var(--border-color);
  background: rgba(255,255,255,0.03);
  border-radius: 12px;
  padding: 16px;
}
.profile-status-card-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.profile-status-card-value {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
}
.profile-detail-form {
  display: grid;
  gap: 22px;
}
.profile-detail-block {
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
  border-radius: 16px;
  padding: 22px;
}
.profile-subsection-title {
  font-size: 17px;
  margin-bottom: 18px;
  color: #fff;
}
.profile-detail-top-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 20px;
}
.profile-upload-card {
  border: 1px dashed rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 16px;
  background: rgba(255,255,255,0.02);
}
.profile-upload-preview {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  margin-bottom: 14px;
}
.profile-upload-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile-upload-placeholder {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  color: var(--text-muted);
  font-size: 13px;
}
.profile-upload-placeholder i {
  font-size: 24px;
  color: var(--primary);
}
.profile-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.profile-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.profile-form-group-full {
  grid-column: 1 / -1;
}
.profile-field-label {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.profile-textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  color: var(--text-main);
  font-size: 14px;
  resize: vertical;
  min-height: 110px;
}
.profile-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary-glow);
}
.profile-detail-form .auth-input:disabled,
.profile-textarea:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.profile-checkbox-row {
  margin: 6px 0 18px;
}
.profile-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-main);
  font-size: 14px;
}
.profile-checkbox input {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
}
.profile-doc-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  text-decoration: none;
  font-size: 13px;
  margin-top: 10px;
}
.profile-doc-link:hover {
  text-decoration: underline;
}
.profile-file-hint {
  color: var(--text-muted);
  font-size: 12px;
  margin-top: 8px;
}
.profile-form-message {
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 14px;
}
.profile-form-message.success {
  background: rgba(16,185,129,0.15);
  border: 1px solid rgba(16,185,129,0.25);
  color: #86efac;
}
.profile-form-message.error {
  background: rgba(239,68,68,0.15);
  border: 1px solid rgba(239,68,68,0.25);
  color: #fda4af;
}
.profile-form-actions {
  display: flex;
  justify-content: flex-end;
}
.reservation-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 14px;
}
.reservation-item:last-child { border-bottom: none; }
.res-status {
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}
.res-status.pending   { background: rgba(245,158,11,0.15); color: #fcd34d; }
.res-status.confirmed { background: rgba(16,185,129,0.15); color: #6ee7b7; }
.res-status.cancelled { background: rgba(107,114,128,0.15); color: #9ca3af; }
.res-status.completed { background: rgba(99,102,241,0.15); color: #a5b4fc; }

/* ==========================================================================
   REZERVASYON SİSTEMİ
   ========================================================================== */
.booking-steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 36px;
  justify-content: center;
}
.booking-step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.booking-step.active { color: var(--primary); }
.booking-step.done   { color: #6ee7b7; }
.step-num {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
  border: 2px solid currentColor;
  flex-shrink: 0;
}
.booking-step.active .step-num { background: var(--primary); color: #000; border-color: var(--primary); }
.booking-step.done .step-num   { background: #6ee7b7; color: #000; border-color: #6ee7b7; }
.step-divider {
  flex: 1;
  height: 1px;
  background: var(--border-color);
  max-width: 60px;
}

.date-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-width: none;
  margin-bottom: 28px;
}
.date-scroll::-webkit-scrollbar { display: none; }
.date-chip {
  flex-shrink: 0;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background: rgba(255,255,255,0.02);
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
  min-width: 60px;
}
.date-chip:hover  { border-color: var(--primary); }
.date-chip.active { border-color: var(--primary); background: rgba(0,229,255,0.08); }
.date-chip .dc-day { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.date-chip .dc-num { font-size: 20px; font-family: 'Outfit', sans-serif; font-weight: 700; color: #fff; }
.date-chip.active .dc-num { color: var(--primary); }

.time-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 10px;
  margin-bottom: 28px;
}
.time-chip {
  padding: 10px 6px;
  text-align: center;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background: rgba(255,255,255,0.02);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s;
  color: #ffffff;
}
.time-chip:hover:not(.disabled) { border-color: var(--primary); }
.time-chip.active { border-color: var(--primary); background: rgba(0,229,255,0.15); color: var(--primary); }
.time-chip.start { border-color: var(--primary); background: var(--primary); color: #000; box-shadow: 0 0 10px rgba(0,229,255,0.4); }
.time-chip.end { border-color: var(--primary); background: var(--primary); color: #000; box-shadow: 0 0 10px rgba(0,229,255,0.4); }
.time-chip.in-range { border-color: rgba(0,229,255,0.5); background: rgba(0,229,255,0.1); color: var(--primary); }
.time-chip.disabled { border-color: rgba(239,68,68,0.3); opacity: 0.4; cursor: not-allowed; color: var(--text-muted); }

.tables-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}
.table-card {
  border: 2px solid var(--border-color);
  border-radius: 12px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}
.table-card.available { border-color: rgba(16,185,129,0.4); }
.table-card.available:hover { border-color: #6ee7b7; background: rgba(16,185,129,0.05); transform: translateY(-2px); }
.table-card.busy { border-color: rgba(239,68,68,0.3); opacity: 0.6; cursor: not-allowed; }
.table-card.selected { border-color: var(--primary); background: rgba(0,229,255,0.08); }
.table-card-name { font-size: 16px; font-family: 'Outfit', sans-serif; font-weight: 700; margin-bottom: 4px; }
.table-card-rate { font-size: 13px; color: var(--text-muted); }
.table-availability {
  position: absolute;
  top: 12px; right: 12px;
  width: 10px; height: 10px;
  border-radius: 50%;
}
.table-availability.available { background: #6ee7b7; box-shadow: 0 0 8px #6ee7b7; }
.table-availability.busy      { background: #ef4444; }

.booking-summary-card {
  background: rgba(0,229,255,0.04);
  border: 1px solid rgba(0,229,255,0.2);
  border-radius: 12px;
  padding: 24px;
  margin-top: 20px;
}
.booking-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.booking-summary-row:last-child { border-bottom: none; font-weight: 700; font-size: 16px; }
.booking-summary-row span:last-child { color: var(--primary); }

/* Guest form */
.guest-info-form {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px;
  margin-top: 20px;
}

/* Contact grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
  .profile-hero { flex-direction: column; text-align: center; }
  .profile-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .profile-status-grid,
  .profile-form-grid,
  .profile-detail-top-grid { grid-template-columns: 1fr; }
  .profile-form-actions .btn { width: 100%; }
  .booking-steps { font-size: 11px; }
  .tables-grid { grid-template-columns: 1fr 1fr; }
  /* Profil sayfası 2 kolonlu grid'ler mobilde tek kolon */
  #page-profile .profile-grid-2col { grid-template-columns: 1fr !important; }
}

/* ==========================================================================
   FAZ 2 — HABER KARTLARI
   ========================================================================== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.news-card {
  padding: 0;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border-radius: 12px;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}
.news-card-img {
  width: 100%;
  height: 160px;
  background-size: cover;
  background-position: center;
  background-color: rgba(255,255,255,0.04);
}
.news-card-body {
  padding: 16px;
}
.news-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}
.news-card-title {
  font-size: 14px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 6px;
  color: var(--text-main);
}
.news-card-date {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}

/* ==========================================================================
   FAZ 2 — HABER DETAY MODAL
   ========================================================================== */
#news-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9990;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
#news-modal.open {
  display: flex;
}
.news-modal-content {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  max-width: 620px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
}
.news-modal-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 16px 16px 0 0;
  display: block;
}
.news-modal-body {
  padding: 24px;
}
.news-modal-body h2 {
  font-size: 20px;
  font-family: 'Outfit', sans-serif;
  margin: 0 0 8px;
}
.news-modal-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.news-modal-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-main);
}
#news-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.08);
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

/* ==========================================================================
   FAZ 2 — HOME VİDEO BÖLÜMÜ
   ========================================================================== */
.home-video-featured {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-color);
  width: 100%;
}
.home-video-featured #home-video-embed,
.home-video-featured iframe {
  width: 100%;
  height: 100%;
  min-height: 350px;
  display: block;
  border: none;
}

.side-tournament-item {
  text-decoration: none !important;
  transition: background 0.2s, color 0.2s;
}
.side-tournament-item:hover {
  background: rgba(255,255,255,0.04);
}
.side-tournament-item:hover .side-tournament-name {
  color: var(--primary) !important;
  text-decoration: none !important;
}

@media (max-width: 768px) {
  .news-grid { grid-template-columns: 1fr; }
  .home-video-featured { aspect-ratio: 16/9; }
}



/* ==========================================================================
   FAZ 2 — GELİŞMİŞ HABER LAYOUT (Featured + Liste)
   ========================================================================== */

/* Wrapper: sol büyük featured, sağ küçük liste */
.news-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 24px;
  align-items: start;
}

/* Büyük öne çıkan haber */
.news-featured {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  min-height: 400px;
}
.news-featured:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.news-featured-img {
  width: 100%;
  height: 260px;
  background-size: cover;
  background-position: center;
  background-color: rgba(255,255,255,0.04);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 20px;
}
.news-featured-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,10,20,0.9) 0%, rgba(0,0,0,0.1) 60%);
}

.news-featured-body {
  padding: 20px 24px 24px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-color);
  border-top: none;
  border-radius: 0 0 12px 12px;
  flex: 1;
}
.news-featured-title {
  font-size: clamp(16px, 2vw, 20px);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.35;
  margin: 10px 0 8px;
}
.news-featured-excerpt {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-featured-date {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Küçük liste (sağ kolon) */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.news-list-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  background: rgba(255,255,255,0.02);
}
.news-list-item:hover {
  border-color: rgba(var(--primary-rgb, 6,182,212), 0.4);
  background: rgba(var(--primary-rgb, 6,182,212), 0.04);
  transform: translateX(4px);
}
.news-list-thumb {
  width: 72px;
  height: 56px;
  border-radius: 6px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  background-color: rgba(255,255,255,0.05);
}
.news-list-thumb--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 18px;
}
.news-list-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.news-list-title {
  font-size: 13px;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  color: var(--text-main);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-list-date {
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Badge varyantları */
.news-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 3px 8px;
  border-radius: 4px;
}
.news-badge--sm { font-size: 9px; padding: 2px 6px; }
.news-badge--lg { font-size: 11px; padding: 4px 12px; }

/* Responsive: mobile'da üst üste */
@media (max-width: 900px) {
  .news-featured-img { height: 220px; }
}
@media (max-width: 600px) {
  .news-featured-img { height: 180px; }
}

/* ==========================================================================
   MODERN KUTULU HABER KARTLARI GRİD TASARIMI (Screenshot 4 Uyumlu)
   ========================================================================== */
.news-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  width: 100%;
}
.news-card-modern {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}
.news-card-modern:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 12px 30px rgba(6, 182, 212, 0.2);
}
.news-card-thumb {
  height: 185px;
  background-size: cover;
  background-position: center;
  position: relative;
  width: 100%;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.news-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  color: #000;
  font-weight: 700;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  font-family: 'Outfit', sans-serif;
}
.news-card-content {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.news-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 10px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card-excerpt {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0 0 16px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 12px;
  margin-top: auto;
}
.news-card-readmore {
  color: var(--primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ==========================================================================
   FAZ 2 — GALERİ GRİD GÜÇLENDİRME
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 8px;
  overflow: hidden;
  cursor: zoom-in;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay i { font-size: 28px; color: rgba(255,255,255,0.8); transition: color 0.3s; }
.gallery-item:hover .gallery-item-overlay i { color: #fff; }

/* İlk öğe büyük (3x1 → 2 kolon kaplasın) */
.gallery-item:first-child {
  grid-column: span 2;
  grid-row: span 1;
}

@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:first-child { grid-column: span 2; }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item:first-child { grid-column: span 1; }
}

/* ==========================================================================
   SELECT DROPDOWN & OPTION KOYU TEMA DÜZELTMESİ (Görünmeyen Yazılar Düzeltildi)
   ========================================================================== */
select {
  color-scheme: dark !important;
}
select option {
  background-color: #0f172a !important;
  color: #ffffff !important;
  padding: 10px 14px;
}

/* ==========================================================================
   HARİTA ÇERÇEVESİ TAM GENİŞLİK (Boşluklar Kaldırıldı)
   ========================================================================== */
.contact-map-wrap, #home-map-content, #content-map {
  width: 100% !important;
  height: 100% !important;
  min-height: 380px;
  border-radius: 14px;
  overflow: hidden;
  display: block !important;
}
.contact-map-wrap iframe, #home-map-content iframe, #content-map iframe {
  width: 100% !important;
  height: 100% !important;
  min-height: 380px !important;
  border: 0 !important;
  display: block !important;
  border-radius: 14px;
}

/* ==========================================================================
   SLAYT EKLENDİĞİNDE SLİDER YÜKSEKLİĞİ VE SIĞDIRMA DÜZELTMESİ (Görsel Kırpma Yok)
   ========================================================================== */
/* Slider yükseklik seçenekleri (Admin panelinden gelir) */
.hero-slider.slider-height-narrow {
  height: 60vh !important;
  min-height: 400px !important;
}
.hero-slider.slider-height-normal {
  height: 80vh !important;
  min-height: 500px !important;
}
.hero-slider.slider-height-full {
  height: calc(100vh - 80px) !important;
  min-height: 750px !important;
}

.hero-slider.slider-fit-contain .slide-bg {
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-color: #0b0f19 !important;
  transform: none !important;
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #25D366 0%, #1da851 100%);
  color: #fff;
  border-radius: 50px;
  padding: 12px 20px 12px 14px;
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.45), 0 2px 8px rgba(0,0,0,0.5);
  text-decoration: none;
  font-family: 'Outfit', 'Inter', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.3px;
  transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
  overflow: visible;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.6), 0 4px 16px rgba(0,0,0,0.5);
  background: linear-gradient(135deg, #2de070 0%, #25D366 100%);
}

.whatsapp-float:active {
  transform: translateY(0) scale(0.98);
}

.whatsapp-float svg {
  flex-shrink: 0;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3));
}

.whatsapp-float-label {
  white-space: nowrap;
}

/* Pulse halka animasyonu */
.whatsapp-float-pulse {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #25D366;
  animation: wpPulseRing 2s ease-out infinite;
  z-index: -1;
}

@keyframes wpPulseRing {
  0%   { transform: scale(1); opacity: 0.8; }
  70%  { transform: scale(2.4); opacity: 0; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* Mobil: Sadece ikon göster */
@media (max-width: 600px) {
  .whatsapp-float {
    padding: 14px;
    border-radius: 50%;
    bottom: 20px;
    right: 16px;
  }
  .whatsapp-float-label {
    display: none;
  }
}
