/* ===========================================
   Sacred Waters Ecosystem — Shared Styles
   Palette: deep water teal, soft moss, warm sand, clay, foam cream
=========================================== */

:root {
  --foam-cream: #F6F2E9;
  --limewash: #D9E0C8;
  --sand: #E8DBB3;
  --sage: #B9C79E;
  --olive-light: #F3ECD6;
  --deep-water: #2B4A45;
  --moss: #C9A84A;
  --moss-dark: #A67C2E;
  --clay: #C9A84A;
  --gold: #C9A84A;
  --gold-gradient: linear-gradient(90deg, #A6752E 0%, #D8B85A 25%, #F2DE9A 50%, #D8B85A 75%, #A6752E 100%);
  --ink: #33362E;
  --ink-soft: #5B5F52;
  --white: #FFFFFF;

  --font-display: 'Cinzel', serif;
  --font-cinzel: 'Cinzel', serif;
  --font-body: 'Cinzel', serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: #FFFFFF;
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--deep-water);
  font-weight: 600;
  line-height: 1.2;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2rem; margin-bottom: 1rem; }
h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; color: var(--ink-soft); }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; border-radius: 6px; }

/* ---------- Header / Nav ---------- */

header {
  background: transparent;
  padding: 1.25rem 5%;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 2rem;
  border-bottom: 1px solid var(--sand);
}

header .nav-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--deep-water);
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.brand img {
  height: 72px;
  width: auto;
}

/* Enlarged header logo, applied only on Multipure/PureWay/Enagic pages */
.brand img.enlarged {
  height: 110px;
}

.brand span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--moss-dark);
  margin-top: 4px;
  line-height: 1.4;
}

nav {
  background: var(--gold-gradient);
  border-radius: 999px;
  padding: 0.4rem 0.5rem;
  display: flex;
  gap: 0.25rem;
}

nav a {
  color: #000000;
  font-size: 0.9rem;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  transition: background 0.2s ease;
}

nav a:hover, nav a.active {
  background: var(--moss-dark);
}

.book-btn {
  background: var(--gold-gradient);
  color: #000000 !important;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s ease;
  white-space: nowrap;
}

.book-btn:hover { background: var(--moss-dark); }

@media (max-width: 800px) {
  header,
  .home header {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 0.75rem;
    padding: 1.25rem 5%;
  }

  header .nav-group {
    flex-direction: column;
    width: 100%;
  }

  header .book-btn,
  header nav {
    justify-self: center;
  }

  .brand {
    flex-direction: column;
    gap: 0.3rem;
  }

  .brand img,
  .brand img.enlarged {
    height: 70px;
  }

  nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  nav a:first-child {
    flex-basis: 100%;
  }

  nav a {
    font-size: 0.85rem;
    padding: 0.45rem 0.9rem;
  }
}

/* ---------- Wave divider (signature element) ---------- */

.wave-divider {
  width: 100%;
  height: 60px;
  overflow: hidden;
  line-height: 0;
}

.wave-divider svg {
  width: 100%;
  height: 100%;
}

/* ---------- Hero ---------- */

.hero {
  padding: 4.5rem 5% 3.5rem;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}

.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  color: var(--clay);
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero p.lede {
  font-size: 1.15rem;
  max-width: 600px;
  margin: 1rem auto 2rem;
}

/* ---------- Sections ---------- */

section {
  padding: 3.5rem 5%;
  max-width: 1000px;
  margin: 0 auto;
}

.section-tight { padding-top: 1.5rem; padding-bottom: 1.5rem; }

.card {
  background: #FFFFFF;
  border: 1px solid var(--moss);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 800px) {
  .card-grid { grid-template-columns: 1fr; }
}

/* ---------- Product photo slot ---------- */

.photo-slot {
  background: var(--gold-gradient);
  border: none;
  border-radius: 10px;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--moss-dark);
  font-size: 0.85rem;
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.photo-slot img {
  border-radius: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ---------- Product page layout ---------- */

.product-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (max-width: 800px) {
  .product-hero { grid-template-columns: 1fr; }
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}

.tag {
  background: var(--gold);
  color: #000000;
  font-size: 0.8rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-weight: 600;
}

ul.feature-list {
  list-style: none;
  margin-bottom: 1rem;
}

ul.feature-list li {
  padding-left: 1.4rem;
  position: relative;
  margin-bottom: 0.5rem;
  color: var(--ink-soft);
}

ul.feature-list li::before {
  content: "◆";
  color: var(--moss);
  position: absolute;
  left: 0;
  font-size: 0.7rem;
  top: 6px;
}

.note-box {
  background: #FFFFFF;
  border-left: 3px solid var(--clay);
  padding: 1rem 1.25rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
  border-radius: 4px;
  margin: 1.5rem 0;
}

/* ---------- Booking ---------- */

.booking-embed {
  background: #FFFFFF;
  border: 1px solid var(--moss);
  border-radius: 12px;
  padding: 1.5rem;
  min-height: 500px;
}

.booking-embed iframe {
  width: 100%;
  height: 600px;
  border: none;
  border-radius: 8px;
}

.booking-mobile-link {
  display: none;
  text-align: center;
  padding: 2rem 1rem;
}

@media (max-width: 700px) {
  .booking-embed iframe {
    display: none;
  }
  .booking-mobile-link {
    display: block;
  }
}

/* ---------- Footer ---------- */

footer {
  background: var(--gold-gradient);
  color: #000000;
  padding: 2.5rem 5%;
  text-align: center;
  margin-top: 3rem;
}

footer a { color: #000000; text-decoration: underline; }

footer .foot-brand {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

footer p { color: #000000; font-size: 0.9rem; }

/* ---------- Buttons ---------- */

.btn-primary {
  display: inline-block;
  background: var(--gold-gradient);
  color: #000000 !important;
  padding: 0.8rem 2rem;
  border-radius: 999px;
  font-weight: 600;
  transition: background 0.2s ease;
}

.btn-primary:hover { background: var(--moss-dark); }

/* ---------- Homepage: Cinzel / Limewash treatment ---------- */

.home header {
  border-bottom: 1px solid rgba(124,139,93,0.3);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.home header nav { justify-self: center; }
.home header .book-btn { justify-self: end; }

@media (max-width: 800px) {
  .home header {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .home header nav,
  .home header .book-btn {
    justify-self: center;
  }
}

.home-logo-wrap {
  text-align: center;
  padding: 3.5rem 5% 1.5rem;
}

.home-logo-wrap img {
  max-width: 680px;
  width: 95%;
  margin: 0 auto;
}

.home-tagline {
  font-family: var(--font-cinzel);
  text-align: center;
  font-size: 1.5rem;
  color: var(--deep-water);
  line-height: 1.6;
  max-width: 640px;
  margin: 1.5rem auto 3rem;
  letter-spacing: 0.02em;
}

.home-intro {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 3rem;
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
  padding: 1rem 5% 3rem;
}

@media (max-width: 800px) {
  .home-intro { grid-template-columns: 1fr; }
}

.home-photo-frame {
  border: 4px solid var(--moss);
  padding: 10px;
  background: #FFFFFF;
}

.home-photo-frame img { width: 100%; }

.home-copy {
  font-family: var(--font-cinzel);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.9;
}

.home-copy p { color: var(--ink); margin-bottom: 1.3rem; }

.home-copy .signoff {
  font-style: italic;
  color: var(--gold);
  margin-top: 2rem;
}

.home .wave-divider path { fill: var(--moss) !important; opacity: 1 !important; }
.home .wave-divider { height: 26px; }
