/* =============================================================
   HOMESCHOOL NATURE ADVENTURES — Page-Specific CSS
   Append below bhpfa-design-system.css in Avada Custom CSS.
   All rules scoped under .bds-page to prevent site-wide leaks.
   Only styles NOT covered by the shared design system.
   ============================================================= */

/* ===== HERO ===== */
.bds-page .hna-hero {
  position: relative; min-height: 85vh;
  display: flex; align-items: center;
  background: var(--bds-surface-low); overflow: hidden;
}
.bds-page .hna-hero-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: center;
  max-width: 1100px; margin: 0 auto; padding: 6rem 2rem 4rem;
}
.bds-page .hna-hero-badge {
  display: inline-block; padding: 0.35em 1em;
  background: rgba(0, 114, 57, 0.1); color: var(--bds-primary);
  border-radius: 2rem; font-family: var(--font-label, "Work Sans", "Helvetica Neue", sans-serif);
  font-size: 0.72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 1.5rem;
}
.bds-page .hna-hero h1 { margin-bottom: 1.2rem; }
.bds-page .hna-hero-body {
  font-size: 1.15rem; color: var(--bds-on-surface-muted);
  max-width: 520px; margin-bottom: 2rem; line-height: 1.75;
}
.bds-page .hna-hero-images { position: relative; height: 600px; }
.bds-page .hna-hero-img-main {
  position: absolute; width: 85%; height: 80%; top: 5%; left: 0;
  border-radius: var(--bds-radius-xl); overflow: hidden;
  transform: rotate(-2deg); box-shadow: var(--bds-shadow);
}
.bds-page .hna-hero-img-main img { width: 100%; height: 100%; object-fit: cover; }
.bds-page .hna-hero-img-accent {
  position: absolute; width: 55%; height: 55%; bottom: 0; right: -5%;
  border-radius: var(--bds-radius-xl); overflow: hidden;
  transform: rotate(2deg); box-shadow: 0 12px 40px rgba(0,0,0,0.15);
  border: 4px solid var(--bds-white);
}
.bds-page .hna-hero-img-accent img { width: 100%; height: 100%; object-fit: cover; }

/* ===== QUICKFACTS BAR ===== */
.bds-page .hna-quickbar {
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: var(--bds-white); border-radius: var(--bds-radius-lg);
  box-shadow: var(--bds-shadow);
  margin: -3rem auto 0; position: relative; z-index: 10; max-width: 900px;
}
.bds-page .hna-quickbar-item { padding: 1.5rem 1rem; text-align: center; }
.bds-page .hna-quickbar-item + .hna-quickbar-item { border-left: 1px solid var(--bds-outline-ghost); }
.bds-page .hna-quickbar-label {
  font-family: var(--font-label, "Work Sans", "Helvetica Neue", sans-serif); font-size: 0.68rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--bds-on-surface-light);
  margin-bottom: 0.3rem;
}
.bds-page .hna-quickbar-value {
  font-family: var(--font-display, "Roboto Slab", Rockwell, serif); font-size: 1.2rem; font-weight: 600;
  color: var(--bds-on-surface);
}
.bds-page .hna-quickbar-note { font-size: 0.75rem; color: var(--bds-on-surface-light); margin-top: 0.15rem; }

/* ===== SEASON TIMELINE ===== */
.bds-page .hna-timeline {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 1rem; max-width: 1100px; margin: 0 auto;
}
.bds-page .hna-timeline-item {
  background: var(--bds-white); border-radius: var(--bds-radius-lg);
  overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  border: 1px solid var(--bds-outline-ghost);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex; flex-direction: column;
}
.bds-page .hna-timeline-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.bds-page .hna-timeline-month {
  font-family: var(--font-display, "Roboto Slab", Rockwell, serif); font-size: 1.1rem; font-weight: 700;
  text-align: center; padding: 0.6rem 0;
  color: var(--bds-white);
}
.bds-page .hna-timeline-past .hna-timeline-month {
  background: var(--bds-on-surface-light);
}
.bds-page .hna-timeline-upcoming .hna-timeline-month {
  background: var(--bds-primary);
}
.bds-page .hna-timeline-content {
  padding: 1.2rem 1rem 1.4rem; flex: 1;
  display: flex; flex-direction: column;
}
.bds-page .hna-timeline-date {
  font-family: var(--font-label, "Work Sans", "Helvetica Neue", sans-serif); font-size: 0.68rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--bds-on-surface-light); margin-bottom: 0.3rem;
}
.bds-page .hna-timeline-content h4 {
  font-size: 1.05rem; margin-bottom: 0.4rem;
}
.bds-page .hna-timeline-content p {
  font-size: 0.8rem; color: var(--bds-on-surface-muted);
  line-height: 1.55; margin: 0 0 auto; padding-bottom: 0.8rem;
}

