/* ============================================================
   ARIANE WELLNESS — Global Stylesheet
   All site styles live here.

   TO RETHEME: Edit the :root variables below.
   TO CHANGE FONTS: Update --font-heading and --font-body,
     then update the Google Fonts link in each HTML file.
   ============================================================ */

/* === VARIABLES === */
:root {
  /* --- Colors --- */
  --color-bg:          #FDFAF6;   /* main background: warm cream      */
  --color-surface:     #F5ECD7;   /* section background: warm beige   */
  --color-primary:     #8B5E3C;   /* primary: warm brown              */
  --color-accent:      #C4704F;   /* accent: terracotta               */
  --color-text:        #3D2B1F;   /* body text: deep brown            */
  --color-text-muted:  #8B7355;   /* secondary text: medium brown     */
  --color-border:      #E8D5BC;   /* borders: light warm              */
  --color-white:       #FFFFFF;

  /* --- Typography --- */
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Raleway', system-ui, sans-serif;

  /* --- Layout --- */
  --nav-height:       80px;
  --section-padding:  110px;
  --max-width:        1200px;

  /* --- Transitions --- */
  --ease-fast: 0.22s ease;
  --ease-med:  0.45s ease;
  --ease-slow: 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.75;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 300;
  line-height: 1.15;
  color: var(--color-text);
}
h1 { font-size: clamp(2.8rem, 6vw, 5.2rem); }
h2 { font-size: clamp(2rem,   4vw, 3.4rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: 1.1rem; font-weight: 400; }

p {
  color: var(--color-text-muted);
  max-width: 60ch;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-accent);
}

/* === LAYOUT HELPERS === */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
}

section { padding: var(--section-padding) 0; }

.section-intro {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}
.section-intro h2 { margin: 0.6rem 0 1.2rem; }
.section-intro p  { margin: 0 auto; }

.divider {
  width: 40px;
  height: 1px;
  background: var(--color-accent);
  margin: 1.4rem auto;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2.5rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  transition: background var(--ease-fast), color var(--ease-fast);
  cursor: pointer;
  background: transparent;
}
.btn-light {
  color: var(--color-white);
  border-color: rgba(255,255,255,0.7);
}
.btn-light:hover {
  background: var(--color-white);
  color: var(--color-text);
}
.btn-dark {
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-dark:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

/* === NAVIGATION === */
#main-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-height);
  z-index: 100;
  background: rgba(253, 250, 246, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--color-border);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--color-text);
  transition: color var(--ease-fast);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 3rem;
}
.nav-links a {
  position: relative;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  transition: color var(--ease-fast);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width var(--ease-fast);
}
.nav-links a:hover,
.nav-links a.active { color: var(--color-text); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--color-text);
  transition: all var(--ease-fast);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* === HERO === */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: -15%;
  background: url('../images/relax.jpeg') center/cover no-repeat;
  will-change: transform;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(25, 12, 4, 0.3) 0%,
    rgba(25, 12, 4, 0.55) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  padding-top: var(--nav-height);
}

.hero-content .eyebrow {
  color: rgba(255,255,255,0.65);
  display: block;
  margin-bottom: 1.2rem;
}
.hero-content h1 {
  color: var(--color-white);
  max-width: 15ch;
  margin-bottom: 1.5rem;
}
.hero-content h1 em { font-style: italic; }
.hero-content p {
  color: rgba(255,255,255,0.72);
  font-size: 1.05rem;
  max-width: 44ch;
  margin-bottom: 2.5rem;
}

/* Animated scroll indicator */
.scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.scroll-hint-line {
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: lineDrop 2.2s ease-in-out infinite;
}
@keyframes lineDrop {
  0%   { transform: scaleY(0); transform-origin: top;    opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: top;    opacity: 1; }
  51%  { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* === INNER PAGE HERO === */
.page-hero {
  padding-top: calc(var(--nav-height) + 90px);
  padding-bottom: 80px;
  text-align: center;
  background: var(--color-surface);
}
.page-hero .eyebrow { display: block; margin-bottom: 0.8rem; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
.page-hero p  { margin: 1.2rem auto 0; font-size: 1.05rem; }

/* === HOME INTRO SECTION === */
.intro-section { text-align: center; }

/* === SERVICE CARDS (home preview) === */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  margin-top: 4rem;
}

.service-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
}
/* Replace each .service-card-bg gradient with: background: url('../images/service-X.jpg') center/cover no-repeat; */
.service-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: linear-gradient(160deg, #7A5030 0%, #A07050 100%);
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.service-card:hover .service-card-bg { transform: scale(1.06); }

.service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,8,0,0.78) 0%, transparent 58%);
}
.service-card-body {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem 2rem 2.2rem;
  color: var(--color-white);
}
.service-card-body h3 { color: var(--color-white); margin-bottom: 0.5rem; }
.service-card-body p  {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  max-width: none;
  margin-bottom: 1.4rem;
}
.card-link {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color var(--ease-fast), gap var(--ease-fast);
}
.card-link::after { content: '→'; }
.service-card:hover .card-link { color: var(--color-white); gap: 0.85rem; }

