/* === Navigation === */
nav {
  background-color: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}

nav.scrolled {
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
}

/* Container for nav content */
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Branding (Logo or Site Name) */
.nav-container h1 {
  font-size: 1.5rem;
  font-weight: bold;
  color: #222;
}

/* Navigation links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links li {
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: #222;
  font-weight: 600;
  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a:focus {
  color: #0077cc;
  outline: none;
}

/* Right section of nav (e.g., accessibility, extras) */
.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}

/* Hamburger toggle button */
#navToggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #222;
  cursor: pointer;
}

/* === Mobile Navigation === */
@media (max-width: 768px) {
  .nav-right {
    display: none;
    position: absolute;
    top: 60px;
    right: 0;
    width: 100%;
    background-color: #fff;
    flex-direction: column;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 15px 20px;
  }

  .nav-right.active {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    gap: 12px;
  }

  .nav-links a {
    font-size: 1.1rem;
    width: 100%;
    padding: 8px 0;
  }

  .accessibility-menu {
    margin-top: 12px;
    width: 100%;
  }

  #navToggle {
    display: block;
  }
}

/* Hide hamburger button on desktop */
#navToggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #222;
}

.nav-right {
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: 20px;
}

nav.scrolled {
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}