/* ── HEADER ───────────────────────────────────────────── */
.header {
  width: 100%;
  z-index: 10;
  position: relative;
  background-color: #000;
  padding: 0 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hamburger {
  display: none; /* hidden on desktop, shown in mobile media query */
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  aspect-ratio: 1/1;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  padding: 1rem 2rem;
  width: 100%;
  height: 80px;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo-container img {
  width: 29.965px;
  height: 38.257px;
  display: block;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.logo-container p {
  color: #fff;
  font-family: "Product Sans", sans-serif;
  font-size: 22.311px;
  font-weight: 700;
  line-height: 1;
  margin: 0;
  margin-left: -22px;
  position: relative;
  z-index: 1;
}

.logo-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
}
.nav-menu {
  display: flex;
  gap: 24px;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-menu a {
  color: #fff;
  font-family: Archivo, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  text-decoration: none;
  transition:
    opacity 0.2s,
    color 0.2s;
}

.nav-menu a:hover {
  opacity: 0.7;
  color: #0766d3;
}

.nav-menu a.active {
  color: #4a9eff;
  opacity: 1;
}

/* ─────────────────────────────────────────────────────────────
   MOBILE STYLES — Header & Footer
   Append to the bottom of your header.css and footer.css files
───────────────────────────────────────────────────────────── */

@media (max-width: 480px) {
  /* ─── HEADER ─────────────────────────────────────────── */
  .header {
    width: 100%;
    z-index: 10;
    position: absolute; /* sits on top of hero image */
    top: 0;
    left: 0;
    background-color: transparent; /* no black bar — image shows through */
    padding: 24px 24px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .navbar {
    padding: 0;
    height: 64px;
    position: relative;
    background-color: transparent; /* make sure navbar itself is also transparent */
  }
  /* Hide desktop nav links */
  .nav-menu {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    background: #000;
    padding: 16px 0;
    z-index: 100;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-menu a {
    display: block;
    padding: 14px 24px;
    font-size: 16px;
    border-bottom: 0.5px solid rgba(255, 255, 255, 0.08);
  }

  /* Show hamburger button */
  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
  }

  .hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.25s ease;
  }

  /* Animate to X when open */
  .hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .hamburger.open span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}
