.navbar {
  background: white;
  border-bottom: 3px solid #667eea;
  padding: 0.75rem 0.5rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 0.5rem;
}

.navbar-brand {
  font-size: 1.1rem;
  font-weight: bold;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-menu {
  display: none;
  list-style: none;
  gap: 0;
  align-items: center;
  flex-direction: column;
}

.nav-menu.active {
  display: flex;
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  padding: 0.8rem 1rem;
  border-radius: 0;
  transition: all 0.3s ease;
  position: relative;
  width: 100%;
  text-align: center;
  font-size: 0.9rem;
  border-bottom: 1px solid #f0f0f0;
  display: block;
}

.nav-link:hover,
.nav-link.active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-bottom-color: #667eea;
}

.hamburger {
  display: flex;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  gap: 5px;
  padding: 0.5rem;
}

.hamburger span {
  width: 24px;
  height: 2.5px;
  background: #333;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

@media (min-width: 768px) {
  .navbar {
    padding: 1rem 1.5rem;
  }

  .navbar-container {
    padding: 0;
  }

  .navbar-brand {
    font-size: 1.5rem;
  }

  .nav-menu {
    display: flex;
    flex-direction: row;
    gap: 2rem;
  }

  .nav-link {
    width: auto;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 1rem;
    border-bottom: none;
  }

  .hamburger {
    display: none;
  }
}

@media (min-width: 1024px) {
  .navbar {
    padding: 1rem 2rem;
  }

  .navbar-brand {
    font-size: 1.7rem;
  }

  .nav-link {
    padding: 0.6rem 1.2rem;
    font-size: 1.05rem;
  }
}
