/* ============================= */
/* General Reset + Base Layout   */
/* ============================= */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Merriweather', serif;
  background: #fdfcf7;
  color: #333;
  scroll-behavior: smooth;

  /* Sticky footer support */
  display: flex;
  flex-direction: column;
  min-height: 100vh;

  /* Offset for fixed navbar */
  padding-top: 140px;
}

main {
  flex: 1; /* pushes footer to bottom */
}

footer {
  flex-shrink: 0;
  font-size: 0.9rem;
  position: relative;
  bottom: 0;
  width: 100%;
}

/* ============================= */
/* Sections & Headings           */
/* ============================= */
.section {
  padding: 80px 20px;
}

h1, h2, h3 {
  color: #800000; /* Maroon */
}

h2, h3, h4, h5 {
  color: #800000;
}

p {
  font-size: 16px;
  line-height: 1.6;
}

/* ============================= */
/* Hero Section                  */
/* ============================= */
/*
.hero {
  height: 100vh;
  background: url('../images/church.jpg') no-repeat center center/cover;
  position: relative;
}
*/
.hero .overlay {
  background: rgba(128, 0, 0, 0.6); /* Maroon overlay */
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  padding: 20px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

#home .carousel-caption {
  top: 50% !important;
  transform: translateY(-70%) !important;
  bottom: auto !important;
}

/* ============================= */
/* Buttons                       */
/* ============================= */
.btn-gold {
  background: #DAA520;
  color: #fff;
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  transition: 0.3s;
  font-weight: bold;
}
.btn-gold:hover {
  background: #b8860b;
}

.btn-maroon {
  background-color: #800000;
  color: #FFD700;
  border: none;
  padding: 15px 25px;
  font-size: 1.1rem;
  transition: 0.3s;
}
.btn-maroon:hover {
  background-color: #a00000;
  color: #fff;
}

/* ============================= */
/* Navbar                        */
/* ============================= */
.navbar {
  background: rgba(0, 0, 0, 0.6);
  padding: 15px;
  text-align: center;
  box-shadow: 0px 3px 8px rgba(0,0,0,0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  margin-bottom: 10px;
}

/* ============================= */
/* Event Cards                   */
/* ============================= */
.event-card {
  background: #fff;
  padding: 20px;
  border: 2px solid #DAA520;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}
.event-card:hover {
  transform: translateY(-5px);
}

/* ============================= */
/* Carousel Hero (Home)          */
/* ============================= */
#home .carousel-inner {
  height: 100vh;
}
#home .carousel-inner img {
  height: 100vh;
  width: 100vw;
  object-fit: cover;
  object-position: top;
}

@media (max-width: 992px) {
  #home .carousel-inner {
    height: 70vh;
  }
  #home .carousel-inner img {
    height: 70vh;
  }
}
@media (max-width: 576px) {
  #home .carousel-inner {
    height: 60vh;
  }
  #home .carousel-inner img {
    height: 60vh;
  }
  #home .carousel-caption h1 {
    font-size: 1.5rem;
  }
  #home .carousel-caption p {
    font-size: 1rem;
  }
}

/* ============================= */
/* Gallery                       */
/* ============================= */
#gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 5px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}
#gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* ============================= */
/* Cards (Events, News, Books)   */
/* ============================= */
#events .card img,
#latest-news .card img,
#spiritual-books .card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 5px 5px 0 0;
}

/* ============================= */
/* Contact Section               */
/* ============================= */
.contact-section {
  background: #f9f5f0;
  padding: 60px 20px;
  text-align: center;
}
.contact-section h2 {
  font-size: 2.2em;
  color: #7b0000;
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
}
.contact-section h2::after {
  content: "";
  width: 60%;
  height: 3px;
  background: #7b0000;
  position: absolute;
  bottom: -10px;
  left: 20%;
}
.contact-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}
.contact-card {
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  width: 280px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
.contact-card i {
  font-size: 2em;
  color: #7b0000;
  margin-bottom: 10px;
}
.contact-card h3 {
  font-size: 1.3em;
  margin-bottom: 8px;
  color: #333;
}
.contact-card p {
  color: #555;
  font-size: 1em;
}

/* ============================= */
/* Dropdown                      */
/* ============================= */
.dropdown-menu {
  background: #fff8f0;
}
.dropdown-item {
  color: #333;
}
.dropdown-item:hover {
  background: #800000;
  color: #FFD700;
}

/* ============================= */
/* Belief/Saint Images           */
/* ============================= */
.belief-img-container {
  width: 100%;
  max-width: 400px;
  height: 250px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  margin: 0 auto;
}
.belief-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================= */
/* Managing Committee Cards      */
/* ============================= */
.card {
  transition: transform 0.3s, background-color 0.3s, color 0.3s;
  cursor: pointer;
}
.card:hover {
  transform: translateY(-5px);
  background-color: #800000;
  color: #fff;
}
.card:hover .card-title,
.card:hover .card-text {
  color: #fff;
}
.card-title i,
.card-text i {
  color: #fff;
}
.card-text i {
  min-width: 18px;
}

/* ============================= */
/* Images                        */
/* ============================= */
.img-fluid {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}




