/* =======================
   Reset & Body
======================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f9f9f9;
}

/* =======================
   Navbar
======================= */
.navbar {
  background: #1a6a67;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  position: relative;
}

/* Wrap logo + tagline */
.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap; /* keep inline on mobile */
}

/* Logo text */
.logo {
  font-size: 20px;
  font-weight: bold;
  color: #fff;
}

/* Tagline */
.tagline {
  font-size: 14px;
  color: #f4b400;
  letter-spacing: 1px;
  font-weight: normal;
}

.nav-links ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

/* Hamburger */
.hamburger {
  display: none;
  font-size: 26px;
  cursor: pointer;
  color: #fff;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: #1a6a67;
  padding: 15px;
}

.mobile-menu a {
  color: #fff;
  padding: 10px 0;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

/* =======================
   Hero
======================= */
.hero {
  background: url('hero.jpg') center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 120px 20px;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: auto;
}

.hero h2 {
  font-size: 1rem;
  font-weight: bold;
  margin: 15px 0;
}

.hero h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #6dbfb8;
}

.hero p {
  margin-bottom: 20px;
}

.cta-btn {
  display: inline-block;
  background: #f4b400;
  color: #000;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}

.hero-icons {
  margin-top: 20px;
  font-size: 0.9rem;
}

.hero-icons span {
  display: inline-block;
  margin: 0 10px;
}

/* =======================
   Hero Heading
======================= */
.hero-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  flex-wrap: nowrap;
}

.hero-heading h1 {
  font-family: 'Black Ops One', cursive;
  font-size: clamp(32px, 6vw, 64px);
  color: #f4b400;
  margin: 0;
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 0.4em;
  white-space: nowrap;
}

.cross-icon {
  height: 1.5em;
  width: auto;
  color: #f4b400;
  flex-shrink: 0;
  transform: translateY(-2px);
}

/* =======================
   Scripture
======================= */
.scripture {
  background: #1a6a67;
  color: #fff;
  text-align: center;
  padding: 30px 20px;
  margin: 30px auto;
  border-radius: 8px;
  max-width: 900px;
}

.scripture blockquote {
  font-style: italic;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.scripture footer {
  font-weight: bold;
  font-size: 1.3rem;
  margin-top: 10px;
  color: #f4b400;
}

/* =======================
   Services
======================= */
#services {
  padding: 40px 20px;
  text-align: center;
}

#services h2 {
  margin-bottom: 30px;
  font-size: 2rem;
  color: #1a6a67;
}

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: auto;
}

.service-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  padding: 20px;
  text-align: left;
}

.service-card h3 {
  margin-bottom: 10px;
  color: #1a6a67;
}

.service-card ul {
  list-style: disc;
  padding-left: 20px;
}

@media (max-width: 992px) {
  .services {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .services {
    grid-template-columns: 1fr;
  }
  .service-card {
    text-align: center;
  }
  .service-card ul {
    list-style-position: inside;
    padding-left: 0;
  }
}

/* =======================
   Contact
======================= */
.contact {
  padding: 40px 20px;
  text-align: center;
  background: #eee;
}

/* =======================
   Global Headings
======================= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Black Ops One', cursive;
  font-weight: 400;
  letter-spacing: 1px;
}

/* =======================
   Popup & Modal
======================= */
.popup-overlay {
  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: 9999;
}

.popup-box {
  background: #fff;
  color: #333;
  padding: 30px;
  max-width: 400px;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.3);
  position: relative;
}

.close-btn {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 22px;
  cursor: pointer;
  color: #666;
}
.close-btn:hover { color: #000; }

.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.7);
}

.modal-content {
  background: #fff;
  padding: 20px;
  margin: 10% auto;
  border-radius: 8px;
  max-width: 500px;
  text-align: center;
  position: relative;
}

.modal-content h2 {
  margin-bottom: 20px;
  color: #1a6a67;
}

.modal-content input,
.modal-content textarea {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.modal-content button {
  margin-top: 10px;
}

.close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
  color: #333;
}

.gold {
  color: #f4b400;
}

/* Phone spacing */
.mobile-break::before {
  content: " | ";
}
.mobile-break { display: inline; }

@media (max-width: 600px) {
  .mobile-break::before { content: ""; }
  .mobile-break {
    display: block;
    margin: 6px 0 0 0;
    text-align: center;
  }
}

/* =======================
   Responsive Navbar
======================= */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
  .mobile-menu { display: none; }
  .tagline { font-size: 12px; }
}
/* Center logo on desktop & tablet */
@media (min-width: 769px) {
  .navbar {
    justify-content: space-between;
  }

  .logo-wrapper {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    flex-direction: column; /* logo stacked with tagline */
  }

  .nav-links {
    margin-left: auto; /* keep links on the right */
  }
}

