/* ============================================================
   Inua — Yoga & Massage Studio
   Design tokens, layout, components
   ============================================================ */

/* ── Tokens ─────────────────────────────────────────────── */
:root {
  --cream:      #f9f5f0;
  --warm-white: #fdfaf6;
  --sand:       #e8dfd3;
  --sage:       #8a9e8c;
  --sage-dark:  #5c7a5e;
  --terracotta: #c4704f;
  --clay:       #b8856a;
  --charcoal:   #2e2e2e;
  --mid:        #6b6b6b;
  --light:      #9a9a9a;

  --font-head: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;

  --radius: 4px;
  --radius-lg: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,0.07);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.12);

  --section-pad: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 5vw, 4rem);
  --max-w: 1160px;
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--warm-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Typography ─────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 400;
  line-height: 1.2;
  color: var(--charcoal);
}
h1 { font-size: clamp(2.8rem, 7vw, 5.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); }
p  { font-size: 1rem; color: var(--mid); }

.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 1rem;
}

/* ── Layout helpers ─────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 clamp(1.5rem, 5vw, 4rem); }
.section    { padding: var(--section-pad); }
.section-alt { background: var(--cream); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.text-center { text-align: center; }
.mt-sm { margin-top: 0.5rem; }
.mt-md { margin-top: 1.5rem; }
.mt-lg { margin-top: 2.5rem; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2.2rem;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
}
.btn-primary {
  background: var(--terracotta);
  color: #fff;
}
.btn-primary:hover {
  background: #b0613f;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(196,112,79,0.35);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.7);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
}
.btn-dark {
  background: var(--charcoal);
  color: #fff;
}
.btn-dark:hover {
  background: #1a1a1a;
  transform: translateY(-1px);
}

/* ── Navbar ──────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem clamp(1.5rem, 5vw, 4rem);
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}
#navbar.scrolled {
  background: rgba(253,250,246,0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.07);
  padding: 1rem clamp(1.5rem, 5vw, 4rem);
}
.nav-logo {
  font-family: var(--font-head);
  font-size: 1.7rem;
  letter-spacing: 0.04em;
  color: #fff;
  transition: color 0.35s;
}
#navbar.scrolled .nav-logo { color: var(--charcoal); }

.nav-links {
  display: flex;
  gap: 2.2rem;
}
.nav-links a {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  transition: color 0.2s;
}
.nav-links a:hover { color: #fff; }
#navbar.scrolled .nav-links a { color: var(--mid); }
#navbar.scrolled .nav-links a:hover { color: var(--charcoal); }

.nav-book .btn { padding: 0.6rem 1.4rem; font-size: 0.72rem; }
#navbar.scrolled .nav-book .btn-outline {
  border-color: var(--terracotta);
  color: var(--terracotta);
}
#navbar.scrolled .nav-book .btn-outline:hover {
  background: var(--terracotta);
  color: #fff;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: background 0.35s;
}
#navbar.scrolled .nav-toggle span { background: var(--charcoal); }

@media (max-width: 820px) {
  .nav-links, .nav-book { display: none; }
  .nav-toggle { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--charcoal);
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    z-index: 99;
  }
  .nav-links.open a {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
  }
}

/* ── Hero ────────────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #3a4a3c 0%, #2a3a2c 40%, #1e2e20 100%);
  /* When you add a real photo: background-image will be set via JS */
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(30,46,32,0.85) 0%, rgba(30,46,32,0.4) 60%, transparent 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: var(--section-pad);
  padding-top: 8rem;
}
.hero-content .section-label { color: rgba(255,255,255,0.65); }
.hero-content h1 { color: #fff; margin-bottom: 1.2rem; }
.hero-content p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 2.5rem;
  max-width: 480px;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  z-index: 2;
  animation: float 2.5s ease-in-out infinite;
}
.hero-scroll-hint::after {
  content: '';
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.3);
}
@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ── Stats bar ───────────────────────────────────────────── */
#stats {
  background: var(--sage-dark);
  padding: 2.5rem clamp(1.5rem, 5vw, 4rem);
}
.stats-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}
.stat-num {
  font-family: var(--font-head);
  font-size: 2.5rem;
  color: #fff;
  line-height: 1;
}
.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-top: 0.3rem;
}
@media (max-width: 600px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}

