:root {
  /* Palette */
  --color-light-peach: #F8C6B5;
  --color-dusty-pink: #DA9E8C;
  --color-terra-cotta: #D77F66;
  --color-rust: #B15A43;

  /* Semantic mappings */
  --bg-primary: #FFFFFF;
  --bg-secondary: var(--color-light-peach);
  --text-main: var(--color-rust);
  --text-body: #4a4a4a; /* Neutral dark for readability if Rust is too colored, but let's try Rust for headers */
  --accent: var(--color-terra-cotta);
  --button-bg: var(--color-terra-cotta);
  --button-text: #FFFFFF;
}

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

body {
  font-family: 'DM Sans', sans-serif;
  line-height: 1.6;
  color: var(--text-body);
  background-color: var(--bg-primary);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Lora', serif; /* Using a serif for "Ancient Wisdom" vibe */
  color: var(--text-main);
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: var(--text-main);
  transition: opacity 0.2s;
}

a:hover {
  opacity: 0.7;
}

/* Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.placeholder-img {
  background-color: var(--color-dusty-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 3rem;
  border-radius: 4px;
}

/* Header */
header {
  padding: 0.5rem 0;
  background-color: var(--bg-secondary);
  position: relative;
  z-index: 3000;
}

header nav {
  display: flex;
  gap: 2rem;
  font-weight: 500;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Hamburger button */
.nav-toggle {
  color: #B15A43; 
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;

  /*temporarily added for troubleshooting*/
  position: relative;
  z-index: 3020;
  pointer-events: auto;
}

/* Nav links */
.nav-links {
  display: flex;
  gap: 2rem;
}

#site-nav {
  display: flex;
  gap: 2rem;
}


ul {
  margin-left: 1.25rem;   /* controls how far the list is indented */
  padding-left: 0;        /* prevents double indentation */
}

li {
  margin-bottom: 0.5rem;  /* optional, improves readability */
}


/* ===== Dropdown nav (hover + keyboard friendly) ===== */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropbtn {
  font-size: 14px;
  color: var(--ink-soft);
  padding: 10px 12px;
  border-radius: 999px;
  transition: background .2s ease, color .2s ease;
  display: inline-flex;
  align-items: center;
}
.nav-dropbtn:hover {
  background: rgba(255,253,251,.55);
  color: var(--ink);
  text-decoration: none;
}
.nav-dropbtn.active {
  background: rgba(255,253,251,.75);
  color: var(--c-4);
  box-shadow: 0 6px 18px rgba(35,17,12,.08);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 220px;
  background: rgba(255,253,251,.92);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  padding: 10px;
  display: none;
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--ink-soft);
  font-size: 14px;
  text-decoration: none;
}
.nav-dropdown-menu a:hover {
  background: rgba(218,158,140,.18);
  color: var(--ink);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: block;
}

/* ===== Contact page 2-column layout ===== */
.contact-layout{
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(18px, 3vw, 44px);
  align-items: start;
}

/* Contact page hero spacing override */
.contact-hero {
  padding: 5rem 0 6rem;   /* adjust to taste */
  min-height: auto;       /* cancels hero tall height (70vh / clamp etc.) */
  background-color: #FDF6F3;
}


.contact-card{
  background: #FDF6F3;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 10px);
  box-shadow: var(--shadow-md);
  padding: clamp(24px, 4vw, 52px);
}

.contact-form{
  margin-top: var(--space-4);
  display: grid;
  gap: 14px;
}

