/* CSS Variables for Colors & Fonts */
:root {
  --primary-red: #B31B1B; /* Warm red for emphasis */
  --secondary-green: #3CB371; /* Green accent */
  --light-green: rgba(60, 179, 113, 0.1); /* Light tinted green background */
  --background-color: #fff;
  --text-color: #333;
  --header-font: Georgia, "Times New Roman", serif;
  --body-font: Arial, sans-serif;
}

/* Basic Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--body-font);
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
}

a {
  color: var(--primary-red);
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: var(--secondary-green);
}

/* Navigation Bar */
nav {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.9);
  z-index: 1000;
  padding: 10px 20px;
  display: flex;
  align-items: center;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo img {
  height: 80px; /* Enlarged logo */
}

.nav-links {
  list-style: none;
  display: flex;
}

.nav-links li {
  margin-left: 20px;
}

.menu-icon {
  display: none;
  cursor: pointer;
}

.menu-icon span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--primary-red);
  margin: 5px 0;
}

/* Container for consistent width and center alignment */
.container {
  width: 75%;
  margin: 0 auto;
}

/* Header Section */
header {
  padding-top: 120px; /* Offset for fixed nav */
  padding-bottom: 20px;
  scroll-margin-top: 120px;
  text-align: center;
}

.header-content { }

.title {
  font-family: var(--header-font);
  font-size: 2rem;
  line-height: 1.2;
}

.title .intro {
  font-style: italic;
  font-size: 1.5rem;
}

.title .experience {
  font-size: 2.8rem;
  font-weight: bold;
  color: var(--primary-red);
}

.title .subtitle {
  font-size: 1.2rem;
}

.tagline {
  font-size: 1rem;
  margin-top: 10px;
  font-family: var(--body-font);
}

/* Image Slider */
.slider {
  position: relative;
  width: 75%;
  max-width: 900px;
  margin: 20px auto;
  overflow: hidden;
}

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  min-width: 100%;
  display: none;
}

.slide.active {
  display: block;
}

.slider img {
  width: 100%;
  height: auto;
  display: block;
}

/* Slider Arrows (less intrusive, outside the image) */
.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--primary-red);
  background: rgba(255, 255, 255, 0.6);
  padding: 5px;
  border-radius: 50%;
  cursor: pointer;
  user-select: none;
}

.prev {
  left: -40px;
}

.next {
  right: -40px;
}

/* Slider Dots (moved below the slider) */
.dots {
  text-align: center;
  margin-top: 5px;
  margin-bottom: 0px;
}

.dot {
  height: 10px;
  width: 10px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
}

.dot.active {
  background-color: var(--primary-red);
}

/* Photo Credit Line */
.photo-credits {
  margin-top: 0px;
  font-size: 0.8rem;
  font-style: italic;
  text-align: center;
  color: var(--text-color);
}

/* Sections */
section {
  padding: 40px 20px;
  max-width: 1000px;
  margin: 0 auto;
  scroll-margin-top: 120px;
  text-align: center;
}

/* Apply light green tinting for Mission, Members, and Contact Us (via override) */
.green-section {
  background-color: var(--light-green);
  padding: 40px 0;
}

section h2 {
  font-family: var(--header-font);
  color: var(--primary-red);
  margin-bottom: 20px;
}

/* Mission Section Enhancements */
#mission p {
  margin-bottom: 20px;
}

/* Key phrase style for Mission Section */
.keyphrase {
  font-size: 150%;
  font-weight: bold;
  color: #000;
}

/* Emphasis for other words (red) */
.emphasis {
  font-weight: bold;
  color: var(--primary-red);
}

/* Common form styles for Stay Informed and Contact Us Sections */
#stayinformed form,
#contact form {
  display: flex;
  flex-direction: column;
  max-width: 500px;
  margin: 0 auto;
  text-align: left; /* Force left alignment for form fields */
}

#stayinformed form > * + *,
#contact form > * + * {
  margin-top: 10px;
}

#stayinformed form label,
#contact form label {
  font-weight: bold;
}

#stayinformed form input,
#stayinformed form textarea,
#contact form input,
#contact form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  width: 100%;
}

#stayinformed form button,
#contact form button {
  padding: 10px;
  background: var(--primary-red);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

#stayinformed form button:hover,
#contact form button:hover {
  background: var(--secondary-green);
}

/* Get Involved Section */
#getinvolved {
  text-align: left;
}

#getinvolved h2 {
  text-align: center;
}

#getinvolved p {
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Styling for the bullet list in Get Involved Section */
.getinvolved-list {
  list-style: disc;
  margin-left: 40px;
  text-align: left;
}

.learn-more-container {
  text-align: center;
  margin-top: 20px;
}

.learn-more-button {
  display: inline-block;
  background-color: var(--primary-red);
  color: white;
  padding: 10px 25px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 25px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.learn-more-button:hover {
  background-color: var(--secondary-green);
  color: #ffffff; /* Keeps text white for maximum readability */
}



/* Members Section */
.membership-info {
  font-size: 1rem;
  margin-bottom: 20px;
  text-align: center;
}

.members-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0 auto;
  max-width: 800px;
}

.member {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
  justify-content: center;
}

.member-info {
  flex: 1 1 30%;
  text-align: right;
}

.member-photo {
  flex: 1 1 30%;
  text-align: left;
}

.member-photo img {
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: 5px;
}

/* Footer / Disclaimer Section */
footer {
  text-align: center;
  padding: 20px 15%;
  background: #f9f9f9;
  margin-top: 40px;
  font-size: 0.8rem;
}

footer p {
  margin-bottom: 0;
}

/* Section Tinting Overrides */
/* Remove tinting from Sign Up (Stay Informed) section */
#stayinformed {
  background-color: var(--background-color);
  padding: 40px 20px;
}

/* Force tinting on Contact Us section to light green */
#contact {
  background-color: var(--light-green);
  padding: 40px 20px;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .container {
    width: 90%;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.95);
    position: absolute;
    top: 100px;
    right: 20px;
    padding: 10px;
    border-radius: 5px;
  }
  .nav-links.active {
    display: flex;
  }
  .menu-icon {
    display: block;
  }
  .slider {
    width: 90%;
  }
  .title .experience {
    font-size: 2rem;
  }
  .member {
    flex-direction: column;
    text-align: center;
  }
  .member-info,
  .member-photo {
    flex: 1 1 100%;
    text-align: center;
  }
}