/* =========================================================
   Maria's Holistic Harmony Wellness Centre
   style.css — clean rebuild from Webador scrape
   Colour palette preserved from original site
   ========================================================= */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Raleway:wght@300;400;500;600&display=swap');

/* --- CSS Variables --- */
:root {
  --bg-body:        #1f2b35;
  --bg-content:     #25333f;
  --bg-shaded:      #2e404f;
  --accent:         #c67e4d;
  --accent-hover:   #d29a74;
  --accent-dark:    #b96e3b;
  --text:           #9da3a8;
  --text-light:     #cdd8e2;
  --heading:        #c67e4d;
  --nav-bg:         #c67e4d;
  --nav-hover:      #d29a74;
  --border:         rgba(157, 163, 168, 0.2);
  --border-accent:  rgba(71, 98, 121, 0.6);
  --footer-bg:      #1f2b35;
  --max-width:      1100px;
  --font-display:   'Cormorant Garamond', Georgia, serif;
  --font-body:      'Raleway', sans-serif;
  --radius:         4px;
  --transition:     0.25s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--bg-body);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent-hover); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.25;
  color: var(--heading);
}

h1 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: 0.04em; text-transform: uppercase; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

ul, ol { padding-left: 1.5em; }

hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 3em 0;
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4rem 0;
}

.section--shaded {
  background-color: var(--bg-shaded);
}

.section--accent {
  background-color: var(--accent);
  color: #fff;
}
.section--accent h2,
.section--accent h3 {
  color: #fff;
}

/* --- Skip link --- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 1rem;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: #fff;
  z-index: 9999;
  border-radius: var(--radius);
}
.skip-link:focus { left: 1rem; }

/* =========================================================
   NAVIGATION
   ========================================================= */
.site-header {
  background-color: var(--nav-bg);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.site-header__brand {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.2;
  max-width: 280px;
}
.site-header__brand:hover { color: rgba(255,255,255,0.85); }

.nav__list {
  display: flex;
  list-style: none;
  gap: 0;
  padding: 0;
  margin: 0;
}

.nav__link {
  display: block;
  padding: 0.5rem 1rem;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
}
.nav__link:hover,
.nav__link[aria-current="page"] {
  background: var(--nav-hover);
  color: #fff;
}

/* Hamburger */
.nav__toggle {
  display: none;
  background: none;
  border: 2px solid rgba(255,255,255,0.7);
  border-radius: var(--radius);
  padding: 0.4rem 0.6rem;
  cursor: pointer;
  color: #fff;
}
.nav__toggle-icon {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  position: relative;
}
.nav__toggle-icon::before,
.nav__toggle-icon::after {
  content: '';
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  position: absolute;
}
.nav__toggle-icon::before { top: -7px; }
.nav__toggle-icon::after  { top: 7px; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background-color: var(--bg-body);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* radial vignette matching original template */
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle closest-corner, rgba(31,43,53,0) 20%, rgba(31,43,53,0.85) 95%);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 5rem 1.5rem 6rem;
  max-width: 720px;
}

.hero__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
  margin-bottom: 1.5rem;
  letter-spacing: 0.04em;
}

.hero__subtitle {
  font-family: var(--font-body);
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 2rem;
  font-weight: 300;
  letter-spacing: 0.05em;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-block;
  padding: 0.7rem 1.8rem;
  border-radius: 2rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn--primary {
  background-color: var(--accent);
  color: #fff;
}
.btn--primary:hover {
  background-color: var(--accent-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(198,126,77,0.4);
}

.btn--outline {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
}
.btn--outline:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-1px);
}

.btn--sm {
  padding: 0.5rem 1.2rem;
  font-size: 0.75rem;
}

.btn--lg {
  padding: 0.9rem 2.4rem;
  font-size: 0.85rem;
}

/* =========================================================
   INTRO SECTION
   ========================================================= */
.intro {
  background: var(--bg-content);
  margin-top: -80px;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 60px rgba(0,0,0,0.15);
}

.intro__inner {
  padding: 4rem 1.5rem 3rem;
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.intro__title {
  margin-bottom: 1.5rem;
}

.intro__text {
  max-width: 780px;
  margin: 0 auto;
  font-size: 0.95rem;
  line-height: 1.8;
}

/* Gradient fade from hero into content */
.intro::before {
  content: '';
  display: block;
  height: 100px;
  background: linear-gradient(to bottom, var(--bg-body) 0%, var(--bg-content) 100%);
  margin-bottom: -100px;
  position: relative;
  z-index: -1;
}

/* =========================================================
   SERVICES GRID
   ========================================================= */
.services-section {
  background: var(--bg-content);
  padding: 3rem 0 5rem;
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 0.5rem;
}

.section-title {
  margin-bottom: 0.5rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--bg-shaded);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--border);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  border-color: rgba(198,126,77,0.3);
}

.service-card__image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
}

