/**
 * OCM Landing Page - Header & Navigation
 * 
 * Sticky Header, Navigation, Hamburger Menu
 */

.header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}

.header .container.nav {
  max-width: 1500px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 84px;
  padding: 10px 20px;
}

.nav .logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  cursor: pointer;
}

.nav ul {
  display: flex;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-item-hidden {
  display: none !important;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--text);
  transition: all 0.2s ease;
  white-space: nowrap;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
}

.nav a:hover,
.nav a:focus-visible {
  background: rgba(15, 107, 77, 0.08);
  color: var(--brand);
  text-decoration: none;
  outline: none;
}

.nav a.active {
  background: rgba(15, 107, 77, 0.11);
  color: var(--brand);
  font-weight: 700;
}

.nav a.cta {
  background: var(--brand);
  color: #fff;
  padding: 9px 16px;
  box-shadow: 0 10px 22px rgba(15, 107, 77, 0.18);
}

.nav a.cta:hover,
.nav a.cta:focus-visible {
  background: #0b5c42;
  color: #fff;
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--brand);
  transition: all 0.3s ease;
  border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 9;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu ul li {
  margin: 12px 0;
}

.mobile-menu ul li a {
  display: block;
  padding: 12px 16px;
  border-radius: 8px;
  color: var(--text);
  font-size: 16px;
  transition: all 0.2s ease;
}

.mobile-menu ul li a:hover,
.mobile-menu ul li a.active {
  background: var(--border);
  color: var(--brand);
  text-decoration: none;
}

.mobile-menu ul li a.cta {
  background: var(--orange);
  color: #fff;
  text-align: center;
}