.field span{
  display: block;
  font-size: 13px;
  letter-spacing: .02em;
  color: var(--ink-mute);
  margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea{
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(177,90,67,.22);
  background: rgba(255,253,251,.90);
  color: var(--ink);
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus{
  border-color: #D77F66;
}

.form-note{
  margin-top: 6px;
  font-size: 13px;
  color: var(--ink-mute);
}

/* Right-side image */
.contact-image{
  border-radius: calc(var(--radius) + 10px);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: rgba(255,253,251,.55);
  min-height: 360px;
}

.contact-image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Mobile stacking */
@media (max-width: 920px){
  .contact-layout{
    grid-template-columns: 1fr;
  }
  .contact-image{
    min-height: 240px;
  }
}


/* Hero Section */
.hero {
  padding: 2rem 0 3rem;
  position: relative;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background-size: cover;
  background-position: center;
}

.hero-content {
  max-width: 800px;
  padding: 2.5rem 3.25rem;
  margin-left: 0;
  margin-right: auto;
  text-align: left;
  position: relative;
  z-index: 2;
}

.hero--with-bg {
  background-color: var(--bg-secondary); /* fallback if image fails */
  background-image: url("assets/images/home/home-hero.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 300px;
  /* min-height: clamp(420px, 55vh, 560px); */
  display: flex;
  align-items: center;
}

.hero--with-bg .container {
  width: 100%;
}

.hero--with-bg .hero-content {
  background: rgba(248, 198, 181, 0.75);
  border-radius: 6px;
  backdrop-filter: blur(2px);
  text-align: left;
  padding: 2.25rem 3.25rem;
}

.hero--with-bg .hero-content h1 {
  margin: 0 0 1.25rem 0;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}

.hero--with-bg .hero-content p {
  margin: 0;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
  max-width: 70ch; 
}


.hero h1 {
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.25rem;
  margin: 0 0 1rem;
  color: var(--text-main);
}

.hero-img {
  width: 100%;
  height: clamp(280px, 45vh, 520px);
  margin-top: 2.5rem;
  object-fit: cover;
  border-radius: 24px;
}

.hero--practitioner {
  background-image: url("images/practitioner-hero.jpg");
}

.hero--organization {
  background-image: url("images/organization-hero.jpg");
}

@media (min-width: 768px) {
  .hero-img {
    margin-top: 3rem;
  }
  .hero-content {
    margin: 0 auto;
    padding: 2rem;
  }
}

/* Features Section */
.features {
  padding: 1.5rem 0;
  background-color: var(--bg-primary);
}

.features h2 {
  font-size: 2rem;
  margin-bottom: 3rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.features-grid--two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 2rem;
}

.feature-item h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  font-family: 'Lora', serif;
}

.feature-item p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #666;
}

/* Designed Experiences */
.experiences {
  padding: 1.5rem 0;
  background-color: #FDF6F3; /* Very light tint of the peach */
}

.experiences h2 {
  font-size: 2rem;
  margin-bottom: 4rem;
}

.experience-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 5rem;
  align-items: center;
}

.experience-item.reverse {
  direction: rtl; /* Quick way to swap columns visually, but better to use order or grid areas */
  text-align: left;
}
.experience-item.reverse > * {
  direction: ltr;
}

.experience-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.experience-text h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.experience-text p {
  margin-bottom: 1.5rem;
  color: #555;
}

.see-more {
  text-align: center;
  margin-top: 4rem;
}

.see-more a {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 1.2rem;
  border-bottom: 1px solid currentColor;
}

/* Footer / CTA */
.cta-section {
  padding: 1rem 0;
  text-align: center;
  background-color: var(--bg-primary);
}

.btn {
  display: inline-block;
  background-color: #B15A43; /* terracotta color */
  color: #fff;
  padding: 0.25rem 0.75rem;
  border: none;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  cursor: pointer;

  /* kill iOS default styles */
  -webkit-appearance: none;
  appearance: none;
}

/* The wireframe button looks grey, but user asked to use the palette.
   I'll use the Rust color for the primary CTA to match the "Design" request.
   Or maybe a grey if strict wireframe adherence is needed.
   "build the CSS file using these colors: F8C6B5, DA9E8C, D77F66, B15A43"
   I will use B15A43 (Rust) or D77F66 (Terra Cotta) for the button.
   Let's go with B15A43.
*/
.btn-primary {
  background-color: var(--text-main); /* Rust */
}

.btn-primary:hover {
  background-color: var(--color-terra-cotta);
}

/*Contact page Send Button*/
button,
input[type="submit"] {
  background-color: #B15A43;
  color: #fff;
  border: none;
  border-radius: 999px; /* keeps the pill look */
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;

  /* 🔑 this kills iOS default blue */
  -webkit-appearance: none;
  appearance: none;
}


/* mobile view adjustment, anything smaller than an ipad */
@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .experience-item {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  .practitioners-section {
    background-color: #FDF6F3;
   /* padding: 2rem 0; */
  }
  .hero.practitioners-section {
    background-color: #FDF6F3 !important;
    background-image: none !important;
  }

  .hero--with-bg .hero-content {
    margin: 0 auto;           /* true centering */
    width: calc(100% - 2rem); /* equal left/right space */
    max-width: 520px;         /* prevents it from getting too wide */
    padding: 1.25rem;
    border-radius: 10px;
    box-sizing: border-box;
  }

  .hero--with-bg .hero-content h1 { 
    font-size: 1.9rem;
    line-height: 1.25; }
  .hero--with-bg .hero-content p  { 
    font-size: 1rem; 
    max-width: none; }

  
  
  .nav-toggle { 
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--text-main);
    cursor: pointer;
  }
  #site-nav {
    display: none; /* hide only on mobile */
  }

  /* Show when opened */
  #site-nav.is-open {
    display: flex;
    flex-direction: column;
    gap: 1rem;

    /* make it visible as a dropdown */
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;

    background: var(--bg-secondary); /* or #F8C6B5 */
    padding: 1rem 1.25rem;
    z-index: 3010;
  }
  .zoho-iframe{
  width: 100%;
  height: 1000px;  /* try 950–1200 */
  border: 0;
  display: block;
}

}
