/* ===========================
   GENERAL RESET & BASE STYLES
=========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  line-height: 1.6;
  background-color: #f8f9fa;
  color: #333;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img, video {
  max-width: 100%;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
}

/* ===========================
   NAVBAR
=========================== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: #00274d;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.navbar .logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #00bfff;
}

.navbar .nav-links {
  display: flex;
  gap: 2rem;
}

.navbar .nav-links li a {
  color: #fff;
  font-weight: 500;
  transition: color 0.3s, transform 0.3s;
}

.navbar .nav-links li a:hover,
.navbar .nav-links li a.active {
  color: #00bfff;
  transform: scale(1.05);
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

/* ===========================
   SECTIONS
=========================== */
section {
  padding: 6rem 2rem;
  text-align: center;
  position: relative;
}

.highlight-section {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 25px rgba(0,0,0,0.1);
  margin: 3rem auto;
  max-width: 1200px;
  padding: 3rem 2rem;
  position: relative;
}

.highlight-section h2 {
  font-size: 2.2rem;
  color: #00274d;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.highlight-section h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: #00bfff;
  border-radius: 2px;
  margin: 0.5rem auto 0;
}

/* ICON ACCENTS FOR ABOUT / MISSION / VISION */
.about::before, .mission::before, .vision::before {
  content: '✝️';
  font-size: 2rem;
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
}

.mission::before { content: '🔥'; }
.vision::before { content: '🌟'; }

/* ===========================
   CARDS
=========================== */
.highlight-card, .event-card, .teaching-item, .offer-card, .pastor-card, .download-item {
  background: #f1f9ff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
}

.highlight-card:hover, .event-card:hover, .teaching-item:hover, .offer-card:hover, .pastor-card:hover, .download-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.btn {
  display: inline-block;
  margin-top: 1rem;
  background: #00bfff;
  color: #fff;
  padding: 0.8rem 1.8rem;
  border-radius: 8px;
  font-weight: 500;
  transition: background 0.3s, transform 0.3s;
}

.btn:hover {
  background: #009acd;
  transform: scale(1.05);
}

/* ===========================
   GRIDS
=========================== */
.events-grid, .teaching-list, .pastor-grid, .service-grid, .download-list {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  justify-items: center;
}

/* ===========================
   PASTORS / MODAL
=========================== */
.pastor-featured {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 2rem 0;
  background: #f0f8ff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.pastor-featured img {
  width: 300px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.senior-pastor-text {
  max-width: 600px;
  text-align: left;
}

.senior-pastor-text h3 {
  color: #00274d;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.senior-pastor-text p {
  font-weight: 500;
  margin-bottom: 1rem;
  color: #555;
}

.pastor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  justify-items: center;
  margin-top: 2rem;
}

.pastor-card {
  background: #f1f9ff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
  width: 100%;
  max-width: 280px;
}

.pastor-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.pastor-card img {
  width: 220px;
  margin-bottom: 1rem;
}

.pastor-card h4 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: #00274d;
}

.pastor-card p {
  font-size: 1rem;
  color: #555;
}

/* ===========================
   MODAL
=========================== */
.modal {
  display: none;
  position: fixed;
  top:0; left:0; width:100%; height:100%;
  background: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.modal-content {
  background: #fff;
  padding: 2.5rem;
  border-radius: 12px;
  max-width: 600px;
  width: 90%;
  text-align: center;
  position: relative;
}

.modal-content img {
  width: 200px;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  cursor: pointer;
}

/* ===========================
   FOOTER
=========================== */
footer {
  background: #00274d;
  color: #fff;
  padding: 4rem 2rem 2rem 2rem;
  text-align: center;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.footer-about, .footer-links, .footer-social {
  flex: 1 1 250px;
}

.footer-links a, .footer-social a {
  color: #fff;
  transition: color 0.3s, transform 0.3s;
}

.footer-links a:hover, .footer-social a:hover {
  color: #00bfff;
  transform: scale(1.05);
}

/* ===========================
   TEACHING BUTTONS
=========================== */
.teaching-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.youtube-btn {
  background: #FF0000; /* YouTube red */
}

.youtube-btn:hover {
  background: #cc0000;
}

.facebook-btn {
  background: #1877F2; /* Facebook blue */
}

.facebook-btn:hover {
  background: #145db2;
}

/* ===========================
   HERO SLIDER
/* ===========================
   HERO SLIDER - FULL SCREEN
=========================== */
.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh; /* Full viewport height */
  overflow: hidden;
}

.hero-slider .slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slider .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: contain; /* show entire image/video */
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-slider .slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-slider .hero-video {
  width: 100%;
  height: 100%;
  object-fit: contain; /* ensures full video visible */
}

.overlay-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.3));
  z-index: 2;
}

