/* ============== YÜKLEME EKRANI STİLLERİ SONU ============== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
}
body {
  background: #121212;
  color: #fff;
  line-height: 1.6;
}
a {
  text-decoration: none;
  color: inherit;
}

/* === Yeni Menü ve Header Stilleri === */
header {
  background: #1f1f1f;
  padding: 15px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.logo {
  max-width: 120px;
  height: auto;
}

.nav-links {
  display: flex;
  gap: 20px;
}

.nav-links a {
  font-weight: bold;
  transition: 0.3s;
  padding: 5px 10px;
  border-radius: 5px;
}

.nav-links a:hover {
  color: #f44336;
  background-color: #333;
}

.hamburger-menu {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.hamburger-menu span {
  width: 30px;
  height: 3px;
  background-color: #f44336;
  transition: all 0.3s;
}

.hamburger-menu.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger-menu.open span:nth-child(2) {
  opacity: 0;
}
.hamburger-menu.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

header.hidden {
  transform: translateY(-100%);
  opacity: 0;
}

/* === Ortalanmış Metinler === */
.text-centered {
  text-align: center;
  margin: 20px auto; /* Margin ekleyerek ortalamayı güçlendirdim */
}

/* === Footer Stilleri === */
footer {
  background: #1f1f1f;
  padding: 20px 40px;
}

footer p {
  margin: 0;
  font-size: 14px;
}

/* === Anasayfa Bölümü === */
#anasayfa {
  position: relative;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  background-color: #000; /* Video yüklenmezse veya mobil cihazlarda fallback */
}

#video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -2;
  transform: translate(-50%, -50%);
  filter: brightness(0.6); /* Videoyu karartarak metin okunurluğunu artırır */
}

.overlay-text {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 20px;
  max-width: 800px;
}

.overlay-text .welcome-title { /* Anasayfa içindeki welcome-title */
  font-size: 4.5em; /* Daha büyük */
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7); /* Metin gölgesi */
}

.overlay-text p {
  font-size: 1.5em;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
}


/* === Hakkımızda Bölümü === */
#hakkimizda, #hakkimizda-neden, #galeri, #iletisim, #uyelik {
    padding: 80px 40px; /* Bölümler arası daha fazla boşluk */
}

#hakkimizda h2 {
  color: #f44336;
  margin-bottom: 20px;
  text-align: center;
}
#hakkimizda p {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  font-size: 18px;
}

/* === Neden 258 Bölümü === */
#hakkimizda-neden {
    background: #1a1a1a;
}

#hakkimizda-neden h2 {
  color: #f44336;
  margin-bottom: 20px;
  text-align: center;
}
#hakkimizda-neden p {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  font-size: 18px;
}

/* === Galeri Bölümü === */
#galeri {
  background: #121212;
}
#galeri h2 {
  color: #f44336;
  text-align: center;
  margin-bottom: 40px;
}
.galeri-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px; /* Görseller arası boşluk artırıldı */
  max-width: 1200px;
  margin: 0 auto;
}
.galeri-grid img {
  width: 100%;
  height: 250px; /* Daha yüksek bir boyut */
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s;
}
.galeri-grid img:hover {
  transform: scale(1.05);
}

/* === İletişim Bölümü === */
#iletisim {
    background: #1a1a1a;
}
#iletisim h2 {
  color: #f44336;
  text-align: center;
  margin-bottom: 20px;
}
#iletisim p {
  text-align: center;
  margin-bottom: 20px;
}

/* === Üyelik Bölümü === */
#uyelik {
    background: #121212;
}
#uyelik h2 {
  color: #f44336;
  text-align: center;
  margin-bottom: 20px;
}
form {
  max-width: 700px; /* Form genişliği artırıldı */
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
input, textarea, select {
  padding: 15px;
  margin: 10px 0;
  border: 1px solid #444;
  border-radius: 8px;
  font-size: 16px;
  background-color: #1f1f1f;
  color: #fff;
  width: 100%;
  box-sizing: border-box;
}
#uyelik label {
  color: #ccc;
  font-weight: bold;
  margin-top: 10px;
}
input[type='submit'] {
  background: #f44336;
  color: #fff;
  cursor: pointer;
  transition: 0.3s;
  border: none;
}
input[type='submit']:hover {
  background: #d32f2f;
}
/* Kurallar Bölümü Stilleri */
.kurallar-bolumu {
  background: #000000;
  border: 1px solid #f44336;
  padding: 20px;
  margin: 20px 0;
  border-radius: 8px;
}
.kurallar-bolumu h4 {
  text-align: center;
  color: #f44336;
  margin-bottom: 20px;
  font-size: 20px;
}
.kurallar-bolumu ol {
  padding-left: 20px;
  color: #ccc;
}
.kurallar-bolumu ol li {
  margin-bottom: 10px;
}
.kurallar-bolumu .uyari {
  font-weight: bold;
  margin-top: 20px;
  text-align: center;
  color: #f44336;
}
.onay-kutusu {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  color: #ccc;
}

