/*
 * Gluski Park Donor Heatmap
 */

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

body {
  font-family: 'Open Sans', sans-serif;
  background: #fff;
  color: #333;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Header ────────────────────────────────────────────────── */
.site-header {
  background: #1a1a1a;
  border-bottom: 3px solid #4a6428;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.header-logo {
  height: 44px;
  width: auto;
  display: block;
}

.site-nav a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 14px;
  border: 1px solid #3a3a3a;
  border-radius: 3px;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.site-nav a:hover {
  color: #fff;
  border-color: #4a6428;
  background: #4a6428;
}

/* ── Stats bar ─────────────────────────────────────────────── */
.stats-bar {
  background: #3d4a28;
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.stat {
  padding: 32px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  min-width: 160px;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.01em;
}

.stat-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.7);
  margin-top: 8px;
  font-weight: 600;
  text-align: center;
}

/* ── Main content ──────────────────────────────────────────── */
main {
  flex: 1;
}

.heatmap-section {
  padding: 32px 0 48px;
  background: #fff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Map ───────────────────────────────────────────────────── */
#map {
  width: 100%;
  overflow: hidden;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

/* ── Empty state ───────────────────────────────────────────── */
.empty-notice {
  margin-top: 20px;
  padding: 16px 20px;
  background: #f5f5f5;
  border-left: 4px solid #4a6428;
  border-radius: 3px;
  color: #555;
  font-size: 0.9rem;
}

/* ── Footer ────────────────────────────────────────────────── */
.site-footer {
  background: #1a1a1a;
  border-top: 3px solid #4a6428;
  padding: 20px 24px;
  margin-top: auto;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.site-footer p {
  color: #999;
  font-size: 0.8rem;
}

.site-footer a {
  color: #8ab44a;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 600px) {
  .stat {
    padding: 20px 24px;
    min-width: unset;
  }

  .stat-number {
    font-size: 2.2rem;
  }
}
