/* =========================
   Base Styles
========================= */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #515151;
  background-color: #ffffff;
  text-align: center;
  font-weight: normal;
}

/* =========================
   Headings
========================= */
h1, h2, h3, h4, h5, h6 {
  font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: normal;
  line-height: 1.1;
  color: #333;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

h1 { font-size: 48px; line-height: 52px; }
h2 { font-size: 36px; line-height: 42px; }
h3 { font-size: 28px; line-height: 36px; }
h4 { font-size: 24px; line-height: 28px; }
h5 { font-size: 20px; line-height: 24px; }
h6 { font-size: 18px; line-height: 22px; }

/* =========================
   Links
========================= */
a {
  color: #3282e6;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover,
a:focus {
  color: #71a100;
  text-decoration: underline;
}

a:focus-visible {
  outline: 2px solid #3282e6;
  outline-offset: 2px;
}

/* =========================
   Top Bar
========================= */
.top-bar {
  height: 20px;
  background: linear-gradient(to bottom, #71a100 0%, #6fa100 100%);
}

/* =========================
   Navigation
========================= */
nav {
  background-color: #333;
  font-size: 18px;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

nav ul li a {
  display: block;
  color: white;
  padding: 14px 16px;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #3282e6;
}

/* =========================
   Container
========================= */
.container {
  max-width: 1000px;
  margin: 50px auto;
  padding: 0 20px;
  text-align: left;
}

/* =========================
   Sections
========================= */
section {
  margin-bottom: 60px;
}

section p {
  margin-bottom: 15px;
  line-height: 1.6;
  color: #515151;
}

section ul {
  margin: 15px 0;
  padding-left: 20px;
}

section ul li {
  margin-bottom: 10px;
}

/* =========================
   Buttons
========================= */
.button {
  display: inline-block;
  padding: 12px 24px;
  margin-top: 20px;
  background-color: #3282e6;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.button:hover,
.button:focus {
  background-color: #71a100;
}

/* Focus style for accessibility */
.button:focus-visible {
  outline: 2px solid #3282e6;
  outline-offset: 2px;
}

/* =========================
   Footer
========================= */
footer {
  background-color: #333;
  color: white;
  padding: 25px 10px;
  font-size: 14px;
  text-align: center;
  margin-top: 80px;
  border-top: 4px solid #3282e6;
  width: auto;
}

/* =========================
   Responsive Adjustments
========================= */
@media (max-width: 1000px) {
  nav ul {
    flex-direction: column;
    gap: 10px;
  }

  .container {
    padding: 0 15px;
  }
}

@media (max-width: 600px) {
  h1 {
    font-size: 36px;
    line-height: 40px;
  }

  h2 {
    font-size: 28px;
    line-height: 34px;
  }

  .button {
    width: 100%;
    text-align: center;
  }
}

/* =========================
   Images
========================= */
img {
  display: block;
  max-width: 50%;
  height: auto;
  border-radius: 0;
  margin: 0;
  box-sizing: border-box;
}

/* =========================
   Get Involved Section
========================= */
#get-involved {
  max-width: 90%;
  margin: 60px auto;
  text-align: center;
  color: #fff;
  padding: 0 10px;
  box-sizing: border-box;
}

#get-involved h2 {
  color: #fff;
  margin-bottom: 20px;
}

#get-involved p {
  max-width: 700px;
  margin: 0 auto 30px;
  line-height: 1.5;
  color: #fff;
}

#get-involved .button {
  display: block;
  width: 100%;
  margin-top: 20px;
  padding: 14px 0;
  background-color: #3282e6;
  color: #fff;
  font-size: 16px;
  border: none;
  border-radius: 0;
  text-decoration: none;
  box-sizing: border-box;
  transition: background-color 0.3s ease;
}

#get-involved .button:hover {
  background-color: #1e5bb8;
}

@media (max-width: 600px) {
  #get-involved {
    max-width: 100%;
    padding: 0 10px;
  }

  #get-involved .button {
    width: 100%;
    margin: 20px 0;
  }
}

/* =========================
   Locations Section
========================= */
#locations {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 10px;
  text-align: left;
}

#locations h2,
#locations h5 {
  text-align: center;
  color: #333;
}

#locations .map-container {
  width: 100%;
  max-width: 640px;
  margin: 0 auto 20px;
  position: relative;
  padding-bottom: 75%; /* 4:3 aspect ratio */
  height: 0;
}

#locations .map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

#locations .location-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 40px;
  margin-bottom: 20px;
}

#locations .location-footer {
  text-align: center;
  margin-top: 20px;
  color: #333;
}

@media (max-width: 900px) {
  #locations .location-columns {
    grid-template-columns: 1fr;
  }
}
