.navigation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--bg-color);
  z-index: 1000;
  box-shadow: var(--navigation-shadow);
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Optional content wrapper to center items */
.navContent {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.logo {
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.2s ease;
}

.logo:hover {
  transform: scale(1.15);
}

.item {
  display: flex;
  align-items: center;
}

.navLink {
  text-decoration: none;
  color: var(--text-color);
  font-weight: bold;
  text-transform: uppercase;
  padding: 0.75rem 0.25rem;
  display: block;
  position: relative;
  z-index: 1;
  transition: color 0.3s ease; /* Smooth color transition */
}

/* Pseudo-element for the hover background animation */
.navLink::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0; /* Start with 0 height for top-to-bottom animation */
  background: var(--navigation-hover);
  transition: height 0.3s ease; /* Animate height */
  z-index: -1; /* Behind the text */
  border-radius: 10px;
}

.navLink:hover::before {
  height: 100%; /* Expand to full height on hover */
}

.navLink:hover {
  color: var(--text-color);
}

.navLinkActive {
  background-color: var(--navigation-active); 
  box-shadow: var(--navigation-active-shadow); 
  border-radius: 10px;
  color: var(--text-color); 
  transition: background-color 0.3s ease; 
}

.navLinkActive:hover::before {
  filter: var(--navigation-active-hover);
}

/*MOBILE*/
@media (max-width: 768px) {
  .navContent {
    gap: 0rem;
  }
  
  .navContent > * {
    flex: 1;
    text-align: center; /* optional: for centering text in links */
  }

  .navLink {
    text-decoration: none;
    font-weight: 500;
    text-transform: none;
  }
}

@media (max-width: 399px) {

}