.navbar {
  background: #000000;
  padding: 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  margin: 1rem;
  overflow: visible;
}

.navbar-container {
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 2rem;
  gap: 2rem;
  position: relative;
}

.navbar-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  z-index: 1001;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.logo-link:hover {
  transform: translateY(-3px);
  filter: drop-shadow(0 5px 15px rgba(102, 126, 234, 0.5));
}

.logo-image {
  height: 50px;
  width: auto;
  display: block;
  transition: all 0.3s ease;
}

.navbar-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.7rem;
  flex: 1;
  justify-content: flex-start;
  margin-left: 2rem;
  flex-wrap: nowrap;
  align-items: center;
}

.navbar-menu li a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  padding: 0.5rem 1.2rem;
  border-radius: 10px;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: block;
  white-space: nowrap;
}

.navbar-menu li a:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
  color: white;
  transform: translateY(-2px);
}

.navbar-menu li a:active {
  transform: translateY(0);
}

.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  transition: all 0.3s ease;
}

.hamburger-btn span {
  width: 100%;
  height: 3px;
  background: white;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hamburger-btn:hover span {
  background: rgba(102, 126, 234, 1);
}

.hamburger-btn.active span:nth-child(1) {
  transform: translateY(10.5px) rotate(45deg);
}

.hamburger-btn.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
  transform: translateY(-10.5px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  background: rgba(0, 0, 0, 0.98);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.mobile-menu.active {
  max-height: 600px;
  padding: 1.5rem 0;
}

.mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.mobile-menu ul li a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  padding: 1rem 1.3rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: block;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 1rem;
}

.mobile-menu ul li a:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateX(5px);
}

.mobile-lang-container {
  padding: 1rem 1.5rem 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 1rem;
}

.lang-selector,
.mobile-lang {
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background-color: #1a1a1a !important;
  color: white !important;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s ease;
  outline: none;
  flex-shrink: 0;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.lang-selector:hover,
.mobile-lang:hover {
  background-color: #2a2a2a !important;
  transform: translateY(-2px);
}

.lang-selector:focus,
.mobile-lang:focus {
  border-color: rgba(255, 255, 255, 0.4);
  background-color: #2a2a2a !important;
}

.lang-selector option,
.mobile-lang option {
  background-color: #2a2a2a !important;
  color: rgba(255, 255, 255, 0.9) !important;
  padding: 0.8rem !important;
}

.lang-selector option:hover,
.mobile-lang option:hover {
  background-color: #3a3a3a !important;
  color: white !important;
}

.lang-selector option:checked,
.mobile-lang option:checked {
  background-color: #3a3a3a !important;
  color: white !important;
  font-weight: 600;
}

.mobile-lang {
  width: 100%;
  padding: 1rem 1.3rem;
  font-size: 1rem;
}

.show-on-mobile {
  display: none;
}

.hide-on-tablet {
  display: list-item;
}

@media (max-width: 1200px) {
  .navbar-menu {
    gap: 0.5rem;
    margin-left: 1.5rem;
  }
  
  .navbar-menu li a {
    padding: 0.6rem 1.1rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 900px) {
  .navbar {
    margin: 0.5rem;
    border-radius: 15px;
  }
  
  .navbar-container {
    padding: 1rem 1.5rem;
    gap: 1rem;
  }
  
  .logo-image {
    height: 50px;
  }
  
  .hide-on-tablet {
    display: none !important;
  }
  
  .hamburger-btn {
    display: flex;
  }
  
  .mobile-menu {
    display: block;
  }
}

@media (max-width: 600px) {
  .navbar {
    margin: 0;
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-top: none;
  }
  
  .navbar-container {
    padding: 1rem 1.5rem;
  }
  
  .desktop-menu {
    display: none !important;
  }
  
  .desktop-lang {
    display: none !important;
  }
  
  .show-on-mobile {
    display: block;
  }
  
  .hamburger-btn {
    display: flex;
  }
  
  .mobile-menu {
    display: block;
  }
  
  .logo-image {
    height: 45px;
  }
}

@media (max-width: 480px) {
  .navbar-container {
    padding: 0.8rem 1rem;
  }
  
  .logo-image {
    height: 40px;
  }
  
  .hamburger-btn {
    width: 28px;
    height: 22px;
  }
  
  .hamburger-btn span {
    height: 2.5px;
  }
  
  .mobile-menu ul li a {
    padding: 0.9rem 1.1rem;
    font-size: 0.95rem;
  }
  
  .mobile-lang {
    padding: 0.9rem 1.1rem;
    font-size: 0.95rem;
  }
}