/* ===== GLOBAL HEADER ===== */
/* Shared header styles for all pages (except quiz/offer) */
/* Include this CSS on every page that needs the standard header */

/* Variables (only set if not already defined by page CSS) */
:root {
  --bg-warm-white: #FFFDF7;
  --white: #FFFFFF;
  --text-forest: #1B3329;
  --text-olive: #3D5245;
  --forest: #1B3329;
  --citrus: #F9C74F;
  --leaf: #4A7C59;
  --divider: #E8EBE8;
}

/* ===== SITE HEADER ===== */
.site-header {
  background: var(--bg-warm-white);
  border-bottom: 1px solid var(--divider);
  padding: 0 20px;
  position: relative;
  z-index: 100;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.header-logo:hover {
  opacity: 0.8;
}

.header-logo img {
  height: 50px;
  width: auto;
}

.header-nav {
  display: none;
  gap: 24px;
  align-items: center;
}

.header-nav a {
  font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-olive);
  text-decoration: none;
  transition: color 0.2s;
}

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

.header-nav a.nav-login {
  background: var(--forest);
  color: var(--white) !important;
  padding: 12px 24px;
  border-radius: 100px;
  font-weight: 600;
  transition: all 0.2s;
}

.header-nav a.nav-login:hover {
  background: var(--citrus);
  color: var(--forest) !important;
}

.header-nav .nav-divider {
  width: 1px;
  height: 20px;
  background: var(--divider);
}

/* Mobile menu button */
.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-forest);
  transition: transform 0.2s, opacity 0.2s;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--divider);
  box-shadow: 0 4px 24px rgba(27, 51, 41, 0.06);
  padding: 16px 20px;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 12px 0;
  font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-olive);
  text-decoration: none;
  border-bottom: 1px solid var(--divider);
}

.mobile-menu a:last-child {
  border-bottom: none;
}

.mobile-menu a:hover {
  color: var(--forest);
}

.mobile-menu .nav-login {
  color: var(--leaf);
  font-weight: 600;
}

/* Desktop header */
@media (min-width: 768px) {
  .header-nav {
    display: flex;
  }

  .mobile-menu-btn {
    display: none;
  }

  .mobile-menu {
    display: none !important;
  }

  .header-logo img {
    height: 55px;
  }
}
