/* =======================
Reset & Base Styles ========================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: #333;
}

/* Container helper */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* =======================
Navbar Styles
========================== */

/* Sticky Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #bac3c596;
  box-shadow: 0 2px 2px #b2c0c396;
  height: 60px;
  display: flex;
}

/* This controls overall navbar padding */
.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding-left: 0.5rem; /* Left spacing for logo */
  padding-right: 0.5rem; /* Right spacing for nav links */
}

/* Logo container */
.logo {
  display: flex;
  align-items: center;
  height: 85px; /* Match image height */
  padding-left: 0;
  margin-left: -55px; /* Moves logo container closer to the left edge */
  gap: 0; /* Controls spacing between image and text */
}

.logo-text {
  font-family: "Fondamento", cursive;
  font-size: 2rem;
  color: #010404;
  line-height: 1;
  margin-left: -18px;
  padding: 0;
}

.logo img {
  height: 85px;
  width: auto;
  object-fit: contain;
  display: inline-block;
  margin: 0;
  padding: 0;
}

.logo a {
  text-decoration: none;
  color: inherit;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.nav-links a:hover {
  color: #4e5051;
}

/* // Desktop menu underline animation */
.nav-links a {
  position: relative;
  padding-bottom: 3px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: #333;
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Hide hamburger by default */
.hamburger {
  display: none;
}

/* Floating Get Started Button */
.btn-get-started {
  position: fixed;
  bottom: 6rem;
  right: 2rem;
  background: #0e0f11;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  border: 2px solid #16161696;
  font-weight: 400;
  text-decoration: none;
  box-shadow: 0 2px 6px #ccc;
  z-index: 1000;
  transition: background 0.3s ease;
}

.btn-get-started:hover {
  background: #3c3c3c9c;
}

/* =======================
Sections
========================== */

/* Sections common */
.section {
  min-height: 100vh;
  padding: 4rem 0;
  display: flex;
  align-items: center;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 95vh;
  background: url("../images/Hero\ Image.jpg") center center/cover no-repeat;
  display: block;
  padding: 2rem;
  margin-top: -5px;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: right;
  position: relative;
  padding: 2rem;
}

/* Hero message box */
.hero-message {
  background-color: #b2c0c396;
  padding: 1.5rem 2rem;
  border-radius: 8px;
  display: inline-block;
  color: #481a1e;
  max-width: 550px;
  font-family: "Cormorant Garamond", serif;
  position: relative;
  margin-top: 14%;
  left: 39%;
  z-index: 1;
}

/* Main heading */
.hero-message h4 {
  font-weight: 400;
  font-size: 2.2rem;
  margin-bottom: 2rem;
}

/* Subtitle */
.hero-message .hero-subtitle {
  font-size: 1.5rem;
  font-weight: 300;
  color: #444;
  font-style: italic;
  margin: 0;
}

.hero-buttons {
  position: absolute;
  bottom: 7.7rem;
  right: 13rem;
  z-index: 1;
}

.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 400;
  font-size: 1rem;
  box-shadow: 0 2px 6px #ccc;
  transition: all 0.3s ease;
}

.btn-light {
  padding: 0.95rem 1.6rem;
  border-radius: 25px;
  border: 2px solid #ffffff96;
  background: #ffffff;
  color: #0d0d0c;
}

.btn-light:hover {
  background: #f8f9f996;
  color: #3e3e3c;
}

/* About Section */
.about-section {
  background: url("../images/Ephesians_4_15-1920x1080.jpg") center center/cover
    no-repeat;
  display: flex;
  justify-content: flex-start;
  padding: 4rem 2rem;
  position: relative;
  font-family: "Cormorant Garamond", serif;
}

.about-content {
  display: flex;
  flex-direction: column;
  justify-content: left;
  align-items: flex-start;
  max-width: 600px;
}

.about-message-box {
  background-color: #b2c0c396;
  padding: 2rem;
  border-radius: 8px;
  margin-left: -45%;
  max-width: 400px;
  max-height: 520px;
  margin-bottom: 12%;
  color: #222;
}

.about-message-box h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.about-message-box p {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.about-btn .btn {
  background: #fff;
  color: #2c3031;
  position: absolute;
  padding: 0.5rem 1.5rem;
  left: 6%;
  bottom: 13%;
}

.about-btn .btn-light:hover {
  background: #2c3031;
  color: #fff;
}

.about-btn .btn:hover {
  background: #f8f9f996;
  color: #3e3e3c;
}

/* Readings Section */
.readings-section {
  background: #f8f8f8;
  color: #333;
  flex-direction: column;
  padding: 6rem 0;
  overflow: visible;
  z-index: 1;
}

.readings-section h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-family: "Inter", regular;
  font-size: 2rem;
}

/* Carousel container */
.carousel {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding: 2rem 0;
  scroll-behavior: smooth;
  cursor: pointer;
}

.carousel::-webkit-scrollbar {
  display: none;
}

.carousel {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Story card wrapper */
.story-card {
  flex: 0 0 auto;
  width: 250px;
  height: 400px;
  padding: 1rem;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, z-index 0.3s ease;
  position: relative;
  z-index: 1;
  cursor: pointer;
}

.story-card:hover,
.story-card.active {
  transform: scale(1.2);
  z-index: 50;
}

.story-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  margin-bottom: 0.8rem;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

.story-card h4 {
  font-size: 0.8rem;
  margin: 0.5rem 0 0;
  color: #222;
}

.story-card .story-description {
  font-size: 0.7rem;
  color: #555;
  margin-bottom: 0.5rem;
}

.story-card .story-reference {
  font-size: 0.7rem;
  color: #888;
}

.carousel-wrapper {
  position: relative;
}

/* =======================
The Footer
========================== */
footer {
  background-color: #82020bff;
  color: #f0f0f0;
  padding: 1.2rem 1rem;
  font-size: 0.9rem;
  font-family: Inter, sans-serif;
}

.footer-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-top {
  margin-bottom: 1rem;
}

.footer-logo {
  font-size: 2rem;
  color: white;
}

.footer-social-icons a img {
  width: 26px;
  height: 20.8px;
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

#x-logo {
  width: 19px;
  height: auto;
}

.footer-social-icons a:hover img {
  transform: scale(1.2);
}

.footer-separator {
  width: 1150px;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
  margin: 2rem auto;
  border-radius: 1px;
}

.footer-bottom {
  justify-content: space-between;
  font-size: 0.8rem;
}

.footer-links a {
  color: #ccc;
  margin-right: 1.5rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:last-child {
  margin-right: 0;
}

.footer-links a:hover {
  color: #f3c677;
}

.footer-copyright {
  color: #888;
}

/* Back To The Top Button */
#scrollTopBtn {
  position: fixed;
  bottom: 2rem;
  right: 1.5rem;
  background-color: #fff;
  color: #82020b;
  border: none;
  border-radius: 50%;
  padding: 0.7rem 0.8rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  z-index: 1000;
  display: none;
  transition: all 0.3s ease;
}

#scrollTopBtn:hover {
  background-color: #f3c677;
  color: #000;
}

#scrollTopBtn img {
  width: 20px;
  height: 20px;
}

