/* ============================================================
   Aunt K's Bullfrogs & Butterflies — Shared Stylesheet
   Warm & Welcoming | Nature-Inspired | Family-Focused
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Nunito:wght@300;400;500;600;700;800&display=swap');

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
  --green-deep:     #3d6b45;
  --green-mid:      #5a8c61;
  --green-light:    #8dba7a;
  --green-pale:     #d4ebcc;
  --green-tint:     #eef6eb;
  --coral:          #c8614a;
  --coral-light:    #e8876e;
  --coral-pale:     #fae5df;
  --gold:           #d9a030;
  --gold-light:     #f0c870;
  --gold-pale:      #fdf3d8;
  --cream:          #fdf8f2;
  --cream-dark:     #f5ede0;
  --brown-warm:     #7a5c3a;
  --text-dark:      #2a3528;
  --text-mid:       #4a5e47;
  --text-light:     #7a8e77;
  --white:          #ffffff;
  --shadow-soft:    0 4px 24px rgba(42, 53, 40, 0.08);
  --shadow-card:    0 2px 16px rgba(42, 53, 40, 0.10);
  --shadow-hover:   0 8px 32px rgba(42, 53, 40, 0.16);
  --radius-sm:      8px;
  --radius-md:      16px;
  --radius-lg:      24px;
  --radius-xl:      40px;
  --transition:     0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  background-color: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Typography ────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: 'Lora', serif;
  line-height: 1.25;
  color: var(--text-dark);
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { font-size: 1rem; color: var(--text-mid); }

.section-label {
  display: inline-block;
  font-family: 'Nunito', sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 0.75rem;
}
.section-title { margin-bottom: 1rem; }
.section-sub { font-size: 1.05rem; color: var(--text-mid); max-width: 560px; }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-xl);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--green-deep);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(61, 107, 69, 0.35);
}
.btn-primary:hover {
  background: var(--green-mid);
  box-shadow: 0 6px 24px rgba(61, 107, 69, 0.45);
  transform: translateY(-2px);
}
.btn-coral {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(200, 97, 74, 0.35);
}
.btn-coral:hover {
  background: var(--coral-light);
  box-shadow: 0 6px 24px rgba(200, 97, 74, 0.45);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--green-deep);
  border: 2px solid var(--green-deep);
}
.btn-outline:hover {
  background: var(--green-deep);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.7);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* ── Top Bar ───────────────────────────────────────────────── */
.top-bar {
  background: var(--green-deep);
  color: rgba(255,255,255,0.9);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.55rem 0;
}
.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2rem;
}
.top-bar a { color: rgba(255,255,255,0.9); transition: color 0.2s; }
.top-bar a:hover { color: var(--white); }
.top-bar-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.top-bar-item svg { flex-shrink: 0; }

/* ── Header / Nav ──────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(42, 53, 40, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}
.site-logo img { height: 72px; width: auto; }
.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-link {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-mid);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  letter-spacing: 0.01em;
}
.nav-link:hover { color: var(--green-deep); background: var(--green-tint); }
.nav-link.active { color: var(--green-deep); background: var(--green-tint); }
.nav-cta {
  margin-left: 0.75rem;
  padding: 0.55rem 1.4rem;
  font-size: 0.88rem;
}
/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--green-deep);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── Container ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Page Hero ─────────────────────────────────────────────── */
.page-hero {
  position: relative;
  padding: 5rem 0 4rem;
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--green-mid) 100%);
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.06) 0%, transparent 60%),
                    radial-gradient(circle at 80% 30%, rgba(255,255,255,0.04) 0%, transparent 50%);
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0.18;
}
.page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 0.75rem; }
.page-hero .breadcrumb {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
}
.page-hero .breadcrumb a { color: rgba(255,255,255,0.85); }
.page-hero .breadcrumb a:hover { color: var(--white); }
/* Leaf decoration */
.hero-leaf {
  position: absolute;
  opacity: 0.12;
  pointer-events: none;
}

