/* AWP Global Navigation - Single Source of Truth
   Include on EVERY page: <link rel="stylesheet" href="/css/awp-nav.css">
   Match with /js/awp-nav.js for mobile toggle + scroll effect
*/

/* Nav bar */
.awp-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(27,58,75,0.08);
  transition: box-shadow 0.3s;
}

.awp-nav.scrolled {
  box-shadow: 0 4px 30px rgba(27,58,75,0.08);
}

.awp-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Brand */
.awp-nav-brand {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 1.35rem;
  color: #1B3A4B;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.awp-nav-brand span {
  color: #D4A843;
}

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

.awp-nav-links a {
  color: #64748B;
  text-decoration: none;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.2s;
}

.awp-nav-links a:hover,
.awp-nav-links a:focus-visible {
  color: #1B3A4B;
}

/* Hamburger toggle */
.awp-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  position: relative;
  padding: 0;
}

.awp-nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #1B3A4B;
  position: absolute;
  left: 5px;
  transition: all 0.3s;
}

.awp-nav-toggle span:nth-child(1) { top: 9px; }
.awp-nav-toggle span:nth-child(2) { top: 15px; }
.awp-nav-toggle span:nth-child(3) { top: 21px; }

/* Mobile menu */
.awp-mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  z-index: 999;
  background: #ffffff;
  border-bottom: 1px solid rgba(27,58,75,0.1);
  padding: 24px;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.awp-mobile-menu.open {
  display: flex;
}

.awp-mobile-menu a {
  color: #1B3A4B;
  text-decoration: none;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  padding: 8px 0;
}

.awp-mobile-menu a:hover {
  color: #2E8B8B;
}

/* Responsive */
@media (max-width: 768px) {
  .awp-nav-links {
    display: none;
  }
  .awp-nav-toggle {
    display: block;
  }
}

/* Spacer - add to the first content element after nav */
.awp-nav-spacer {
  height: 72px;
}

/* Focus styles */
.awp-nav a:focus-visible,
.awp-nav-toggle:focus-visible {
  outline: 3px solid #2E8B8B;
  outline-offset: 2px;
  border-radius: 4px;
}
