/* ======================================================
   Oak Park Cycle Club – Custom Style Specification
   Version: 1.0
   Based on visual analysis of oakparkcycleclub.org
   ====================================================== */

/* ---------- Root Variables ---------- */
:root {
  --font-primary: "Open Sans", "Helvetica Neue", Arial, sans-serif;
  --font-heading: "Montserrat", "Open Sans", Arial, sans-serif;

  --color-accent: #F15A29;     /* Bright orange used for headers and links */
  --color-accent-hover: #D94C21; /* Slightly darker orange */
  --color-heading: #333333;    /* Dark gray heading text */
  --color-body: #555555;       /* Standard paragraph gray */
  --color-instruction: #777777;/* Muted gray for instruction text */
  --color-question: #222222;   /* Darker gray for questions */
  --color-button-bg: #F15A29;  /* Orange background for buttons */
  --color-button-hover: #D94C21;
  --color-button-text: #FFFFFF;/* White button text */

  --line-height-base: 1.5;
}

/* ---------- Global Base Styles ---------- */
body {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 400;
  color: var(--color-body);
  line-height: var(--line-height-base);
  margin: 0;
  padding: 0;
  background-color: #FFFFFF;
}

/* ---------- Headings ---------- */
h1 {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 0.5px;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

h2 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-heading);
  text-align: center;
  text-transform: none;
  margin-top: 1.25em;
  margin-bottom: 0.5em;
}

h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-heading);
  margin-top: 1em;
  margin-bottom: 0.4em;
}

/* ---------- Paragraphs & Lists ---------- */
p {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 400;
  color: var(--color-body);
  line-height: var(--line-height-base);
  margin-bottom: 1em;
}

ul, ol {
  margin-left: 1.5em;
  margin-bottom: 1em;
}

li {
  margin-bottom: 0.4em;
  font-size: 16px;
  color: var(--color-body);
}

/* ---------- Links ---------- */
a {
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: underline;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

a:hover,
a:focus {
  color: var(--color-accent-hover);
  text-decoration: none;
}

/* ---------- Buttons ---------- */
.button, .btn, button, input[type="submit"], input[type="button"] {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-button-text);
  background-color: var(--color-button-bg);
  border: none;
  border-radius: 4px;
  padding: 0.6em 1.2em;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.button:hover, .btn:hover, button:hover {
  background-color: var(--color-button-hover);
  transform: translateY(-1px);
}

/* ---------- Question Text ---------- */
.question {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-question);
  margin-top: 1em;
  margin-bottom: 0.5em;
}

/* ---------- Instruction Text ---------- */
.instruction {
  font-family: var(--font-primary);
  font-size: 14px;
  font-style: italic;
  color: var(--color-instruction);
  margin-top: 0.5em;
  margin-bottom: 1em;
}

/* ---------- Paragraph Heading / Subheading ---------- */
.subheading {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-heading);
  margin-bottom: 0.3em;
}

/* ---------- Utility Classes ---------- */
.text-center { text-align: center; }
.text-bold { font-weight: 700; }
.text-italic { font-style: italic; }
.text-uppercase { text-transform: uppercase; }
.text-accent { color: var(--color-accent); }
