/* navigation.css - Modern navigation bar styling */

nav {
  background: var(--glass-bg);
  backdrop-filter: blur(10px); /* Blurs the background behind the nav */
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: sticky;
  top: 1rem;
  z-index: 100;
  margin: 1rem 2rem;
  padding: 0.75rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

nav a:hover, nav a.active {
  color: var(--text-main);
  text-shadow: 0 0 10px rgba(37, 99, 235, 0.5);
}

@media (max-width: 600px) {
  nav {
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
  }
}

.navBar {
  display: flex; 
  justify-content: center; 
  align-items: center; 
  gap: 2.5rem;      /* Increased gap for a more modern feel */
  list-style: none; 
  margin: 0; 
  padding: 0;
}

/* Add a hover effect to the links to make it feel premium */
.navBar li a {
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.navBar li a:hover {
  opacity: 0.7;
}