/* === PULL QUOTE === */
.quote-section {
  text-align: center;
  background: var(--color-text);
}
.quote-text {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3.5vw, 2.9rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.4;
  color: var(--color-white);
  max-width: 820px;
  margin: 0 auto 1.5rem;
}
.quote-author {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

/* === SERVICES LIST (services page) === */
.services-section { background: var(--color-bg); }

.services-list {
  margin-top: 4rem;
  border: 1px solid var(--color-border);
}
.service-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 2rem;
  padding: 2.8rem 3rem;
  border-bottom: 1px solid var(--color-border);
  transition: background var(--ease-fast);
  scroll-margin-top: calc(var(--nav-height) + 20px);
}
.service-row:last-child { border-bottom: none; }
.service-row:hover { background: var(--color-surface); }

.service-row-label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.4rem;
}
.service-row h3 { font-size: 1.7rem; margin-bottom: 0.7rem; }
.service-row p  { font-size: 0.95rem; max-width: 52ch; }

.service-row-price {
  text-align: right;
}
.price-amount {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--color-primary);
  white-space: nowrap;
}
.price-note {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 0.3rem;
}

/* === ABOUT SECTION === */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7rem;
  align-items: center;
}
.about-grid + .about-grid { padding-top: 0; }

/* Replace the gradient with: <img src="../images/about.jpg" alt="..."> */
.about-image {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
}
.about-image-fill {
  width: 100%;
  height: 100%;
  background: linear-gradient(155deg, #8B5E38 0%, #C49060 100%);
}
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.about-image::before {
  content: '';
  position: absolute;
  inset: -2rem -2rem auto auto;
  width: 55%;
  height: 55%;
  border: 1px solid var(--color-border);
  z-index: -1;
}

.about-text .eyebrow { display: block; margin-bottom: 0.9rem; }
.about-text h2       { margin-bottom: 1.4rem; }
.about-text p        { margin-bottom: 1.1rem; }
.about-text p:last-of-type { margin-bottom: 2rem; }

/* === VALUES === */
.values-section { background: var(--color-surface); }

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  margin-top: 4.5rem;
  text-align: center;
}
.value-number {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 300;
  color: var(--color-border);
  line-height: 1;
  margin-bottom: 0.8rem;
}
.value-item h4 { margin-bottom: 0.5rem; }
.value-item p  { font-size: 0.9rem; max-width: 26ch; margin: 0 auto; }

/* === CONTACT CTA STRIP === */
.cta-strip {
  background: var(--color-primary);
  padding: 80px 0;
}
.cta-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-strip h2 { color: var(--color-white); font-size: clamp(1.6rem, 3vw, 2.6rem); }
.cta-strip p  { color: rgba(255,255,255,0.65); margin-top: 0.5rem; max-width: none; }

/* === FOOTER === */
footer {
  background: #241409;
  color: rgba(255,255,255,0.45);
  padding: 70px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 5rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 2rem;
}
.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-white);
  margin-bottom: 1rem;
}
.footer-tagline {
  font-size: 0.9rem;
  line-height: 1.85;
  max-width: 28ch;
}
.footer-col-heading {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 1.2rem;
}
.footer-link-list { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-link-list a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.45);
  transition: color var(--ease-fast);
}
.footer-link-list a:hover { color: var(--color-white); }
.footer-info-list { display: flex; flex-direction: column; gap: 0.4rem; }
.footer-info-list p { font-size: 0.9rem; max-width: none; color: rgba(255,255,255,0.45); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* === SCROLL ANIMATIONS === */
.fade-up {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.85s var(--ease-slow), transform 0.85s var(--ease-slow);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Stagger siblings */
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }
.fade-up:nth-child(5) { transition-delay: 0.4s; }
.fade-up:nth-child(6) { transition-delay: 0.5s; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .service-card:nth-child(3) { grid-column: 1 / -1; aspect-ratio: 16/7; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { gap: 4rem; }
}

@media (max-width: 800px) {
  :root { --section-padding: 75px; }

  .cards-grid { grid-template-columns: 1fr; }
  .service-card { aspect-ratio: 4/3; }
  .service-card:nth-child(3) { grid-column: auto; aspect-ratio: 4/3; }

  .about-grid { grid-template-columns: 1fr; }
  .about-image { max-width: 480px; }

  .service-row { grid-template-columns: 1fr; }
  .service-row-price { text-align: left; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer-brand-col { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  :root {
    --section-padding: 60px;
    --nav-height: 64px;
  }

  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--color-bg);
    padding: 2rem;
    gap: 1.5rem;
    box-shadow: 0 6px 24px rgba(0,0,0,0.1);
    border-top: 1px solid var(--color-border);
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    color: var(--color-text) !important;
    font-size: 0.95rem;
    letter-spacing: 0.12em;
  }

  .values-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  .cta-strip-inner { flex-direction: column; align-items: flex-start; }

  .service-row { padding: 2rem 1.5rem; }
}
