/* ==========================================================================
   Parker's site styles.
   Safe to experiment here! Change colors, sizes, spacing. If something looks
   weird, undo your last change. Your main color is --accent, just below.
   ========================================================================== */

:root {
  --accent: #3a86ff;          /* ← your site's main color. Try "#e63946" or "#2a9d8f" */
  --ink: #1d2433;
  --muted: #5b6472;
  --bg: #f7f8fb;
  --card: #ffffff;
  --radius: 14px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

/* --- header / nav --- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  background: var(--card);
  border-bottom: 1px solid #e7e9ef;
}
.brand {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--accent);
  text-decoration: none;
}
.site-header nav a {
  margin-left: 1rem;
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}
.site-header nav a:hover { color: var(--accent); }

/* --- layout --- */
.container {
  max-width: 780px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

/* --- home hero --- */
.hero h1 { font-size: 2.4rem; margin: 0 0 0.25rem; }
.tagline { font-size: 1.2rem; color: var(--muted); margin-top: 0; }

.button {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.65rem 1.15rem;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}
.button:hover { filter: brightness(0.92); }

/* --- hobby cards --- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.card {
  background: var(--card);
  border: 1px solid #e7e9ef;
  border-radius: var(--radius);
  padding: 1.25rem;
}
.card-emoji { font-size: 2rem; }
.card h2 { margin: 0.4rem 0 0.3rem; font-size: 1.2rem; }
.card p { margin: 0; color: var(--muted); }

/* --- footer --- */
.site-footer {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}
