/* Reset & Base Styles */
body {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif;
  background-color: #ffffff;
  color: #333;
}

h1, h2, h3 {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.5px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Navigation Bar */
.top-nav {
  background-color: #b30838; /* DeMolay Red */
  position: sticky;
  top: 0;
  z-index: 999;
  width: 100%;
}

.contact-form-section {
  background-color: #fdfdfd;
  padding: 40px 20px;
  max-width: 600px;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}


.contact-form-container {
  max-width: 600px;
  margin: 0 auto;
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}



.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
}

.nav-logo img {
  height: 40px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  color: #f9d423;
  text-decoration: none;
  font-weight: bold;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.nav-links li a:hover {
  background-color: #2a2aa0; /* DeMolay Blue */
  color: #fff;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  font-size: 24px;
  color: white;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #b30838;
    width: 100%;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .nav-container {
    flex-direction: row;
  }

  .nav-links li {
    padding: 10px 0;
    text-align: right;
    padding-right: 20px;
  }
}

/* Header Image */
.header-image {
  width: 100%;
  overflow: hidden;
}

.header-image img {
  width: 100%;
  max-height: 300px;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

/* Welcome Section (Index) */
.welcome-section {
  background-color: #f5f5f5;
  padding: 40px 20px;
  text-align: left;
}

.welcome-container {
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.6;
}

.welcome-section h2 {
  color: #b30838;
  font-size: 2.5em;
  margin-bottom: 20px;
}

.welcome-section a {
  color: #b30838;
  text-decoration: underline;
}

.welcome-section a:hover {
  color: #2a2aa0;
}

/* Recurring Activities Grid (Index) */
.activities-section {
  background-color: #ffffff;
  padding: 50px 20px;
  text-align: center;
}

.activities-container {
  max-width: 1000px;
  margin: 0 auto;
}

.activities-section h2 {
  color: #b30838;
  font-size: 2.5em;
  margin-bottom: 40px;
}

.activities-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.activity-card {
  background-color: #f5f5f5;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  padding: 20px;
  flex: 1 1 250px;
  max-width: 300px;
  transition: transform 0.3s ease;
}

.activity-card:hover {
  transform: translateY(-5px);
}

.activity-card img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 15px;
}

.activity-card p {
  font-size: 1.1em;
  margin: 0;
}

/* About Page Layout */
.about-section {
  padding: 50px 20px;
  background-color: #fdfdfd;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.about-image {
  flex: 1 1 40%;
}

.about-text {
  flex: 1 1 55%;
}

.about-text h2 {
  color: #b30838;
  font-size: 2em;
  margin-bottom: 10px;
}

/* Contact Page */
.contact-section {
  padding: 40px 20px;
  background-color: #fdfdfd;
  max-width: 700px;
  margin: 0 auto;
}

.contact-section h2 {
  text-align: center;
  color: #b30838;
  margin-bottom: 20px;
}

form label {
  display: block;
  margin: 12px 0 6px;
  font-weight: bold;
}

form input, form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #aaa;
  border-radius: 5px;
  font-size: 1em;
  box-sizing: border-box;
}

form button {
  margin-top: 15px;
  padding: 10px 15px;
  background-color: #b30838;
  color: white;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

form button:hover {
  background-color: #2a2aa0;
}

/* Footer */
.footer {
  background-color: #e0e0e0; /* DeMolay Gray */
  text-align: center;
  padding: 20px 10px;
  font-size: 0.95em;
  color: #333;
}