/* ── Section Spacing ───────────────────────────────────────── */
.section { padding: 5rem 0; }
.section-sm { padding: 3.5rem 0; }
.section-lg { padding: 7rem 0; }

/* ── Wave Divider ──────────────────────────────────────────── */
.wave-divider { line-height: 0; }
.wave-divider svg { display: block; width: 100%; }

/* ── Cards ─────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  overflow: hidden;
}
.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.card-body { padding: 2rem; }

/* ── Feature Cards ─────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  border-bottom: 3px solid transparent;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-bottom-color: var(--green-mid);
}
.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--green-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.feature-icon svg { color: var(--green-deep); }
.feature-card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.9rem; }

/* ── Two-Column Layout ─────────────────────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.two-col.reversed { direction: rtl; }
.two-col.reversed > * { direction: ltr; }

/* ── Image Frames ──────────────────────────────────────────── */
.img-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
}
.img-frame img { width: 100%; height: 100%; object-fit: cover; }
.img-frame::after {
  content: '';
  position: absolute;
  bottom: -12px;
  right: -12px;
  width: 60%;
  height: 60%;
  border: 3px solid var(--green-pale);
  border-radius: var(--radius-lg);
  z-index: -1;
}

/* ── Badges ────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-xl);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.badge-green  { background: var(--green-pale); color: var(--green-deep); }
.badge-coral  { background: var(--coral-pale); color: var(--coral); }
.badge-gold   { background: var(--gold-pale); color: var(--brown-warm); }

/* ── Stat Numbers ──────────────────────────────────────────── */
.stats-row {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-number {
  font-family: 'Lora', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--green-deep);
  line-height: 1;
}
.stat-label { font-size: 0.82rem; color: var(--text-light); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }

/* ── Green Banner ──────────────────────────────────────────── */
.banner-green {
  background: linear-gradient(135deg, var(--green-deep), var(--green-mid));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem 3rem;
  position: relative;
  overflow: hidden;
}
.banner-green h2, .banner-green h3 { color: var(--white); }
.banner-green p { color: rgba(255,255,255,0.85); }
.banner-green::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}
.banner-green::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: 30%;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}

/* ── Alternating BG ────────────────────────────────────────── */
.bg-cream       { background: var(--cream); }
.bg-cream-dark  { background: var(--cream-dark); }
.bg-green-tint  { background: var(--green-tint); }
.bg-white       { background: var(--white); }

/* ── Form Styles ───────────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-mid);
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}
.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 2px solid #e0e8dc;
  border-radius: var(--radius-sm);
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--green-mid);
  box-shadow: 0 0 0 3px rgba(90, 140, 97, 0.15);
}
.form-input::placeholder, .form-textarea::placeholder { color: #aabaa7; }
.form-textarea { resize: vertical; min-height: 130px; }
.form-submit { width: 100%; margin-top: 0.5rem; justify-content: center; padding: 1rem; font-size: 1rem; }

/* ── Contact Info Cards ────────────────────────────────────── */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
}
.contact-info-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-card);
  text-align: center;
  transition: var(--transition);
}
.contact-info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.contact-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--green-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--green-deep);
}
.contact-info-card h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-light); margin-bottom: 0.4rem; }
.contact-info-card p, .contact-info-card a { font-size: 0.95rem; font-weight: 600; color: var(--text-dark); }
.contact-info-card a:hover { color: var(--green-deep); }

/* ── List with checks ──────────────────────────────────────── */
.check-list { display: flex; flex-direction: column; gap: 0.75rem; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-mid);
}
.check-list li::before {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green-tint);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233d6b45' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── Testimonials ──────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  font-family: Georgia, serif;
  font-size: 4rem;
  line-height: 1;
  color: var(--green-pale);
  position: absolute;
  top: 1rem;
  left: 1.5rem;
}
.testimonial-text { font-style: italic; color: var(--text-mid); margin-bottom: 1.25rem; padding-top: 1rem; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--green-deep);
  flex-shrink: 0;
}
.testimonial-name { font-weight: 700; font-size: 0.9rem; }
.testimonial-role { font-size: 0.78rem; color: var(--text-light); }

