/* Genel Ayarlar */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background-color: #111;
  color: #fff;
  line-height: 1.6;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  background-color: #000;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  width: 70px;
  height: 70px;
  border-radius: 50%; /* Logoyu daire yapar */
  object-fit: cover; /* Logonun tamamen görünmesini sağlar */
  border: 2px solid #000; /* İsteğe bağlı: Dairesel bir çerçeve ekler */
}
.logo:hover{
  transform: scale(1.1); 
  transition: 0.4s ease;
  box-shadow: 0 0 20px rgba(255, 200, 0, 0.8);
}

.site-name {
  font-size: 1.5rem;
  font-weight: 800;
}

/* Menü Genel */
nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  background: #000;
  padding: 15px;
}

nav ul li a {
  position: relative;
  text-decoration: none;
  color: #fff;
  font-size: 18px;
  padding: 5px 0;
}

/* Çizgi efekti */
nav ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0%;
  height: 3px;
  background: #fff;
  transition: width 0.3s ease-in-out;
}

/* Hover ile çizgi kayarak gelir */
nav ul li a:hover::after {
  width: 100%;
}

/* Aktif sayfa çizgisi */
nav ul li a.active::after {
  width: 100%;
}


/* Giriş Butonu */
.auth-buttons button {
  padding: 10px 20px;
  border: 2px solid #fff;
  background: none;
  color: #fff;
  cursor: pointer;
  font-weight: 600;
  border-radius: 5px;
  transition: 0.3s;
}

.auth-buttons button:hover {
  background-color: #fff;
  color: #000;
  transform: scale(1.05);
}

/* Hero Section */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 20px;
  background: #000;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  animation: fadeInDown 1s ease-in-out;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  animation: fadeInUp 1s ease-in-out;
}

.cta-btn {
  padding: 15px 40px;
  border: 2px solid #fff;
  background: none;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.4s;
  margin-top: 10px;
}

.cta-btn:hover {
  background-color: #fff;
  color: #000;
  transform: scale(1.05);
}

/* Haberler Section */
.haberler {
  padding: 80px 50px;
  background-color: #111;
  text-align: center;
}

.haberler h2 {
  font-size: 2.5rem;
  margin-bottom: 50px;
}

.haberler-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.haber-card {
  background-color: #222;
  padding: 30px;
  border-radius: 10px;
  width: 300px;
  transition: 0.3s;
}

.haber-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.haber-card h3 {
  margin-bottom: 15px;
}

.haber-card p {
  margin-bottom: 20px;
}

.haber-btn {
  padding: 10px 20px;
  border: 2px solid #fff;
  background: none;
  color: #fff;
  cursor: pointer;
  border-radius: 5px;
  transition: 0.3s;
}

.haber-btn:hover {
  background-color: #fff;
  color: #000;
  transform: scale(1.05);
}

/* Destek Section */
.destek {
  padding: 80px 50px;
  text-align: center;
}

.destek h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
}

/* Footer */
footer {
  padding: 30px;
  background-color: #000;
  text-align: center;
  color: #888;
}

/* Login Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1001;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
  background-color: #222;
  margin: 10% auto;
  padding: 30px;
  border: 1px solid #888;
  width: 400px;
  border-radius: 10px;
  position: relative;
}

.modal-content input {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #444;
  border-radius: 5px;
  background-color: #111;
  color: #fff;
}

.modal-content button {
  width: 100%;
  padding: 12px;
  border: 2px solid #fff;
  background: none;
  color: #fff;
  font-weight: 600;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

.modal-content button:hover {
  background-color: #fff;
  color: #000;
}

/* Close Button */
.close {
  color: #fff;
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: #888;
}

/* Animations */
@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}












 .auth-buttons button {
      padding: 10px 20px;
      border: 2px solid #fff;
      background: none;
      color: #fff;
      cursor: pointer;
      font-weight: 600;
      border-radius: 5px;
      transition: 0.3s;
    }

    .auth-buttons button:hover {
      background-color: #fff;
      color: #000;
      transform: scale(1.05);
    }

    .modal {
      display: none;
      position: fixed;
      z-index: 1000;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0,0,0,0.7);
    }

    .modal-content {
      background-color: #1f1f1f;
      margin: 10% auto;
      padding: 30px 20px;
      border-radius: 12px;
      width: 320px;
      text-align: center;
      position: relative;
      box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    }

    .modal-content h2 {
      margin-bottom: 20px;
    }

    .close {
      position: absolute;
      top: 10px;
      right: 15px;
      font-size: 22px;
      cursor: pointer;
      color: #fff;
    }

    .modal-content input {
      width: 90%;
      padding: 12px;
      margin: 10px 0;
      border: none;
      border-radius: 6px;
      background: #333;
      color: #fff;
      font-size: 14px;
    }

    .modal-content input::placeholder {
      color: #aaa;
    }

    .modal-content button {
      width: 95%;
      padding: 12px;
      margin-top: 10px;
      border: 2px solid #fff;
      background: none;
      color: #fff;
      cursor: pointer;
      font-weight: 600;
      border-radius: 5px;
      transition: 0.3s;
      font-size: 14px;
    }

    .modal-content button:hover {
      background-color: #fff;
      color: #000;
      transform: scale(1.05);
    }

    .switch {
      margin-top: 15px;
      font-size: 13px;
      color: #aaa;
      cursor: pointer;
    }

    .switch span {
      color: #fff;
      text-decoration: underline;
    }

    .hidden {
      display: none;
    }









    nav ul li a.active {
  border-bottom: 3px solid #fff; /* Alt çizgi */
}







.berabercontainer{
  display: flex;
  margin-left: 310px;
}
.esit{
  padding: 80px 50px;
  text-align: center;
}
.esit h2{
  font-size: 2.5rem;
  margin-bottom: 30px;
}
.esit p{
  margin-top: -30px;
}
.esit button{
  margin-top: 20px;
}









/* Community Section */
.community {
  padding: 80px 50px;
  background-color: #111;
  text-align: center;
}

.community h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.community p {
  margin-bottom: 30px;
  color: #ccc;
}

.community-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 40px;
}

.community-form textarea {
  width: 60%;
  min-height: 100px;
  padding: 15px;
  border-radius: 10px;
  border: 1px solid #444;
  background: #222;
  color: #fff;
  resize: none;
  margin-bottom: 15px;
  font-size: 16px;
}

.community-form button {
  padding: 12px 25px;
  border: 2px solid #fff;
  background: none;
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.community-form button:hover {
  background: #fff;
  color: #000;
  transform: scale(1.05);
}

.community-posts {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 700px;
  margin: 0 auto;
}

.post {
  background: #222;
  padding: 20px;
  border-radius: 10px;
  text-align: left;
  transition: 0.3s;
}

.post:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 15px rgba(255,255,255,0.2);
}

.post p {
  margin: 0;
  font-size: 16px;
}

