/* === Header Base === */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  position: relative;
  z-index: 1000; /* Make sure header is above hero */
}

/* === Hamburger Button === */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001; /* On top of menu */
}

.hamburger .bar {
  width: 24px;
  height: 2px;
  background-color: black;
  transition: 0.3s;
}

/* === Navigation Links (Desktop) === */
.header-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .header-links {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    flex-direction: column;
    gap: 12px;
    position: absolute;
    top: 100%;
    right: 16px;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.07);
    z-index: 9999;
    color: black !important;
  }

  .header-links.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .header-links a {
    color: black;
  }

  .button-primary {
    color: white !important;
  }
}