/* Yönetim Ekibi Bölümü Stilleri */
.yonetim-ekibi {
  background: #1a1a1a;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  border: 1px solid #333;
}
.yonetim-ekibi .yonetim-baslik {
  color: #f44336;
  text-align: center;
  margin-bottom: 15px;
  font-size: 1.5em;
  font-weight: bold;
  text-transform: uppercase;
  border-bottom: 2px solid #f44336;
  padding-bottom: 5px;
}
.yonetim-ekibi ul {
  list-style-type: none; /* Liste işaretlerini kaldır */
  padding: 0;
  text-align: center;
}
.yonetim-ekibi ul li {
  font-size: 1.1em;
  margin-bottom: 8px;
  color: #ccc;
}
.yonetim-ekibi .gorev {
  font-weight: bold;
  color: #f44336; /* Görev isimlerini vurgula */
}


/* Sponsorluk Bölümü Stilleri (sponsorluk.html sayfası için) */

#sponsorlar {
  text-align: center;
  padding-top: 100px; /* Header ile çakışmaması için */
  min-height: 100vh; /* Sayfanın en az viewport yüksekliğinde olmasını sağlar */
  background: #1a1a1a;
}

#sponsorlar h2 {
  color: #f44336;
  margin-bottom: 40px;
}

.sponsor-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.sponsor-item {
  position: relative;
  cursor: pointer;
}

.sponsor-logo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #333;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.sponsor-item:hover .sponsor-logo {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1);
  border-color: #f44336;
}

.sponsor-info {
  display: block;
  visibility: hidden;
  opacity: 0;
  position: absolute;
  bottom: -80px; /* Logodan biraz aşağıda başlar */
  left: 50%;
  transform: translateX(-50%);
  background-color: #f44336;
  color: #fff;
  padding: 10px;
  border-radius: 5px;
  white-space: nowrap;
  transition: visibility 0.3s, opacity 0.3s, bottom 0.3s; /* Animasyon eklendi */
  z-index: 10;
}

.sponsor-info.visible {
  visibility: visible;
  opacity: 1;
  bottom: -50px; /* Yukarı doğru hareket eder */
}


/* === Responsive Düzenlemeler === */
@media (max-width: 768px) {
  header {
    flex-direction: row; /* Tekrar satır düzenine geç */
    padding: 10px 20px;
    height: auto;
  }
  .nav-links {
    position: fixed;
    top: 75px; /* Header'ın yüksekliğine göre ayarlandı */
    right: 0;
    width: 100%;
    height: 100vh;
    background-color: #1f1f1f;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    padding-top: 20px;
  }
  .nav-links.open {
    transform: translateX(0);
  }
  .hamburger-menu {
    display: flex;
  }
  header nav a {
    margin: 15px 0;
    font-size: 1.2em;
  }
  
  /* Anasayfa metin boyutu küçültme */
  .overlay-text .welcome-title {
    font-size: 2.5em;
  }
  .overlay-text p {
    font-size: 1.1em;
  }

  section {
    padding: 40px 20px;
  }
  .welcome-title { /* Hakkımızda ve diğer başlıklar için */
    font-size: 2em;
  }
  .galeri-grid {
    grid-template-columns: 1fr;
  }

  .uyelik-bilgisi, footer p {
      font-size: 0.9em; /* Mobil için font boyutunu küçült */
  }
}

@media (max-width: 480px) {
  /* Anasayfa metin boyutu daha da küçültme */
  .overlay-text .welcome-title {
    font-size: 1.8em;
  }
  .overlay-text p {
    font-size: 0.9em;
  }

  #hakkimizda p, #hakkimizda-neden p {
      font-size: 16px;
  }

  .welcome-title { /* Hakkımızda ve diğer başlıklar için */
    font-size: 1.5em;
  }

  /* Form elemanları ve kurallar bölümü padding */
  form {
      padding: 0 10px;
  }
  .kurallar-bolumu {
      padding: 15px;
  }
  .kurallar-bolumu h4 {
      font-size: 18px;
  }
  .kurallar-bolumu ol li, .onay-kutusu label {
      font-size: 14px;
  }

  .sponsor-item {
      width: 100%; /* Mobil cihaz...
}