/* ==========================================================================
   BAŞKENT TESLA SPOR KULÜBÜ - TAM STİL DOSYASI (style.css)
   ========================================================================== */

/* 1. Değişkenler & Temel Ayarlar */
:root {
  --bg-dark: #0c0c0f;
  --bg-card: rgba(20, 20, 28, 0.7);
  --bg-card-hover: rgba(28, 28, 40, 0.9);
  --primary: #ff1a1a;
  --primary-glow: rgba(255, 26, 26, 0.4);
  --text-main: #ffffff;
  --text-sub: #a0a0b2;
  --border-color: rgba(255, 255, 255, 0.08);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --max-width: 1200px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* KONSEPT ARKA PLAN: Siber Izgara + Dinamik Kırmızı Glow */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: -2;
  pointer-events: none;
}

body::after {
  content: '';
  position: fixed;
  top: 25%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(255, 26, 26, 0.18) 0%, rgba(12, 12, 15, 0) 70%);
  z-index: -1;
  pointer-events: none;
  animation: pulseGlow 8s infinite alternate ease-in-out;
}

@keyframes pulseGlow {
  0% { opacity: 0.4; transform: translate(-50%, -50%) scale(0.85); }
  100% { opacity: 0.85; transform: translate(-50%, -50%) scale(1.15); }
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* 2. Navbar & Header */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.3s ease;
  background: rgba(12, 12, 15, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
}

.navbar.scrolled {
  padding: 12px 0;
  background: rgba(12, 12, 15, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-wrapper .custom-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-main {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
  letter-spacing: 1px;
  line-height: 1;
}

.brand-sub {
  font-size: 0.65rem;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 2px;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-links a {
  color: var(--text-sub);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-main);
}

.nav-actions {
  display: flex;
  align-items: center;
}

/* Butonlar */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 0.9rem;
}

.btn-glow {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 0 20px var(--primary-glow);
}

.btn-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(255, 26, 26, 0.6);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: #e60000;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid var(--border-color);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.mobile-toggle {
  display: none !important;
}

/* 3. Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 20px 80px;
  position: relative;
  text-align: center;
}

.hero-content {
  max-width: 900px;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 26, 26, 0.1);
  border: 1px solid rgba(255, 26, 26, 0.2);
  border-radius: 30px;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.8rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.gradient-text {
  background: linear-gradient(135deg, #fff 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-stroke {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.6);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-sub);
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 60px;
}

.hero-stats {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  padding: 20px 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  backdrop-filter: blur(10px);
}

.stat-item {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
}

.plus {
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 800;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-sub);
  margin-left: 8px;
}

.stat-divider {
  width: 1px;
  height: 30px;
  background: var(--border-color);
}

/* 4. Ortak Bölüm Başlıkları */
section {
  padding: 100px 0;
}

.section-tag {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-desc {
  color: var(--text-sub);
  font-size: 1rem;
  max-width: 600px;
}

.section-header.center {
  text-align: center;
  margin-bottom: 60px;
}

.section-header.center .section-desc {
  margin: 0 auto;
}

/* 5. Hakkımızda (About) */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 30px;
  border-radius: 16px;
  backdrop-filter: blur(10px);
}

.about-card.main-card {
  border-left: 4px solid var(--primary);
}

.card-icon {
  color: var(--primary);
  margin-bottom: 16px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
}

.feature-item {
  display: flex;
  gap: 16px;
}

.feature-icon {
  color: var(--primary);
  flex-shrink: 0;
}

/* 6. Branşlar (Branches) */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.branch-card {
  position: relative;
  height: 420px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: flex-end;
}

.card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
  z-index: 1;
}

.branch-card:hover .card-bg {
  transform: scale(1.08);
}

.card-content {
  position: relative;
  z-index: 2;
  padding: 24px;
  background: linear-gradient(to top, rgba(12, 12, 15, 0.95) 0%, rgba(12, 12, 15, 0.4) 70%, transparent 100%);
  width: 100%;
}

.branch-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 4px;
  margin-bottom: 12px;
}

.branch-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.branch-desc {
  font-size: 0.85rem;
  color: var(--text-sub);
  margin-bottom: 16px;
}

.branch-details {
  list-style: none;
  font-size: 0.8rem;
  color: #ccc;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.branch-details li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.branch-btn {
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* 7. Haberler (News) */
.news-single-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.news-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
}

.news-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-content {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-badge {
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.news-text {
  font-size: 0.9rem;
  color: var(--text-sub);
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.highlight-quote {
  border-left: 3px solid var(--primary);
  padding-left: 12px;
  color: #fff;
  font-style: italic;
  margin-top: 8px;
}

.news-signature {
  font-weight: 700;
  color: #fff;
  margin-top: 12px;
}

/* 8. Kadro (Staff) */
.staff-category-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  margin: 40px 0 24px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.staff-grid .staff-card:only-child {
  max-width: 380px;
  width: 100%;
}

.staff-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.staff-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 26, 26, 0.3);
}

.staff-poster {
  width: 100%;
  height: 320px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.2);
}

.staff-poster img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: top center;
}

.staff-body {
  padding: 24px;
}

.staff-body h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
}

.staff-body .role {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 12px;
}

.staff-body p {
  font-size: 0.85rem;
  color: var(--text-sub);
  line-height: 1.5;
}

/* 9. İletişim (Contact) & Düzeltilmiş Simgeler */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 40px;
}

.info-item {
  display: flex;
  gap: 16px;
  align-items: center;
}

.info-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: rgba(255, 26, 26, 0.1);
  border: 1px solid rgba(255, 26, 26, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.info-icon svg, 
.info-icon i {
  width: 24px;
  height: 24px;
  display: block;
}

.info-item strong {
  display: block;
  white-space: nowrap;
}

.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 40px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

.contact-form-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-sub);
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--primary);
}

/* 10. Footer & Geliştirici İmzası */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border-color);
  background: rgba(8, 8, 10, 0.95);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand p {
  font-size: 0.8rem;
  color: var(--text-sub);
  margin-top: 12px;
}

.developer-credit {
  font-size: 0.75rem !important;
  color: var(--text-sub) !important;
  margin-top: 6px !important;
}

.developer-credit a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.developer-credit a:hover {
  text-decoration: underline;
  color: #fff;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-links a {
  color: var(--text-sub);
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: var(--primary);
}

/* 11. Mobil Uyum (Responsive) - Tam Korumalı */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.8rem;
  }
  .grid-2,
  .news-card,
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .stat-divider {
    width: 100%;
    height: 1px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .info-item {
    align-items: center;
  }

  .info-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
  }

  .info-icon svg,
  .info-icon i {
    width: 20px;
    height: 20px;
  }

  .info-item strong {
    font-size: 0.88rem;
    white-space: normal;
    word-break: break-word;
  }

  .footer-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}