/* =============================================================
   MAPLE HEAD SPA — SHARED STYLES
   Navbar · Footer · CSS Variables · Reset
   Loaded on every inner page (About, Services, Gallery, Contact)
   Also loaded on index.html for footer consistency
============================================================= */

/* === CSS VARIABLES === */
:root {
  /* Backgrounds */
  --cream:       #F6F1E6;
  --cream-2:     #F2ECE1;
  --ivory:       #F6F1E6;
  --paper:       #F4ECDD;
  /* Accent tones */
  --olive:       #5A5E3F;
  --olive-deep:  #4A4E33;
  --mauve:       #8E7263;
  --beige:       #C9B89B;
  --tan:         #B5A180;
  --warm-tan:    #C7A88A;
  /* Browns */
  --deep-brown:  #4A2E1F;
  --dark-brown:  #2E1C12;
  --brown:       #2A1E0F;
  --dark:        #1A1109;
  /* Bronze */
  --bronze:      #C9A96E;
  --bronze-d:    #A67C3D;
  /* Text */
  --text-dark:   #3A2718;
  --text-soft:   #6B4E3A;
  --text-on-dark:#F4EEE2;
  --light:       #F4EEE2;
  --ink:         #65584C;
  /* Borders */
  --line:        rgba(74,46,31,.18);
  --line-soft:   rgba(74,46,31,.10);
  /* Typography */
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans:  "Jost", "Helvetica Neue", sans-serif;
  /* Easing */
  --ease-soft: cubic-bezier(.22,.61,.36,1);
  /* Transition shorthand */
  --tr: all .45s ease;
}

/* === RESET & BASE === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html, body { width: 100%; overflow-x: hidden; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--text-dark);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-delay: 0ms !important;
    transition-duration: .001ms !important;
  }
  html { scroll-behavior: auto; }
}

/* === NAVBAR === */
.lux-navbar {
  position: fixed; top: 0; left: 0; width: 100%;
  z-index: 9999;
  background: rgba(246,241,230,.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(201,169,110,.14);
  transition: background .4s ease, box-shadow .4s ease;
}
.lux-navbar.scrolled {
  background: rgba(246,241,230,.98);
  box-shadow: 0 10px 40px rgba(42,30,15,.08);
}
.nav-container {
  width: 100%; max-width: 1440px; margin: 0 auto;
  padding: 16px 42px;
  display: flex; align-items: center; justify-content: space-between;
  position: relative;
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
  color: var(--brown); text-decoration: none;
  transition: transform .4s ease;
  z-index: 10001; position: relative;
}
.nav-logo:hover { transform: translateY(-2px); }
.nav-logo-img { width: 62px; height: 62px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-sep {
  display: block; width: 1px; height: 18px;
  background: rgba(42,30,15,.16); flex-shrink: 0;
}
.nav-links a {
  position: relative;
  font-size: 11px; letter-spacing: .45em; text-transform: uppercase;
  color: var(--brown); font-family: var(--sans); font-weight: 400;
  white-space: nowrap; transition: color .4s ease;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -6px;
  width: 100%; height: 1px; background: var(--bronze);
  transform: scaleX(0); transform-origin: center; transition: transform .4s ease;
}
.nav-links a:hover { color: var(--bronze-d); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--bronze-d); }
.menu-btn {
  display: none; flex-direction: column; justify-content: center;
  gap: 6px; cursor: pointer; background: none; border: none;
  padding: 8px; z-index: 10001; position: relative;
}
.menu-btn span {
  display: block; width: 26px; height: 1.5px;
  background: var(--brown);
  transition: transform .4s ease, opacity .4s ease;
  transform-origin: center;
}
.menu-btn.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-btn.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 991px) {
  .menu-btn { display: flex; }
  .nav-links {
    position: fixed; top: 0; left: 0; width: 100%; height: 100dvh;
    background: var(--cream);
    flex-direction: column; align-items: center; justify-content: center;
    gap: 32px; padding: 100px 24px 40px;
    z-index: 10000;
    opacity: 0; visibility: hidden; transform: translateY(-16px); pointer-events: none;
    transition: opacity .45s var(--ease-soft), transform .45s var(--ease-soft), visibility 0s .45s;
  }
  .nav-links.active {
    opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto;
    transition: opacity .45s var(--ease-soft), transform .45s var(--ease-soft), visibility 0s 0s;
  }
  .nav-sep { display: none; }
  .nav-links a { font-size: 13px; letter-spacing: .42em; }
}
@media (max-width: 768px) {
  .nav-container { padding: 14px 24px; }
  .nav-logo-img { width: 54px; height: 54px; }
}

/* === FOOTER === */
.footer-dark { background: #050505; color: #E9DFC9; padding: 120px 0 80px; }
.footer-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.footer-top { text-align: center; margin-bottom: 90px; }
.footer-top h2 { font-size: 44px; font-family: 'Cormorant Garamond', serif; font-weight: 300; margin-bottom: 12px; }
.footer-top p { letter-spacing: 6px; font-size: 10px; color: #B18B4E; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 50px; }
.footer-grid h4 { font-size: 11px; letter-spacing: 4px; margin-bottom: 28px; color: #B18B4E; }
.footer-grid p,
.footer-grid li { font-size: 16px; line-height: 2; list-style: none; }
.footer-grid ul { padding: 0; }
.footer-grid a { transition: opacity .3s ease; }
.footer-grid a:hover { opacity: .6; }

@media (max-width: 991px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) {
  .footer-dark { padding: 80px 0 60px; }
  .footer-top { margin-bottom: 60px; }
  .footer-top h2 { font-size: 34px; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-dark { padding: 60px 0 50px; }
  .footer-top { margin-bottom: 48px; }
  .footer-container { padding: 0 24px; }
}
