header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.light-theme header {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 5px;
}

.logo-image {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--primary-color);
  margin-right: 10px;
}

.logo-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo-text {
  font-family: "Orbitron", sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  background: linear-gradient(90deg, var(--gray-text) 0%, var(--primary-color) 50%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo-text-full {
  display: inline-block;
}

.logo-text-short {
  display: none;
  font-family: "Orbitron", sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  background: linear-gradient(90deg, var(--gray-text) 0%, var(--primary-color) 50%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links li a {
  font-size: 16px;
  font-weight: 500;
  position: relative;
  padding: 5px 0;
}

.nav-links li a:hover {
  color: var(--primary-color);
}

.nav-links li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width var(--transition-speed);
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: var(--light-text);
  margin: 3px 0;
}

.mobile-controls {
  display: none;
  align-items: center;
  gap: 15px;
}

.desktop-only {
  display: flex;
}

.mobile-only {
  display: none;
}

@media (max-width: 768px) {
  .logo-text {
    font-size: 14px;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: rgba(10, 10, 10, 0.95);
    flex-direction: column;
    padding: 20px 0;
    gap: 0;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-speed);
    z-index: 999;
  }

  .light-theme .nav-links {
    background-color: rgba(240, 242, 245, 0.95);
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links li a {
    display: block;
    padding: 15px 0;
  }

  .mobile-controls {
    display: flex;
  }

  .desktop-only {
    display: none;
  }

  .mobile-only {
    display: flex;
  }

  .logo-text-full {
    display: none;
  }

  .logo-text-short {
    display: inline-block;
  }
}

@media (max-width: 480px) {
  .logo-text-short {
    font-size: 12px;
  }

  .logo-image {
    width: 30px;
    height: 30px;
  }
}

