/* =============================================================
   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: #BC6C25; /* page background */
  --color-primary: #DDA15E; /* hero section */
  --color-accent: #FEFAE0; /* call-to-action section */
  --color-text: #222222; /* body text */

  --font-heading: "Cherry Bomb One",Arial, sans-serif;
  --font-body: "Cause",Georgia, serif;
}

/* === WHOLE PAGE === */
body {
  background-color: var(--color-background);
  color: var(--color-text);
  font-family: var(--font-body);
  border-radius:20px;
}

h1,
h2 {
  font-family: var(--font-heading);
}

/* Images never overflow their section. */
img {
  max-width: 99%;
  border-radius: 10px;
  box-shadow: 0 4px 15px black;
  transition: all 0.3s ease;
}

/* === HERO SECTION === */
.hero {
  background-color: var(--color-primary);
  color: #FEFAE0;
  padding: 10px;
}

/* === WHY IT MATTERS SECTION === */
.about {
  background-color: #f1faee;
  padding: 10px;
}

/* === CALL TO ACTION SECTION === */
.cta {
  background-color: var(--color-accent);
  color: #000000;
  text-align: center;
  padding: 10px;
}

.cta a {
  color: #BC6C25;
  font-weight: bold;
}

/* =============================================================
   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.
   ============================================================= */
.image {
  height: 500px;
  width:100%;

  object-fit: cover;
  border-radius: 10px;
}

.Links{
  display:flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
  gap: 1px;
}

p {
  font-size: x-large;
}

h1{
  font-size: 45px;
}

h2{
  font-size: xx-large;
}

li{
  font-size: x-large;
}

#finetext{
  font-size: 9px;
  letter-spacing: 1px;
  color: grey;
}

.nav{
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  gap: 10px;
  color: #BC6C25;
  background-color: var(--color-accent);
  padding: 10px;
}

.nav a{
  color: #BC6C25;
  font-weight: bold;
}

.cta-button{
  display: inline-block;
  padding: 10px;
  background-color: #f1faee;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px black;
}

.cta-button:hover{
  background-color: #ffffff;
  transform: scale(1.075) translateY(-3px);
  box-shadow: 0 16px 40px grey;
}

img:hover{
  transform: scale(1.02) translateY(-2px);
  box-shadow: 0 8px 20px grey;
}

.HAPPI{
display: flex;
justify-content: center;
}