/* Unified site navigation. The same bar on every page.
   Homepage:      <nav class="nav">                       (absolute at the top over the hero, never follows on scroll)
   Inner pages:   <nav class="nav nav-solid nav-static">  (in normal flow, always solid) */

.nav {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}

/* Solid white bar, used by inner pages. */
.nav.nav-solid {
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

/* Inner pages: the nav sits in the normal document flow instead of fixed. */
.nav-static { position: static; }

.nav-inner {
  position: relative;
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 22px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-brand {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
  color: #1d1d1f;
}

.nav-brand .gold-dot { color: #b58520; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #6e6e73;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-links a:hover { color: #1d1d1f; }

.nav-cta {
  display: inline-block;
  padding: 7px 18px;
  border-radius: 980px;
  background: #b58520;
  color: #fff !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta:hover {
  transform: scale(1.04);
  box-shadow: 0 6px 18px rgba(181, 133, 32, 0.4);
}

.live-dot { width: 10px; height: 10px; border-radius: 50%; background: #34c759; display: inline-block; position: relative; flex: 0 0 auto; }
.live-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #34c759; opacity: 0; animation: live-pulse 1.6s ease-out infinite; }
@keyframes live-pulse { 0% { transform: scale(0.5); opacity: 0.9; } 70% { transform: scale(1.1); opacity: 0; } 100% { transform: scale(1.1); opacity: 0; } }

/* Hamburger button (mobile only) */
.nav-menu-btn {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}

.nav-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: #1d1d1f;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile dropdown menu */
.mobile-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 12px;
  min-width: 240px;
  background: #fff;
  border: 1px solid #e8e8ed;
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.14);
  padding: 10px;
  z-index: 200;
}

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

.mobile-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  color: #1d1d1f;
  text-decoration: none;
}

.mobile-menu a:hover { background: #f5f5f7; }

.mobile-menu .menu-cta {
  justify-content: center;
  background: #b58520;
  color: #fff;
  border-radius: 999px;
  margin-top: 6px;
}

.mobile-menu .menu-cta:hover { background: #b58520; color: #fff; }

@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-menu-btn { display: flex; }
}
