/* =============================================================
   THE CONTROL PANEL
   These are CSS variables. Every colour and font on the site
   points back to this block. Change a value here, save, and
   watch the whole site update at once.

   TODO (Day 2): Swap these grey placeholders for the palette
   and fonts from your team's Design Brief.
   ============================================================= */
:root {
  --color-background: #f4f4f4; /* page background */
  --color-primary: #e62222; /* hero section */
  --color-accent: #ff571f; /* call-to-action section */
  --color-text: #f9cb40; /* body text */

  --font-heading: "Bebas Neue", Arial, sans-serif;
  --font-body: "Nunito Sans", Georgia, serif;
}

/* === WHOLE PAGE === */
body {
  background-color: var(--color-background);
  color: var(--color-text);
  font-family: var(--font-body);
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

h1,
h2 {
  font-family: var(--font-heading);
  transition: transform 0.3s ease-in-out;
  font-size: 64px;
}

h1:hover {
  color: #f9cb40;
  transform: scale(1.2);
}
/* Images never overflow their section. */
img {
  max-width: 100%;
  width: 300;
  padding: 5px;
  margin: 5px;
  transition: transform 0.3s ease-in-out;
}

.foodBankImg {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* === HERO SECTION === */
.hero {
  background-color: var(--color-accent);
  color: #f9cb40;
  text-align: center;
}

img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgb(0, 0, 0, 0.4);
}

.hero p {
  padding: 10px;
}

/* === WHY IT MATTERS SECTION === */
.about {
  background-color: #e62222;
  text-align: center;
}

/* === CALL TO ACTION SECTION === */
.cta {
  background-color: var(--color-accent);
  color: #f9cb40;
  text-align: center;

  padding: 50px 40px;
  margin-top: 20px;
}

.cta-button {
  display: inline-block;
  margin-top: 20px;
  padding: 16px 40px;
  background-color: green;
  color: #f4f4f4;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.cta-button:hover {
  background-color: rgb(255, 225, 0);
  transform: scale(1.05) translateY(-3px);
  box-shadow: 0 8px 25px rgba(162, 239, 180, 0.6);
}

.cta a {
  border: solid;
  color: firebrick;
  font-weight: bold;
}
footer {
  color: black;
  padding: 10px;
  margin-top: 10px;
}
/* =============================================================
   Notice what is NOT here yet: no spacing, no rounded corners,
   no shadows, no layout, no motion. That is the rest of your
   week. Day 3: spacing & decoration. Day 4: layout & motion.
   ============================================================= */
