/* ============================================================
   AJ's Reflexology — shared stylesheet
   Colors carried over from the old site by client request.
   ============================================================ */

:root {
  --olive-light: #AAC74D;   /* header gradient top */
  --olive-dark:  #638D02;   /* header gradient bottom */
  --heading:     #33721E;   /* deep green headings */
  --link:        #526F0F;   /* dark olive links */
  --coral:       #FF5F5F;   /* Schedule Now / primary buttons */
  --tan:         #EDDCA3;   /* accent bands, cards, footer */
  --cream:       #FBF7E9;   /* main page background (lighter cream of the tan) */
  --ink:         #3B3B2E;   /* body text */
  --white:       #FFFFFF;
  --shadow:      0 4px 18px rgba(59, 59, 46, 0.10);
  --radius:      14px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
}

h1, h2, h3, h4 {
  font-family: "Cormorant Garamond", Georgia, serif;
  color: var(--heading);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 5.5vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); margin-bottom: 0.6em; }
h3 { font-size: clamp(1.25rem, 3vw, 1.55rem); margin-bottom: 0.4em; }

p { margin-bottom: 1em; }

a { color: var(--link); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--heading); }

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

.container { width: min(1080px, 92%); margin: 0 auto; }

section { padding: 3.25rem 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.8rem 1.7rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.btn-primary { background: var(--coral); color: var(--white); }
.btn-primary:hover { background: #f04a4a; color: var(--white); }

.btn-outline {
  background: transparent;
  color: var(--heading);
  border: 2px solid var(--heading);
}
.btn-outline:hover { background: var(--heading); color: var(--white); }

.btn-light { background: var(--white); color: var(--heading); }
.btn-light:hover { color: var(--heading); }

/* ---------- Sticky header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(180deg, var(--olive-light) 0%, var(--olive-dark) 100%);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
}

.logo {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
}
.logo:hover { color: var(--white); }
.logo .sub { display: block; font-family: "Source Sans 3", sans-serif; font-size: 0.68rem; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.9; }

.main-nav { display: flex; align-items: center; gap: 0.2rem; }
.main-nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] { background: rgba(255, 255, 255, 0.18); color: var(--white); }

.header-actions { display: flex; align-items: center; gap: 0.9rem; }
.header-phone {
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  white-space: nowrap;
}
.header-phone:hover { color: var(--white); text-decoration: underline; }
.header-actions .btn { padding: 0.55rem 1.2rem; font-size: 0.92rem; white-space: nowrap; }

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  padding: 0.45rem 0.6rem;
  cursor: pointer;
}
.nav-toggle .bar {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--white);
  margin: 4px 0;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  /* AJ's zen-stones photo (from his PSD) under an olive scrim so the white text stays readable */
  background:
    linear-gradient(160deg, rgba(140, 168, 50, 0.78) 0%, rgba(80, 114, 2, 0.86) 90%),
    url("images/hero-bg.jpg") left bottom / cover no-repeat;
  color: var(--white);
  text-align: center;
  padding: 4.5rem 0 5rem;
}
.hero h1 { color: var(--white); max-width: 18em; margin: 0 auto 0.6em; text-shadow: 0 2px 6px rgba(0, 0, 0, 0.22); }
.hero p.hero-sub { font-size: 1.15rem; max-width: 36em; margin: 0 auto 1.8em; opacity: 0.95; }
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-leaves { position: absolute; inset: 0; pointer-events: none; opacity: 0.22; }

.page-hero {
  background: linear-gradient(160deg, var(--olive-light) 0%, var(--olive-dark) 90%);
  color: var(--white);
  text-align: center;
  padding: 2.8rem 0 3rem;
  position: relative;
  overflow: hidden;
}
.page-hero h1 { color: var(--white); text-shadow: 0 2px 6px rgba(0, 0, 0, 0.22); }
.page-hero p { max-width: 40em; margin: 0.6em auto 0; opacity: 0.95; }

/* ---------- Cards & bands ---------- */
.band-tan { background: var(--tan); }
.band-white { background: var(--white); }

.card-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  margin-top: 1.5rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow);
}
.band-tan .card { background: var(--white); }
.band-white .card, .card.card-tan { background: var(--cream); }

.card .card-icon { margin-bottom: 0.9rem; }

/* ---------- Testimonials ---------- */
.testimonial {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  box-shadow: var(--shadow);
  border-left: 5px solid var(--olive-light);
}
.testimonial blockquote {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.25rem;
  font-style: italic;
  color: var(--ink);
  margin-bottom: 0.8rem;
}
.testimonial cite { font-style: normal; font-weight: 700; color: var(--heading); }

.testimonial-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }

/* ---------- Pricing tables ---------- */
.price-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.price-table th, .price-table td { padding: 0.9rem 1.1rem; text-align: left; }
.price-table thead th { background: var(--heading); color: var(--white); font-family: "Source Sans 3", sans-serif; font-size: 0.95rem; letter-spacing: 0.03em; }
.price-table tbody tr:nth-child(even) { background: var(--cream); }
.price-table td.price { font-weight: 700; color: var(--heading); white-space: nowrap; }
.table-scroll { overflow-x: auto; }

.price-snapshot { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin: 1.5rem 0; }
.price-snapshot .card { text-align: center; padding: 1.4rem 1rem; }
.price-snapshot .price-amount { font-family: "Cormorant Garamond", Georgia, serif; font-size: 2rem; font-weight: 700; color: var(--heading); display: block; }

/* ---------- Jump links (reflexology page) ---------- */
.jump-nav { display: flex; flex-wrap: wrap; gap: 0.7rem; justify-content: center; margin: 1.2rem 0 0; }
.jump-nav a {
  background: var(--white);
  color: var(--heading);
  text-decoration: none;
  font-weight: 600;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  border: 1.5px solid var(--olive-light);
  font-size: 0.95rem;
}
.jump-nav a:hover { background: var(--olive-light); color: var(--white); }

/* ---------- Image placeholders ---------- */
.img-placeholder {
  background: repeating-linear-gradient(45deg, var(--tan), var(--tan) 12px, #e5d391 12px, #e5d391 24px);
  border: 2px dashed var(--olive-dark);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--heading);
  font-weight: 600;
  padding: 1rem;
}

/* ---------- Two-column layout ---------- */
.two-col { display: grid; gap: 2.2rem; grid-template-columns: 1fr 1fr; align-items: start; }

/* ---------- Map ---------- */
.map-embed { border: 0; width: 100%; height: 380px; border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- Contact page ---------- */
.contact-actions { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin: 1.5rem 0 2.5rem; }
.contact-actions .card { text-align: center; }
.contact-actions .btn { margin-top: 0.8rem; width: 100%; }

/* ---------- Footer ---------- */
.site-footer { background: var(--tan); padding: 3rem 0 1.5rem; margin-top: 2rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-bottom: 2rem; }
.site-footer h3 { font-size: 1.2rem; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 0.4rem; }
.footer-disclaimer {
  border-top: 1px solid rgba(59, 59, 46, 0.25);
  padding-top: 1.2rem;
  font-size: 0.85rem;
  line-height: 1.55;
  color: #5a5741;
}
.footer-copyright { font-size: 0.85rem; margin-top: 0.8rem; color: #5a5741; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.lead { font-size: 1.15rem; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Decorative upgrades ---------- */
.logo { display: inline-flex; align-items: center; }
.logo-img { height: 62px; width: auto; display: block; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2)); }
.footer-logo { width: 180px; height: auto; margin-bottom: 0.6rem; }

.hero { padding-bottom: 6.5rem; }
.page-hero { padding-bottom: 4.8rem; }
.hero-wave { position: absolute; bottom: -1px; left: 0; width: 100%; line-height: 0; pointer-events: none; }
.hero-wave svg { width: 100%; height: 48px; display: block; }

@keyframes leafFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.hero-leaves { animation: leafFloat 10s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .hero-leaves { animation: none; } }

.trust-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.8rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem 1.2rem;
  text-align: center;
  position: relative;
  z-index: 2;
  margin-top: -2.6rem;
}
.trust-bar strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.9rem;
  color: var(--heading);
  display: block;
  line-height: 1.1;
}
.trust-bar span { font-size: 0.88rem; color: #5a5741; }

.testimonial::before {
  content: "\201C";
  position: absolute;
  top: -14px;
  left: 14px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 4.5rem;
  line-height: 1;
  color: var(--olive-light);
}
.testimonial { position: relative; }

.portrait {
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
}

/* ============================================================
   Mobile
   ============================================================ */
@media (max-width: 900px) {
  .header-phone { display: none; }
}

@media (max-width: 780px) {
  .nav-toggle { display: block; }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--olive-dark);
    padding: 0.6rem 4%;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 0.8rem 0.65rem; border-bottom: 1px solid rgba(255, 255, 255, 0.15); border-radius: 0; }
  .main-nav a:last-child { border-bottom: none; }

  .two-col { grid-template-columns: 1fr; }
  .header-actions .btn { padding: 0.5rem 0.9rem; font-size: 0.85rem; }
  section { padding: 2.5rem 0; }
}

@media (max-width: 440px) {
  .logo-img { height: 50px; }
  .header-inner { gap: 0.5rem; }
  .header-actions .btn { padding: 0.45rem 0.75rem; font-size: 0.8rem; }
}
