/* ===============================
   🔹 NAVBAR GENEL TASARIM
================================= */
.navbar {
  background: rgba(17, 17, 17, 0.95);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.25);
  padding: 0.9rem 1.5rem;
  font-family: 'Poppins', sans-serif;
  transition: background 0.3s ease;
  backdrop-filter: blur(6px);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 120px;

}

/* ===============================
   🔹 LOGO BÖLÜMÜ
================================= */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  margin-left: 20px; 
}

.nav-logo-img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 2px solid #fff;
  object-fit: cover;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.nav-logo-img:hover {
  transform: scale(1.1);
  border-color: #00b4ff;
}

.nav-logo-text {
  font-weight: 600;
  font-size: 1.35rem;
  color: #fff;
  letter-spacing: 0.5px;
}

/* ===============================
   🔹 MENÜ BAĞLANTILARI
================================= */
.nav-menu {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}

.nav-menu li a {
  color: #ddd;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s, transform 0.2s;
  letter-spacing: 0.3px;
}

.nav-menu li a:hover {
  color: #00b4ff;
  transform: translateY(-2px);
}

.nav-menu li {
  position: relative;
}

/* ===============================
   🔹 PREMIUM SOFT DROPDOWN (WEB)
================================= */

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;

  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  padding: 10px 0;
  list-style: none;
  margin: 0;

  min-width: 260px;
  border-radius: 20px;

  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 12px 35px rgba(0,0,0,0.12);

  animation: softDrop .25s ease-out;

  max-height: 320px;
  overflow-y: auto;
  overflow-x: hidden;

  z-index: 1000;

  scrollbar-width: thin;
  scrollbar-color: #d1d1d1 transparent;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

/* Chrome scrollbar */
.dropdown-menu::-webkit-scrollbar {
  width: 6px;
}
.dropdown-menu::-webkit-scrollbar-thumb {
  background: #c5c5c5;
  border-radius: 50px;
}
.dropdown-menu::-webkit-scrollbar-thumb:hover {
  background: #9b9b9b;
}

@keyframes softDrop {
  from { opacity: 0; transform: translateY(6px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ===============================
   🔹 ÜSTTEKİ Tüm Hizmetler / Tüm Bölgeler
================================= */
.dropdown-menu .dropdown-all {
  display: block;
  padding: 14px 18px;
  margin: 4px 12px 10px 12px;

  background: linear-gradient(135deg, #fafafa, #f1f1f1);
  border-radius: 14px;

  font-weight: 700;
  font-size: 0.95rem;
  color: #333;

  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);

  transition: all .25s ease;
}
.dropdown-menu .dropdown-all:hover {
  background: #fff;
  color: #111;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.10);
}

.dropdown-divider {
  border-top: 1px solid rgba(0,0,0,0.08);
  margin: 6px 0;
}

/* Normal item */
.dropdown-menu li a {
  display: block;
  padding: 12px 18px;
  margin: 3px 10px;
  color: #333;
  font-size: .95rem;
  border-radius: 10px;
  transition: .22s ease;
}

.dropdown-menu li a:hover {
  background: rgba(0,110,255,0.08);
  color: #004aad;
  transform: translateX(6px);
}

/* ===============================
   🔹 HAMBURGER BUTON
================================= */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 26px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.bar {
  width: 100%;
  height: 3px;
  background-color: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-toggle.active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav-toggle.active .bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ===============================
   🔹 MOBİL GÖRÜNÜM (KUSURSUZ)
================================= */
@media (max-width: 768px) {

  .nav-menu {
    position: absolute;
    top: 75px;
    right: 0;
    width: 100%;
    padding: 1.2rem 0;
    flex-direction: column;
    background: #111;
    display: none;
    gap: 1rem;
    text-align: center;
    border-top: 1px solid #222;
  }

  .nav-menu.active {
    display: flex;
    animation: fadeIn 0.3s ease;
  }

  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .nav-toggle { display: flex; }

  /* Mobil dropdown */
  .dropdown-menu {
      max-height: 250px !important;
      overflow-y: auto !important;
      padding: 0.3rem 0;
      margin-top: 0.4rem;
      border-radius: 10px !important;
      background: #fff !important;
      position: relative !important;
      box-shadow: none !important;
  }

  .dropdown.open .dropdown-menu {
      display: block !important;
  }

  .dropdown-menu li a {
      color: #000 !important;
      transform: none !important;
      padding: 0.6rem 1.1rem !important;
  }

  .dropdown-menu li a:hover {
      background: rgba(0,0,0,0.06) !important;
      color: #000 !important;
  }
}
