/* ============================================================
   NAVIGATION — Matches reference design exactly
   Two-row nav. Stacked logo. Gold CTA button.
   ============================================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: transparent;
  transition: background-color 300ms ease-out,
              backdrop-filter 300ms ease-out;
}

.site-header.scrolled {
  background-color: rgba(17, 17, 20, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* ── Nav Inner Wrapper ── */
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 90px;
}

/* ── Logo ── */
.nav-logo {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 12px 0;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.logo-main {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #C8B37A;
  line-height: 1.1;
  display: block;
}

.logo-sub {
  font-family: 'Inter', sans-serif;
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #A1A1A6;
  display: block;
  margin-top: 3px;
  text-align: center;
  width: 100%;
}

.logo-tagline {
  display: none;
}

/* ── Two-Row Nav Links ── */
.nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 0;
}

.nav-row {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245, 241, 232, 0.75);
  text-decoration: none;
  transition: color 300ms ease-out;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: #F5F1E8;
}

/* ── Right Actions ── */
.nav-actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-contact-link {
  display: none;
}

.nav-cta {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background-color: #C8B37A;
  color: #0B0B0D;
  border: none;
  padding: 12px 22px;
  border-radius: 0;
  text-decoration: none;
  display: inline-block;
  transition: background-color 300ms ease-out;
  white-space: nowrap;
}

.nav-cta:hover {
  background-color: #B8A46A;
}

/* ── Mobile Hamburger ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  height: 1px;
  background-color: #F5F1E8;
  transition: transform 300ms ease-out, opacity 300ms ease-out;
  transform-origin: center;
}

.nav-hamburger span:nth-child(1) { width: 24px; }
.nav-hamburger span:nth-child(2) { width: 18px; }
.nav-hamburger span:nth-child(3) { width: 24px; }

.nav-hamburger.open span:nth-child(1) { width: 24px; transform: translateY(6px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { width: 24px; transform: translateY(-6px) rotate(-45deg); }

/* ── Mobile Drawer ── */
.nav-drawer {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #111114;
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 100px 32px 48px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease-out;
}

.nav-drawer.open {
  opacity: 1;
  pointer-events: all;
}

.nav-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 48px;
}

.nav-drawer-link {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.875rem;
  font-weight: 400;
  color: #F5F1E8;
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 1px solid rgba(161, 161, 166, 0.1);
  transition: color 300ms ease-out;
}

.nav-drawer-link:hover { color: #C8B37A; }

.nav-drawer-cta {
  width: 100%;
  text-align: center;
  margin-top: auto;
  background-color: #C8B37A;
  color: #0B0B0D;
  padding: 14px 24px;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  display: block;
  border-radius: 0;
}

/* ── Mobile Bottom Bar ── */
.nav-mobile-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1001;
  background-color: rgba(17, 17, 20, 0.97);
  backdrop-filter: blur(12px);
  padding: 12px 16px;
  border-top: 1px solid rgba(161, 161, 166, 0.1);
}

/* ── Tablet ── */
@media (max-width: 1023px) {
  .nav-inner {
    grid-template-columns: auto 1fr auto;
    min-height: 76px;
  }

  .nav-row { gap: 20px; }
  .nav-link { font-size: 0.65rem; }
}

/* ── Mobile ── */
@media (max-width: 767px) {
  .nav-inner {
    grid-template-columns: 1fr auto;
    min-height: 68px;
    padding: 0 20px;
  }

  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .nav-mobile-bar { display: block; }
}