/* ── Programs Section ──────────────────────────────────────── */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.program-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-card);
  border-top: 4px solid var(--green-light);
  transition: var(--transition);
}
.program-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.program-card.coral-top { border-top-color: var(--coral); }
.program-card.gold-top  { border-top-color: var(--gold); }
.program-age {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 0.5rem;
}
.program-card.coral-top .program-age { color: var(--coral); }
.program-card.gold-top  .program-age { color: var(--gold); }
.program-card h3 { margin-bottom: 0.75rem; }
.program-card p  { font-size: 0.9rem; }

/* ── Map Container ─────────────────────────────────────────── */
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  height: 380px;
}
.map-container iframe { width: 100%; height: 100%; border: none; }

/* ── Registration Steps ────────────────────────────────────── */
.steps-list { display: flex; flex-direction: column; gap: 1.5rem; }
.step-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green-deep);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.step-content h4 { margin-bottom: 0.25rem; }
.step-content p  { font-size: 0.9rem; }

/* ── Footer ────────────────────────────────────────────────── */
.site-footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.8);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer-logo img { height: 60px; width: auto; margin-bottom: 1.25rem; }
.footer-tagline { font-size: 0.9rem; color: rgba(255,255,255,0.65); line-height: 1.7; max-width: 280px; }
.footer-heading {
  font-family: 'Lora', serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--green-light); }
.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 0.75rem;
}
.footer-contact-item svg { flex-shrink: 0; color: var(--green-light); margin-top: 2px; }
.footer-contact-item a { color: rgba(255,255,255,0.65); }
.footer-contact-item a:hover { color: var(--green-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
}
.footer-bottom a { color: rgba(255,255,255,0.55); }
.footer-bottom a:hover { color: rgba(255,255,255,0.8); }

/* ── Accepting Badges Strip ────────────────────────────────── */
.accepting-strip {
  background: var(--gold-pale);
  border: 1px solid #f0d890;
  border-radius: var(--radius-md);
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.accepting-strip p {
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brown-warm);
}
.accepting-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 2px solid var(--gold-light);
  border-radius: var(--radius-xl);
  padding: 0.45rem 1.25rem;
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--brown-warm);
}

/* ── Animations ────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.6s ease forwards; }
.fade-up-d1 { animation-delay: 0.1s; opacity: 0; animation: fadeUp 0.6s 0.1s ease forwards; }
.fade-up-d2 { animation-delay: 0.2s; opacity: 0; animation: fadeUp 0.6s 0.2s ease forwards; }
.fade-up-d3 { animation-delay: 0.3s; opacity: 0; animation: fadeUp 0.6s 0.3s ease forwards; }
.fade-up-d4 { animation-delay: 0.4s; opacity: 0; animation: fadeUp 0.6s 0.4s ease forwards; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 2.5rem; }
  .two-col.reversed { direction: ltr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .site-nav { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); padding: 1rem 1.5rem 1.5rem; box-shadow: var(--shadow-soft); gap: 0.25rem; }
  .site-nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-row { gap: 1.5rem; }
  .banner-green { padding: 2rem 1.75rem; }
  .two-col { gap: 2rem; }
  .top-bar .container { justify-content: center; flex-wrap: wrap; gap: 1rem; }
  .accepting-strip { gap: 1rem; padding: 1rem 1.5rem; }
}
@media (max-width: 480px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  .btn { padding: 0.75rem 1.5rem; }
  .features-grid { grid-template-columns: 1fr; }
  .programs-grid { grid-template-columns: 1fr; }
}
