/* ============================================================
   Lake Mary Learning — Brand Stylesheet
   Colors: Pine Green #2F5D3A | Lake Blue #6FA9D8 | Alpine Teal #4FA3A5
           Evergreen #3E6B4A | Sky Blue #8BC3E6 | Soft Sand #E8E2D6
           Granite Gray #6B6B6B | Snow White #FFFFFF
   Fonts: Baloo 2 (headings) | Nunito (body) | Quicksand (accents)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400;500;600;700;800&family=Nunito:wght@400;500;600;700&family=Quicksand:wght@400;500;600;700&display=swap');

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

:root {
  --pine:    #2F5D3A;
  --lake:    #6FA9D8;
  --teal:    #4FA3A5;
  --green:   #3E6B4A;
  --sky:     #8BC3E6;
  --sand:    #E8E2D6;
  --gray:    #6B6B6B;
  --white:   #FFFFFF;
  --dark:    #1E2E22;
  --light-bg:#F4F8F5;
  --cream:   #FBF7F0;

  --font-head: 'Baloo 2', sans-serif;
  --font-body: 'Nunito', sans-serif;
  --font-accent: 'Quicksand', sans-serif;

  --radius: 12px;
  --shadow: 0 4px 20px rgba(47,93,58,0.12);
  --shadow-lg: 0 8px 36px rgba(47,93,58,0.18);
  --max-w: 1140px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--dark);
  background: var(--white);
  line-height: 1.65;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: var(--teal); text-decoration: none; }
a:hover { color: var(--pine); }
ul { list-style: none; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--pine);
  line-height: 1.25;
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }

p { color: var(--gray); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.accent-text {
  font-family: var(--font-accent);
  font-weight: 600;
  color: var(--teal);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s;
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--pine);
  color: var(--white);
}
.btn-primary:hover { background: var(--green); color: var(--white); }

.btn-secondary {
  background: var(--white);
  color: var(--pine);
  border: 2.5px solid var(--pine);
}
.btn-secondary:hover { background: var(--light-bg); color: var(--pine); }

.btn-teal {
  background: var(--teal);
  color: var(--white);
}
.btn-teal:hover { background: var(--lake); color: var(--white); }

.btn-lake {
  background: var(--lake);
  color: var(--white);
}
.btn-lake:hover { background: var(--teal); color: var(--white); }

.btn-lg { padding: 17px 36px; font-size: 1.1rem; }
.btn-sm { padding: 10px 20px; font-size: 0.9rem; }

/* ── Nav ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 2px solid var(--sand);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}
.nav-logo-text {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--pine);
  line-height: 1.2;
}
.nav-logo-tagline {
  font-family: var(--font-accent);
  font-size: 0.72rem;
  color: var(--teal);
  font-weight: 600;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--dark);
  padding: 8px 14px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
.nav-links a:hover, .nav-links a.active {
  background: var(--light-bg);
  color: var(--pine);
}
.nav-links .btn { margin-left: 8px; }

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--pine);
  margin: 5px 0;
  border-radius: 2px;
  transition: 0.3s;
}

/* ── Page Hero ── */
.page-hero {
  background: linear-gradient(135deg, var(--pine) 0%, var(--green) 60%, var(--teal) 100%);
  color: var(--white);
  padding: 56px 0 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero h1 { color: var(--white); margin-bottom: 10px; }
.page-hero p  { color: rgba(255,255,255,0.85); font-size: 1.1rem; margin: 0; }
.page-hero .accent-text { color: var(--sky); }

/* ── Section Layout ── */
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.section-alt { background: var(--light-bg); }
.section-sand { background: var(--cream); }
.section-pine { background: var(--pine); }
.section-teal { background: var(--teal); }

.section-title {
  text-align: center;
  margin-bottom: 48px;
}
.section-title h2 { margin-bottom: 10px; }
.section-title p { font-size: 1.05rem; max-width: 560px; margin: 0 auto; }
.section-title .divider {
  width: 56px;
  height: 3px;
  background: var(--teal);
  border-radius: 2px;
  margin: 14px auto 16px;
}

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

.card-body { padding: 24px; }
.card-tag {
  display: inline-block;
  font-family: var(--font-accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--light-bg);
  color: var(--teal);
  padding: 4px 10px;
  border-radius: 50px;
  margin-bottom: 10px;
}
.card h3 { margin-bottom: 8px; }
.card p  { font-size: 0.92rem; }

/* ── Grid ── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ── Badge / Chip ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-accent);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 50px;
  letter-spacing: 0.04em;
}
.badge-pine   { background: var(--pine);    color: var(--white); }
.badge-teal   { background: var(--teal);    color: var(--white); }
.badge-lake   { background: var(--sky);     color: var(--pine);  }
.badge-sand   { background: var(--sand);    color: var(--pine);  }
.badge-orange { background: #E07B39;        color: var(--white); }

/* ── Feature Icon Box ── */
.feature-box {
  text-align: center;
  padding: 32px 24px;
}
.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 16px;
  background: var(--light-bg);
}
.feature-box h3 { margin-bottom: 8px; font-size: 1.1rem; }

