@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Text:ital@0;1&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
  }
  html {
  scroll-behavior: smooth;
}

.main-header.is-sticky {
  position: fixed;
  top: 0;
  left: 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
  h1{
font-family: "Montserrat", sans-serif;
font-weight: 700;
  }
 
/* ---------- HEADER BASE ---------- */
.main-header {
  background-color: #f5f3f1;
  padding: 18px 40px;
  /*position: fixed;*/
  top: 0;
  width: 100%;
    min-height: 20vh !important;
  z-index: 1000;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1440px;
  margin: 0 auto;
}



/* ---------- main heading ---------- */
/*.header-leftspan_1 {*/
/*       font-size: 37px;*/
/*    font-weight: 500;*/
/*    font-family: "DM Serif Text", serif;*/
/*    color: #000 !important;*/
/*      text-align:center;*/
/*    gap: 8px;*/
    
/*    letter-spacing: 4.5px !important;

}*/
/* Hide on all screens by default */
.header-leftspan_1 {
    display: none ;
}

/* ---------- main heading closed ---------- */




/* ---------- LEFT ---------- */
.header-left {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #444;
  font-size: 1.9rem;
  text-transform: uppercase;
  letter-spacing: 4.5px !important;
}


/* ---------- CENTER ---------- */
.header-center .brand-logo img {
  width: 120px;
  display: block;
}

/* ---------- RIGHT ---------- */
.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

/*.header-right .menu-text {*/
/*  font-size: 0.9rem;*/
/*  color: #444;*/
/*  text-transform: uppercase;*/
/*  letter-spacing: 1px;*/
/*}*/

.menu-toggle {
  background: none;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  color: #333;
}

/* ---------- NAV MENU ---------- */
.nav-menu {
  position: absolute;
  top: 150px;
  right: 0;
  background: #ffffff;
  width: 100%;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  text-align: center;
  opacity: 0;
  z-index: 999;
}

.nav-menu.active {
  max-height: 400px;
  opacity: 1;
  border-top: 1px solid #ddd;
}

.nav-menu ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 25px 0;
    justify-content: space-around;
}

.nav-menu ul li {
  margin: 15px 0;
}

.nav-menu ul li a {
  text-decoration: none;
  color: #333;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-menu ul li a:hover {
  color: #2928a0;
}
.header-left span {
    font-size: 37px;
    font-weight: 500;
      font-family: "DM Serif Text", serif;
      color: #000 !important;
}

/* ---------- OPTIONAL: HOVER UNDERLINE ---------- */
.nav-menu ul li a::after {
  content: "";
  display: block;
  height: 1px;
  width: 0;
  background: #84a4a5;
  transition: width 0.3s;
}

.nav-menu ul li a:hover::after {
  width: 100%;
}

  a {
      text-decoration: none;
    }

    /* ---------- HERO SECTION ---------- */
    /*.hero-section {*/
    /*  position: relative;*/
    /*  height: 100vh;*/
    /*  background: url("https://adelaidepentecost.com.au/images/gallery/galleryimg2.webp")*/
    /*    center/cover no-repeat;*/
    /*  display: flex;*/
    /*  align-items: center;*/
    /*  justify-content: flex-start;*/
    /*  color: #fff;*/
    /*}*/
.hero-section {
  position: relative;
  height: 69vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: #fff;
}

