* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #0b0c10;
  color: #ffffff;
  overflow-x: clip;
}

/* Sticky Header */
.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  width: 100%;
  background-color: rgba(11, 12, 16, 0.95);
  border-bottom: 1px solid #222;
  z-index: 1000;
  backdrop-filter: blur(5px);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.8rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  font-size: 2rem;
  color: #d90429;
}

.brand-name {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 2px;
  display: block;
  line-height: 1;
}

.brand-sub {
  font-size: 0.65rem;
  color: #aaa;
  letter-spacing: 1px;
}

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

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 15px;
}

.main-nav a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: color 0.3s;
}

.main-nav a:hover, .main-nav a.active {
  color: #fff;
  border-bottom: 2px solid #d90429;
}

.btn-join {
  background-color: #d90429;
  color: #fff !important;
  padding: 8px 16px;
  border-radius: 4px;
  border-bottom: none !important;
  display: flex;
  align-items: center;
  gap: 6px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 4rem 2rem;
  border-bottom: 1px solid #222;
  overflow: hidden; /* Videonun dışarı taşmasını engeller */
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none; /* Tıklamaların içeriklere geçmesini sağlar */
}

.hero-video-bg iframe {
  width: 100vw;
  height: 56.25vw; /* 16:9 Oranı */
  min-height: 100vh;
  min-width: 177.77vh; /* 16:9 Oranı */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(17, 17, 17, 0.8), rgba(26, 0, 0, 0.8));
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero-title .highlight {
  color: #d90429;
}

.hero-motto {
  font-size: 1.1rem;
  letter-spacing: 2px;
  color: #aaa;
  margin-bottom: 1rem;
}

.hero-desc {
  color: #ccc;
  max-width: 500px;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

.btn-primary {
  background-color: #d90429;
  color: #fff;
  padding: 12px 24px;
  text-decoration: none;
  font-weight: 700;
  border-radius: 4px;
}

.btn-secondary {
  border: 1px solid #555;
  color: #fff;
  padding: 12px 24px;
  text-decoration: none;
  font-weight: 700;
  border-radius: 4px;
}

.banner-badge {
  background-color: rgba(217, 4, 41, 0.2);
  border: 1px solid #d90429;
  color: #fff;
  padding: 20px;
  text-align: center;
  font-weight: bold;
  border-radius: 8px;
}

/* Values Section */
.values-section {
  background-color: #000;
  padding: 2rem;
  border-bottom: 1px solid #222;
}

.values-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.value-card {
  display: flex;
  align-items: center;
  gap: 15px;
  background-color: #111;
  padding: 1.5rem;
  border-radius: 6px;
}

.value-icon {
  font-size: 2rem;
  color: #d90429;
}

.value-card h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.value-card p {
  font-size: 0.8rem;
  color: #888;
}

/* Main Sections Grid */
.main-sections {
  padding: 3rem 2rem;
}

.grid-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.grid-box {
  background-color: #111;
  border: 1px solid #222;
  border-radius: 8px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.box-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.box-header h2 {
  font-size: 1.1rem;
  letter-spacing: 1px;
}

.view-all {
  color: #d90429;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: bold;
}

/* Cards & Items */
.cards-wrapper {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.card-img, .news-img, .gal-img {
  background-color: #222;
  border-radius: 4px;
}

.card-img {
  height: 100px;
  position: relative;
  padding: 10px;
}

.badge {
  background-color: #d90429;
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 3px;
  font-weight: bold;
}

.year {
  font-size: 0.8rem;
  color: #d90429;
}

.events-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 1rem;
}

.event-item {
  display: flex;
  gap: 15px;
  background-color: #181818;
  padding: 10px;
  border-radius: 4px;
}

.event-date {
  background-color: #000;
  color: #fff;
  padding: 8px;
  font-weight: bold;
  text-align: center;
  font-size: 0.8rem;
  border-radius: 4px;
  min-width: 60px;
}

.event-details h4 {
  font-size: 0.85rem;
  margin-bottom: 4px;
}

.event-details p {
  font-size: 0.75rem;
  color: #888;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.news-item {
  display: flex;
  gap: 15px;
}

.news-img {
  width: 80px;
  height: 60px;
  flex-shrink: 0;
}

.news-item h4 {
  font-size: 0.85rem;
}

.news-item p {
  font-size: 0.75rem;
  color: #aaa;
}

.news-item .date {
  font-size: 0.7rem;
  color: #666;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 1rem;
}

.gal-img {
  height: 80px;
}

.btn-block {
  display: block;
  text-align: center;
  background-color: #222;
  color: #fff;
  padding: 10px;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: bold;
  border-radius: 4px;
  margin-top: auto;
}

.btn-red {
  background-color: #d90429;
}

/* Footer */
.site-footer {
  background-color: #000;
  border-top: 1px solid #222;
  padding: 2rem;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-contact span {
  margin-right: 20px;
  font-size: 0.85rem;
  color: #aaa;
}

.footer-social a {
  color: #fff;
  font-size: 1.2rem;
  margin-left: 15px;
}

/* Mobil Responsive */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #0b0c10;
    flex-direction: column;
    padding: 1.5rem;
    display: none;
    border-bottom: 1px solid #222;
  }

  .main-nav.active {
    display: flex;
  }

  .main-nav ul {
    flex-direction: column;
    width: 100%;
    text-align: center;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-contact span {
    display: block;
    margin: 5px 0;
  }

  /* Preloader Ana Konteyner */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #0d0d0d; /* Şık koyu arka plan */
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

/* İçerik Hizalama */
.preloader-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Maskot Kapsayıcısı */
.mascot-wrapper {
  position: relative;
  width: 180px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

/* Maskot Görsel Animasyonu (Süzülme ve Parlama) */
.preloader-mascot {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 15px rgba(255, 69, 0, 0.6));
  animation: phoenixFly 2s ease-in-out infinite alternate, phoenixGlow 1.5s ease-in-out infinite alternate;
}

/* Dönen Dış Halka (Alev Hissiyatı) */
.loader-ring {
  position: absolute;
  width: 220px;
  height: 220px;
  border: 3px solid transparent;
  border-top: 3px solid #ff4500; /* Turuncu Alev */
  border-right: 3px solid #ff8c00; /* Sarı/Turuncu */
  border-radius: 50%;
  animation: spin 1.2s linear infinite;
  box-shadow: 0 0 15px rgba(255, 69, 0, 0.3);
  z-index: 1;
}

/* Metin Stili */
.loading-text {
  margin-top: 25px;
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 3px;
  text-shadow: 0 0 8px rgba(255, 69, 0, 0.8);
}

/* Kapanış Sınıfı (JS Tetikler) */
#preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

/* --- Keyframe Animasyonları --- */

/* Yukarı/Aşağı Süzülme ve Hafif Ölçeklenme */
@keyframes phoenixFly {
  0% {
    transform: translateY(0) scale(1);
  }
  100% {
    transform: translateY(-12px) scale(1.05);
  }
}

/* Alev Parlama / Glow Efekti */
@keyframes phoenixGlow {
  0% {
    filter: drop-shadow(0 0 10px rgba(255, 69, 0, 0.5));
  }
  100% {
    filter: drop-shadow(0 0 25px rgba(255, 140, 0, 0.9));
  }
}

/* Halka Dönüşü */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
}



