/* ── Header ── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgb(10, 10, 10);
  border-bottom: 1px solid rgb(45, 45, 45);
  padding: 0 2.5rem;
}

nav {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 4rem;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav a {
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgb(150, 150, 150);
  transition: color 0.25s ease;
}

nav a:hover {
  color: rgb(220, 220, 220);
}

nav a.active {
  color: rgb(240, 240, 240);
  border-bottom: 1px solid rgba(200, 200, 200, 0.45);
  padding-bottom: 2px;
}

/* ── Footer ── */
footer {
  background-color: rgb(10, 10, 10);
  border-top: 1px solid rgb(45, 45, 45);
}

.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 2.5rem;
  border-bottom: 1px solid rgb(30, 30, 30);
}

.footer-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  align-items: center;
}

.footer-nav a {
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: rgb(150, 150, 150);
  transition: color 0.25s ease;
}

.footer-nav a:hover {
  color: rgb(220, 220, 220);
}

.footer-nav a.active {
  color: rgb(240, 240, 240);
  border-bottom: 1px solid rgba(200, 200, 200, 0.45);
  padding-bottom: 2px;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 0.5rem 2.5rem;
}

.footer-socials a {
  color: rgb(150, 150, 150);
  font-size: 1.25rem;
  text-decoration: none;
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.footer-socials a:hover {
  color: rgb(220, 220, 220);
  transform: translateY(-3px);
}

.footer-copyright {
  text-align: center;
  font-size: 0.7rem;
  color: rgb(80, 80, 80);
  padding: 1rem 2.5rem 1.5rem;
}

/* ── Burger button (hidden on desktop) ── */
.burger {
  display: none;
  background: none;
  border: none;
  color: rgb(200, 200, 200);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  line-height: 1;
}

/* ── Mobile nav ── */
@media (max-width: 1000px) {
  header nav {
    justify-content: space-between;
  }

  .burger {
    display: block;
  }

  header nav ul {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 4rem;
    left: 0;
    right: 0;
    background-color: rgb(10, 10, 10);
    border-bottom: 1px solid rgb(45, 45, 45);
    padding: 1rem 0;
    z-index: 99;
  }

  header nav ul.open {
    display: flex;
  }

  header nav ul li {
    width: 100%;
    text-align: center;
  }

  header nav ul li a {
    display: block;
    padding: 0.75rem 1rem;
  }

  /* Footer mobile adjustments */
  .footer-nav {
    padding: 4rem 1rem;
  }

  .footer-nav ul {
    gap: 0.75rem 1.25rem;
  }

  .footer-socials {
    padding: 0.75rem 1rem;
  }

  .footer-copyright {
    padding: 0.75rem 1rem 1.25rem;
  }
}