.overlay-text {
  position: absolute;
  top: 10%; /* Adjust text position */
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  z-index: 3;
  text-align: center;
}

.overlay-text h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.overlay-text p {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.overlay-text .btn {
  padding: 0.8rem 2rem;
  font-size: 1.1rem;
}

.hero-slider .prev,
.hero-slider .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.5rem;
  color: #fff;
  background: rgba(0,0,0,0.3);
  padding: 0.5rem 0.8rem;
  border-radius: 50%;
  cursor: pointer;
  z-index: 4;
}

.hero-slider .prev { left: 20px; }
.hero-slider .next { right: 20px; }

/* Responsive */
@media(max-width: 992px){
  .overlay-text h1 {
    font-size: 2.5rem;
  }

  .overlay-text p {
    font-size: 1.2rem;
  }
}

@media(max-width: 768px){
  .overlay-text h1 {
    font-size: 2rem;
  }

  .overlay-text p {
    font-size: 1rem;
  }
}

@media(max-width: 480px){
  .overlay-text h1 {
    font-size: 1.5rem;
  }

  .overlay-text p {
    font-size: 0.9rem;
  }
}
.hero-text {
  text-align: center;
  margin: 2rem 1rem 4rem 1rem; /* space below the hero */
}

.hero-text h1 {
  font-size: 3rem;
  color: #00274d;
  margin-bottom: 0.5rem;
}

.hero-text p {
  font-size: 1.5rem;
  color: #555;
  margin-bottom: 1.5rem;
}

.hero-text .btn {
  padding: 0.8rem 2rem;
  font-size: 1.2rem;
}
/* ===========================
   FLOATING WHATSAPP ICON
=========================== */
.whatsapp-float {
  position: fixed;
  bottom: 20px;   /* distance from bottom */
  right: 20px;    /* distance from right */
  width: 50px;    /* smaller size */
  height: 50px;
  z-index: 10000;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}
.facebook-card {
  background: #f1f9ff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 500px;
  text-align: center;
}

.facebook-card h3 {
  color: #00274d;
  margin-bottom: 1rem;
}

.facebook-card .fb-page {
  margin: 0 auto;
  width: 100% !important;
}
.facebook-card {
  background: #f1f9ff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  width: 100%;       /* Fill the grid container */
  max-width: 1000px; /* Optional: limits max width */
  text-align: center;
}

.facebook-card h3 {
  color: #00274d;
  margin-bottom: 1rem;
}

.fb-page, .fb-page iframe {
  width: 100% !important;
  height: 1000px !important; /* Adjust height for full display */
}
/* ===========================
   GALLERY GRID
=========================== */
.gallery {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.gallery h1 {
  font-size: 2.8rem;
  color: #00274d;
  margin-bottom: 1rem;
}

.gallery p {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 3rem;
}

.gallery-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.gallery-item {
  background: #f1f9ff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}

/* ===========================
   LIGHTBOX
=========================== */
.lightbox {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
  z-index: 2000;
  padding: 1rem;
}

.lightbox-content {
  max-width: 90%;
  max-height: 80%;
  border-radius: 12px;
  box-shadow: 0 6px 25px rgba(0,0,0,0.3);
}

.caption {
  color: #fff;
  margin-top: 0.5rem;
  font-size: 1rem;
  text-align: center;
}

.lightbox .close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  font-weight: bold;
}