/* ── About Inua ──────────────────────────────────────────── */
.about-inua-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-inua-inner p { white-space: pre-line; max-width: 520px; }
.about-inua-quote {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
  background: var(--sage-dark);
  border-radius: var(--radius-lg);
  position: relative;
}
.about-inua-quote::before {
  content: '\201C';
  font-family: var(--font-head);
  font-size: 8rem;
  color: rgba(255,255,255,0.15);
  position: absolute;
  top: -1.5rem;
  left: 1.5rem;
  line-height: 1;
}
.about-inua-quote blockquote {
  font-family: var(--font-head);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-style: italic;
  color: #fff;
  line-height: 1.5;
  position: relative;
  z-index: 1;
}
@media (max-width: 820px) {
  .about-inua-inner { grid-template-columns: 1fr; }
  .about-inua-quote { padding: 2rem; }
}

/* ── Yoga detail block ───────────────────────────────────── */
.yoga-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
  margin-top: 4rem;
  padding-top: 3.5rem;
  border-top: 1px solid var(--sand);
}
.yoga-detail h3 {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 1.2rem;
}
.yoga-detail-text p,
.yoga-detail-text li {
  font-size: 0.95rem;
  color: var(--mid);
  line-height: 1.75;
  margin-bottom: 0.6rem;
}
.yoga-detail-text ul { list-style: none; padding: 0; }
.yoga-detail-text li { display: flex; gap: 0.7rem; }
.yoga-detail-text li::before { content: '•'; color: var(--sage); flex-shrink: 0; }
.yoga-detail-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
}
.yoga-detail-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 820px) {
  .yoga-detail { grid-template-columns: 1fr; }
  .yoga-detail-img-wrap { order: -1; aspect-ratio: 16/9; }
}

/* ── Page (dynamic CMS pages) ────────────────────────────── */
.page-hero {
  padding: clamp(6rem, 12vw, 10rem) clamp(1.5rem, 5vw, 4rem) clamp(3rem, 6vw, 5rem);
  background: linear-gradient(135deg, #2e3a2f 0%, #1e2e20 100%);
  text-align: center;
}
.page-hero .section-label { color: rgba(255,255,255,0.6); }
.page-hero h1 { color: #fff; margin: 0.5rem 0 1rem; }
.page-hero p  { color: rgba(255,255,255,0.7); font-size: 1.1rem; max-width: 560px; margin: 0 auto; }

.page-block { padding: var(--section-pad); }
.page-block.alt { background: var(--cream); }
.page-block-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
}
.page-block h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 1.5rem;
}
.page-block-text { white-space: pre-line; }
.page-block-text p { max-width: 680px; margin-bottom: 0.8rem; }
.page-block-text ul {
  list-style: none;
  margin: 0.8rem 0;
  max-width: 680px;
}
.page-block-text ul li {
  display: flex;
  gap: 0.7rem;
  padding: 0.3rem 0;
  color: var(--mid);
  font-size: 0.95rem;
}
.page-block-text ul li::before {
  content: '•';
  color: var(--sage);
  font-size: 1.2rem;
  line-height: 1.4;
  flex-shrink: 0;
}
.page-block-img {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.page-block-img.img-left { }
.page-block-img img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 360px;
  object-fit: cover;
}
@media (max-width: 720px) {
  .page-block-img { grid-template-columns: 1fr; }
}

/* ── About ───────────────────────────────────────────────── */
#about { overflow: hidden; }
.about-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
}
.about-img-wrap img { height: 100%; }
.about-accent {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: var(--sand);
  z-index: -1;
}
.about-text h2 { margin-bottom: 1.5rem; }
.about-text p  { max-width: 520px; white-space: pre-line; }
.credentials {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 2rem;
}
.credentials li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.9rem;
  color: var(--mid);
}
.credentials li::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--sage);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── Classes ────────────────────────────────────────────── */
.card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.card-icon { font-size: 1.8rem; margin-bottom: 0.4rem; }
.card h3 { font-size: 1.3rem; }
.card p { font-size: 0.9rem; flex: 1; }
.card-meta {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 0.8rem;
  padding-top: 1rem;
  border-top: 1px solid var(--sand);
}
.tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  background: var(--cream);
  color: var(--mid);
}
.tag.price {
  background: var(--sage);
  color: #fff;
  margin-left: auto;
}

