/* ============================= */
/* General Styles */
/* ============================= */


html, body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  background-color: #f4f4f4;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden; /* Prevent horizontal scrolling */
  display: flex;
  flex-direction: column;
}

main {
  flex: 1; /* Pushes footer down */
  padding-bottom: 20px;
}

footer {
  background-color: #00223C; 
  color: #fff;
  text-align: center;
  padding: 15px 20px;
  position: bottom;
  bottom: 0;
  width: 100%;
}

footer p {
  margin: 0;
  font-size: 14px;
}

/* ============================= */
/* Header Styles */
/* ============================= */

/* Header Styles */
header {
  background-color: #013964;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;

  /* Add relative positioning */
  position: relative;
  padding: 15px; /* Ensure padding accommodates the logo */
}

/* Group the logo + heading together */
.header-content {
  display: flex;
  align-items: center;
  gap: 15px; /* Space between logo and title */
}

/* Logo style */
.header-logo {
  position: absolute; /* Take the logo out of the normal flow */
  top: 0; /* Align it to the top of the header */
  left: 0;
 padding-left: 40px;
  height: 125px;

  /* Set a fixed width (adjust this to control distortion) */
  object-fit: fill; /* Force the image to fill the specified dimensions */
  display: block;
}
/* Title style */
header h1 {
  margin: 0;
  font-size: 18px;
}

/* ============================= */
/* Navigation Bar - Desktop View */
/* ============================= */
nav {
  display: flex;
  padding-top: 60px;
  padding-right: 20px;
  align-items: flex-end; /* Align the nav links to the bottom */
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex; /* Horizontally aligned for desktop */
  align-items: flex-end; /* Align the text to the bottom */
}

nav ul li {
  margin: 0 15px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 22.5px; /* Increase the font size */
  padding: 10px 15px; /* Add padding to make the text larger and more clickable */
  transition: background 0.3s ease;
  line-height: 1.2; /* Adjust line height for better alignment */
}

nav ul li a:hover {
  background-color: #76abd7; /* Slight highlight on hover */
  border-radius: 5px;
}
/* ============================= */
/* Hamburger Menu - Mobile Only */
/* ============================= */
.menu-toggle {
  background: none;
  border: none;
  font-size: 26px;
  color: white;
  cursor: pointer;
  display: none; /* Hidden on large screens */
  padding: 10px;
}

/* ============================= */
/* Responsive Navigation for Mobile */
/* ============================= */
@media (max-width: 768px) {
  .menu-toggle {
    display: block; /* Show hamburger menu */
  }
  nav {
    display: none; /* Hide desktop navigation */
  }
  .header-logo {
    height: 80px;
    width: 80px;
    top: 10px;
    left: 10px;
  }
  
  .nav-menu {
    position: absolute;
    top: 77px;
    left: 0;
    background-color: #013964;
    width: 100%;
    display: none; /* Initially hidden */
    flex-direction: column;
    text-align: center;
    transition: max-height 0.3s ease-in-out;
  }
  .nav-menu ul {
    flex-direction: column;
    width: 100%;
    padding: 0;
  }
  .nav-menu ul li {
    width: 100%;
    padding: 10px 0;
  }
  .nav-menu ul li a {
    display: block;
    width: 100%;
    padding: 12px;
  }
  .nav-menu ul li a:hover {
    background-color: #76abd7;
  }
  /* Show menu when toggled */
  .nav-open {
    display: flex !important;
  }

}

/* ============================= */
/* Main Content Styles */
/* ============================= */
main {
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.collaborator-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.collaborator {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  flex: 1 1 calc(33.333% - 40px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.collaborator h3 {
  margin-top: 0;
  color: #007bff;
}

.collaborator p {
  margin: 5px 0;
}

@media (max-width: 768px) {
  .collaborator {
    flex: 1 1 100%;
  }
}
/* ============================= */
/* Legend Style */
/* ============================= */

.legend {
  background-color: #f4f4f4;
  border: 1px solid #ccc;
  padding: 15px;
  border-radius: 8px;
  width: 97%;
  font-family: Arial, sans-serif;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 10px; /* Adds spacing between the color box and text */
  margin-bottom: 8px;
  flex-wrap: nowrap; /* Prevents wrapping issues */
}

.color-box {
  flex: 0 0 20px; /* Ensures a fixed size */
  width: 20px;
  height: 20px;
  display: inline-block;
  border-radius: 4px;
}

.label {
  flex: 1; /* Allows text to take available space without shrinking the color box */
  font-size: 14px;
  color: #333;
  min-width: 150px; /* Ensures minimum width for readability */
}

/* ============================= */
/* Church Parking */
/* ============================= */

.parking-details {
  display: none;
  margin-top: 5px;
  padding: 5px;
  background-color: #f4f4f4;
  border-left: 4px solid #007bff;
  font-size: 14px;
}

.toggle-btn {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 5px 10px;
  font-size: 12px;
  cursor: pointer;
  border-radius: 5px;
  margin-left: 5px;
}

.toggle-btn:hover {
  background-color: #0056b3;
}

.about-project {
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 15px;
  font-size: 15px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.about-project summary {
  cursor: pointer;
  font-size: 18px;
  color: #013964;
  margin-bottom: 10px;
}

.about-project a {
  color: #007bff;
  text-decoration: none;
}

.about-project a:hover {
  text-decoration: underline;
}

