/* IzaacWeb V5 */

/*-------------------------------------------*/

ul {
  margin: 0;
  padding: 0;
}

#logo {
  font-size: 18px;
  font-weight: 700;
  background: var(--title-primary);
  backdrop-filter: blur(10px);
  color: var(--primary-yellow);
  text-shadow: 0 0 15px var(--primary-yellow);
  padding: 12px 20px;
  border-radius: 25px;
  border: 2px solid var(--primary-yellow);
  box-shadow: 0 0 25px var(--primary-yellow);
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.3s ease;
}

#logo:hover {
  transform: scale(1.05);
  box-shadow: 0 0 35px var(--primary-yellow);
}

#header {
  box-sizing: border-box;
  height: 70px;
  width: 100%;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, var(--background-primary), var(--title-primary));
  backdrop-filter: blur(15px);
  border-bottom: 2px solid var(--primary-yellow);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

#header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(7, 0, 74, 0.1), transparent);
  animation: shimmer 3s infinite;
  pointer-events: none;
}

@keyframes shimmer {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}

#menu {
  display: flex;
  list-style: none;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}

#menu a {
  display: block;
  font-size: 16px;
  color: var(--text-light);
  text-decoration: none;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 20px;
  transition: all 0.3s ease;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#menu a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #00FFFF33, #32CD32);
  border-radius: 20px;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s ease;
  z-index: -1;
}

#menu a:hover {
  color: var(--text-light);
  transform: translateY(-2px);
}

#menu a:hover::before {
  opacity: 1;
  transform: scale(1);
}

#menu a.aqui, #menu a.here {
  background: linear-gradient(135deg, #00FFFF33, #32CD32);
  color: var(--text-light);
  box-shadow: 0 4px 15px rgba(0, 255, 255, 0.3);
}

#btn-mobile {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  padding: 15px;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.3s ease;
}

#btn-mobile:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.1);
}

#hambuguer {
  width: 25px;
  height: 2px;
  background: var(--primary-yellow);
  display: block;
  position: relative;
  transition: all 0.3s ease;
}

#hambuguer::before,
#hambuguer::after {
  content: '';
  display: block;
  width: 25px;
  height: 2px;
  background: var(--primary-yellow);
  position: absolute;
  transition: all 0.3s ease;
}

#hambuguer::before {
  top: -8px;
}

#hambuguer::after {
  top: 8px;
}

/* Mobile menu animations */
#nav.active #hambuguer {
  background: transparent;
}

#nav.active #hambuguer::before {
  transform: rotate(45deg);
  top: 0;
}

#nav.active #hambuguer::after {
  transform: rotate(-45deg);
  top: 0;
}

/*-------------------------------------------*/

/* Mobile responsive design */
@media screen and (max-width: 900px) {
  #header {
    padding: 0 1rem;
    height: 60px;
  }
  
  #logo {
    font-size: 14px;
    padding: 8px 15px;
    border-radius: 15px;
  }
  
  #btn-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  #menu {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95), var(--title-primary));
    backdrop-filter: blur(15px);
    flex-direction: column;
    gap: 0;
    height: 0;
    visibility: hidden;
    overflow: hidden;
    transition: all 0.2s ease;
    border-bottom: 2px solid var(--primary-yellow);
  }
  
  #nav.active #menu {
    height: auto;
    min-height: 200px;
    visibility: visible;
  }
  
  #menu a {
    padding: 20px 30px;
    font-size: 18px;
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    opacity: 0;
    transform: translateY(-20px);
    animation: slideInDown 0.3s ease forwards;
  }
  
  #menu li:nth-child(1) a { animation-delay: 0.1s; }
  #menu li:nth-child(2) a { animation-delay: 0.2s; }
  #menu li:nth-child(3) a { animation-delay: 0.3s; }
  
  @keyframes slideInDown {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  #menu a:hover {
    background: linear-gradient(135deg, #00FFFF33, #32CD32);
    transform: translateY(0) scale(1.05);
  }
}