/* Import a clean Google Font */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&display=swap');

body {
  font-family: 'Open Sans', sans-serif;
  margin: 0;
  padding: 0;
  background: #f4f1ea; /* light cream/tan background */
  color: #3e2e18; /* Pantone 462 Brown */
  line-height: 1.6;
}

/* HEADER */
header {
  background-color: #003b59; /* Trail Life Blue */
  color: white;
  padding: 1.5em 1em;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* Container for logos on top */
.header-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3em;
  max-width: 900px;
  margin: 0 auto 1em auto;
  flex-wrap: wrap;
}

.left-logo {
  flex-shrink: 0;
}

.logo-large {
 margin: 7em 3em 1em auto;
  height: 200px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  background: none;
}

.right-logos {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 200px;
}

.logo-partner {
  height: 95px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  background: white;
  padding: 2px;
  margin-bottom: 0.5em;
}

.logo-partner:last-child {
  margin-bottom: 0;
}

/* Navigation below logos */
nav {
  width: 100%;
  text-align: center;
  margin-top: 5em;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

nav a {
  color: white;
  text-decoration: none;
  margin: 0 1.2em;
  font-weight: 600;
  font-size: 1.1rem;
  position: relative;
  padding-bottom: 4px;
}

nav a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 3px;
  bottom: 0;
  left: 50%;
  background-color: #f49322; /* Orange accent */
  transition: width 0.3s ease, left 0.3s ease;
  border-radius: 2px;
}

nav a:hover::after,
nav a:focus::after {
  width: 100%;
  left: 0;
  background-color: #6c162b; /* Dark red */
}

/* HERO BANNER */
.hero-banner {
  background: url('images/hero-banner.png') no-repeat center center/cover;
  padding: 6em 1em 4em 1em;
  color: white;
  text-align: center;
  box-shadow: inset 0 0 0 2000px rgba(0,0,0,0.45);
  border-radius: 12px;
  margin-bottom: 3em;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.hero-text-bg {
  background-color: rgba(0, 0, 0, -2.5); /* Semi-transparent black */
  padding: 2em 1em;
  border-radius: 12px;
  display: inline-block;
  max-width: 800px;
  margin: 0 auto;
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 0.5em;
  font-weight: 700;
  text-shadow: 1px 1px 5px rgba(0,0,0,0.7);
}

.hero-text p {
  font-size: 1.3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.4;
  text-shadow: 1px 1px 4px rgba(0,0,0,-19.5);
  color:white;
}

.tagline {
  font-style: italic;
  margin-top: 1em;
  font-size: 1.2rem;
}

.cta-button {
  display: inline-block;
  margin-top: 2em;
  background-color: #ba262d;
  color: white;
  padding: 0.9em 2.2em;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(186, 38, 45, 0.6);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover,
.cta-button:focus {
  background-color: #6c162b;
  box-shadow: 0 7px 20px rgba(108, 22, 43, 0.8);
}

/* FEATURES */
.features {
  display: flex;
  gap: 2em;
  max-width: 960px;
  margin: 0 auto 4em auto;
  flex-wrap: wrap;
  justify-content: center;
}

.feature-item {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
  max-width: 300px;
  flex: 1 1 280px;
  padding: 1em;
  text-align: center;
}

.feature-item img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 1em;
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

.feature-item h3 {
  font-size: 1.3rem;
  color: #ba262d;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
}

.feature-icon {
  font-size: 1.5rem;
}

.feature-item p {
  font-size: 1rem;
  color: #3e2e18;
}

/* TESTIMONIALS */
.testimonials {
  max-width: 700px;
  margin: 0 auto 5em auto;
  background-color: #f1ece3;
  padding: 2em 3em;
  border-radius: 15px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  font-style: italic;
  color: #3e2e18;
}

.testimonials blockquote {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.5;
}

.testimonials footer {
  margin-top: 1em;
  font-weight: 600;
  text-align: right;
  font-style: normal;
  color: #ba262d;
}

/* MAIN CONTENT */
main {
  max-width: 960px;
  margin: 3em auto 5em auto;
  padding: 0 1.5em;
  background: #f4f1ea; /* light cream/tan background */
  color: #3e2e18;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

h2 {
  font-weight: 700;
  margin-bottom: 0.6em;
  color: #ba262d; /* Pantone 1795 Red */
  border-bottom: 3px solid #f49322; /* Pantone 137 Orange */
  display: inline-block;
  padding-bottom: 4px;
}

p {
  font-size: 1.1rem;
  margin-bottom: 1.2em;
  color: #3e2e18;
}

img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
  margin-top: 1.5em;
}

/* GALLERY */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
  gap: 1.5em;
  margin-top: 1.5em;
}

.gallery-grid img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.05);
}

