/* ================= HEADER BASE ================= */

.header-container {
  width: 100%;
  background: #fffdf6;
  border: #d86044 3px solid;
}

.site-header {
  height: 88px;
  padding: 0 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
}

.logo-image {
  height: 80px;
  width: auto;
}

/* Navigation - desktop */
.nav-menu {
  display: flex;
  gap: 36px;
  align-items: center;
}

.nav-link {
  position: relative;
  font-family: "Manrope", sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #2f2f2f;
  text-decoration: none;
  padding-bottom: 6px;
  transition: color 0.25s ease;
}

/* Underline effect */
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: #e28b76;
  transition: width 0.25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: #e28b76;
}

/* ================= HAMBURGER ================= */

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.hamburger span {
  width: 26px;
  height: 2px;
  background-color: #2f2f2f;
}

/* ================= TABLET ================= */

@media (max-width: 1024px) {
  .nav-menu {
    gap: 26px;
  }

  .nav-link {
    font-size: 14px;
  }
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {
  .site-header {
    height: 72px;
    padding: 0 5%;
  }

  .logo-image {
    height: 48px;
    width: auto;
  }

  /* Show hamburger */
  .hamburger {
    display: flex;
  }

  /* Convert nav into right-aligned dropdown */
  .nav-menu {
    position: absolute;
    top: 72px;
    right: 5%;
    width: 220px;
    background: #fffdf6;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    display: none;
    z-index: 1000;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-link {
    font-size: 15px;
    padding: 6px 0;
  }

  /* Remove underline on mobile */
  .nav-link::after {
    display: none;
  }
}