.service-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-card__title {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.service-card__text {
  font-size: 0.85rem;
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1rem;
}

.service-card__price {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1rem;
}

/* =========================================================
   FAQ ACCORDION
   ========================================================= */
.faq-section {
  background: var(--bg-shaded);
  padding: 4rem 0;
}

.faq-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

details.faq-item {
  background: var(--bg-content);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

details.faq-item[open] {
  border-color: rgba(198,126,77,0.4);
}

.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-light);
  gap: 1rem;
  transition: color var(--transition);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }

.faq-item__icon {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  transition: transform 0.3s ease;
  fill: var(--accent);
}
details.faq-item[open] .faq-item__icon {
  transform: rotate(180deg);
}

.faq-item__answer {
  padding: 0 1.25rem 1rem;
  font-size: 0.875rem;
  line-height: 1.7;
  border-top: 1px solid var(--border);
  padding-top: 0.75rem;
}

/* =========================================================
   TESTIMONIAL
   ========================================================= */
.testimonial-section {
  background: var(--bg-content);
  padding: 4rem 0;
  text-align: center;
}

.testimonial {
  max-width: 700px;
  margin: 0 auto;
}

.testimonial__quote {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.5;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.testimonial__quote::before { content: '\201C'; }
.testimonial__quote::after  { content: '\201D'; }

.testimonial__author {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
}

/* =========================================================
   CONTACT SECTION
   ========================================================= */
.contact-section {
  background: var(--bg-shaded);
  padding: 4rem 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-form-wrap h2 {
  margin-bottom: 0.5rem;
}

.contact-form-wrap .lead {
  margin-bottom: 2rem;
  font-size: 0.9rem;
}

/* Netlify Form */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.7rem 0.9rem;
  background: var(--bg-content);
  border: 1px solid rgba(108, 142, 169, 0.5);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.875rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:hover,
.form-group textarea:hover { border-color: #6c8ea9; }

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(198,126,77,0.2);
}

.form-group textarea { min-height: 130px; resize: vertical; }

/* Honeypot */
.honeypot { display: none !important; }

/* Map & Location info */
.contact-map-wrap {}

.map-embed {
  width: 100%;
  height: 300px;
  border: 0;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  filter: grayscale(30%) contrast(0.9);
}

.location-info h3 { margin-bottom: 0.5rem; }

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
}
.contact-detail svg {
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
  stroke: var(--accent);
  margin-top: 0.15rem;
}

/* =========================================================
   ABOUT SNIPPET (homepage)
   ========================================================= */
.about-snippet {
  background: var(--bg-content);
  padding: 4rem 0;
  text-align: center;
}

.about-snippet__inner {
  max-width: 760px;
  margin: 0 auto;
}

/* =========================================================
   ABOUT PAGE
   ========================================================= */
.about-hero {
  background: var(--bg-content);
  padding: 5rem 0 4rem;
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: start;
}

.about-image-stack {
  position: relative;
}

.about-image-stack__main {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
}

.about-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.credential-tag {
  background: var(--bg-shaded);
  border: 1px solid var(--border-accent);
  color: var(--text-light);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.35rem 0.8rem;
  border-radius: 2rem;
  letter-spacing: 0.05em;
}

.about-text h1 { margin-bottom: 1.5rem; }
.about-text p { margin-bottom: 1.25rem; }

/* =========================================================
   SERVICES PAGE
   ========================================================= */
.page-hero {
  background: var(--bg-shaded);
  padding: 4rem 0 3rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.services-full-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card--full .service-card__image {
  height: 220px;
}

/* =========================================================
   CONTACT PAGE
   ========================================================= */
.contact-page-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  align-items: start;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--border-accent);
  margin-top: 0;
  padding: 2.5rem 0;
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  font-size: 0.8rem;
  color: #9aa0a4;
}

.site-footer a { color: #9aa0a4; }
.site-footer a:hover { color: var(--accent); }

/* =========================================================
   UTILITY
   ========================================================= */
.text-center { text-align: center; }
.text-accent  { color: var(--accent); }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 3rem 0;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  .faq-layout,
  .contact-layout,
  .contact-page-layout,
  .about-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-map-wrap { order: -1; }
}

@media (max-width: 768px) {
  /* Mobile nav */
  .nav {
    position: fixed;
    inset: 0;
    background: var(--nav-bg);
    z-index: 99;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }
  .nav.is-open { transform: translateX(0); }

  .nav__list {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .nav__link { font-size: 1.1rem; padding: 0.75rem 2rem; }

  .nav__toggle { display: block; position: relative; z-index: 100; }

  .hero__content { padding: 3rem 1rem 4rem; }

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

  .intro { margin-top: -40px; }
}

@media (max-width: 480px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.4rem; }
  .section { padding: 2.5rem 0; }
  .btn--lg { padding: 0.75rem 1.8rem; }
}
