.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #eee;
  background-color: white;
}

.header-inner {
  background-color: white;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: fit-content;
}

.logo {
  width: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}

.site-header .menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-right: 2rem;
}

.site-header nav ul {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-header nav ul li {
  white-space: nowrap;
}

.site-header nav a {
  text-decoration: none;
  color: black;
  font-weight: 320;
}

.site-header nav a.active {
  color: var(--primary);
}

.site-header .header-cta {
  white-space: nowrap;
  text-decoration: none;
  background-color: var(--primary);
  padding: 0.5rem 0.75rem;
  color: white;
  border-radius: 8px;
}

.site-header nav a:hover {
  color: var(--primary);
}

/* --- HAMBURGER --- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 19px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hamburger span {
  height: 3px;
  width: 100%;
  background: black;
  border-radius: 2px;
}

.hamburger span:nth-child(1) {
  transition: all 0.3s ease;
}

.hamburger span:nth-child(3) {
  transition: all 0.3s ease;
}

/* --- MOBILE NAV --- */
@media (max-width: 1100px) {
  .header-inner {
    width: 100%;
  }

  .site-header .menu {
    display: flex;
    position: fixed;
    flex-direction: column;
    align-items: flex-start;
    left: 0;
    top: 0;
    transition: transform 0.25s ease-out;
    transform: translateY(-100%);
    pointer-events: none;
    z-index: -1;
    background: white;
    gap: 1rem;
    width: 100%;
    padding: 2rem;
    border-bottom: 1px solid #eee;
  }

  .site-header .menu.open {
    transform: translateY(var(--menu-offset, 0));
    box-shadow: rgba(0, 0, 0, 0.3) 0px 3rem 40px;
    pointer-events: auto;
  }

  .site-header .menu nav ul {
    width: 100%;
    flex-wrap: wrap;
    flex-direction: column;
  }

  .hamburger {
    display: flex;
  }
}

@media (max-width: 480px) {
  .logo {
    width: 100px;
  }
  .menu {
    flex-direction: column;
    align-items: flex-start;
  }

  nav ul {
    flex-direction: column;
  }
}

/* Optional: Hamburger Animation */
.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}
