/* Killeen Bounce Houses — playful lime / emerald */
:root {
  --bg: #f3faf4;
  --bg-elev: #ffffff;
  --bg-card: #ffffff;
  --accent: #00c853;
  --accent-dim: #00a844;
  --accent-glow: rgba(0, 200, 83, 0.28);
  --deep: #1b5e20;
  --text: #14321a;
  --muted: #4d6b55;
  --border: #c8e6c9;
  --danger: #c62828;
  --ok: #2e7d32;
  --radius: 14px;
  --max: 960px;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-image:
    radial-gradient(ellipse 70% 45% at 80% -10%, rgba(0, 200, 83, 0.16), transparent),
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(27, 94, 32, 0.08), transparent);
}

a { color: var(--deep); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--accent-dim); }
img { max-width: 100%; height: auto; }
.wrap { width: min(100% - 2rem, var(--max)); margin-inline: auto; }

.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  position: sticky; top: 0; z-index: 50;
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.9rem 0; flex-wrap: wrap;
}
.logo {
  font-weight: 700; font-size: 1.05rem; letter-spacing: 0.01em;
  color: var(--text); display: flex; align-items: center; gap: 0.5rem;
}
.logo span { color: var(--accent-dim); }
.logo-mark {
  width: 28px; height: 28px; border: 2px solid var(--accent);
  border-radius: 8px; display: grid; place-items: center;
  font-size: 0.65rem; color: var(--deep); font-weight: 800;
  background: rgba(0, 200, 83, 0.12);
}
.nav-links { display: flex; gap: 0.35rem 1.25rem; list-style: none; flex-wrap: wrap; }
.nav-links a { color: var(--muted); font-size: 0.95rem; font-weight: 500; }
.nav-links a:hover, .nav-links a.active { color: var(--accent-dim); }

.hero { padding: 4rem 0 3rem; text-align: center; }
.hero-badge {
  display: inline-block; font-size: 0.75rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--deep);
  border: 1px solid var(--border); background: var(--bg-elev);
  padding: 0.35rem 0.85rem; border-radius: 999px; margin-bottom: 1.25rem;
}
.hero h1 {
  font-size: clamp(1.9rem, 5vw, 2.85rem); line-height: 1.15;
  font-weight: 800; margin-bottom: 1rem; letter-spacing: -0.02em;
}
.hero h1 em { font-style: normal; color: var(--accent-dim); }
.hero-lead { color: var(--muted); font-size: 1.1rem; max-width: 36rem; margin: 0 auto 1.75rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.75rem 1.35rem; border-radius: 10px; font-weight: 600; font-size: 0.95rem;
  border: 1px solid transparent; cursor: pointer;
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s, transform 0.1s;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--accent); color: #063012; box-shadow: 0 6px 20px var(--accent-glow); }
.btn-primary:hover { background: #33d974; color: #063012; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--accent-dim); color: var(--accent-dim); }

main { flex: 1; }
.section { padding: 2.5rem 0; }
.section h2 { font-size: 1.45rem; margin-bottom: 0.75rem; letter-spacing: -0.01em; }
.section p.lead { color: var(--muted); margin-bottom: 1.5rem; max-width: 40rem; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.35rem;
  box-shadow: 0 4px 16px rgba(0, 200, 83, 0.06);
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.card:hover { border-color: rgba(0, 200, 83, 0.5); box-shadow: 0 8px 24px rgba(0, 200, 83, 0.12); transform: translateY(-2px); }
.card h3 { font-size: 1.05rem; margin-bottom: 0.45rem; color: var(--deep); }
.card p { color: var(--muted); font-size: 0.95rem; }
.page-title { padding: 2.5rem 0 0.5rem; }
.page-title h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); margin-bottom: 0.5rem; }
.page-title p { color: var(--muted); max-width: 36rem; }
.prose { max-width: 40rem; color: var(--muted); }
.prose p + p { margin-top: 1rem; }
.prose strong { color: var(--text); }

.form-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem; max-width: 32rem;
  box-shadow: 0 4px 16px rgba(0, 200, 83, 0.06);
}
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block; font-size: 0.85rem; font-weight: 600;
  color: var(--muted); margin-bottom: 0.35rem;
}
.form-group input, .form-group textarea {
  width: 100%; padding: 0.7rem 0.85rem; border-radius: 10px;
  border: 1px solid var(--border); background: #fff; color: var(--text);
  font: inherit; outline: none; transition: border-color 0.15s, box-shadow 0.15s;
}
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.alert { padding: 0.85rem 1rem; border-radius: 8px; margin-bottom: 1rem; font-size: 0.95rem; }
.alert-ok { background: rgba(46, 125, 50, 0.1); border: 1px solid rgba(46, 125, 50, 0.3); color: var(--ok); }
.alert-err { background: rgba(198, 40, 40, 0.08); border: 1px solid rgba(198, 40, 40, 0.3); color: var(--danger); }

.site-footer {
  border-top: 1px solid var(--border); background: var(--bg-elev);
  padding: 1.75rem 0; margin-top: 3rem;
}
.footer-inner {
  display: flex; flex-wrap: wrap; gap: 1rem;
  justify-content: space-between; align-items: flex-start;
}
.footer-brand { font-weight: 700; margin-bottom: 0.35rem; }
.footer-brand span { color: var(--accent-dim); }
.footer-note { color: var(--muted); font-size: 0.9rem; max-width: 28rem; }
.footer-sale {
  font-size: 0.9rem; color: var(--muted);
  border: 1px dashed rgba(0, 168, 68, 0.45);
  background: rgba(0, 200, 83, 0.06);
  padding: 0.85rem 1rem; border-radius: 10px;
}
.footer-sale strong { color: var(--accent-dim); }
.footer-copy {
  width: 100%; margin-top: 1.25rem; padding-top: 1rem;
  border-top: 1px solid var(--border); font-size: 0.8rem; color: #6a8a72;
}
@media (max-width: 560px) {
  .hero { padding: 2.5rem 0 2rem; }
  .nav { justify-content: center; text-align: center; }
  .nav-links { justify-content: center; width: 100%; }
}