/* FORMS */
form input, form textarea {
  width: 100%;
  max-width: 600px;
  padding: 0.75em 1em;
  margin-bottom: 1.4em;
  border: 2px solid #876237; /* Pantone 7575 Brown */
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

form input:focus, form textarea:focus {
  border-color: #ba262d; /* Pantone 1795 Red */
  outline: none;
}

form input[type="submit"] {
  background-color: #ba262d; /* Pantone 1795 Red */
  color: white;
  font-weight: 700;
  cursor: pointer;
  border: none;
  border-radius: 8px;
  padding: 0.8em 2em;
  font-size: 1.2rem;
  transition: background-color 0.3s ease;
}

form input[type="submit"]:hover,
form input[type="submit"]:focus {
  background-color: #6c162b; /* Pantone 188 Dark Red */
}

/* FOOTER */
footer {
  text-align: center;
  background-color: #f4f1ea; /* light cream/tan background */
  padding: 1.8em;
  font-size: 0.95rem;
  color: #3e2e18; /* Pantone 462 Brown */
  border-top: 1px solid #d8ccb7; /* Pantone 7502 Light Tan */
  margin-top: 5em;
}

/* RESPONSIVE */
@media (max-width: 700px) {
  nav a {
    margin: 0 0.7em;
    font-size: 1rem;
  }
  main {
    margin: 2em 1em 4em 1em;
    padding: 1em;
  }
  .logo-large {
    height: 150px;
  }
  .logo-partner {
    height: 70px;
  }
}

.contact-info {
  max-width: 700px;
  margin: 3em auto 5em auto;
  background: white;
  padding: 2em 3em;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  color: #3e2e18;
}

.contact-info h2 {
  color: #ba262d;
  margin-bottom: 1.2em;
}

.contact-section {
  margin-bottom: 2em;
}

.contact-section h3 {
  color: #ba262d;
  margin-bottom: 0.5em;
}

.contact-section p {
  font-size: 1.1rem;
  margin-bottom: 0.3em;
}

.contact-section a {
  color: #ba262d;
  text-decoration: none;
}

.contact-section a:hover,
.contact-section a:focus {
  text-decoration: underline;
}
.facebook-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  color: #3b5998; /* Facebook blue */
  font-weight: 600;
  text-decoration: none;
}

.facebook-link:hover,
.facebook-link:focus {
  text-decoration: underline;
}

.facebook-icon {
  width: 24px;
  height: 24px;
}
.svg-placeholder {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
  margin-bottom: 1em;
  display: inline-block;
}
.leaders-container {
  display: grid;
  grid-template-rows: repeat(4, auto);
  grid-auto-flow: column;
  gap: 2em;
  max-width: 960px;
  margin: 1.5em auto 3em auto;
  justify-content: center;
}
.leader-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  padding: 1.5em;
  max-width: 250px;
  text-align: center;      /* Center text horizontally */
  color: #3e2e18;

  display: flex;
  flex-direction: column;
  align-items: center;     /* Center children (SVG + text) horizontally */
}

.leader-photo {
  margin-bottom: 1em;
  display: flex;
  justify-content: center; /* Center SVG horizontally */
}
.fb-container {
  display: flex;
  justify-content: center;
  margin: 2em 0;
}

.facebook-events-section {
  max-width: 700px;
  margin: 0 auto 4em auto;
  padding: 0 1em;
  text-align: center;
  color: #3e2e18;
  font-family: 'Open Sans', sans-serif;
}

.facebook-events-section h2 {
  color: #ba262d;
  margin-bottom: 1em;
}

.facebook-events-section p {
  font-size: 1.1rem;
}
