/* ======================================================
   HAMPLEE — NAVIGATION STYLES v2.0
   ====================================================== */

/* Variables (mirror styles.css) */
:root {
  --gold:        #C9A959;
  --gold-light:  #E8D5A3;
  --dark:        #1A1A1A;
  --cream:       #F8F7F4;
  --white:       #FFFFFF;
  --grey:        #6B6B6B;
  --border-soft: rgba(0,0,0,0.07);
  --font-serif:  'Cormorant Garamond', serif;
  --font-sans:   'Montserrat', sans-serif;
  --ease-out:    cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ── Nav Placeholder ── */
.nav-placeholder {
  height: 108px;
  background: var(--cream);
}
body.nav-loaded .nav-placeholder {
  display: none;
  height: 0;
}

/* ── Announcement Bar ── */
.announcement-bar {
  background: var(--dark);
  color: rgba(255,255,255,0.65);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-align: center;
  padding: 9px 20px;
  line-height: 1.4;
}

.announcement-bar a {
  color: var(--gold-light);
  text-decoration: none;
  transition: color 0.2s;
}
.announcement-bar a:hover { color: var(--gold); }

/* ── Main Navigation ── */
nav {
  position: sticky;
  top: 0;
  width: 100%;
  background: var(--cream);
  z-index: 500;
  border-bottom: 1px solid var(--border-soft);
}

.nav-inner {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* ── Logo ── */
.nav-logo {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 4px;
  color: var(--dark);
  text-decoration: none;
  transition: color 0.2s;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}
.nav-logo:hover { color: var(--gold); }

/* ── Desktop Menu ── */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-menu a {
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--grey);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
  padding-bottom: 2px;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease-out);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--dark);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

/* ── Nav Icons ── */
.nav-icons {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.nav-wish-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--dark);
  transition: color 0.2s;
}
.nav-wish-icon:hover { color: var(--gold); }
.nav-wish-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

.nav-wish-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 16px;
  height: 16px;
  background: var(--gold);
  color: var(--white);
  border-radius: 8px;
  font-size: 9px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  pointer-events: none;
}

/* ── Hamburger ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--dark);
  transition: all 0.3s var(--ease-out);
  transform-origin: center;
}

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

/* ── Mobile Overlay ── */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 490;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
body.nav-open .nav-overlay {
  opacity: 1;
  pointer-events: all;
}

/* ── Mobile Drawer ── */
.nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: min(320px, 85vw);
  height: 100vh;
  background: var(--white);
  z-index: 495;
  padding: 28px 32px 40px;
  transform: translateX(-100%);
  transition: transform 0.4s var(--ease-out);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

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

.drawer-close {
  background: none;
  border: none;
  font-size: 28px;
  color: var(--dark);
  cursor: pointer;
  align-self: flex-end;
  line-height: 1;
  padding: 0;
  transition: color 0.2s;
}
.drawer-close:hover { color: var(--gold); }

.drawer-logo {
  font-family: var(--font-serif);
  font-size: 24px;
  letter-spacing: 4px;
  color: var(--dark);
  text-decoration: none;
}

.drawer-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border-soft);
}

.drawer-menu li a {
  display: block;
  padding: 18px 0;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--grey);
  text-decoration: none;
  border-bottom: 1px solid var(--border-soft);
  transition: color 0.2s;
}
.drawer-menu li a:hover,
.drawer-menu li a.active { color: var(--dark); }

.drawer-contact {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid var(--border-soft);
  padding-top: 28px;
}

.drawer-contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--grey);
  text-decoration: none;
  transition: color 0.2s;
}
.drawer-contact-link:hover { color: var(--gold); }
.drawer-contact-link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  fill: currentColor;
  stroke: none;
}
.drawer-contact-link:last-child svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

/* ── Responsive: show hamburger ── */
@media (max-width: 960px) {
  .nav-menu { display: none; }
  .nav-hamburger { display: flex; }
  .nav-logo {
    position: static;
    transform: none;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .announcement-bar { font-size: 10px; }
  .nav-inner { padding: 0 16px; }
}
