/* Reset user agent styles for body */
body {
  font-family: 'Arial', sans-serif;
  background-color: #96ab9a;
  color: #000000;
  margin: 0;
  padding: 0;
}

/* Slideshow Styles */
.slideshow-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
  transition: opacity 1s ease-in-out;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Header Styles */
header {
  background-color: rgba(255, 255, 255, 0.85); /* Added slight background for text readability */
  color: #000000;
  text-align: center;
  padding: 20px;
  box-shadow: 0px 2px 5px rgba(0,0,0,0.1);
}

/* Aligning the new branding wrapper we made in the HTML files */
.header-branding {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.logo {
  width: 100px;
  height: auto;
  margin: 10px;
}

.navbar {
  display: flex;
  justify-content: center;
  padding: 10px 0;
  width: 100%;
}

.menu {
  list-style-type: none;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  flex-wrap: wrap; /* Allows wrapping on smaller screens */
  justify-content: center;
}

.menu li {
  margin: 5px 15px;
}

/* Navigation Links */
.navbar a {
  text-decoration: none;
  color: #1a1a1a; /* Changed from white to dark grey for better contrast */
  font-weight: bold;
  padding: 8px 16px;
  border-radius: 4px;
  transition: background-color 0.3s, color 0.3s;
}

.navbar a:hover, .navbar a[aria-current="page"] {
  background-color: #304f35;
  color: #ffffff;
}

/* Typography */
h1 {
  font-size: 30px;
  font-weight: bold;
  letter-spacing: 2px;
  margin-bottom: 10px;
  text-align: center;
}

h2 {
  margin: 0 0 20px;
  color: #1a1a1a; 
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
}

/* Main Content Container */
main {
  padding: 20px;
  margin: 5vh auto 20px;
  max-width: 800px;
  background-color: rgba(255, 255, 255, 0.95); /* Solidifies the background over the slideshow */
  border-radius: 10px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}

section, #features {
  text-align: center;
  margin-bottom: 20px;
  color: #000000;
}

#features ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

#features li {
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.6;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #304f35; /* Dark green for better contrast */
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 16px;
  font-weight: bold;
  margin: 20px 0;
}

.btn:hover {
  background-color: #1f3322;
}

/* Footer */
footer {
  background-color: #304f35;
  color: #f9efef;
  padding: 20px 10px;
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
  margin-top: 20px;
}

footer a {
    color: #96ab9a;
}

/* Responsive Design */
@media (max-width: 768px) {
  .menu {
    flex-direction: column;
  }
  .menu li {
    margin: 10px 0;
  }
}