 body {
  font-family: 'Poppins', sans-serif;
  background-color: #fffce8;
  margin: 0;
  padding: 0;
  color: #333;
}

header {
  background: #fff;
  padding: 20px 10px;
  text-align: center;
  box-shadow: 0 2px 8px #0000001a;
  position: relative;
  z-index: 10;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 10px;
  text-align: center;
}

.header-logo {
  width: 80px;
  height: auto;
}

.header-title h1 {
  font-size: 1.8rem;
  margin: 0;
}

.header-title p {
  margin: 0;
  color: #666;
  font-size: 0.9rem;
}

/* Navigation */
.main-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap; 
  gap: 30px; 
  margin-top: 10px;
  padding-bottom: 10px;
}

.main-nav a {
  text-decoration: none;
  color: black;
  font-weight: 600;
  font-size: 1rem;
  position: relative;
  padding-bottom: 5px;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: black;
  transition: width 0.3s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

/* Optional: Mobile Tweak */
@media (max-width: 500px) {
  .main-nav {
    gap: 15px;
    font-size: 0.95rem;
  }
}

.contact-hero {
  background: #fff9d6;
  text-align: center;
  padding: 60px 20px;
  border-bottom: none;
  box-shadow: inset 0 -2px 6px rgba(0, 0, 0, 0.1);
}

.contact-hero h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.priests {
  padding: 40px 20px;
  display: flex;
  justify-content: center;
}

.priest-card {
  display: flex;
  align-items: center; /* This centers text vertically */
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.priest-image {
  width: 300px;
  border-radius: 10px;
  flex-shrink: 0;
}

.priest-info {
  max-width: 600px;
  flex: 1;
}


.priest-info h3 {
  font-size: 1.8rem;
  margin-top: 0;
  margin-bottom: 15px;
}

.map-container {
  text-align: center;
  padding: 40px 20px;
}
iframe {
  width: 100%;
  max-width: 600px;
  height: 300px;
  border: none;
  border-radius: 8px;
}

.contact-details {
  text-align: center;
  padding: 30px 20px;
}

.contact-icons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  padding: 40px 20px;
  text-align: center;
}

.contact-card {
  max-width: 250px;
}

.contact-icon {
  font-size: 2.5rem;
  color: black;
  margin-bottom: 15px;
}


.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

body {
  opacity: 0;
  animation: bodyFadeIn 1.2s ease forwards;
}

@keyframes bodyFadeIn {
  to {
      opacity: 1;
  }
}

footer {
  margin-top: 60px;
  padding: 20px;
  background: #eee;
  font-size: 0.9rem;
  color: #555;
  text-align: center;
}

.facebook-link a {
  display: inline-block;
  background-color: #4267B2;
  padding: 12px 24px;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.facebook-link a:hover {
  background-color: #758db8;
}

/* DESKTOP NAV STYLING */
.main-nav {
  display: flex;
  gap: 20px;
}

.main-nav a {
  text-decoration: none;
  color: black;
  font-weight: 600;
}
/* MOBILE MENU BUTTON + DROPDOWN */
.mobile-menu-wrapper {
display: none;
position: relative;
}

.menu-toggle {
  background-color: #8f0349;
  color: black;
  border: none;
  padding: 10px 16px;
  font-size: 1rem;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
}

.mobile-menu {
  display: none;                        /* Hidden by default */
  flex-direction: column;              /* Stack items vertically */
  width: 100%;                          /* Fill the width of the header */
  background-color: #8f0349; /* Dark background */
  border-radius: 8px;
  margin-top: 10px;                    /* Space below the button */
  position: static;                    /* 🔁 FIXED: back in document flow */
}

.mobile-menu a {
padding: 15px;
text-decoration: none;
color: black;
border-bottom: 1px solid #444;
}

.mobile-menu a:hover {
background: rgba(255, 255, 255, 0.1);
}

/* RESPONSIVE BEHAVIOR */
@media (max-width: 768px) {
.main-nav {
  display: none;
}

.mobile-menu-wrapper {
  display: block;
}
}

.mobile-nav {
  display: none;
  width: 100%;
}
