/* ============================================================
   SUMMIT HORIZON CO. — Navigation
   Desktop navbar, hamburger menu, mobile overlay, and sticky CTA.
   ============================================================ */

/* ============================================================
   Desktop Navbar
   ============================================================ */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  background: transparent;
  transition: var(--transition);
}

nav.scrolled {
  padding: 14px 0;
  background: rgba(10, 10, 10, 0.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-left,
.nav-right {
  width: 220px;
}

.nav-center {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-right {
  display: flex;
  justify-content: flex-end;
}

/* ============================================================
   Logo
   ============================================================ */

.nav-logo {
  display: flex;
  width: 180px;
  text-decoration: none;
}

.nav-logo img {
  display: block;
  width: 100%;
  height: auto;
}

/* ============================================================
   Desktop Navigation Links
   ============================================================ */

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  position: relative;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white-muted);
  text-decoration: none;
  transition: var(--transition);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-links a:hover::after {
  width: 100%;
}

/* ============================================================
   Desktop CTA
   ============================================================ */

.nav-cta {
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--black);
  text-decoration: none;
  transition: var(--transition);
}

.nav-cta:hover {
  opacity: 0.9;
}

/* ============================================================
   Hamburger Button
   ============================================================ */

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  background: none;
  border: 0;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: var(--transition);
}

.hamburger.hidden {
  opacity: 0;
  pointer-events: none;
}

/* ============================================================
   Mobile Fullscreen Navigation Overlay
   ============================================================ */

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  background: var(--black-mid);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-link {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
}

.mobile-link:hover {
  color: var(--gold);
}

.mobile-nav .btn {
  font-size: 16px;
}

.mobile-nav-close {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 2001;
  background: none;
  border: 0;
  color: var(--white-dim);
  font-size: 28px;
  cursor: pointer;
  transition: var(--transition);
}

.mobile-nav-close:hover {
  color: var(--gold);
}

/* ============================================================
   Sticky Mobile CTA Bar
   ============================================================ */

.mobile-cta-bar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 900;
  display: none;
  gap: 10px;
  padding: 12px 16px;
  background: var(--black-mid);
  border-top: 1px solid var(--border);
}

.mobile-cta-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
}

.mobile-cta-bar .mcta-call {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--black);
}

.mobile-cta-bar .mcta-text {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1024px) {
  .nav-right {
    display: none;
  }
}

@media (max-width: 810px) {
  body {
    padding-bottom: 80px;
  }

  .nav-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }

  .nav-left {
    grid-column: 2;
    justify-self: center;
    width: auto;
  }

  .nav-logo {
    width: 140px;
  }

  .nav-center,
  .nav-right {
    display: none;
  }

  .hamburger {
    grid-column: 3;
    justify-self: end;
    display: flex;
  }

  .mobile-cta-bar {
    display: flex;
  }
}