/* ============================================================
   HEADER — Lumè Nail Spa & Beauty Bar
   ============================================================ */

/* ── Header wrapper ───────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 68px;
  background-color: rgba(248, 244, 240, 0.97);
  z-index: 100;
  transition: all 0.3s ease;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Transparent Modifier for Dark Hero Backgrounds */
.header--transparent {
  background-color: transparent;
}

/* ── Logo ─────────────────────────────────────────────────────── */
.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  z-index: 101;
}

.header__logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Remove the color override since we are using an image now */
/* .header--transparent .header__logo-text { color: #ffffff; } */

/* ── Desktop nav ──────────────────────────────────────────────── */
.nav {
  display: none;
  align-items: center;
}

@media (min-width: 1024px) {
  .nav {
    display: flex;
  }
}

.nav__list {
  display: flex;
  list-style: none;
  gap: 36px;
  margin: 0;
  padding: 0;
}

.nav__link {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #666;
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.nav__link:hover {
  color: #1a1a1a;
}

.nav__link--active {
  color: #1a1a1a;
  border-bottom-color: #8b6950;
}

.header--transparent .nav__link {
  color: rgba(255, 255, 255, 0.7);
}

.header--transparent .nav__link:hover {
  color: #ffffff;
}

.header--transparent .nav__link--active {
  color: #ffffff;
  border-bottom-color: #8b6950;
}

/* ── Header actions ────────────────────────────────────────────── */
.header__actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header__phone {
  display: none;
}

.header__cta {
  display: none;
  background-color: #8b6950;
  color: #ffffff;
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 11px 22px;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.header__cta:hover {
  background-color: #725540;
}

@media (min-width: 768px) {
  .header__cta {
    display: inline-flex;
  }
}

/* ── Hamburger button ─────────────────────────────────────────── */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 101;
}

@media (min-width: 1024px) {
  .hamburger {
    display: none;
  }
}

.hamburger__line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #1a1a1a;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.header--transparent .hamburger__line {
  background-color: #ffffff;
}

/* Mobile: always white lines over hero dark background */
@media (max-width: 768px) {
  .hamburger__line {
    background-color: #ffffff;
  }
}

.hamburger__line + .hamburger__line {
  margin-top: 6px;
}

.hamburger[aria-expanded='true'] .hamburger__line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger[aria-expanded='true'] .hamburger__line:nth-child(2) {
  opacity: 0;
}

.hamburger[aria-expanded='true'] .hamburger__line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* When overlay is open, force lines to dark since overlay bg is light */
.hamburger[aria-expanded='true'] .hamburger__line {
  background-color: #1a1a1a !important;
}

/* ── Mobile nav overlay — Editorial Dark Drawer ──────────────────────
   All rules below are mobile-ONLY. Desktop above is untouched.
   ──────────────────────────────────────────────────────────────────── */

/* Body scroll lock when drawer is open */
body.nav-open {
  overflow: hidden;
}

.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #1C1410;
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
  overflow: hidden;
  /* Slide in from right */
  transform: translateX(100%);
  transition: transform 0.55s cubic-bezier(0.76, 0, 0.24, 1);
  /* Kill the old opacity/visibility approach */
  opacity: 1;
  visibility: visible;
}

/* LUMÈ ghost watermark — barely visible brand presence */
.mobile-nav::before {
  content: 'LUMÈ';
  position: absolute;
  bottom: 80px;
  right: -20px;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 140px;
  letter-spacing: 0.05em;
  color: rgba(201, 168, 76, 0.04);
  line-height: 1;
  pointer-events: none;
  z-index: 0;
  user-select: none;
  white-space: nowrap;
}

/* Open state — slide into view */
.mobile-nav.is-open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}