/* Timeline badges */
.bds-page .hna-badge-sold-out {
  display: inline-block; padding: 0.25em 0.8em;
  background: var(--bds-surface-mid); color: var(--bds-on-surface-light);
  border-radius: 2rem; font-family: var(--font-label, "Work Sans", "Helvetica Neue", sans-serif);
  font-size: 0.62rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  align-self: flex-start;
}
.bds-page .hna-badge-open {
  display: inline-block; padding: 0.25em 0.8em;
  background: rgba(0, 114, 57, 0.1); color: var(--bds-primary);
  border-radius: 2rem; font-family: var(--font-label, "Work Sans", "Helvetica Neue", sans-serif);
  font-size: 0.62rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  align-self: flex-start;
}

/* ===== TESTIMONIALS ===== */
.bds-page .hna-testimonials {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
}
.bds-page .hna-testimonial {
  background: var(--bds-white); padding: 2rem 2.2rem;
  border-radius: var(--bds-radius-lg); box-shadow: var(--bds-shadow);
}
.bds-page .hna-testimonial p {
  font-family: var(--font-display, "Roboto Slab", Rockwell, serif); font-style: italic;
  color: var(--bds-on-surface-muted); font-size: 1.05rem;
  line-height: 1.65; margin-bottom: 0.8rem;
}
.bds-page .hna-testimonial cite {
  font-family: var(--font-label, "Work Sans", "Helvetica Neue", sans-serif); font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; color: var(--bds-primary);
  font-style: normal; letter-spacing: 0.04em;
}

/* ===== HOW IT WORKS PROCESS ===== */
.bds-page .hna-process {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2rem; margin-top: 3rem;
}
.bds-page .hna-process-step {
  padding: 2.5rem 2rem; background: var(--bds-white);
  border-radius: var(--bds-radius-lg); transition: all 0.4s; position: relative;
}
.bds-page .hna-process-step:hover { background: var(--bds-primary); color: var(--bds-white); }
.bds-page .hna-process-step:hover h4,
.bds-page .hna-process-step:hover .hna-step-num { color: var(--bds-white); }
.bds-page .hna-process-step:hover p { color: rgba(255,255,255,0.85); }
.bds-page .hna-step-num {
  font-family: var(--font-display, "Roboto Slab", Rockwell, serif); font-size: 3.5rem; font-weight: 700;
  color: var(--bds-sage); margin-bottom: 0.5rem; transition: all 0.4s;
}
.bds-page .hna-process-step h4 { margin-bottom: 0.6rem; transition: color 0.4s; }
.bds-page .hna-process-step p {
  color: var(--bds-on-surface-muted); font-size: 0.92rem;
  transition: color 0.4s; margin: 0;
}

/* ===== LOGISTICS GRID ===== */
.bds-page .hna-logistics-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem; max-width: 1000px; margin: 0 auto;
}
.bds-page .hna-logistics-card {
  background: var(--bds-surface-low); border-radius: var(--bds-radius-lg);
  padding: 2rem 1.5rem; text-align: center;
}
.bds-page .hna-logistics-card h4 {
  font-size: 1.1rem; margin-bottom: 0.5rem;
}
.bds-page .hna-logistics-card p {
  font-size: 0.88rem; color: var(--bds-on-surface-muted);
  line-height: 1.65; margin: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .bds-page .hna-hero-inner { grid-template-columns: 1fr; padding-top: 5rem; }
  .bds-page .hna-hero-images { height: 350px; margin-top: 2rem; }
  .bds-page .hna-hero-img-main { width: 75%; height: 100%; }
  .bds-page .hna-hero-img-accent { width: 50%; height: 50%; }
  .bds-page .hna-quickbar { grid-template-columns: repeat(3, 1fr); margin-top: -2rem; }
  .bds-page .hna-quickbar-item:nth-child(n+4) { border-top: 1px solid var(--bds-outline-ghost); }
  .bds-page .hna-timeline { grid-template-columns: repeat(3, 1fr); }
  .bds-page .hna-timeline-item:nth-child(n+4) { grid-column: span 1; }
  .bds-page .hna-testimonials { grid-template-columns: 1fr; }
  .bds-page .hna-process { grid-template-columns: 1fr; }
  .bds-page .hna-logistics-grid { grid-template-columns: 1fr 1fr; }
  .bds-page section#what-to-bring > .bds-container > div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }
  .bds-page section#programs .bds-container > div[style*="grid-template-columns:repeat(4"] {
    grid-template-columns: 1fr 1fr !important;
  }
}
@media (max-width: 600px) {
  .bds-page .hna-hero { min-height: auto; }
  .bds-page .hna-hero-inner { padding: 3rem 1.5rem 2rem; }
  .bds-page .hna-hero-images { display: none; }
  .bds-page .hna-quickbar { grid-template-columns: 1fr 1fr; }
  .bds-page .hna-quickbar-item + .hna-quickbar-item { border-left: none; }
  .bds-page .hna-quickbar-item:nth-child(even) { border-left: 1px solid var(--bds-outline-ghost); }
  .bds-page .hna-quickbar-item:nth-child(n+3) { border-top: 1px solid var(--bds-outline-ghost); }
  .bds-page .hna-timeline { grid-template-columns: 1fr 1fr; }
  .bds-page .hna-logistics-grid { grid-template-columns: 1fr; }
  .bds-page section#programs .bds-container > div[style*="grid-template-columns:repeat(4"] {
    grid-template-columns: 1fr !important;
  }
}
