
/* === Base Reset === */
body {
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  padding-top: 80px;
  background-color: #fff;
  color: #333;
}

a {
  text-decoration: none;
  color: inherit;
}

.navbar-nav .nav-link {
  font-size: 1.4rem; /* Increase size (adjust as needed) */
  font-weight: 500;
  padding: 0.75rem 1rem;
}

.navbar-brand img {
  max-height: 70px;
  width: auto;
}



h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
}

/* === Hero Section === */
.hero-section {
  position: relative;
  height: 100vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  z-index: 1;
}
.hero-section .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 0;
}
.hero-section .container {
  position: relative;
  z-index: 2;
}



/* === About, Services, Sermons, Events === */
section {
  padding: 60px 0;
}
section.bg-light {
  background-color: #f8f9fa;
}

/* Navbar collapsed menu styling */
.navbar-nav .nav-link {
  font-size: 1.1rem;
  font-weight: 500;
  padding: 0.75rem 1rem;
}

@media (max-width: 991px) {
  .navbar-collapse {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 0.5rem;
  }

  .navbar-nav .nav-item {
    margin-bottom: 0.5rem;
  }

  .navbar .btn {
    width: 100%;
  }
}

/* Custom sticky navbar background behavior on mobile */
.custom-navbar {
  background-color: #ffffff;
  z-index: 1030;
  transition: background-color 0.3s ease-in-out;
}

/* On collapse (mobile) — narrow dropdown aligned to right */
@media (max-width: 991px) {
  .custom-collapse {
    position: absolute;
    top: 100%;
    right: 0;
    width: 250px;
    background-color: #f8f9fa;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 8px 8px;
    padding: 1rem;
    z-index: 1029;
  }

  .navbar-nav .nav-link {
    display: block;
    text-align: left;
    padding: 0.5rem 1rem;
  }

  .navbar .btn {
    width: 100%;
    margin-top: 0.5rem;
  }
}


/* === Card Layout === */
.card {
  border: none;
  border-radius: 8px;
  overflow: hidden;
}
.card img {
  width: 100%;
  height: auto;
  display: block;
}
.card-body {
  padding: 1rem;
}
.card-title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

/* === Testimonies Carousel === */
.carousel .carousel-item {
  transition: opacity 0.8s ease-in-out;
}
.carousel .carousel-item p {
  font-style: italic;
}

/* === Bible Verse === */
.fade-in {
  animation: fadeIn 1s ease-in-out;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === Contact Form === */
form .form-control {
  border-radius: 5px;
}
form button {
  margin-top: 10px;
}

#donate h5 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

#donate p.fw-bold {
  font-size: 1.9rem;
  color: #000;
}


/* === Footer === */
footer {
  background-color: #111;
  color: #ccc;
}
footer h5 {
  color: #fff;
}
footer a {
  color: #ccc;
}
footer a:hover {
  text-decoration: underline;
}

/* === Fix for white space below hero carousel === */
.hero-carousel-section {
  height: 100vh;
  overflow: hidden;
  padding: 0;
  margin: 0;
}

.hero-carousel-section .carousel,
.hero-carousel-section .carousel-inner,
.hero-carousel-section .carousel-item {
  height: 100vh;
  margin: 0;
  padding: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Optional: reset any stacking spacing */
.hero-carousel-section + section {
  margin-top: 0 !important;
  padding-top: 60px;
}

/* === Fix Hero Carousel Text + Button Visibility & Centering === */
.hero-carousel-section .carousel-item {
  height: 100vh;
  background-size: cover;
  background-position: center;
  position: relative;
}

.carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6); /* darker for better contrast */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.carousel-content {
  z-index: 2;
  color: white;
  padding: 2rem;
  max-width: 800px;
  text-align: center;
}

.carousel-content h1,
.carousel-content p {
  color: #fff !important;
}

.carousel-content a.btn {
  margin-top: 1rem;
}


/* === Slide-down animation for navbar collapse === */
@keyframes slideDown {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.navbar-collapse {
  animation: slideDown 0.3s ease-in-out;
}

/* Logo animation */
@keyframes logoBounce {
  0% { transform: scale(0.9); opacity: 0; }
  50% { transform: scale(1.05); opacity: 1; }
  100% { transform: scale(1); }
}

.navbar-brand img {
  animation: logoBounce 0.8s ease-out 0.2s both;
}




