/* Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #f9f9f9;
  color: #333;
  line-height: 1.6;
  width: 100%;
  overflow-x: hidden;
}
.intro-container {
  height: 100vh; /* fills full screen height */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
}

/* SCRIPTURE SECTION */
.scripture-section {
  background: linear-gradient(135deg, #565656, #ffffff);
  text-align: center;
  padding: 40px 20px;
  position: relative;
  overflow: visible;
  height: 100vh; /* fills the viewport height */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.scripture-section::before {
  content: "";
  position: absolute;
  background: url('https://png.pngtree.com/background/20250102/original/pngtree-green-wave-shine-bright-background-vector-picture-image_15440186.jpg') center/cover no-repeat;
  opacity: 0.5; /* corrected opacity value */
  top: -10%;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

/* If you prefer the Unsplash image instead, swap the URL above with:
   https://images.unsplash.com/photo-1707430393809-784967fe6fee?ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8M3x8ZGFyayUyMGdyZWVufGVufDB8fDB8fHww&fm=jpg&q=60&w=3000
*/

.scripture-container {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
}

.scripture-text {
  font-style: italic;
  font-size: 1.15rem;
  color: #2e7d32;
  line-height: 1.7;
  max-width: 760px;
  margin: 0 auto 20px;
  background: rgba(255,255,255,0.92);
  padding: 18px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  position: relative;
  z-index: 2;
}

/* TOP PHOTO SLIDER (fixed reasonable size) */
.photo-slider-wrapper {
  position: relative;
  max-width: 800px;          /* increased to suit larger viewports */
  width: 80%;
  height: 50vh;              /* takes half of the viewport height */
  margin: 20px auto 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  background: #000;          /* background while images load */
  z-index: 2;
}

.slides {
  display: flex;
  height: 100%;
  transition: transform 0.6s ease-in-out;
  will-change: transform;
}

/* each image fills the wrapper area */
.slides img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex: 0 0 100%;
}

/* Buttons */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(0,0,0,0.45);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  display: grid;
  place-items: center;
  transition: background .2s;
}

.slider-btn:hover { background: rgba(0,0,0,0.7); }

.prev { left: 12px; }
.next { right: 12px; }

/* HERO SECTION */
.hero-section {
  background-color: #1b5e20;
  text-align: center;
  padding: 10px 20px;
  height: 20vh; /* fills the viewport height */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.main-heading {
  font-size: 1.7rem;
  line-height: 1.0;
  text-transform: uppercase;
  color: #ffffff;
  padding: 10px;
  max-width: 100vw;
  margin-bottom: 10px;  
}

.sub-heading {
  font-size: 1.5rem;
  color: #388e3c;
  background-color: rgb(255, 255, 255);
  border-radius: 10px;
  text-transform: uppercase;
  line-height: 1.3;
  padding: 10px;
}

.nee { font-style: italic; }

/* UPCOMING EVENTS */
.events-section {
  background: #fff;
  padding: 80px 20px;
  text-align: center;
}

.events-section .about-container h3 {
  font-size: 1.8rem;
  color: #1b5e20;
  margin-bottom: 20px;
}

.event-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  margin-top: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.event-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* STREAM SECTION */
.stream-section {
  background: #e8f5e9;
  text-align: center;
  padding: 60px 20px;
}

.stream-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.stream-title {
  font-size: 2rem;
  color: #1b5e20;
  margin-bottom: 10px;
}

/* COUNTDOWN STYLES */
.countdown-timer { margin-bottom: 20px; }

.countdown-box {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.countdown-box div {
  background: #fff;
  border-radius: 10px;
  padding: 15px 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  min-width: 80px;
  text-align: center;
}

.countdown-box span {
  font-size: 2rem;
  font-weight: bold;
  color: #2e7d32;
  display: block;
}

.countdown-box small { font-size: .9rem; color: #666; }

.started {
  font-size: 1.2rem;
  color: #c62828;
  font-weight: 600;
}

/* VIDEO PLAYER */
#liveVideo {
  width: 100%;
  height: auto;
  max-height: 500px;
  border-radius: 12px;
  background: #000;
  object-fit: cover;
  margin-top: 15px;
}

/* TRIBUTE BUTTON */
.tribute-button {
  display: block;
  width: 100%;
  max-width: 300px;
  margin: 18px auto 0;
  background: #2e7d32;
  color: #fff;
  text-decoration: none;
  text-align: center;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.3s ease;
}

.tribute-button:hover { background: #1b5e20; }

.stream-section .stream-container p{
  margin: 20px 0 0 0;
  font-size: 1.1rem;
  font-weight: bold;
}

/* WATCH PAST EVENTS SECTION */
.past-events-section {
  background: linear-gradient(135deg, #1b5e20 0%, #388e3c 100%);
  color: #fff;
  text-align: center;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

.past-events-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('https://www.pixelstalk.net/wp-content/uploads/images1/Blur-Background-Slide-Background-Images-Blur-Image-Dslr.jpg') 
              center/cover no-repeat;
  background-attachment: fixed;
  opacity: 0.15;
  z-index: 0;
}

.past-events-container {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.past-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.past-description {
  font-size: 1.1rem;
  margin-bottom: 25px;
  color: #f1f1f1;
  line-height: 1.6;
}

.past-button {
  display: inline-block;
  background: #fff;
  color: #1b5e20;
  padding: 14px 35px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.past-button:hover {
  background: #2e7d32;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
}


/* ABOUT SECTION */
.about-section {
  background: #fff;
  text-align: center;
  padding: 60px 20px;
}

.about-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.about-container h3 {
  color: #1b5e20;
  font-size: 1.9rem;
  text-transform: uppercase;
  line-height: 1.3;
  margin-bottom: 16px;
}

.about-container p {
  font-size: 1rem;
  color: #444;
  margin-bottom: 16px;
}

/* BOTTOM PHOTO TRACK */
.photo-slider {
  overflow: hidden;
  width: 100%;
  margin-top: 40px;
}

.photo-track {
  display: flex;
  gap: 16px;
  animation: scroll 40s linear infinite;
}

.photo-track img {
  width: 250px;
  height: 250px;
  border-radius: 12px;
  object-fit: cover;
}

/* KEYFRAMES for bottom track */
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* FOOTER */
footer {
  background: #1b5e20;
  color: #fff;
  text-align: center;
  padding: 20px;
  font-size: 0.95rem;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .photo-slider-wrapper { max-width: 520px; height: 40vh; }
  .slides img { object-position: center; }
  .main-heading { font-size: 1.5rem; }
  .sub-heading { font-size: 1.5rem; padding: 8px; }
}

@media (max-width: 520px) {
  .photo-slider-wrapper { max-width: 360px; height: 35vh; }
  .scripture-text { font-size: 1rem; padding: 14px; }
  .main-heading { font-size: 1.5rem; }
  .sub-heading { font-size: 1.2rem; padding: 8px; }
  .countdown-box { gap: 5px;}
  .countdown-box div{ padding: 10px 15px; min-width: 10px;}
  .hero-section{ height: 25vh;}
  .hero-section .main-heading { font-size: 1.2rem;}
  .hero-section .sub-heading { font-size: 1rem;}
}
