/* ------------------ Shared Site Nav ------------------ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 60px;
  background: #fffaf0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  font-family: 'Poppins', Arial, sans-serif;
}

.site-nav .site-logo img {
  height: 48px;
  display: block;
}

.site-nav .nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav .nav-links a {
  text-decoration: none;
  color: #8b2e00;
  font-weight: 500;
  font-size: 15px;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.site-nav .nav-links a:hover {
  color: #C58C3D;
}

.site-nav .nav-links a.active {
  color: #C58C3D;
  border-bottom-color: #C58C3D;
}

.site-nav .nav-donate {
  background: linear-gradient(135deg, #f39c12, #e67e22);
  color: white;
  border: none;
  padding: 10px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: opacity 0.2s;
}

.site-nav .nav-donate:hover {
  opacity: 0.9;
}

/* Items visible only in the mobile dropdown are hidden on desktop */
.site-nav .nav-links .mobile-only {
  display: none;
}

/* Hamburger — hidden on desktop */
.site-nav .nav-hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  color: #8b2e00;
  cursor: pointer;
  padding: 4px 8px;
}

/* ------------------ Mobile ------------------ */
@media (max-width: 768px) {
  .site-nav {
    padding: 10px 20px;
  }

  .site-nav .nav-hamburger {
    display: block;
  }

  /* Desktop CTA is replaced by the one inside the dropdown */
  .site-nav .nav-donate {
    display: none !important;
  }

  /* Dropdown hangs below the bar; nothing can overlap it */
  .site-nav .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0 20px 10px;
    background: #fffaf0;
    border-top: 1px solid #f0d9b5;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
    z-index: 1001;
  }

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

  /* Anchors must be block-level here: vertical padding on an inline
     element paints over its neighbours instead of taking up space. */
  .site-nav .nav-links a {
    display: block;
    padding: 14px 4px;
    border-bottom: 1px solid #f7e6c9;
  }

  .site-nav .nav-links a.active {
    border-bottom-color: #C58C3D;
  }

  .site-nav .nav-links .mobile-only {
    display: list-item;
  }

  .site-nav .nav-links .nav-donate-mobile {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
    text-align: center;
    font-weight: 600;
    padding: 14px;
    border-radius: 10px;
    margin: 10px 0 4px;
    border-bottom: none;
  }

  .site-nav .nav-links .nav-donate-mobile:hover {
    color: white;
  }
}