/* LCP image */
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

    .hero-overlay {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(0, 0, 0, 0.8);
      z-index: 1;
    }

    .hero-content {
      position: relative;
      z-index: 12;
      max-width: 700px;
      padding: 0 80px;
    }

    .hero-content h1 {
      font-size: 3rem;
      font-weight: 600;
      margin-bottom: 15px;
      line-height: 1.2;
    }

    .hero-content p {
      font-size: 1.1rem;
      color: #f0f0f0;
      margin-bottom: 25px;
      max-width: 600px;
    }

    .hero-btn {
      display: inline-block;
      background-color: #2928a0;
      color: #fff;
      padding: 12px 30px;
      border-radius: 6px;
      font-weight: 500;
      transition: background-color 0.3s ease, transform 0.3s ease;
    }

    .hero-btn:hover {
      background-color: #0200ff;
      transform: translateY(-3px);
    }
    
   .home-contact {
    background: url('https://adelaidepentecost.com.au/images/3_and_4_change_to_this_photo_50.webp') no-repeat center center;
    background-size: cover;
    padding: 50px;
    color: #000000;
    z-index: 1;
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
}
.home-contact::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
}
.home-contact p, .home-contact strong, .home-contact a {
    color: #fff !important;
}
.home-contact h2 {
    color: #fff !important;
    font-size: 35px;
    padding-bottom: 10px;
}
.home-contact #contactForm input::placeholder, .home-contact #contactForm textarea::placeholder {
    color: #fff !important;
}
.home-contact .contact-details {
    margin-bottom: 0px;
}
.page-section.contact-section {
    display: none;
}
.home-contact .contact-form button {
    background: #fff;
    color: #000;
    margin-top: 30px;
}

    /* ---------- PAGE SECTIONS ---------- */
    .page-section {
      display: grid;
      grid-template-columns: 1fr 1fr;
      align-items: center;
      /*min-height: 80vh;*/
    }

    .text-block {
      padding: 25px 60px;
    }

    .text-block h2 {
      font-size: 2.2rem;
      font-weight: 600;
      margin-bottom: 15px;
      color: #000;
    }

    .text-block p {
      color: #555;
      font-size: 1.05rem;
      line-height: 2rem;
      margin-bottom: 20px;
    }

    .text-block a {
      color: #000;
      font-weight: 500;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      transition: 0.3s;
    }

    .text-block a:hover {
      color: #6f9192;
    }


    /* ---------- SECTION COLORS ---------- */
    .visit-section { background-color: #eef4f4; }
    .fellowship-section { background-color: #f8eaea; }
    .faith-section { background-color: #ecf7f4; }
    .stories-section { background-color: #f7f3e9; }
    .contact-section { background-color: #eaf3f7; }

 

/*Footer*/
/* ---------- FOOTER BASE ---------- */
.site-footer {
  background-color: #f5f3f1;
  padding: 40px 20px;
  border-top: 1px solid #e5e5e5;
}

.footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  text-align: center;
  gap: 20px;
}

/* ---------- LEFT SECTION ---------- */
.footer-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 0.9rem;
  color: #444;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}



/* ---------- CENTER SECTION ---------- */
.footer-center .footer-logo img {
  width: 120px;
  display: block;
  margin: 0 auto;
}

/* ---------- RIGHT SECTION ---------- */
.footer-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-right .social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #333;
  text-decoration: none;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s;
}

.footer-right .social-link:hover {
  color: #84a4a5;
}

.footer-right i {
  font-size: 1rem;
}



/*.gallery-container {*/
/*    max-width: 1440px;*/
/*    margin: 0 auto;*/
/*    padding: 50px 0px;*/
/*}*/

.banner-gallery {
    background-image: url('../images/banner-gallery.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 20px;
    text-align: center;
    color: white;
    height: 350px;
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
}
.gallery-wrapper {
  padding: 70px 0;
  max-width: 1440px;
  width: 90%;
  margin: 0 auto;
}

/* Section */
.gallery-section {
  margin-bottom: 70px;
}

/* Header */
.gallery-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
}

.gallery-header h2 {
  font-size: 32px;
  font-weight: 700;
  color: #233251;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.gallery-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, #233251, transparent);
  opacity: 0.4;
}

/* Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

/* Image Card */
.img-box {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.img-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0,0,0,0.15);
}

/* Image */
.img-box img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.6s ease;
}

.img-box:hover img {
  transform: scale(1.08);
}


.img-box:hover::after {
  opacity: 1;
}

/* Lightbox */
#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#lightbox img {
  max-width: 92%;
  max-height: 92%;
  border-radius: 12px;
}

