header {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--darkT);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 60px;
  backdrop-filter: blur(8px);
  z-index: 100;
}

/* Hamburger Icon */
.menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 1.6rem;
  color: var(--light);
  transition: 0.3s ease;
}

.menu-toggle:hover {
  color: var(--purple);
  text-shadow: 0 0 8px var(--purple);
}

.logo img {
  height: 60px;
  width: auto;
  transition: 0.3s ease;
  filter: brightness(0) invert(1);
}

.logo img:hover {
  filter: drop-shadow(0 0 6px var(--purple));
}

.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

nav a {
  text-decoration: none;
  margin: 0 15px;
  transition: 0.3s;
  font-weight: 500;
  position: relative;
  color: #FFFFFF;
  font-weight: 500;
}

nav a.active {
  color: var(--purple);
  text-shadow: 0 0 5px var(--purple);
}


nav a:hover {
  color: var(--purple);
  text-shadow: 0 0 5px var(--purple);
}

nav a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

@media (max-width: 1024px) {
  header {
    padding: 15px 30px;
    gap: 10px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  nav {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(15, 15, 15, 0.98);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 25px 0;
    transform: translateY(-150%);
    transition: transform 0.4s ease;
  }

  nav.active {
    transform: translateY(0);
  }

  .menu-toggle {
    display: block;
  }
  
  nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }

  nav a {
    font-size: 1rem;
    margin: 8px 0;
  }
  
  .logo img {
    height: 38px;
  }
}

/* @media (max-width: 1024px) {
  header {
    padding: 15px 30px;
  }
  
  nav a {
    margin: 0 10px;
    font-size: 0.95rem;
  }
} */