/* ============================================
   NAVBAR (SABİT & MODERN)
============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  /* Düz Kırmızı Arka Plan */
  background-color: #8b0000;

  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  padding: 0 30px;
  z-index: 1000;
  color: white;
}

/* Sol Logo */
.nav-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo {
  width: 48px;
  height: 48px;
  border-radius: 50%; /* Resmin kendisi yuvarlak kalabilir */
  object-fit: contain;
  user-select: none;

  /* ✅ İSTEK: Beyaz arka plan/border kaldırıldı */
  background: transparent;
  padding: 0;
}

/* Orta Başlık */
.nav-center {
  flex: 1;
  text-align: center;
}

.nav-center a {
  text-decoration: none;
  font-size: 20px;
  font-family: "Glacial", sans-serif;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Sağ Menü */
.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-right a {
  text-decoration: none;
  padding: 10px 18px; /* Biraz daha geniş */

  /* ✅ İSTEK: Tam yuvarlak yerine hafif köşeli dikdörtgen */
  border-radius: 8px;

  font-size: 14px;
  color: white;

  /* ✅ İSTEK: Solukluk yok, net renk */
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.1);

  transition: background 0.2s ease;
  font-weight: 500;
}

.nav-right a:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* Hamburger Menü (Mobil) */
.hamburger {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: white;
}

/* Mobil Görünüm */
@media (max-width: 900px) {
  .navbar {
    height: 60px;
    padding: 0 15px;
  }

  .logo {
    width: 38px;
    height: 38px;
  }

  .nav-center a {
    font-size: 16px;
  }

  .nav-right {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 260px;
    background: #8b0000;
    flex-direction: column;
    padding-top: 80px;
    transition: 0.3s ease;
    z-index: 9999;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
  }

  .nav-right.active {
    right: 0;
  }

  .hamburger {
    display: block;
  }

  .nav-right a {
    width: 85%;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
  }
}

.close-menu {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 28px;
  cursor: pointer;
  color: #fff;
  display: none;
  z-index: 10000;
}

@media (max-width: 900px) {
  .close-menu {
    display: block;
  }
}
