/* ============================================
   INFINITE ZEN ROOM GROOMING
   Main Stylesheet
   ============================================ */

:root {
  --sage:        #7A9E87;
  --sage-light:  #A8C4B0;
  --sage-dark:   #4E7260;
  --cream:       #F5F0E8;
  --cream-dark:  #EDE6D6;
  --charcoal:    #2C2C2C;
  --charcoal-mid:#4A4A4A;
  --gold:        #B8985A;
  --gold-light:  #D4B87A;
  --white:       #FDFCFA;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Jost', sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ============================================
   NAVIGATION
   ============================================ */
nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--cream-dark);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 60px; height: 76px;
  transition: box-shadow 0.3s ease;
}
nav.scrolled { box-shadow: 0 2px 20px rgba(44,44,44,0.08); }
.nav-logo {
  font-family: var(--font-display); font-size: 22px; font-weight: 400;
  letter-spacing: 0.02em; color: var(--charcoal); line-height: 1.2; flex-shrink: 0;
}
.nav-logo span {
  display: block; font-size: 11px; font-family: var(--font-body);
  font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sage);
}
.nav-links { display: flex; gap: 32px; list-style: none; align-items: center; }
.nav-links a {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--charcoal-mid); font-weight: 400; transition: color 0.2s ease;
  position: relative; white-space: nowrap;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -3px; left: 0;
  width: 0; height: 1px; background: var(--gold);
  transition: width 0.3s var(--ease-out);
}
.nav-links a:hover,
.nav-links a.active { color: var(--charcoal); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-cta {
  background: var(--sage); color: var(--white) !important;
  padding: 10px 22px; border-radius: 2px; font-size: 11px !important;
  letter-spacing: 0.14em; transition: background 0.2s ease !important;
}
.nav-cta:hover { background: var(--sage-dark) !important; }
.nav-cta::after { display: none !important; }

/* HAMBURGER */
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.nav-hamburger span {
  display: block; width: 24px; height: 1.5px;
  background: var(--charcoal); transition: all 0.3s ease; transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* MOBILE DRAWER */
.nav-drawer {
  display: none; position: fixed; top: 76px; left: 0; right: 0; bottom: 0;
  background: var(--white); z-index: 99; padding: 40px 32px;
  overflow-y: auto; transform: translateX(100%);
  transition: transform 0.35s var(--ease-out);
}
.nav-drawer.open { transform: translateX(0); }
.nav-drawer ul { list-style: none; display: flex; flex-direction: column; }
.nav-drawer ul li a {
  display: block; padding: 18px 0;
  border-bottom: 1px solid var(--cream-dark);
  font-family: var(--font-display); font-size: 28px; font-weight: 300;
  color: var(--charcoal); transition: color 0.2s, padding-left 0.2s;
}
.nav-drawer ul li a:hover { color: var(--sage-dark); padding-left: 8px; }
.nav-drawer .drawer-cta {
  display: inline-block; margin-top: 32px;
  background: var(--sage); color: var(--white);
  padding: 14px 32px; font-family: var(--font-body); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase; border-radius: 2px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
  display: inline-block; background: var(--sage); color: var(--white);
  padding: 14px 32px; font-family: var(--font-body); font-size: 11px;
  font-weight: 400; letter-spacing: 0.16em; text-transform: uppercase;
  border-radius: 2px; transition: all 0.25s ease; cursor: pointer;
}
.btn-primary:hover {
  background: var(--sage-dark); transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(78,114,96,0.25); color: var(--white);
}
.btn-outline {
  display: inline-block; border: 1px solid var(--sage); color: var(--sage-dark);
  padding: 12px 28px; font-family: var(--font-body); font-size: 11px;
  font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase;
  border-radius: 2px; transition: all 0.2s ease; cursor: pointer;
}
.btn-outline:hover { background: var(--sage); color: var(--white); }
.btn-text {
  font-size: 13px; color: var(--charcoal-mid);
  display: inline-flex; align-items: center; gap: 8px;
  transition: color 0.2s; cursor: pointer;
}
.btn-text:hover { color: var(--charcoal); }
.btn-text::after { content: '→'; transition: transform 0.2s ease; }
.btn-text:hover::after { transform: translateX(4px); }

/* ============================================
   SHARED SECTION ELEMENTS
   ============================================ */
.eyebrow {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--sage); margin-bottom: 16px; display: block;
}
.eyebrow-gold { color: var(--gold); }

.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 {
  font-family: var(--font-display); font-size: clamp(30px, 3vw, 48px);
  font-weight: 300; color: var(--charcoal); line-height: 1.2;
}
.section-header h2 em { font-style: italic; color: var(--sage-dark); }
.section-header p { max-width: 500px; margin: 16px auto 0; font-size: 15px; color: var(--charcoal-mid); }

.page-hero {
  background: var(--sage-dark); color: var(--white);
  padding: 80px 80px 60px; text-align: center;
}
.page-hero .eyebrow { color: var(--gold-light); }
.page-hero h1 {
  font-family: var(--font-display); font-size: clamp(36px, 5vw, 68px);
  font-weight: 300; line-height: 1.1; margin-bottom: 20px;
}
.page-hero h1 em { font-style: italic; color: var(--sage-light); }
.page-hero p {
  max-width: 560px; margin: 0 auto; font-size: 15px;
  color: rgba(255,255,255,0.7); line-height: 1.8;
}

.section-divider {
  display: flex; align-items: center; justify-content: center;
  padding: 48px 0; gap: 20px;
}
.divider-line { flex: 1; max-width: 120px; height: 1px; background: linear-gradient(90deg, transparent, var(--sage-light)); }
.divider-line.right { background: linear-gradient(90deg, var(--sage-light), transparent); }
.divider-icon { width: 32px; height: 32px; color: var(--sage); }

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--charcoal); color: rgba(255,255,255,0.7);
  padding: 60px 80px 40px;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px;
}
.footer-brand h3 {
  font-family: var(--font-display); font-size: 24px; font-weight: 300;
  color: var(--white); margin-bottom: 8px;
}
.footer-brand .tagline {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
}
.footer-brand p { font-size: 14px; line-height: 1.8; max-width: 300px; }
.footer-social { display: flex; gap: 16px; margin-top: 20px; }
.footer-social a {
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.5); transition: color 0.2s;
  display: flex; align-items: center; gap: 6px;
}
.footer-social a:hover { color: var(--white); }
.footer-col h4 {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; font-size: 14px; }
.footer-col ul li a { color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  background: var(--charcoal); border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 80px; display: flex; justify-content: space-between;
  align-items: center; font-size: 12px; color: rgba(255,255,255,0.35);
  flex-wrap: wrap; gap: 8px;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.7s var(--ease-out) both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* ============================================
   RESPONSIVE — TABLET (~900px)
   ============================================ */
@media (max-width: 900px) {
  nav { padding: 0 32px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-drawer { display: block; }
  .page-hero { padding: 60px 32px 48px; }
  footer { grid-template-columns: 1fr 1fr; gap: 40px; padding: 48px 32px 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { padding: 16px 32px; }
}

@media (max-width: 600px) {
  nav { padding: 0 20px; height: 64px; }
  .nav-drawer { top: 64px; }
  .page-hero { padding: 48px 20px 40px; }
  footer { grid-template-columns: 1fr; gap: 32px; padding: 40px 20px 24px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { padding: 14px 20px; flex-direction: column; text-align: center; }
}
