/* Header */
header {
  background: #0f1624;
  color: #fff;
  padding: 15px 30px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: bold;
  font-size: 20px;
  cursor: pointer;
}

/* Nav links base style (for both desktop & mobile) */
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links li a:hover {
  color: #1abc9c;
}

/* Hamburger menu (always visible now) */
.hamburger {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  z-index: 1100;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #fff;
  margin: 4px;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Overlay background */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 900;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Sidebar nav (mobile style) */
.nav-links {
  position: fixed;
  top: 0;
  right: -250px;
  width: 250px;
  height: 100%;
  background: #0f1624;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
  transition: right 0.3s ease;
  z-index: 1000;
}

.nav-links.active {
  right: 0;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .nav-links {
    width: 200px;
  }
}

/* Footer */
footer {
  text-align: center;
  padding: 13px;
  font-size: 14px;
  background: #161b22;
  color: #8b949e;
}
 