/* ========================================
   Bali Wellbeing Spa — Stylesheet
   ======================================== */

:root {
  --cream: #f7f2e7;
  --cream-dark: #efe7d6;
  --charcoal: #2b2a26;
  --deep-green: #2f3b2e;
  --gold: #a9812f;
  --gold-light: #c9a35f;
  --gold-dark: #8a6a24;
  --white: #ffffff;
  --max-width: 1140px;
  --radius: 4px;
  --shadow: 0 10px 30px rgba(43, 42, 38, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  font-weight: 600;
  color: var(--deep-green);
  margin: 0 0 0.5em;
  letter-spacing: 0.01em;
}

p {
  margin: 0 0 1em;
}

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

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: var(--gold-dark);
  font-weight: 700;
  margin-bottom: 0.9em;
  display: inline-block;
}

.section {
  padding: 88px 0;
}

.section--alt {
  background: var(--cream-dark);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 2.6rem);
}

.btn {
  display: inline-block;
  padding: 15px 34px;
  border-radius: var(--radius);
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  border: 1px solid transparent;
}

.btn--primary {
  background: var(--deep-green);
  color: var(--white);
}

.btn--primary:hover {
  background: #223022;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(47, 59, 46, 0.25);
}

.btn--gold {
  background: var(--gold);
  color: var(--white);
}

.btn--gold:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(169, 129, 47, 0.3);
}

.btn--outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

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

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 242, 231, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(169, 129, 47, 0.18);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.brand__name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--deep-green);
  line-height: 1.1;
}

.brand__name span {
  display: block;
  font-family: 'Lato', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  color: var(--gold-dark);
  font-weight: 700;
  margin-top: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav a:not(.btn) {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--charcoal);
  position: relative;
  padding-bottom: 4px;
}

.nav a:not(.btn):hover {
  color: var(--gold-dark);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--deep-green);
  margin: 5px 0;
  transition: 0.25s;
}

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

.hero {
  padding: 90px 0 80px;
  text-align: center;
  background:
    radial-gradient(ellipse at top, rgba(169, 129, 47, 0.09), transparent 60%),
    var(--cream);
}

.hero h1 {
  font-size: clamp(2.3rem, 5.5vw, 3.6rem);
  max-width: 820px;
  margin: 0 auto 0.5em;
  line-height: 1.15;
}

.hero__lead {
  max-width: 640px;
  margin: 0 auto 28px;
  font-size: 1.08rem;
  color: #4c4a42;
}

.hero__cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero__features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
  max-width: 920px;
  margin: 0 auto;
  text-align: left;
}

.feature-card {
  background: var(--white);
  border: 1px solid rgba(169, 129, 47, 0.18);
  border-radius: var(--radius);
  padding: 20px 20px 18px;
  box-shadow: var(--shadow);
}

.feature-card__icon {
  width: 34px;
  height: 34px;
  margin-bottom: 10px;
  color: var(--gold);
}

.feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.feature-card p {
  font-size: 0.9rem;
  color: #6b6a5e;
  margin: 0;
}

/* ---------- Gallery ---------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
}

.gallery-grid img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-grid figure:hover img {
  transform: scale(1.05);
}

/* ---------- Services ---------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(169, 129, 47, 0.25);
  border: 1px solid rgba(169, 129, 47, 0.25);
  border-radius: var(--radius);
  overflow: hidden;
}

.service-row {
  background: var(--white);
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.service-row h3 {
  font-size: 1.2rem;
  margin-bottom: 2px;
}

.service-row .price {
  color: var(--gold-dark);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

.services-note {
  text-align: center;
  margin-top: 28px;
  font-size: 0.9rem;
  color: #6b6a5e;
}

/* ---------- About / Why us ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-grid img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.about-copy .eyebrow {
  margin-bottom: 0.6em;
}

.about-copy ul {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.about-copy li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.98rem;
}

.check {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  margin-top: 3px;
}

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

.booking {
  background: var(--deep-green);
  color: var(--cream);
  text-align: center;
  padding: 96px 0;
  background-image: radial-gradient(ellipse at 20% 20%, rgba(169, 129, 47, 0.18), transparent 55%),
                     radial-gradient(ellipse at 80% 80%, rgba(169, 129, 47, 0.14), transparent 55%);
}

.booking h2 {
  color: var(--cream);
  font-size: clamp(2rem, 4.5vw, 2.7rem);
}

.booking p {
  color: #d9d6c6;
  max-width: 560px;
  margin: 0 auto 30px;
  font-size: 1.05rem;
}

.booking__contact {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
  font-size: 1.05rem;
}

.booking__contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--cream);
  border-bottom: 1px solid rgba(247, 242, 231, 0.4);
  padding-bottom: 3px;
}

.booking__contact a:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
}

.booking__note {
  font-size: 0.85rem;
  color: #b9b6a4;
  margin-top: 18px;
}

.booking__cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

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

.footer {
  background: #201f1c;
  color: #a9a695;
  padding: 40px 0;
  text-align: center;
  font-size: 0.85rem;
}

.footer strong {
  color: var(--cream);
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid rgba(169, 129, 47, 0.18);
    transform: translateY(-130%);
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
    padding: 8px 0;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
  }

  .nav a:not(.btn) {
    padding: 14px 24px;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(169, 129, 47, 0.1);
  }

  .nav .btn {
    margin: 14px 24px 6px;
  }

  .nav-toggle {
    display: block;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-grid img {
    height: 280px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }
}

@media (max-width: 480px) {
  .booking__contact {
    flex-direction: column;
    gap: 14px;
  }
}
