body, html {
  height: 100%;
  margin: 0;
  font-family: 'Arial';
  background-color: #323232;
  overflow-x: hidden;
  font-weight: lighter;
  scroll-behavior: smooth;
}

h2 {
  font-weight: 200;
}

.hero-image {
  background-image: linear-gradient(rgba(255, 255, 255, 0), #262726), url("IMG_Hero_Image.jpg");
  height: 400px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.hero-text {
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  padding: 10px 10px;
  font-weight: 100;
}

.hero-text h1 {
  font-size: 50px;
}

.organrestoration {
  background-color: #262726; /* Dark background */
  color: white; /* White text */
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin: 20px auto; /* Add margin to separate from other sections */
  text-align: center; /* Center text and image */
}

.organrestoration img {
  display: block; /* Makes the image a block element */
  margin: 0 auto; /* Centers the image horizontally */
}

.overview {
  text-align: center;
  width: 100%;
}

.churches {
  display: flex; /* Use flexbox for layout */
  justify-content: space-between; /* Space out the church sections */
  margin: 20px 0; /* Add margin to separate from other sections */
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.church {
  background-color: #262726;
  color: white;
  font-size: 14px;
  width: 45%; /* Adjust width for two columns */
  margin: 20px 2.5%; /* Add margin between church sections */
  box-shadow: 0px 20px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.church img {
  display: block;
  width: 100%;
  height: 300px;
  margin: auto;
  object-fit: cover;
}











/* Footer Styles */
.footer {
  text-align: center;
  font-size: 20px;
  margin-top: 100px; /* Add space above footer */
  color: white;
}






/* Media Queries */
@media only screen and (max-width: 1200px) {
  .church {
      width: 100%; /* Full width on smaller screens */
      margin: 20px auto; /* Center the church section */
      border-radius: 0px; /* Remove border radius */
  }
}

@media only screen and (max-width: 768px) {
  .hero-text h1 {
      font-size: 40px; /* /* Adjust font size for smaller screens */
  }
  .title {
      font-size: 24px; /* Slightly smaller title on smaller screens */
  }
}

/* Ensure the footer adjusts on smaller screens */
@media only screen and (max-width: 768px) {
  .footer {
      font-size: 16px; /* Adjust footer font size */
  }
}

.video-link {
  display: block;
  margin: 20px auto;
  padding: 12px 20px;
  background-color: #262726; /* YouTube red */
  text-align: center;
  color: white;
  text-decoration: none;
  font-family: Arial, sans-serif;
  font-size: 16px;
  font-weight: bold;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.video-link:hover {
  background-color: #cc0000; /* Darker red on hover */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
.video-link:before {
  content: "▶ "; /* Play icon */
  font-size: 18px;
}
