/* Safe Place To Play — sptp.org */

:root {
  --navy: #122a4d;
  --navy-dark: #0c1d36;
  --gold: #d4a017;
  --gold-light: #f0c75e;
  --green: #2e7d32;
  --green-light: #e8f5e9;
  --off-white: #f7f8fa;
  --text: #24292f;
  --text-muted: #5b6470;
  --radius: 12px;
  --shadow: 0 2px 12px rgba(12, 29, 54, 0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--off-white);
  line-height: 1.6;
}

img, svg { max-width: 100%; height: auto; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ---------- Header / Nav ---------- */
.site-header {
  background: var(--navy);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease;
}

.site-header.header-hidden {
  transform: translateY(-100%);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: #fff;
}

.brand img { height: 52px; width: auto; }

.brand .brand-name {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.brand .brand-tag {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--gold-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.site-nav a {
  color: #e8ecf3;
  text-decoration: none;
  font-size: 0.95rem;
  padding: 0.45rem 0.7rem;
  border-radius: 8px;
  transition: background 0.15s ease;
}

.site-nav a:hover { background: rgba(255, 255, 255, 0.12); }

.site-nav a.active {
  background: rgba(255, 255, 255, 0.16);
  font-weight: 600;
}

.site-nav a.nav-donate {
  background: var(--gold);
  color: var(--navy-dark);
  font-weight: 700;
  margin-left: 0.4rem;
}

.site-nav a.nav-donate:hover { background: var(--gold-light); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}

.nav-toggle svg { display: block; }

@media (max-width: 820px) {
  .nav-toggle { display: block; }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 0.75rem;
  }

  .site-nav.open { display: flex; }

  .site-nav a { padding: 0.7rem 0.75rem; font-size: 1rem; }

  .site-nav a.nav-donate {
    margin-left: 0;
    margin-top: 0.4rem;
    text-align: center;
  }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 70%);
  color: #fff;
  padding: 3.5rem 0 3rem;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.hero h1 {
  font-size: 2.4rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero h1 .accent { color: var(--gold-light); }

.hero p {
  font-size: 1.1rem;
  color: #cfd8e6;
  margin-bottom: 1.5rem;
}

.hero-art {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  border: none;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.1s ease, background 0.15s ease;
}

.btn:active { transform: scale(0.98); }

.btn-gold { background: var(--gold); color: var(--navy-dark); }
.btn-gold:hover { background: var(--gold-light); }

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.6);
}
.btn-outline:hover { border-color: #fff; }

.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: #256b29; }

.btn-row { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* ---------- Sections ---------- */
.section { padding: 3rem 0; }
.section.alt { background: #fff; }

.section-title {
  font-size: 1.8rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.section-sub {
  color: var(--text-muted);
  max-width: 46rem;
  margin-bottom: 1.75rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.3rem;
}

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card .card-art { background: var(--green-light); }
.card .card-art img { display: block; width: 100%; height: 200px; object-fit: cover; }

.hero-art img { display: block; width: 100%; height: 100%; object-fit: cover; }

.card .card-body { padding: 1.25rem; flex: 1; }

.card h3 { color: var(--navy); margin-bottom: 0.4rem; }

.card p { color: var(--text-muted); font-size: 0.95rem; }

.card .card-meta {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--green);
  margin-bottom: 0.35rem;
}

/* ---------- Board members ---------- */
.board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  max-width: 700px;
}

.board-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.75rem 1.25rem;
  text-align: center;
}

.board-card .avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  overflow: hidden;
  border: 4px solid var(--gold);
  background: #dde3ec;
}

.board-card h3 { color: var(--navy); }

.board-card .role {
  color: var(--gold);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

/* ---------- Donate ---------- */
.donate-box {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  max-width: 560px;
}

.choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}

.choice {
  border: 2px solid #d4dae3;
  background: #fff;
  color: var(--navy);
  border-radius: 10px;
  padding: 0.6rem 1.1rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.12s ease;
}

.choice:hover { border-color: var(--gold); }

.choice.selected {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.donate-box label {
  display: block;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.custom-amount {
  display: flex;
  align-items: center;
  border: 2px solid #d4dae3;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 1.25rem;
  max-width: 240px;
}

.custom-amount span {
  padding: 0.6rem 0.8rem;
  background: var(--off-white);
  font-weight: 700;
  color: var(--navy);
}

.custom-amount input {
  border: none;
  outline: none;
  padding: 0.6rem 0.8rem;
  font-size: 1rem;
  width: 100%;
}

.donate-summary {
  background: var(--green-light);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 1.25rem;
}

.fine-print { font-size: 0.82rem; color: var(--text-muted); margin-top: 1rem; }

/* ---------- Forms ---------- */
.form-box {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  max-width: 640px;
}

.form-box label {
  display: block;
  font-weight: 700;
  color: var(--navy);
  margin: 1rem 0 0.35rem;
}

.form-box input,
.form-box select,
.form-box textarea {
  width: 100%;
  padding: 0.65rem 0.8rem;
  border: 2px solid #d4dae3;
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
}

.form-box input:focus,
.form-box select:focus,
.form-box textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-box .btn { margin-top: 1.5rem; }

.form-success {
  display: none;
  background: var(--green-light);
  color: var(--green);
  font-weight: 700;
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin-top: 1.25rem;
}

/* ---------- Events ---------- */
.event-list { display: flex; flex-direction: column; gap: 1.25rem; }

.event-item {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem;
  align-items: flex-start;
}

.event-date {
  background: var(--navy);
  color: #fff;
  border-radius: 10px;
  text-align: center;
  padding: 0.6rem 0.9rem;
  min-width: 76px;
}

.event-date .month {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-light);
}

.event-date .day { display: block; font-size: 1.6rem; font-weight: 800; }

.event-item h3 { color: var(--navy); margin-bottom: 0.25rem; }
.event-item p { color: var(--text-muted); font-size: 0.95rem; }

/* ---------- Auction ---------- */
.auction-banner {
  background: linear-gradient(160deg, var(--green) 0%, #1b5e20 80%);
  color: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 2rem;
}

.auction-banner h2 { margin-bottom: 0.5rem; }
.auction-banner p { color: #d7ecd8; max-width: 46rem; }

.bid-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--navy-dark);
  font-weight: 800;
  border-radius: 999px;
  padding: 0.2rem 0.8rem;
  font-size: 0.9rem;
  margin-top: 0.6rem;
}

/* ---------- QR / info blocks ---------- */
.qr-block {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  max-width: 640px;
}

.qr-block img {
  width: 180px;
  height: 180px;
  border: 6px solid var(--navy);
  border-radius: 10px;
  background: #fff;
}

.notice {
  background: #fff8e6;
  border-left: 5px solid var(--gold);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  color: #6b5413;
  font-size: 0.93rem;
  max-width: 46rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-dark);
  color: #aeb9c9;
  padding: 2.5rem 0 1.5rem;
  margin-top: 3rem;
}

.site-footer .footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.site-footer h4 {
  color: #fff;
  margin-bottom: 0.6rem;
  font-size: 1rem;
}

.site-footer a { color: var(--gold-light); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 0.35rem; }

.social-links { display: flex; gap: 0.75rem; }

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: background 0.15s ease;
}

.social-links a:hover { background: rgba(255, 255, 255, 0.22); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.25rem;
  font-size: 0.85rem;
  text-align: center;
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 70%);
  color: #fff;
  padding: 2.5rem 0;
}

.page-hero h1 { font-size: 2rem; }
.page-hero p { color: #cfd8e6; max-width: 46rem; }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.9rem; }
  .event-item { flex-direction: column; }
}
