/* Improved Navbar Styles */
.navbar {
  background-color: rgba(var(--background-color), 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: all var(--transition-speed) ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-color);
  text-decoration: none;
  transition: color var(--transition-speed) ease;
  letter-spacing: 1px;
}

.navbar-logo:hover {
  color: var(--light-accent);
}

.navbar-links {
  display: flex;
}

.navbar-link {
  color: var(--text-color);
  text-decoration: none;
  padding: 0.5rem 1rem;
  margin-left: 1rem;
  font-weight: 500;
  transition: all var(--transition-speed) ease;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.navbar-link::before, .navbar-link::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: var(--accent-color);
  left: -100%;
  transition: all 0.3s ease;
}

.navbar-link::before {
  top: 0;
}

.navbar-link::after {
  bottom: 0;
  transition-delay: 0.1s;
}

.navbar-link:hover::before, .navbar-link:hover::after {
  left: 0;
}

/* Improved Responsive Design */
@media (max-width: 768px) {
  .navbar-container {
    flex-direction: column;
  }

  .navbar-links {
    margin-top: 1rem;
  }

  .navbar-link {
    margin: 0.5rem 0;
  }
}

/* Glowing effect for accent elements */
@keyframes glow {
  0% {
    text-shadow: 0 0 5px rgba(var(--accent-color-rgb), 0.5);
  }
  50% {
    text-shadow: 0 0 20px rgba(var(--accent-color-rgb), 0.8);
  }
  100% {
    text-shadow: 0 0 5px rgba(var(--accent-color-rgb), 0.5);
  }
}

.navbar-logo {
  animation: glow 3s ease-in-out infinite;
}