/* ------------------------------
   Navbar (Geniş, Şeffaf Logo)
------------------------------ */
.navbar {
  background: linear-gradient(135deg, #004aad, #007bff, #00a2ff);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  height: 141px !important; /* 🔒 Sabit yüksekliğe alındı */
  min-height: 141px !important;
  max-height: 141px !important;
  display: flex;
  align-items: center;
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 92%;
  max-width: 1600px;
  margin: 0 auto;
}

/* Logo Alanı */
.navbar-logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 130px;
  padding: 0 48px 0 30px;
  margin-left: -55px;
  background: linear-gradient(145deg, #002b5c 0%, #0050b3 50%, #009dff 100%);
  position: relative;
  clip-path: polygon(0 0, 86% 0, 100% 40%, 94% 100%, 0% 100%);
  border-right: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
  overflow: hidden;
  transition: none; /* Sayfa geçişlerinde animasyon olmasın */
}

.navbar-logo::before {
  content: "";
  position: absolute;
  top: 0;
  left: -10%;
  width: 120%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 40%, transparent 70%);
  opacity: 0.3;
  pointer-events: none;
  transition: transform 0.7s ease;
}

.navbar-logo:hover::before {
  transform: translateX(10%);
  opacity: 0.45;
}

.navbar-logo::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, rgba(255,255,255,0.6), rgba(255,255,255,0));
  opacity: 0.7;
}

.navbar-logo img {
  height: 210px;
  width: auto;
  min-height: 210px;
  max-height: 210px;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3));
  transition: none; /* Sayfa geçişlerinde sıçrama olmasın */
}

.navbar-logo img:hover {
  transform: scale(1.06);
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5));
  transition: transform 0.3s ease, filter 0.3s ease; /* Sadece hover animasyonu */
}

/* Menü */
.navbar-menu {
  list-style: none;
  display: flex;
  gap: 40px;
  margin: 0;
  padding: 0;
}

.nav-item.dropdown {
  position: relative;
}

/* =========================================
   Linkler & Sayfa geçiş animasyonu
========================================= */
.nav-link {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.15rem;
  position: relative;
  transition: color 0.3s ease;
}

/* Alt çizgi (ilk durumda görünmez ama sabit yer tutar) */
.nav-link::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 3px;
  bottom: -6px;
  left: 0;
  background: linear-gradient(90deg, #ffcc00, #ffd84d);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: center;
  border-radius: 2px;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

/* Hover efekti */
.nav-link:hover {
  color: #ffcc00;
}

.nav-link:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

/* Aktif link */
.nav-link.active {
  color: #ffcc00;
  text-shadow: 0 0 6px rgba(255, 204, 0, 0.4);
}

/* 🔆 Hızlı çizgi parlaması ve sönmesi */
@keyframes glowLineQuick {
  0% {
    opacity: 0;
    transform: scaleX(0);
  }
  20% {
    opacity: 1;
    transform: scaleX(1.05);
  }
  50% {
    opacity: 1;
    transform: scaleX(1);
  }
  100% {
    opacity: 0; /* Hemen kaybolur */
    transform: scaleX(1);
  }
}

/* ✨ Yazı rengi de kısa süre parlayıp normale döner */
@keyframes linkShineQuick {
  0% {
    color: #fff;
    text-shadow: none;
  }
  25% {
    color: #ffcc00;
    text-shadow: 0 0 6px rgba(255, 204, 0, 0.5);
  }
  100% {
    color: #fff;
    text-shadow: none;
  }
}

/* Hamburger */
.navbar-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 45px;
  height: 45px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.bar {
  height: 3px;
  width: 27px;
  background-color: #fff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.navbar-toggle.open .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.navbar-toggle.open .bar:nth-child(2) {
  opacity: 0;
}
.navbar-toggle.open .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ===============================
   DROPDOWN MENU (GENEL)
================================= */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #005fa3;       /* RENK KORUNDU */
  border-radius: 6px;
  min-width: 220px;
  max-height: 300px;
  padding: 10px 0;
  z-index: 1000;
  flex-direction: column;
  box-shadow: 0 4px 15px rgba(0,0,0,0.25);
  list-style: none;
  overflow-y: auto;
}

/* Mobilde tıklama ile show */
.dropdown-menu.show {
  display: flex;
}

/* Desktop Hover Açılma */
@media (min-width: 992px) {
  .nav-item.dropdown:hover > .dropdown-menu {
    display: flex !important;
  }
}

.dropdown-item {
  color: #fff;               /* RENK KORUNDU */
  text-decoration: none;
  padding: 8px 15px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.dropdown-item:hover {
  background: #ffcc00;       /* RENK KORUNDU */
  color: #003366;            /* RENK KORUNDU */
}


/* Scrollbar stili (services + locations ortak) */
#servicesDropdownMenu::-webkit-scrollbar,
#locationsDropdownMenu::-webkit-scrollbar {
  width: 6px;
}

#servicesDropdownMenu::-webkit-scrollbar-track,
#locationsDropdownMenu::-webkit-scrollbar-track {
  background: transparent;
}

#servicesDropdownMenu::-webkit-scrollbar-thumb,
#locationsDropdownMenu::-webkit-scrollbar-thumb {
  background-color: rgba(255,255,255,0.3);
  border-radius: 3px;
}