/* ============================================================
   RESPONSIVE DESIGN – HOMEPAGE + NAVBAR + HERO + ABOUT + FOOTER
   Mobile-first adjustments for screens <= 900px
   ============================================================ */

@media (max-width: 900px) {
  /* ============================
   MOBILE NAV — SLIDE DOWN MENU
   ============================ */

  /* Show hamburger on mobile */
  .hamburger {
    display: block;
    background: none;
    border: none;
    font-size: 2rem;
    padding: 0.5rem;
    cursor: pointer;
    z-index: 3000;
  }

  /* Hide desktop nav */
  .nav-links {
    display: none;
  }

  /* Mobile Nav Container */
  #mobileNavContainer {
    width: 100%;
    position: absolute;
    top: 60px; /* directly below navbar */
    left: 0;
    z-index: 3000;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.35s ease;
  }

  /* When menu is open */
  #mobileNavContainer.menu-open {
    max-height: 500px; /* enough to show all */
  }

  /* Mobile nav box */
  .mobile-nav {
    background: white;
    border-bottom: 1px solid #ddd;
    display: flex;
    flex-direction: column;
    padding: 0.5rem;
    position: relative;
  }

  /* Highlight bar */
  .mobile-nav .highlight-bar {
    position: absolute;
    left: 0;
    width: 100%;
    height: 44px;
    background: #ececec;
    border-radius: 6px;
    opacity: 0;
    transition: top 0.25s ease, opacity 0.2s ease;
    z-index: 1;
  }

  /* Mobile links */
  .mobile-nav a {
    padding: 0.9rem 0.7rem;
    z-index: 2;
    font-size: 1.1rem;
    color: #222;
    text-decoration: none;
  }

  /* Overlay — BELOW menu, ABOVE page */
  .menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2000;
  }

  /* ------------------------------
     HERO SECTION
  ------------------------------- */
  .hero-message {
    left: 0;
    margin-top: 3rem;
    max-width: 100%;
    text-align: left;
  }

  .hero-message h4 {
    font-size: 1.6rem;
  }

  .hero-subtitle {
    font-size: 1.2rem !important;
  }

  .hero-buttons {
    position: static;
    margin-top: 2rem;
    text-align: left;
  }

  .btn-light {
    padding: 0.8rem 1.2rem;
  }

  /* ------------------------------
     ABOUT SECTION
  ------------------------------- */
  .about-section {
    padding: 3rem 1.5rem;
    background-position: center;
  }

  .about-content {
    max-width: 100%;
  }

  .about-message-box {
    margin-left: 0;
    max-width: 100%;
    height: auto;
  }

  .about-btn .btn {
    position: static;
    margin-top: 1.5rem;
  }

  /* ------------------------------
     READINGS CAROUSEL
  ------------------------------- */
  .carousel {
    gap: 1rem;
    padding: 1.5rem 0;
  }

  .story-card {
    width: 200px;
    height: 350px;
  }

  .story-card img {
    height: 150px;
  }

  .story-card h4 {
    font-size: 0.9rem;
  }

  .story-card .story-description,
  .story-card .story-reference {
    font-size: 0.75rem;
  }

  /* ------------------------------
     FOOTER
  ------------------------------- */
  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .footer-separator {
    width: 90%;
    margin: 1.5rem auto;
  }

  #scrollTopBtn {
    bottom: 1.5rem;
    right: 1rem;
  }
}
/* ============================================================
   END RESPONSIVE
============================================================ */
