:root {
  --nav-height: 60px;
}

html, body {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.nav-bar {
  height: var(--nav-height, 60px);
  background: #1a1a1a;
  padding: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1rem;
  transition: all 0.2s;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-links a:hover {
  color: #64B5F6;
  background: rgba(255,255,255,0.1);
}

.nav-links i {
  font-size: 1rem;
}

.hamburger {
  display: none;
  cursor: pointer;
  padding: 1rem;
  position: absolute;
  left: 0;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 5px 0;
  transition: 0.4s;
}

@media (max-width: 600px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    position: fixed;
    left: -100%;
    top: var(--nav-height, 60px);
    flex-direction: column;
    background-color: #1a1a1a;
    width: 100%;
    padding: 1rem 0;
    transition: 0.3s;
    z-index: 1000;
  }

  .nav-links.active {
    left: 0;
  }

  .hamburger.active div:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }

  .hamburger.active div:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active div:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }
}