/* Growing with Grace — public site + family portal.
   Bright, warm, kid-friendly. Left menu on desktop, stacked on mobile. */
:root {
  --green: #3f7d4e; --leaf: #7cb87f; --sun: #f2b705; --sky: #4a7a9e;
  --purple: #7a5ba6; --ink: #2c2c2c; --paper: #fffdf5; --card: #ffffff;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: Georgia, "Times New Roman", serif; color: var(--ink); background: var(--paper); line-height: 1.55; }
a { color: var(--green); }
.topbar { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; align-items: center; justify-content: space-between; padding: 0.6rem 1rem; background: #fff; border-bottom: 3px solid var(--leaf); position: sticky; top: 0; z-index: 10; }
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--ink); font-size: 1.25rem; }
.brand-logo { height: 52px; width: auto; border-radius: 8px; }
.topnav { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; align-items: center; }
.topnav a { text-decoration: none; color: var(--ink); }
.topnav a:hover { text-decoration: underline; }
.page { display: flex; max-width: 1100px; margin: 0 auto; padding: 1rem; gap: 1.5rem; }
.sidebar { flex: 0 0 200px; }
.sidebar a { display: block; padding: 0.45rem 0.2rem; text-decoration: none; color: var(--green); font-weight: bold; border-bottom: 1px solid #e8e2c8; }
.sidebar a:hover { background: #f3f8ec; }
.side-note { font-size: 0.85rem; color: #666; }
.content { flex: 1; min-width: 0; }
.footer { text-align: center; padding: 1.5rem 1rem; border-top: 3px solid var(--leaf); font-size: 0.9rem; color: #555; }
h1, h2, h3 { color: var(--green); }
.btn, button.btn { display: inline-block; background: var(--green); color: #fff; padding: 0.6rem 1.1rem; border: none; border-radius: 999px; text-decoration: none; cursor: pointer; font-size: 1rem; }
.btn:hover { background: #2f613c; }
.btn-ghost { background: #fff; color: var(--green); border: 2px solid var(--green); }
.btn-small { background: var(--sun); color: #333; padding: 0.35rem 0.8rem; border-radius: 999px; font-weight: bold; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.card { background: var(--card); border: 2px solid #e8e2c8; border-radius: 16px; padding: 1rem; margin-bottom: 1rem; box-shadow: 0 2px 6px rgba(0,0,0,0.06); }
.card h2, .card h3 { margin-top: 0; }
.price { font-size: 1.4rem; font-weight: bold; color: var(--sky); }
.hero { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: flex-start; }
.hero-img { max-width: 320px; width: 100%; border-radius: 20px; border: 4px solid var(--leaf); }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.gallery img { width: 100%; border-radius: 12px; }
.entry-img { max-width: 420px; width: 100%; border-radius: 12px; }
.kid-hero { background: var(--child-color, var(--sky)); color: #fff; border-radius: 20px; padding: 1.2rem 1.5rem; }
.kid-hero h1 { color: #fff; margin: 0; }
.kid-nav { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0; }
.kid-nav a { background: #fff; border: 2px solid var(--child-color, var(--sky)); color: var(--child-color, var(--sky)); padding: 0.4rem 0.9rem; border-radius: 999px; text-decoration: none; font-weight: bold; }
.kid-section { margin-bottom: 1.5rem; }
.child-card { border-top: 6px solid var(--child-color, var(--sky)); }
.portfolio-entry { border-left: 6px solid var(--sun); }
.teacher-note { background: #fff8d6; border-radius: 10px; padding: 0.6rem; }
.error { background: #fde8e8; border: 1px solid #e57373; padding: 0.7rem; border-radius: 8px; }
.muted { color: #666; font-size: 0.9rem; }
input[type="text"], input[type="password"], input[type="url"], textarea, select { width: 100%; max-width: 520px; padding: 0.55rem; margin: 0.25rem 0 0.7rem; border: 2px solid #cfc9a8; border-radius: 10px; font: inherit; }
fieldset { border: 2px solid #e8e2c8; border-radius: 12px; margin-bottom: 1rem; }
@media (max-width: 700px) {
  .page { flex-direction: column; }
  .sidebar { flex: none; }
  .sidebar a { display: inline-block; margin-right: 0.8rem; border-bottom: none; }
}
