/* --------------------
   Design variables
-------------------- */

:root {
  --green: #004321;
  --black: #000000;
  --white: #f6f5f2;
  --offwhite: #e7e4d4;
  --darkgreen: #315231;
}

/* --------------------
   Base reset
-------------------- */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Helvetica, Arial, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--green);
  color: var(--offwhite);
  line-height: 1.6;
}

/* --------------------
   Layout helper
-------------------- */

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

/* --------------------
   HERO (GREEN)
-------------------- */

.hero {
  background-image: url("images/banner.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  align-items: flex-start;     /* ⬅️ push content up */
  justify-content: center;

  padding: 3.5rem 0 7rem;      /* less top padding, more bottom */
  text-align: center;
}

.hero h1 {
  margin: 0;
  font-size: 2.5rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--darkgreen);
}

.subtitle {
  margin-top: 0.75rem;
  font-size: 1.1rem;
  color: var(--darkgreen);
}

/* --------------------
   MAIN SECTION (BLACK)
-------------------- */

.main-section {
  background-color: var(--black);
  color: var(--offwhite);
}

.main-section section {
  margin-bottom: 3rem;
}

.main-section h2 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  color: var(--white);
}

.main-section p {
  max-width: 700px;
}

/* Links in middle section */

.main-section a {
  color: var(--offwhite);
  text-decoration: underline;
}

.main-section a:hover {
  opacity: 0.85;
}

/* --------------------
   FOOTER (GREEN)
-------------------- */

.footer {
  background-color: var(--green);
  color: var(--white);
  font-size: 0.9rem;
  text-align: center;
}

/* Footer logo */

.footer-logo {
  display: block;
  max-width: 120px;
  margin: 1.25rem auto 0;
}