/* ── Top bar: LUMÈ wordmark + gold × close ── */
.mobile-nav__topbar {
  height: 72px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.mobile-nav__wordmark {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 18px;
  letter-spacing: 0.25em;
  color: #FAF7F4;
  text-transform: uppercase;
}

.mobile-nav__close {
  background: none;
  border: none;
  padding: 8px;
  margin: -8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  flex-shrink: 0;
}

/* ── Nav links block ── */
.mobile-nav__links {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 28px;
  gap: 0;
  position: relative;
  z-index: 1;
}

/* ── Each nav item row ── */
.mobile-nav__item.nav-item-row {
  border-bottom: 1px solid rgba(201, 168, 76, 0.12);
  padding: 20px 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  cursor: pointer;
  list-style: none;
  /* Stagger entrance: initial state (when drawer is closed) */
  opacity: 0;
  transform: translateX(20px);
  /* Single unified transition — delay set inline per row */
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Top border on first item */
.mobile-nav__item.nav-item-row:first-child {
  border-top: 1px solid rgba(201, 168, 76, 0.12);
}

/* Entrance: when drawer is open, rows bloom in with their inline transition-delay */
.mobile-nav.is-open .mobile-nav__item.nav-item-row {
  opacity: 1;
  transform: translateX(0);
}

/* Exit: when drawer closes, immediately reset (no delay) */
.mobile-nav:not(.is-open) .mobile-nav__item.nav-item-row {
  transition-delay: 0s !important;
}

/* Left group: counter + link */
.mobile-nav__item-left {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

/* Index counter */
.mobile-nav__counter {
  font-family: 'Jost', sans-serif;
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 0.2em;
  color: rgba(201, 168, 76, 0.5);
  flex-shrink: 0;
}

/* Nav link text — typographic event */
.mobile-nav__link {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 38px;
  letter-spacing: 0.04em;
  color: #FAF7F4;
  text-decoration: none;
  line-height: 1;
  transition: color 0.25s ease;
  border-bottom: none;
}

.mobile-nav__link:active,
.mobile-nav__link:hover {
  color: #C9A84C;
}

.mobile-nav__link--active {
  color: #FAF7F4;
}

/* Active page indicator — 6×6px gold square */
.mobile-nav__active-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: transparent;
  flex-shrink: 0;
  border-radius: 0;
}

.mobile-nav__active-dot--visible {
  background: #C9A84C;
}

/* ── Footer: discreet contact whisper ── */
.mobile-nav__contact {
  padding: 24px 28px 40px 28px;
  border-top: 1px solid rgba(201, 168, 76, 0.12);
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  /* reset old center alignment */
  text-align: left;
  margin-top: 0;
}

.mobile-nav__contact-label {
  font-family: 'Jost', sans-serif;
  font-size: 8px;
  font-weight: 300;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(201, 168, 76, 0.5);
  margin-bottom: 10px;
  display: block;
}

.mobile-nav__contact a {
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: rgba(250, 247, 244, 0.75);
  text-decoration: none;
  display: block;
  margin-top: 0;
  transition: color 0.25s ease;
}

.mobile-nav__contact a:active,
.mobile-nav__contact a:hover {
  color: #C9A84C;
}

.mobile-nav__address {
  display: block;
  margin-top: 16px;
  font-family: 'Jost', sans-serif;
  font-size: 8px;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(201, 168, 76, 0.3);
}

/* ── Kill old mobile-nav__list styles that no longer apply ── */
.mobile-nav__list { display: none; }


.elite-header-center {
  position: absolute;
  top: 0; left: 0; width: 100%;
  z-index: 100;
  background: transparent;
  padding: 0;
  transition: background-color 0.4s ease, box-shadow 0.4s ease, top 0.4s ease;
}
.elite-header-center.header--scrolled {
  position: fixed;
  background: transparent;
  background-image: none;
  box-shadow: none;
  border-bottom: none;
}
.elite-header-center.header--scrolled .hamburger__line {
  background-color: #E8C98A !important;
}
.elite-header-center__inner {
  max-width: 1300px;
  width: 96%;
  margin: 30px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  height: 80px;
  position: relative;
  transition: all 0.4s ease;
  
  /* Bronze Pill Texture */
  background: linear-gradient(180deg, #3f3329 0%, #291e14 100%);
  border-radius: 60px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 
    0 15px 35px rgba(0,0,0,0.5),
    inset 0 2px 5px rgba(255, 255, 255, 0.15),
    inset 0 -3px 8px rgba(0, 0, 0, 0.6),
    0 0 0 1.5px #15100a;
}
.elite-header-center.header--scrolled .elite-header-center__inner {
  height: 60px;
  margin-top: 15px;
}
.elite-nav-left, .elite-nav-right {
  display: flex;
  align-items: center;
}
.elite-nav-left { justify-content: flex-end; padding-left: 120px; padding-right: 60px; }
.elite-nav-right { justify-content: flex-start; padding-left: 60px; padding-right: 200px; }

/* Left Socials */
.elite-nav-socials {
  position: absolute;
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 24px;
}
.elite-nav-social-link {
  color: #d2a975;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.elite-nav-social-link svg {
  width: 18px;
  height: 18px;
}
.elite-nav-social-link:hover {
  color: #fff;
  transform: translateY(-2px);
}

.elite-nav__list {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0; padding: 0;
  align-items: center;
}
.elite-nav__link {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  font-weight: 500;
  color: #fff; /* Default to white */
  text-transform: uppercase;
  letter-spacing: 2px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}
.elite-header-center.header--scrolled .elite-nav__link {
  color: #fff;
  font-size: 13px;
}
.elite-nav__link:hover {
  color: #d2a975; /* Hover to gold */
  background: transparent;
  border: none;
  box-shadow: none;
}
.elite-header-center.header--scrolled .elite-nav__link:hover {
  color: #d2a975;
}
.elite-nav__dropdown-icon {
  width: 12px; height: 12px;
  margin-left: 6px;
  stroke: currentColor;
  transition: transform 0.3s ease;
}
.elite-nav__link:hover .elite-nav__dropdown-icon {
  transform: translateY(2px);
}
.elite-nav__link--active {
  color: #d2a975; /* Active to gold */
  background: transparent;
  border: none;
  box-shadow: none;
}
.elite-header-center.header--scrolled .elite-nav__link--active {
  color: #d2a975;
}

/* Global Gift Cards Red Glow - Applies to all pages */
.elite-nav__link[href="giftcards.html"],
.mobile-nav__link[href="giftcards.html"],
.elite-header-center.header--scrolled .elite-nav__link[href="giftcards.html"] {
  color: #FF2A2A !important;
  text-shadow: 0 0 8px rgba(255, 42, 42, 0.6) !important;
}
.elite-nav__link::after {
  display: none;
}

/* Center Logo Lockup */
.elite-nav-center {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%; /* Constrain to grid row height */
  margin-top: 0; 
  transition: margin-top 0.4s ease;
}

.elite-header-center.header--scrolled .elite-nav-center {
  margin-top: 0;
}
.elite-logo-lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  position: relative;
}

.elite-logo-mark-wrap {
  height: 80px; /* Full pill height */
  width: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  transition: height 0.4s ease, margin 0.4s ease;
}
.elite-header-center.header--scrolled .elite-logo-mark-wrap {
  height: 60px; /* Smaller height on scroll */
  margin-bottom: 0;
}
.elite-logo-mark {
  height: 100%;
  width: auto;
  transform: scale(1.15) translateY(2px); /* Perfectly fitted inside the bounds without slicing the L tail */
  filter: brightness(0) saturate(100%) invert(76%) sepia(34%) saturate(614%) hue-rotate(346deg) brightness(88%) contrast(90%);
  transition: filter 0.3s ease, transform 0.3s ease;
}
.elite-logo-mark:hover {
  transform: scale(1.18) translateY(2px); /* Slight zoom on hover */
  filter: brightness(0) saturate(100%) invert(85%) sepia(20%) saturate(800%) hue-rotate(346deg) brightness(100%) contrast(90%);
}
.elite-header-center.header--scrolled .elite-logo-mark {
  /* No glow on scroll */
}
.elite-logo-wordmark {
  display: none;
}
.elite-logo-tagline {
  display: none;
}

/* Far Right CTA */
.elite-nav-actions {
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 20px;
}
.elite-nav-book-btn {
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  font-weight: 500;
  color: #f7f1e3;
  text-transform: none;
  letter-spacing: 0.5px;
  text-decoration: none;
  padding: 10px 20px 6px;
  border: 1.5px solid #d2a975;
  border-radius: 30px;
  background: transparent;
  transition: all 0.3s ease;
  box-shadow: inset 0 0 8px rgba(210, 169, 117, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.elite-nav-book-btn:hover {
  background: rgba(210, 169, 117, 0.1);
  box-shadow: inset 0 0 12px rgba(210, 169, 117, 0.3);
  color: #fff;
}
.elite-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Jost', sans-serif;
  font-size: 14px; /* Slightly refined */
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #FAF7F4; /* Matching the white text in hero button */
  background: #A38361; /* Matte golden brown matching the hero button */
  padding: 0 32px;
  height: 52px;
  border-radius: 2px; /* Sharp corners to match hero */
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  border: 1px solid transparent;
}
.elite-nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(163, 131, 97, 0.3);
  background: #B59573;
  border-color: #B59573;
}

@media (max-width: 1450px) {
  .elite-nav__list { gap: 32px; }
  .elite-nav-left { padding-right: 40px; }
  .elite-nav-right { padding-left: 40px; padding-right: 200px; }
}

@media (max-width: 1250px) {
  .elite-nav__list { gap: 24px; }
  .elite-nav-left { padding-right: 20px; }
  .elite-nav-right { padding-left: 20px; padding-right: 200px; }
  .elite-nav__link { font-size: 15px; letter-spacing: 2px; }
  .elite-nav-cta { padding: 0 24px; font-size: 13px; height: 44px; }
}

@media (max-width: 1100px) {
  .elite-header-center__inner {
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    height: 100px;
    /* Reset pill styles */
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    width: 100%;
    margin: 0;
  }
  .elite-nav-left, .elite-nav-right, .elite-nav-socials { display: none; }
  .elite-logo-lockup {
    margin-top: 0;
  }
  .elite-logo-mark-wrap { width: 100px; height: auto; margin-bottom: 0px; }
  .elite-header-center.header--scrolled .elite-logo-mark-wrap { width: 44px; }
  .elite-logo-wordmark { font-size: 26px; }
  .elite-logo-tagline { font-size: 8px; letter-spacing: 3px; }
  
  .elite-nav-actions {
    position: static;
    transform: none;
    gap: 16px;
    display: flex;
    align-items: center;
  }
  .elite-nav-book-btn {
    display: none;
  }
  .elite-header-center {
    padding: 0;
  }
}

/* === MOBILE HERO FIX ROUND 2 START === */
@media (max-width: 768px) {
  /* Fix 1: Hide top nav text branding on mobile */
  .elite-logo-wordmark,
  .elite-logo-tagline {
    display: none !important;
  }
  .elite-logo-mark-wrap {
    margin-bottom: 0 !important;
  }
  .elite-logo-mark {
    transform: scale(0.9) translateY(12px) !important; /* Scale down slightly and push down away from top screen edge */
  }
  /* Fix 5: Hamburger spacing matching left side */
  .elite-header-center__inner {
    padding-right: 20px !important;
  }
}
/* === MOBILE HERO FIX ROUND 2 END === */
