/* 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.4286;
  color: #333;
  text-align: center;
  font-weight: normal;
}

/* Remove any overlay */
body::before {
  content: none;
}


/* 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;
}

h1 { font-size: 45px; line-height: 48px; }
h2 { font-size: 36px; line-height: 40px; }
h3 { font-size: 30px; line-height: 32px; }
h4 { font-size: 26px; line-height: 28px; }
h5 { font-size: 20px; line-height: 24px; }
h6 { font-size: 18px; line-height: 22px; }

/* Links */
a {
  color: black;
  text-decoration: none;
}
a:hover, a:focus {
  color: #3282e6;
  text-decoration: underline;
}

/* Top Bar */
.top-bar {
  height: 20px;
  background: linear-gradient(to bottom, #71a100 0%, #6fa100 100%);
}

/* Navigation */
nav.site-nav {
  background-color: #333;
  font-size: 18px;
  position: relative;
  z-index: 1000;
}

/* Default desktop nav */
nav.site-nav .nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

nav.site-nav .nav-list li a {
  display: block;
  color: white;
  padding: 14px 16px;
  transition: color 0.3s ease;
}

nav.site-nav .nav-list li a:hover {
  color: #3282e6;
}

/* Hamburger Menu Button (dark version) */
.menu-toggle {
  display: none; /* Hidden on desktop */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  position: absolute;
  top: 10px;
  right: 20px;
  cursor: pointer;
  z-index: 1100;
  background-color: rgba(255,255,255,0.75); /* subtle backdrop */
  border-radius: 6px;
  border: none;
}

.menu-toggle .bar {
  height: 3px;
  width: 25px;
  background-color: #515151;
  margin: 4px 0;
  transition: all 0.3s ease;
}

/* ========================= 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 1fr;
  gap: 6px 16px;
  max-width: 900px;
  margin: 20px auto;
  text-align: left;
}

#locations .location-columns h5 {
  margin: 0;
  line-height: 1.3;
  font-weight: 500;
}}

#locations .location-footer {
  text-align: center;
  margin-top: 20px;
  color: #333;
}

@media (max-width: 900px) {
  #locations .location-columns {
    grid-template-columns: 1fr;
  }
}


/* ========================================
   Mobile Navigation
======================================== */
@media (max-width: 768px) {
  /* Show hamburger */
  .menu-toggle {
    display: flex;
  }

  /* Hide nav by default */
  nav.site-nav .nav-list {
    display: none;
    flex-direction: column;
    align-items: center;
    background-color: #333;
    width: 100%;
    position: absolute;
    top: 60px;
    left: 0;
    text-align: center;
    z-index: 999;
  }

  /* Show nav when toggled */
  nav.site-nav .nav-list.showing {
    display: flex;
  }

  nav.site-nav .nav-list li {
    border-top: 1px solid #444;
    width: 100%;
  }

  nav.site-nav .nav-list li a {
    padding: 14px;
    display: block;
    width: 100%;
  }
}

/* Animate hamburger to "X" */
.menu-toggle.open .bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.open .bar:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open .bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   Containers
======================================== */
.container {
  margin: 48px auto 0;
  max-width: 90%;
  padding: 0 10px;
}

/* ========================================
   Footer
======================================== */
footer {
  background-color: #333;
  color: white;
  padding: 25px 10px;
  font-size: 14px;
  text-align: center;
  margin-top: 80px;
  border-top: 4px solid #3282e6;
}

/* ========================================
   Images
======================================== */
img {
  display: block;
  max-width: 40%;
  height: auto;
  border-radius: 0;
  margin: 20px auto;
  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: #515151;
  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;
  }
}