/* ── Forms ── */
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--pine);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--sand);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--dark);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--teal);
}

/* ── Newsletter Form Box ── */
.newsletter-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  max-width: 480px;
  margin: 0 auto;
}
.newsletter-form h3 {
  font-size: 1.4rem;
  margin-bottom: 6px;
}
.newsletter-form p {
  font-size: 0.92rem;
  margin-bottom: 20px;
}
.kit-embed-placeholder {
  background: var(--light-bg);
  border: 2px dashed var(--teal);
  border-radius: 10px;
  padding: 24px;
  text-align: center;
  color: var(--teal);
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: 0.9rem;
}

/* ── TPT Resource Card ── */
.resource-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.resource-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.resource-card-thumb {
  background: linear-gradient(135deg, var(--pine) 0%, var(--teal) 100%);
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.resource-card-thumb .thumb-icon {
  font-size: 3.5rem;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.25));
}
.resource-card-thumb .thumb-badge {
  position: absolute;
  top: 12px;
  right: 12px;
}
.resource-card-content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.resource-card-content h3 { font-size: 1rem; margin-bottom: 6px; }
.resource-card-content p  { font-size: 0.85rem; flex: 1; }
.resource-card-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--sand);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.resource-price {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--pine);
}

/* ── Testimonial ── */
.testimonial {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--teal);
}
.testimonial-text {
  font-style: italic;
  font-size: 1rem;
  color: var(--dark);
  margin-bottom: 16px;
}
.testimonial-author {
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--pine);
}
.testimonial-role {
  font-size: 0.8rem;
  color: var(--gray);
}

/* ── Stats row ── */
.stats-row {
  display: flex;
  gap: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.stat-item {
  flex: 1;
  padding: 28px 20px;
  text-align: center;
  background: var(--white);
  border-right: 1px solid var(--sand);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2rem;
  color: var(--pine);
  display: block;
}
.stat-label {
  font-family: var(--font-accent);
  font-size: 0.8rem;
  color: var(--gray);
  font-weight: 600;
}

/* ── Divider ── */
.mountain-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
}
.mountain-divider::before,
.mountain-divider::after {
  content: '';
  flex: 1;
  height: 1.5px;
  background: var(--sand);
}
.mountain-divider span {
  color: var(--teal);
  font-size: 1.1rem;
}

/* ── Footer ── */
.site-footer {
  background: var(--pine);
  color: rgba(255,255,255,0.8);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-brand img  { width: 64px; margin-bottom: 14px; }
.footer-brand h3   { color: var(--white); font-size: 1.2rem; margin-bottom: 8px; }
.footer-brand p    { font-size: 0.88rem; color: rgba(255,255,255,0.7); }

.footer-col h4 {
  color: var(--sky);
  font-family: var(--font-accent);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  transition: color 0.15s;
}
.footer-col ul li a:hover { color: var(--sky); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.5); margin: 0; }
.footer-bottom a { color: var(--sky); }

/* ── Alert / Banner ── */
.top-banner {
  background: var(--teal);
  color: var(--white);
  text-align: center;
  padding: 10px 24px;
  font-family: var(--font-accent);
  font-size: 0.88rem;
  font-weight: 600;
}
.top-banner a { color: var(--white); text-decoration: underline; }

/* ── Free badge ── */
.free-tag {
  display: inline-block;
  background: #27ae60;
  color: white;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.8rem;
  padding: 3px 10px;
  border-radius: 50px;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-row { flex-direction: column; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--sand); }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0; right: 0;
    background: var(--white);
    padding: 16px 24px 24px;
    box-shadow: var(--shadow);
    z-index: 99;
    gap: 4px;
  }
  .nav-hamburger { display: block; }
  .footer-bottom { justify-content: center; text-align: center; }
}
