/* ============================================================
   Prospect Jamison — site styles
   To change the colors, edit the values in :root below.
   ============================================================ */
:root {
  --color-primary: #7a2e2e;      /* deep red: headings, buttons */
  --color-primary-dark: #5c2020;
  --color-accent: #c9a227;       /* gold: highlights */
  --color-text: #2b2b2b;
  --color-muted: #5f5f5f;
  --color-bg: #fdfbf7;           /* warm off-white page background */
  --color-surface: #ffffff;
  --color-border: #e6e0d6;
  --font-body: Georgia, "Times New Roman", serif;
  --font-heading: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  --max-width: 1000px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
}

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

a { color: var(--color-primary); }
a:hover { color: var(--color-primary-dark); }

h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  line-height: 1.25;
}
h1 { font-size: 2.25rem; margin-top: 0; }
h2 { font-size: 1.6rem; margin-top: 2rem; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

/* ---------- Header and menu ---------- */
.site-header {
  background: var(--color-surface);
  border-bottom: 4px solid var(--color-accent);
}
.site-header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.site-name {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: bold;
  color: var(--color-primary);
  text-decoration: none;
}
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
}
.site-nav a {
  font-family: var(--font-heading);
  text-decoration: none;
  color: var(--color-text);
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--color-primary);
  border-bottom-color: var(--color-accent);
}

/* ---------- Main content ---------- */
main { padding: 2.5rem 0 3rem; }

.hero {
  background: var(--color-primary);
  color: #fff;
  text-align: center;
  padding: 3.5rem 1rem;
}
.hero h1 { color: #fff; font-size: 2.6rem; margin-bottom: 0.5rem; }
.hero p { font-size: 1.25rem; margin: 0 auto 1.5rem; max-width: 40rem; }

.button {
  display: inline-block;
  background: var(--color-accent);
  color: #2b2b2b;
  font-family: var(--font-heading);
  font-weight: bold;
  text-decoration: none;
  padding: 0.7rem 1.4rem;
  border-radius: 6px;
}
.button:hover { background: #b38f1f; color: #2b2b2b; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
}
.card h2, .card h3 { margin-top: 0; }

.times { list-style: none; padding: 0; margin: 0; }
.times li { padding: 0.4rem 0; border-bottom: 1px dashed var(--color-border); }
.times li:last-child { border-bottom: none; }
.times strong { font-family: var(--font-heading); }

.person { text-align: center; }
.person .photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--color-border);
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  font-size: 0.9rem;
  overflow: hidden;
}
.person .role { color: var(--color-muted); font-style: italic; margin-top: -0.5rem; }

.video {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #222;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  text-align: center;
  padding: 1rem;
}
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.map {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 8px;
  background: var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  text-align: center;
  padding: 1rem;
}

/* Highlights text that still needs to be filled in.
   Delete this rule (or the <mark> tags) once real content is added. */
mark.placeholder {
  background: #fff3b0;
  color: #2b2b2b;
  padding: 0 0.2em;
  border-radius: 3px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #2b2b2b;
  color: #ddd;
  padding: 2rem 0;
  font-size: 1rem;
}
.site-footer a { color: #fff; }
.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}
.site-footer p { margin: 0.25rem 0; }

@media (max-width: 600px) {
  h1 { font-size: 1.9rem; }
  .hero h1 { font-size: 2rem; }
  .site-header .container { flex-direction: column; align-items: flex-start; }
}
