/* General Styles */
body {
  font-family: 'Lato', sans-serif;
  margin: 0;
  padding: 0;
  color: #333;
  background-color: #f9f9f9;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  color: #000000;
}

a {
  text-decoration: none;
  color: #d4af37; /* Gold */
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #1a1a1a;
  color: white;
}

header .logo {
  font-size: 24px;
  font-weight: bold;
}

header nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

header nav ul li a {
  color: white;
  font-weight: bold;
}

/* Jumbotron Section */
.jumbotron {
  background-image: url('bib.jpeg'); /* Add your background image */
  background-size: cover;
  background-position: center;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  position: relative;
  padding-bottom: 300px; /* Add padding to push content up */
}

.jumbotron-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay */
  border-radius: 10px;
  position: relative;
  z-index: 2; /* Ensure content is above the slideshow */
}

.jumbotron-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.jumbotron-content p {
  font-size: 1.5rem;
  margin-bottom: 30px;
}

.cta-buttons .cta {
  background-color: #d4af37; /* Gold */
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  margin: 10px;
  text-transform: uppercase;
  font-weight: bold;
}

/* Upcoming Events Slideshow */
.upcoming-events-slideshow {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(255, 255, 255, 0.9); /* Semi-transparent white */
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 1200px;
  text-align: center;
  z-index: 1; /* Ensure slideshow is below the jumbotron content */
}

.upcoming-events-slideshow h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #1a1a1a;
}

.slides {
  position: relative;
  overflow: hidden;
  height: 200px; /* Adjust height as needed */
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #1a1a1a;
}

.slide p {
  font-size: 1rem;
  margin-bottom: 10px;
  color: #333;
}

.slide .cta {
  background-color: #d4af37;
  color: white;
  padding: 8px 16px;
  border-radius: 5px;
  text-decoration: none;
  display: inline-block;
  margin-top: 10px;
}

.slideshow-controls {
  margin-top: 10px;
}

.slideshow-controls button {
  background-color: #d4af37;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
  margin: 0 5px;
}

.slideshow-controls button:hover {
  background-color: #b38f2e;
}
/* Hero Section */


.cta-buttons .cta {
  background-color: #d4af37;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  margin: 10px;
}

/* About Section */
.about {
  padding: 50px;
  background-color: #f9f9f9;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.about-content img {
  width: 400px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.about-text {
  flex: 1;
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #1a1a1a;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 20px;
}

/* Teachings Section */
.teachings {
  padding: 50px;
  text-align: center;
  background-color: #f0f0f0;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.video-card {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: left;
}

.video-card iframe {
  width: 100%;
  height: 200px;
  border: none;
}

.video-card h3 {
  font-size: 1.5rem;
  margin: 15px;
  color: #1a1a1a;
}

.video-card p {
  font-size: 1rem;
  margin: 0 15px 15px;
  color: #333;
}

/* Prayer Section */
.prayer {
  padding: 50px;
  text-align: center;
  background-color: #f0f0f0;
}

#prayer-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 400px;
  margin: 0 auto;
}

#prayer-form input, #prayer-form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

#prayer-form button {
  background-color: #d4af37;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
}

/* Events Section */
.events {
  padding: 50px;
  text-align: center;
}

/* Blog Section */
.blog {
  padding: 50px;
  text-align: center;
  background-color: #f9f9f9;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.social-card {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  padding: 15px;
}

.social-card iframe,
.social-card .fb-post {
  width: 100%;
  border: none;
}

/* Events Section */
.events-section {
  padding: 50px;
  text-align: center;
  background-color: #f9f9f9;
}

.events-section h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: #1a1a1a;
}

.event-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.event {
  display: none; /* Hide all events by default */
  align-items: center;
  gap: 40px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  padding: 20px;
}

.event.active {
  display: flex; /* Show the active event */
}

.event-image {
  flex: 1;
}

.event-image img {
  width: 100%;
  border-radius: 10px;
}

.event-details {
  flex: 1;
  text-align: left;
}

.event-details h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #1a1a1a;
}

.event-details p {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: #333;
}

.event-details .cta {
  background-color: #d4af37;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  display: inline-block;
  margin-top: 10px;
}

.event-navigation {
  margin-top: 20px;
}

.event-navigation button {
  background-color: #d4af37;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
  margin: 0 5px;
}

.event-navigation button:hover {
  background-color: #b38f2e;
}
/* Contact Section */
.contact {
  padding: 50px;
  text-align: center;
  background-color: #f0f0f0;
}

#contact-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 400px;
  margin: 0 auto;
}

#contact-form input, #contact-form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

#contact-form button {
  background-color: #d4af37;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
}

.social-links {
  margin-top: 20px;
}

.social-links a {
  margin: 0 10px;
}

/* Giving and Partnering Section */
.giving {
  padding: 50px;
  text-align: center;
  background-color: #fff;
}

.giving h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: #1a1a1a;
}

.giving-content {
  max-width: 1200px;
  margin: 0 auto;
}

.giving-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #333;
}

.giving-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.giving-option {
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: left;
}

.giving-option h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #1a1a1a;
}

.giving-option p {
  font-size: 1rem;
  margin-bottom: 15px;
  color: #333;
}

.giving-option .cta {
  background-color: #d4af37;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  display: inline-block;
}

/* Ministries and Programs Section */
.ministries {
  padding: 50px;
  text-align: center;
  background-color: #f9f9f9;
}

.ministries h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: #1a1a1a;
}

.ministries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.ministry-card {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: left;
}

.ministry-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #1a1a1a;
}

.ministry-card p {
  font-size: 1rem;
  margin-bottom: 15px;
  color: #333;
}

.ministry-card .cta {
  background-color: #d4af37;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  display: inline-block;
}



/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background-color: #1a1a1a;
  color: white;
}