/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Fonts & Colors */
body {
  font-family: Arial, sans-serif;
  background-color: #f9f9f9;
}

h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #2c3e50;
}

/* Banner */
.banner {
  height: 100vh;
  background: url("images/chruch.png.png") no-repeat center center/cover;
  position: relative;
}

.banner-overlay {
  background-color: rgba(0, 0, 0, 0.5);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background-color 0.4s ease, padding 0.4s ease;
}
/* Transparent when at top */
.navbar.transparent {
  background-color: transparent;
}

/* Solid color when scrolled */
.navbar.scrolled {
  background-color: #2c3e50;
  padding: 15px 50px;
}
.logo img {
  height: 60px;
  border-radius: 15px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #ffcc00;
}

.banner-text {
  text-align: center;
  color: white;
  padding-bottom: 50px;
}

.banner-text h1 {
  font-size: 50px;
  margin-bottom: 10px;
}

.banner-text p {
  font-size: 20px;
}

/* About Us */
.about {
  padding: 50px;
  background-color: white;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
}

.about-text {
  flex: 1;
}

.about-text p {
  line-height: 1.6;
}

.about-image img {
  width: 100%;
  border-radius: 10px;
}

/* Services */
.services {
  background-color: #f4f4f4;
  padding: 50px;
}

.service-cards {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card i {
  font-size: 40px;
  color: #ffcc00;
  margin-bottom: 15px;
}

/* Events */
.events {
  padding: 50px;
  background-color: white;
}

.event-list {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.event {
  background: #ffcc00;
  padding: 20px;
  border-radius: 10px;
  color: #2c3e50;
  max-width: 300px;
}

/* Testimonials */
.testimonials {
  padding: 50px;
  background-color: #f4f4f4;
}

.testimonial-cards {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.testimonial {
  background: white;
  padding: 20px;
  border-radius: 10px;
  max-width: 300px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  font-style: italic;
}

/* Contact */
.contact {
  padding: 50px;
  background-color: white;
  text-align: center;
}

/* Footer */
footer {
  background-color: #2c3e50;
  color: white;
  text-align: center;
  padding: 20px 10px;
}

footer .social-links a {
  color: #ffd700;
  text-decoration: none;
  margin: 0 5px;
}

footer .social-links a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
  }
  .service-cards,
  .event-list,
  .testimonial-cards {
    flex-direction: column;
    align-items: center;
  }
}
/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}



