/* =============================================
   HEADER — Fixed navigation
   ============================================= */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background-color: var(--bg-light);
  border-bottom: 1px solid rgba(78, 60, 38, 0.1);
  display: flex;
  align-items: center;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Logo / Name */
.site-header__logo {
  font-family: var(--font-hand);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--brown);
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
}

.site-header__logo span {
  display: block;
  font-size: 0.75rem;
  font-family: var(--font-body);
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: 2px;
}

/* Navigation */
.site-nav {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
}

.site-nav a {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
  position: relative;
  padding-bottom: 2px;
  transition: color 0.2s;
}

.site-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background-color: var(--turquoise);
  transition: width 0.25s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--brown);
}

.site-nav a:hover::after,
.site-nav a.active::after {
  width: 100%;
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background-color: var(--brown);
  transition: all 0.3s;
}

@media (max-width: 700px) {
  .site-header {
    height: 60px;
  }

  /* Logo + hamburger: logo left, hamburger hard right */
  .site-header .container {
    justify-content: space-between;
  }

  .nav-toggle {
    display: flex;
    margin-left: auto;   /* push to far right */
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background-color: var(--bg-light);
    flex-direction: column;
    gap: 0;
    padding: 16px 0 24px;
    border-bottom: 1px solid rgba(78, 60, 38, 0.1);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  }

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

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

  .site-nav a {
    display: block;
    padding: 14px 32px;
    font-size: 0.82rem;
  }

  .site-nav a::after {
    display: none;
  }
}