/* ── Massage ─────────────────────────────────────────────── */
.massage-card {
  display: flex;
  gap: 2rem;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.massage-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.massage-card-num {
  font-family: var(--font-head);
  font-size: 3rem;
  color: var(--sand);
  line-height: 1;
  flex-shrink: 0;
  width: 2.5rem;
}
.massage-card-body h3 { margin-bottom: 0.5rem; }
.massage-card-body p  { font-size: 0.9rem; }
.massage-price-row {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.massage-price-row span {
  font-size: 0.8rem;
  color: var(--mid);
}
.massage-price-row strong {
  font-size: 0.9rem;
  color: var(--terracotta);
}

/* ── Schedule ────────────────────────────────────────────── */
#schedule { overflow-x: auto; }
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.schedule-table th {
  text-align: left;
  padding: 0.8rem 1.2rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid);
  border-bottom: 2px solid var(--sand);
}
.schedule-table td {
  padding: 1.1rem 1.2rem;
  border-bottom: 1px solid var(--sand);
  color: var(--mid);
}
.schedule-table tr:last-child td { border-bottom: none; }
.schedule-table tr:hover td { background: var(--cream); }
.schedule-table td:first-child { font-weight: 600; color: var(--charcoal); }
.schedule-pill {
  display: inline-block;
  padding: 0.25rem 0.8rem;
  border-radius: 20px;
  background: var(--sage);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
}

/* ── Testimonials ───────────────────────────────────────── */
.testimonial-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow);
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-head);
  font-size: 5rem;
  color: var(--sand);
  position: absolute;
  top: 0.5rem;
  left: 1.5rem;
  line-height: 1;
}
.testimonial-card blockquote {
  font-style: italic;
  font-size: 1.05rem;
  color: var(--charcoal);
  line-height: 1.65;
  margin-top: 1rem;
}
.testimonial-meta {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--sage);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.testimonial-name { font-weight: 600; font-size: 0.9rem; color: var(--charcoal); }
.testimonial-detail { font-size: 0.78rem; color: var(--light); }

/* ── Booking CTA ─────────────────────────────────────────── */
#booking {
  background: var(--charcoal);
  padding: var(--section-pad);
  text-align: center;
}
#booking h2 { color: #fff; margin-bottom: 1rem; }
#booking p  { color: rgba(255,255,255,0.6); margin-bottom: 2rem; font-size: 1.1rem; }

/* ── Contact ─────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info h2 { margin-bottom: 1.5rem; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.2rem;
}
.contact-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.contact-detail p { margin: 0; font-size: 0.9rem; }
.contact-social {
  display: flex;
  gap: 0.8rem;
  margin-top: 2rem;
}
.social-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--charcoal);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: background 0.2s;
}
.social-btn:hover { background: var(--sage-dark); }

/* ── Contact Form ───────────────────────────────────────── */
.contact-form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 500px) { .form-row { grid-template-columns: 1fr; } }
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.2rem;
}
.form-group label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mid);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--sand);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--charcoal);
  background: var(--warm-white);
  outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--sage);
}
.form-group textarea { resize: vertical; min-height: 110px; }

/* ── Footer ──────────────────────────────────────────────── */
footer {
  background: #1a1e1a;
  color: rgba(255,255,255,0.45);
  padding: 2rem clamp(1.5rem, 5vw, 4rem);
  text-align: center;
  font-size: 0.82rem;
}
footer .footer-name {
  font-family: var(--font-head);
  font-size: 1.4rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.4rem;
}

/* ── Section heading block ───────────────────────────────── */
.section-header { margin-bottom: 3rem; }
.section-header.center { text-align: center; }
.section-header h2 { margin-top: 0.3rem; }
.section-header p {
  margin-top: 0.8rem;
  max-width: 520px;
}
.section-header.center p { margin-left: auto; margin-right: auto; }

/* ── Divider ─────────────────────────────────────────────── */
.divider {
  width: 40px;
  height: 2px;
  background: var(--terracotta);
  margin: 1rem 0;
}
.center .divider { margin: 1rem auto; }

/* ── Animations ──────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