#lightbox .close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 42px;
  color: #fff;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
  .gallery-header h2 {
    font-size: 24px;
  }

  .img-box img {
    height: 200px;
  }
}



.footer-center {
    position: relative;
    left:-2%
}

/* ---------- HEADER SECTION ---------- */
.services-header {
  background-color: #f7f3e9;
  text-align: center;
  padding: 80px 25px 60px;
}

.services-header h1 {
  font-size: 2.5rem;
  color: #000;
  margin-bottom: 15px;
}

.services-header p {
  max-width: 800px;
  margin: 0 auto;
  color: #555;
  font-size: 1.05rem;
}

/* ---------- COMMON LAYOUT ---------- */
.section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.image-block img {
  width: 100%;
  height: 600px;
  object-fit: cover;
}



/*.text-block h2 {*/
/*  font-size: 40px;*/
/*  margin-bottom: 15px;*/
/*  color: #000;*/
/*}*/

/*.text-block p {*/
/*  color: #555;*/
/*  font-size: 1.05rem;*/
/*  margin-bottom: 15px;*/
/*}*/

/* ---------- COLORS ---------- */
.section-light { background-color: #ffffff; }
.section-soft { background-color: #eef4f4; }
.section-pink { background-color: #f8eaea; }
.section-beige { background-color: #f7f3e9; }

/* ---------- CONTACT BANNER ---------- */
.contact-banner {
  background-color: #ecf7f4;
  text-align: center;
  padding: 80px 20px;
}

.contact-banner h1 {
  font-size: 2.2rem;
  margin-bottom: 25px;
  color: #000;
}

.banner_dual_btn a {
  background-color: #000;
  
  color: #fff;
  padding: 14px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s;
}

.banner_dual_btn a:hover {
  background-color: #2928a0;
}




/* ====== Contact Page Styles ====== */

.contact-hero {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 80px;
}

.contact-hero .text {
  flex: 1 1 50%;
  background: #d9e9d6;
  padding: 60px;
  min-width: 300px;
}

.contact-hero .text h2 {
  text-transform: uppercase;
  font-size: 12px;
  color: #555;
  letter-spacing: 2px;
}

.contact-hero .text p {
  font-size: 20px;
  color: #244324;
  line-height: 1.6;
  margin-top: 10px;
}

.contact-hero .image {
  flex: 1 1 50%;
  min-height: 300px;
  background: url("https://adelaidepentecost.com.au/images/3_and_4_change_to_this_photo_50.webp") center/cover no-repeat;
}

.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1440px;
  width: 90%;
  margin: 0 auto;
  align-items: flex-start;
  margin-bottom: 60px;
}

.contact-info {
  flex: 1 1 45%;
}

.contact-info p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

.contact-info strong {
  display: block;
  margin-top: 15px;
  color: #000;
}

.contact-form {
  flex: 1 1 45%;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid #ccc;
  padding: 10px 5px;
  background: transparent;
  font-size: 15px;
  outline: none;
  transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #000;
}

.contact-form button {
  background: #000;
  color: #fff;
  border: none;
  padding: 12px 18px;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  width: fit-content;
}

.contact-form button:hover {
  background: #333;
}

.map {
  width: 100%;
  height: 400px;
  border: 0;
}

/* Worship section */
.worship-section {
  display: flex;
  flex-wrap: wrap;
  background: #f1e9dd;
  padding: 60px 40px;
  gap: 60px;
}

.worship-times {
  flex: 1 1 60%;
}

.worship-times h3 {
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.worship-times ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.worship-times li {
  font-size: 14px;
  line-height: 1.6;
}

.contact-summary {
  flex: 1 1 35%;
}

.contact-summary h3 {
  font-size: 18px;
  margin-bottom: 20px;
}

.contact-summary p {
  font-size: 14px;
  color: #555;
}

.contact-summary a {
  color: #000;
  font-weight: bold;
  text-decoration: none;
}

 /* ---------- SECTION BASE ---------- */
    .section {
      display: grid;
      grid-template-columns: 1fr 1fr;
      align-items: center;
    }

    /*.text-block {*/
    /*  padding: 80px 60px;*/
    /*}*/

    .text-block ul {
      margin-top: 15px;
      padding-left: 20px;
    }

    .text-block li {
      margin-bottom: 8px;
    }


    /* ---------- COLORS ---------- */
    .section-light {
      background-color: #ffffff;
    }

    .section-soft {
      background-color: #eef4f4;
    }

    .section-pink {
      background-color: #f8eaea;
    }

    .section-beige {
      background-color: #f7f3e9;
    }

    /* ---------- MISSION ICONS ---------- */
    .mission-item {
      display: flex;
      align-items: flex-start;
      gap: 15px;
      margin-bottom: 25px;
    }

    .icon-box {
      background-color: #000;
      color: #fff;
      padding: 12px;
      border-radius: 8px;
      font-size: 1.2rem;
      flex-shrink: 0;
    }

    /* ---------- CONTACT BANNER ---------- */
    .contact-banner {
      background-color: #ecf7f4;
      text-align: center;
      padding: 80px 20px;
    }

    .contact-banner h1 {
      font-size: 2.2rem;
      margin-bottom: 25px;
      color: #000;
    }

    .banner_dual_btn a {
      background-color: #000;
      color: #fff;
      padding: 14px 28px;
      border-radius: 6px;
      text-decoration: none;
      font-weight: 500;
      transition: background 0.3s;
    }

    .banner_dual_btn a:hover {
      background-color: #2928a0;
    }

    /* ---------- RESPONSIVE ---------- */
    @media (max-width: 900px) {
      .section {
        grid-template-columns: 1fr;
      }

      .text-block {
        padding: 60px 25px;
      }
      .text-block h2 {
        font-size: 1.8rem;
      }
    
      .services-header h1 {
        font-size: 2rem;
      }
    }
    
    /* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
    .main-header{
            min-height: auto !important;
    }
     .header-left {
    flex: 1;
    text-align: center;
    overflow: hidden;
  }

  .header-left span {
    font-size: 13px;
    text-overflow: ellipsis; /* Prevent overflow */
    overflow: hidden;
    display: block;
  }

  .header-center {
    flex: 0 0 auto;
  }

  .header-right {
    flex: 0 0 auto;
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-left, .footer-right {
    align-items: center;
  }

  .footer-left {
    order: 2;
  }

  .footer-center {
    order: 1;
  }
/*.header-leftspan_1 {*/
/*    display: block;*/
/*    font-size: 0.7rem;*/
/*    padding: 20px 0px 20px 0px;*/
/*    background-color: #2928a0;*/
/*    color: #fff !important;*/
/*    margin: 0px 0px 20px 0px;*/
/*}*/
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1440px;
    padding: 10px !important;
}
  .footer-right {
    order: 3;
  }
}
    @media (max-width: 900px) {
      .hero-section {
        height: 80vh;
        justify-content: center;
        text-align: center;
      }

      .hero-content {
        padding: 0 30px;
      }

      .hero-content h1 {
        font-size: 30px;
      }

      .hero-content p {
        font-size: 1rem;
      }

      .page-section {
        grid-template-columns: 1fr;
      }

      .text-block {
        padding: 60px 25px;
      }

      .text-block h2 {
        font-size: 1.8rem;
      }
    }
    
    /* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .main-header {
    padding: 0px;
  }


  .header-center .brand-logo img {
   width: 100px;
  }

  .nav-menu ul li a {
    font-size: 0.95rem;
  }
}