#servicesDropdownMenu::-webkit-scrollbar-thumb:hover,
#locationsDropdownMenu::-webkit-scrollbar-thumb:hover {
  background-color: rgba(255,255,255,0.6);
}

/* Firefox */
#servicesDropdownMenu,
#locationsDropdownMenu {
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.3) transparent;
}


/* ============================
   TURKUAZ NEON HAMBURGER
============================ */
@media (max-width: 768px) {

  /* Hamburger Butonu – Neon + Cam */
  .navbar-toggle {
      display: flex !important;
      flex-direction: column;
      position: relative;
      gap: 6px;
      width: 54px;
      height: 54px;
      justify-content: center;
      align-items: center;
      background: rgba(255,255,255,0.10);
      border-radius: 18px;
      backdrop-filter: blur(8px);
      border: 1px solid rgba(255,255,255,0.2);
      cursor: pointer;
      z-index: 4000;
      transition: 0.3s ease;

      /* ✨ NEON BREATHING EFFECT */
      animation: neonBreath 3s infinite ease-in-out;
  }

  /* Nefes alma (breathing glow) */
  @keyframes neonBreath {
      0%   { box-shadow: 0 0 10px rgba(0,255,255,0.20); }
      50%  { box-shadow: 0 0 22px rgba(0,255,255,0.55); }
      100% { box-shadow: 0 0 10px rgba(0,255,255,0.20); }
  }

  .navbar-toggle:hover {
      background: rgba(255,255,255,0.16);
  }

  .navbar-toggle .bar {
      width: 26px;
      height: 3px;
      background: #00eaff;
      border-radius: 2px;
      box-shadow: 0 0 8px #00eaff;
      transition: 0.40s cubic-bezier(0.16, 1, 0.3, 1);
  }

  /* Işık Halkası */
  .navbar-toggle .ring {
      position: absolute;
      width: 52px;
      height: 52px;
      border-radius: 50%;
      border: 2px solid rgba(0,255,255,0.5);
      opacity: 0;
      transform: scale(0.6);
      transition: 0.45s ease;
      box-shadow: 0 0 24px rgba(0,255,255,0.6);
  }

  .navbar-toggle.open .ring {
      opacity: 1;
      transform: scale(1.2);
  }

  /* X animasyonu */
  .navbar-toggle.open .bar:nth-child(1) {
      transform: translateY(9px) rotate(45deg);
  }
  .navbar-toggle.open .bar:nth-child(2) {
      opacity: 0;
  }
  .navbar-toggle.open .bar:nth-child(3) {
      transform: translateY(-9px) rotate(-45deg);
  }

  /* ---------------------------
     Overlay (Nebula)
  --------------------------- */
  .mobile-overlay {
      position: fixed;
      top: 0; left: 0;
      width: 100vw; height: 100vh;
      background: rgba(0,0,20,0.55);
      backdrop-filter: blur(6px);
      opacity: 0;
      pointer-events: none;
      transition: 0.45s ease;
      z-index: 3000;
  }

  .mobile-overlay.active {
      opacity: 1;
      pointer-events: auto;
  }

  /* ---------------------------
     Menü - Kapsül Panel
  --------------------------- */
  .navbar-menu {
      position: fixed;
      top: -100%;
      left: 50%;
      transform: translateX(-50%) scale(0.92);
      width: 92%;
      padding: 25px 0;
      gap: 22px;
      display: flex;
      flex-direction: column;
      background: rgba(0, 16, 239, 0.529);
      border-radius: 28px;
      backdrop-filter: blur(18px);
      box-shadow: 0 14px 40px rgba(0,0,0,0.35);
      transition: 0.55s cubic-bezier(0.16, 1, 0.3, 1);
      z-index: 3500;
  }

  .navbar-menu.active {
      top: 110px;
      transform: translateX(-50%) scale(1);
  }

  .nav-link {
      color: #fff;
      font-size: 1.25rem;
      font-weight: 600;
      transition: 0.25s ease;
      text-align: center;
  }

  .nav-link:hover {
      color: #00eaff;
      transform: translateY(-3px);
  }

  /* =========================================
     Dropdown – DAHA BELİRGİN SEÇENEKLER
  ========================================= */
 .dropdown-menu {
    width: 100%;
    background: rgba(3, 179, 228, 0.479);     /* ✔ Daha opak, gerçek panel */
    backdrop-filter: blur(14px);
    border-radius: 20px;
    margin-top: 10px;
    padding: 10px 0;
    max-height: 260px;
    overflow-y: auto;
    display: none;
    border: 1px solid rgba(0,255,255,0.25);

    position: relative;
    z-index: 9999;                         /* ✔ Üstte görünmesi garanti */
}

  .dropdown-menu.show {
      display: block;
  }

  .dropdown-item {
    color: #e8faff;                        /* ✔ Daha parlak metin */
    text-align: center;
    padding: 14px 0;
    font-size: 1.14rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: 0.25s ease;
    text-shadow: 0 0 10px rgba(0,255,255,0.5);
}

  .dropdown-item:hover {
      background: rgba(0,255,255,0.20);
      color: #00eaff;
      text-shadow: 0 0 12px rgba(0,255,255,0.7);
  }

}




