/* ==========================================================
   Tamara Styles Fitness — style.css
   Palette from brand logo:
   leaf green, deep green, ink black, bone white, sage tint
   Display: Marcellus (matches logo lettering)
   Body: Figtree
   ========================================================== */

:root {
  --green: #3d7a22;
  --green-deep: #2a5718;
  --green-dark: #1d3d10;
  --ink: #161616;
  --bone: #faf8f2;
  --sage: #eef3e6;
  --sage-line: #d5e0c6;
  --muted: #5c6655;
  --max: 1120px;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(29, 61, 16, 0.10);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Figtree", system-ui, sans-serif;
  background: var(--bone);
  color: var(--ink);
  line-height: 1.65;
  font-size: 17px;
}

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

a { color: var(--green-deep); }

h1, h2, h3, .display {
  font-family: "Marcellus", serif;
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; }

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

/* ---------- eyebrow label ---------- */
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green-deep);
  margin-bottom: 14px;
  font-weight: 600;
}

/* ---------- dotted arc motif (from logo spine dots) ---------- */
.dots {
  display: flex;
  gap: 9px;
  margin: 18px 0;
}
.dots span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  opacity: 0.85;
}
.dots span:nth-child(2) { opacity: 0.65; transform: scale(0.9); }
.dots span:nth-child(3) { opacity: 0.5;  transform: scale(0.8); }
.dots span:nth-child(4) { opacity: 0.35; transform: scale(0.7); }
.dots span:nth-child(5) { opacity: 0.22; transform: scale(0.6); }

/* ---------- header ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 242, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--sage-line);
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.brand img { height: 48px; width: auto; }
.brand span {
  font-family: "Marcellus", serif;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}

nav ul {
  display: flex;
  gap: 6px;
  list-style: none;
  align-items: center;
  flex-wrap: wrap;
}

nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
}
nav a:hover { background: var(--sage); }
nav a.active { color: var(--green-deep); background: var(--sage); }
nav a.cta {
  background: var(--green-deep);
  color: #fff;
  margin-left: 6px;
}
nav a.cta:hover { background: var(--green-dark); }

.menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--sage-line);
  border-radius: 8px;
  padding: 8px 12px;
  font: inherit;
  cursor: pointer;
}

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(61, 122, 34, 0.14), transparent 60%),
    radial-gradient(700px 420px at -10% 110%, rgba(61, 122, 34, 0.10), transparent 60%),
    var(--bone);
  padding: 84px 0 72px;
  border-bottom: 1px solid var(--sage-line);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero h1 em {
  font-style: normal;
  color: var(--green-deep);
}

.hero p.lead {
  margin-top: 20px;
  font-size: 1.12rem;
  max-width: 54ch;
  color: #333;
}

.hero-logo {
  justify-self: center;
  width: min(360px, 80%);
  border-radius: 50%;
  box-shadow: var(--shadow);
}

.btn-row { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  transition: transform 0.12s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--green-deep); color: #fff; }
.btn-primary:hover { background: var(--green-dark); }
.btn-ghost {
  background: transparent;
  color: var(--green-deep);
  border: 1.5px solid var(--green-deep);
}
.btn-ghost:hover { background: var(--sage); }

/* ---------- sections ---------- */
section.block { padding: 72px 0; }
section.block.tint { background: var(--sage); border-block: 1px solid var(--sage-line); }

.section-head { max-width: 60ch; margin-bottom: 40px; }

/* ---------- cards ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.card {
  background: #fff;
  border: 1px solid var(--sage-line);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: 0 2px 10px rgba(29, 61, 16, 0.05);
}
.card h3 { color: var(--green-dark); margin-bottom: 10px; }
.card p { color: #3c433a; font-size: 0.98rem; }

.leaf-tick { list-style: none; }
.leaf-tick li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 10px;
}
.leaf-tick li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 14px; height: 14px;
  background: var(--green);
  border-radius: 0 60% 0 60%;   /* leaf shape */
  transform: rotate(45deg);
}

/* ---------- tagline band ---------- */
.tagline-band {
  background: var(--green-dark);
  color: var(--bone);
  text-align: center;
  padding: 60px 24px;
}
.tagline-band .display {
  font-size: clamp(1.6rem, 3.6vw, 2.6rem);
  color: #fff;
}
.tagline-band .dots { justify-content: center; }
.tagline-band .dots span { background: var(--bone); }

/* ---------- page hero (inner pages) ---------- */
.page-hero {
  padding: 64px 0 44px;
  border-bottom: 1px solid var(--sage-line);
  background:
    radial-gradient(900px 380px at 90% -20%, rgba(61,122,34,0.12), transparent 60%),
    var(--bone);
}
.page-hero p { max-width: 60ch; margin-top: 14px; color: #333; }

/* ---------- prose ---------- */
.prose { max-width: 68ch; }
.prose p { margin-bottom: 18px; }
.prose h2 { margin: 34px 0 14px; }

/* ---------- pricing callout ---------- */
.price-callout {
  background: #fff;
  border: 1.5px solid var(--green);
  border-radius: var(--radius);
  padding: 30px;
  margin: 34px 0;
}
.price-callout .price {
  font-family: "Marcellus", serif;
  font-size: 2rem;
  color: var(--green-dark);
}

/* ---------- contact ---------- */
.contact-list { list-style: none; margin: 20px 0; }
.contact-list li { margin-bottom: 12px; font-size: 1.05rem; }
.contact-list strong { color: var(--green-dark); }

form.contact-form { display: grid; gap: 16px; max-width: 560px; }
form.contact-form label { font-weight: 600; font-size: 0.92rem; }
form.contact-form input,
form.contact-form textarea,
form.contact-form select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--sage-line);
  border-radius: 10px;
  font: inherit;
  background: #fff;
  margin-top: 6px;
}
form.contact-form input:focus,
form.contact-form textarea:focus,
form.contact-form select:focus {
  outline: 2px solid var(--green);
  outline-offset: 1px;
}

/* ---------- testimonial ---------- */
.quote-card {
  background: #fff;
  border-left: 4px solid var(--green);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 26px 28px;
  box-shadow: 0 2px 10px rgba(29,61,16,0.05);
}
.quote-card p { font-size: 1.02rem; font-style: italic; color: #333; }
.quote-card footer { margin-top: 14px; font-weight: 600; color: var(--green-dark); font-style: normal; }

/* ---------- footer ---------- */
footer.site {
  background: var(--ink);
  color: #cfd6c8;
  padding: 52px 0 34px;
  margin-top: 0;
}
footer.site .wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 0.8fr;
  gap: 36px;
}
footer.site h4 {
  font-family: "Marcellus", serif;
  color: #fff;
  margin-bottom: 12px;
  font-weight: 400;
}
footer.site a { color: #cfd6c8; text-decoration: none; }
footer.site a:hover { color: #fff; }
footer.site ul { list-style: none; }
footer.site li { margin-bottom: 8px; font-size: 0.95rem; }
.foot-tag { font-size: 0.9rem; margin-top: 10px; color: #9aa691; }
.copyright {
  border-top: 1px solid #2c2c2c;
  margin-top: 36px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: #8b937f;
  grid-column: 1 / -1;
}

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover { transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-logo { order: -1; width: min(240px, 60%); }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  footer.site .wrap { grid-template-columns: 1fr; }

  .menu-btn { display: block; }
  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--bone);
    border-bottom: 1px solid var(--sage-line);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 18px;
  }
  nav ul.open { display: flex; }
  nav a { display: block; padding: 12px; }
}
