#nav_bar{
    background-color: #001d3d;

    display:flex;
    justify-content:center;
    gap:10px;
    width: 100%;
    margin-right:10px;
    padding: 15px 0;
}
#nav_bar > li{
    list-style:none;
    font-family: 'Noto Sans', sans-serif;
    font-size: 18px;
    font-weight: 500;
}
#nav_bar > li > a{
    text-decoration: none;
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    transition: all 0.3s ease;
    display: inline-block;
}
#nav_bar > li > a:hover{
    background-color: rgba(0, 167, 225, 0.3);
    color: #00A7E1;
    transform: translateY(-2px);
}
* {
  box-sizing: border-box;
}

p {
  font-size: 1.1rem;
  line-height: 1.8;
  font-family: 'Noto Sans', sans-serif;
  font-weight: 400;
  color: #333;
}

blockquote {
  position: relative;
  padding-left: 1.5rem;
  font-family: 'Libre Baskerville', serif;
  font-size: 1.5rem;
  line-height: 1.5;
  letter-spacing: 0;
  color: white;
}
blockquote:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: #00A7E1;
  border-radius: 60px;
}

figure {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
}

.hero {
  position: relative;
  width: 100vw;
  height: 100vh;
}
.hero:nth-child(1) figure {
  background-image: url("./assets/AB13571E-0CFE-4448-8ED9-9F64E054E761.jpeg");
}
.hero:nth-child(2) figure {
  background-image: url("./assets/4D436F6D-767E-4E30-B556-9C81637F04E0.jpeg");
}
.hero:nth-child(3) figure {
  background-image: url("./assets/congregation_3.jpeg");
}
.hero:nth-child(4) figure {
  background-image: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/225363/photo-1501785888041-af3ef285b470.jpg");
}

.hero-inner {
  position: absolute;
  overflow: hidden;
  width: 100%;
  height: 100%;
  clip: rect(0, auto, auto, 0);
}
@supports (-webkit-overflow-scrolling: touch) {
  .hero-inner {
    clip: unset;
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
            clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
  }
}

.hero__title {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  padding: 0 1rem;
  width: 100%;
  height: 100%;
  color: white;
  font-family: 'Libre Baskerville', serif;
  font-size: 7vw;
  font-weight: 700;
  letter-spacing: 0.05rem;
  text-align: center;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}
@media (min-width: 1200px) {
  .hero__title {
    font-size: 5rem;
  }
}

.content {
  position: relative;
  margin: 0;
  padding: 2rem;
}
.content:before {
  content: "";
  display: block;
  position: absolute;
  top: -100px;
  left: 0;
  width: 100%;
  height: 100px;

  z-index: 99;

}
.about-section {
    padding: 60px 40px;
    text-align: center;
    background-color: #003459;
    color: white;
  }

.about-section h1 {
    font-family: 'Libre Baskerville', serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.02rem;
  }
.content__inner {
  margin: 0 auto;
  max-width: 700px;
}
.content__inner > * + * {
  margin-top: 1.5rem;
}
.content__inner > blockquote {
  margin: 3rem 0;
}

.content__title {
  font-family: 'Libre Baskerville', serif;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.02rem;
  text-align: center;
  color: white;
}
@media (min-width: 600px) {
  .content__title {
    font-size: 3rem;
  }
}

.content__author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4rem;
  width: 100%;
  font-family: "Courgette", serif;
  font-size: 1.5rem;
  letter-spacing: -0.125rem;
  text-align: center;
}
.content__author:before, .content__author:after {
  content: "";
  flex: 1;
  height: 2px;
  background-color: #a9c4df;
}
.content__author:before {
  margin-right: 1rem;
}
.content__author:after {
  margin-left: 1rem;
}

.image-container {
    display: flex;
    justify-content: center;
    padding: 60px 20px;
    background-color: #003459;
  }

  .pastor-card {
    width: 100%;
    max-width: 700px;
  }

  .pastor-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  }

  .pastor-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
  }

  .pastor-bio {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #001d3d;
    color: white;
    padding: 30px;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.6s ease-out, opacity 0.6s ease-out;
  }

  .pastor-bio h4 {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: white;
  }

  .pastor-bio p {
    font-family: 'Noto Sans', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
  }

  #mission_statement{
    display:none;
    background-color: #003459;
    clear:both;
    width:50%;
  }
  #mission_statement_text{
    margin-top:40px;
    margin-bottom:100px;
    padding:40px;
    background-color: #003459;
  }

  #mission_statement_text p {
    color: rgba(255, 255, 255, 0.95);
    font-family: 'Noto Sans', sans-serif;
    font-size: 1.1rem;
    line-height: 1.9;
  }
  section{
    margin-top:0;
  }
  .footer {
    margin: 0;
    background-color: #001d3d;
    padding: 20px 0;
  }

  .footer .nav-link,
  .footer p {
    color: white !important;
  }

  .footer .nav {
    border-bottom: none !important;
  }

  .footer .nav-link:hover {
    color: #00A7E1 !important;
  }

/* ==================== MOBILE RESPONSIVE STYLES ==================== */

/* Tablet and below (768px) */
@media (max-width: 768px) {
    #nav_bar {
        flex-wrap: wrap;
        gap: 8px;
        padding: 15px 10px;
    }

    #nav_bar > li {
        font-size: 14px;
    }

    .hero__title {
        font-size: 10vw;
        padding: 0 15px;
    }

    p {
        font-size: 1rem;
        line-height: 1.6;
    }

    blockquote {
        font-size: 1.5rem;
        padding-left: 1rem;
    }

    .content {
        padding: 1.5rem;
    }

    .content__title {
        font-size: 2rem;
    }

    .content__author {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }

    .image-container {
        padding: 30px 15px;
    }

    .pastor-card {
        max-width: 100%;
    }

    .pastor-bio {
        padding: 20px;
    }

    .pastor-bio h4 {
        font-size: 1.4rem;
    }

    .pastor-bio p {
        font-size: 0.95rem;
    }

    .about-section {
        padding: 30px 20px;
    }

    #mission_statement {
        width: 100%;
    }

    #mission_statement_text {
        margin-top: 20px;
        margin-bottom: 50px;
        padding: 20px;
    }

    .footer {
        padding: 30px 15px;
    }

    .footer .nav {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}

/* Small mobile (480px and below) */
@media (max-width: 480px) {
    #nav_bar {
        gap: 5px;
        padding: 10px 5px;
    }

    #nav_bar > li {
        font-size: 12px;
    }

    .hero__title {
        font-size: 12vw;
    }

    p {
        font-size: 0.95rem;
    }

    blockquote {
        font-size: 1.2rem;
    }

    .content__title {
        font-size: 1.6rem;
    }

    .content__author {
        font-size: 1rem;
    }

    .pastor-bio {
        padding: 15px;
    }

    .pastor-bio h4 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .pastor-bio p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}