/* ==========================================================================
   JESUS YOUTH AJCE - DIGITAL SANCTUARY DESIGN SYSTEM
   Theme: Peaceful, Warm, Minimal, Emotionally Engaging, Deeply Spiritual
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. COLOR PALETTE & DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  --warm-white: #F4FAF6;
  --soft-cream: #DAF1DE;
  --muted-gold: #235347;
  --gold-hover: #0B2B26;
  --gold-soft: rgba(35, 83, 71, 0.12);
  --olive-green: #163832;
  --olive-soft: rgba(22, 56, 50, 0.1);
  --charcoal: #051F20;
  --charcoal-light: #2E4E46;
  --bg-light: #F7FCF9;
  --card-bg: rgba(255, 255, 255, 0.9);
  --card-shadow: 0 10px 35px rgba(5, 31, 32, 0.03);
  --card-shadow-hover: 0 18px 45px rgba(5, 31, 32, 0.06);
  --border-subtle: rgba(35, 83, 71, 0.18);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. GLOBAL RESETS & TYPOGRAPHY
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-light);
  color: var(--charcoal);
  line-height: 1.85;
  letter-spacing: -0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Headings */
h1,
h2,
h3,
h4,
.serif-font {
  font-family: 'Bezoria', 'Playfair Display', Georgia, serif;
  font-weight: 600;
  color: var(--charcoal);
  line-height: 1.25;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
}

h4 {
  font-size: 1.2rem;
}

p {
  color: var(--charcoal-light);
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
}

p.lead {
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.9;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

/* --------------------------------------------------------------------------
   3. REUSABLE COMPONENTS & UTILITIES
   -------------------------------------------------------------------------- */
.section-wrapper {
  padding: 130px 24px;
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 70px auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--muted-gold);
  margin-bottom: 14px;
  padding: 4px 16px;
  background: var(--gold-soft);
  border-radius: 50px;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--charcoal-light);
  font-weight: 300;
  margin-top: 12px;
}

.divider-cross {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px 0;
  gap: 15px;
}

.divider-cross::before,
.divider-cross::after {
  content: '';
  height: 1px;
  width: 50px;
  background: var(--border-subtle);
}

.divider-cross i {
  color: var(--muted-gold);
  font-size: 0.9rem;
}

.card-sanctuary {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 44px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--card-shadow);
  transition: var(--transition-smooth);
  backdrop-filter: blur(12px);
}

.card-sanctuary:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(35, 83, 71, 0.35);
}

/* Buttons */
.btn-sanctuary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: var(--muted-gold);
  color: #FFFFFF;
  box-shadow: 0 8px 25px rgba(35, 83, 71, 0.28);
}

.btn-primary:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(35, 83, 71, 0.38);
}

.btn-secondary {
  background: var(--soft-cream);
  color: var(--charcoal);
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  background: #EFE8DA;
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   5. HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  background: linear-gradient(180deg, var(--soft-cream) 0%, var(--bg-light) 100%);
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 30%, rgba(35, 83, 71, 0.15) 0%, rgba(247, 252, 249, 0.9) 70%);
  pointer-events: none;
}

.hero-chapel-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.20;
  filter: sepia(20%) saturate(80%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
  margin: -40px auto 0 auto;
}

.hero-logo-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  background: rgba(255, 255, 255, 0.01);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border: none;
  border-radius: 100px;
  margin: 0 auto 28px auto;
  box-shadow: 0 10px 40px rgba(255, 255, 255, 0.03);
}

.hero-logo {
  height: 120px;
  width: auto;
  max-width: 100%;
  display: block;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: bolder;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--muted-gold);
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--charcoal);
  line-height: 1.18;
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--charcoal-light);
  margin-bottom: 40px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--muted-gold);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.7;
  transition: var(--transition-smooth);
}

.hero-scroll-indicator i {
  animation: bounceDown 2s infinite;
}

@keyframes bounceDown {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(6px);
  }

  60% {
    transform: translateY(3px);
  }
}

/* --------------------------------------------------------------------------
   6. DAILY BIBLE VERSE SECTION (SACRED CARD)
   -------------------------------------------------------------------------- */
.verse-section {
  background: var(--soft-cream);
  padding: 100px 24px;
  position: relative;
}

.verse-card {
  max-width: 860px;
  margin: 0 auto;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 56px;
  text-align: center;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 15px 45px rgba(35, 83, 71, 0.15);
  position: relative;
  overflow: hidden;
}

.verse-card::before {
  content: '“';
  font-family: 'Bezoria', 'Playfair Display', serif;
  position: absolute;
  top: 10px;
  left: 35px;
  font-size: 140px;
  color: var(--gold-soft);
  line-height: 1;
  pointer-events: none;
}

.verse-tag {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--olive-green);
  font-weight: 600;
  margin-bottom: 24px;
  display: block;
}

.verse-text {
  font-family: 'Bezoria', 'Playfair Display', Georgia, serif;
  font-size: clamp(1.4rem, 2.8vw, 2.1rem);
  font-style: italic;
  color: var(--charcoal);
  line-height: 1.6;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.verse-ref {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--muted-gold);
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   7. ABOUT, MISSION & VISION SECTION
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--card-shadow-hover);
}

.about-image-frame img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
  transition: var(--transition-smooth);
}

.about-image-frame:hover img {
  transform: scale(1.03);
}

.about-badge-floating {
  position: absolute;
  bottom: 30px;
  right: 30px;
  background: rgba(250, 249, 246, 0.95);
  backdrop-filter: blur(10px);
  padding: 18px 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.about-badge-title {
  font-family: 'Bezoria', 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--charcoal);
}

.about-badge-sub {
  font-size: 0.8rem;
  color: var(--muted-gold);
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 60px;
}

.mv-card {
  padding: 36px;
  border-radius: var(--radius-md);
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  transition: var(--transition-smooth);
}

.mv-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow);
}

.mv-icon {
  width: 50px;
  height: 50px;
  background: var(--gold-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-gold);
  font-size: 1.2rem;
  margin-bottom: 20px;
}

/* --------------------------------------------------------------------------
   8. AUDIO DEVOTIONALS (KARUNA KONTHA & JAPAMALA)
   -------------------------------------------------------------------------- */
.audio-section {
  background: linear-gradient(180deg, var(--bg-light) 0%, var(--soft-cream) 100%);
}

.audio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 40px;
}

.audio-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.audio-artwork {
  height: 220px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 28px;
  position: relative;
}

.audio-artwork img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.audio-tag {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--olive-green);
  margin-bottom: 8px;
  display: block;
}

.audio-title {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.audio-desc {
  font-size: 0.95rem;
  color: var(--charcoal-light);
  margin-bottom: 28px;
}

/* Audio Player UI Controls */
.player-controls-wrapper {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid var(--border-subtle);
}

.player-main-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

.btn-play {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--muted-gold);
  color: #FFFFFF;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-play:hover {
  background: var(--gold-hover);
  transform: scale(1.05);
}

.player-status-text {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--charcoal);
}

.player-progress-bar {
  width: 100%;
  height: 5px;
  background: #EAE6DF;
  border-radius: 5px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.player-progress-fill {
  width: 0%;
  height: 100%;
  background: var(--muted-gold);
  transition: width 0.1s linear;
}

.player-timestamps {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #888888;
  margin-top: 8px;
}

/* --------------------------------------------------------------------------
   9. SAINT OF THE DAY
   -------------------------------------------------------------------------- */
.saint-section {
  padding: 120px 24px;
}

.saint-card-wrapper {
  max-width: 960px;
  margin: 0 auto;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--card-shadow);
  display: grid;
  grid-template-columns: 360px 1fr;
  overflow: hidden;
}

.saint-portrait-col {
  background: var(--soft-cream);
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-right: 1px solid var(--border-subtle);
}

.saint-avatar {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #FFFFFF;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  margin-bottom: 24px;
}

.saint-name {
  font-size: 1.8rem;
  margin-bottom: 6px;
}

.saint-feast {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted-gold);
}

.saint-details-col {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.saint-section-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--olive-green);
  margin-bottom: 8px;
}

.saint-quote-box {
  background: var(--bg-light);
  border-left: 3px solid var(--muted-gold);
  padding: 18px 24px;
  margin: 20px 0;
  font-family: 'Bezoria', 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--charcoal);
}

/* --------------------------------------------------------------------------
   10. UPCOMING EVENTS
   -------------------------------------------------------------------------- */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.event-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 36px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--card-shadow);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow-hover);
}

.event-date-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: var(--gold-soft);
  padding: 10px 18px;
  border-radius: 12px;
  width: max-content;
  margin-bottom: 24px;
}

.event-date-day {
  font-family: 'Bezoria', 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--muted-gold);
  line-height: 1;
}

.event-date-month {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--charcoal);
}

.event-title {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.event-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--charcoal-light);
  margin-bottom: 28px;
}

.event-meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.event-meta-item i {
  color: var(--muted-gold);
  font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   11. GALLERY & LIGHTBOX
   -------------------------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 260px;
  cursor: pointer;
  box-shadow: var(--card-shadow);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(43, 43, 43, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-smooth);
  color: #FFFFFF;
  font-size: 1.5rem;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-img {
  max-width: 85vw;
  max-height: 85vh;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #FFFFFF;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   12. CONTACT & PRAYER REQUEST
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 44px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--card-shadow);
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 28px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--muted-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-form {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 44px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--card-shadow);
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 8px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid #E2DDD5;
  background: var(--bg-light);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--charcoal);
  transition: var(--transition-smooth);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--muted-gold);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(35, 83, 71, 0.15);
}

/* Map Embed container */
.map-container {
  width: 100%;
  height: 220px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  margin-top: 24px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* --------------------------------------------------------------------------
   13. FOOTER
   -------------------------------------------------------------------------- */
.sanctuary-footer {
  background: var(--soft-cream);
  padding: 80px 24px 40px 24px;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
}

.footer-quote {
  font-family: 'Bezoria', 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.25rem;
  color: var(--charcoal);
  margin-bottom: 30px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  list-style: none;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--charcoal-light);
}

.footer-links a:hover {
  color: var(--muted-gold);
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 30px;
}

.social-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--charcoal);
  transition: var(--transition-smooth);
}

.social-icon-btn:hover {
  background: var(--muted-gold);
  color: #FFFFFF;
  transform: translateY(-3px);
}

.footer-copy {
  font-size: 0.82rem;
  color: #888888;
}

/* --------------------------------------------------------------------------
   14. ANIMATION UTILITIES (SCROLL REVEAL)
   -------------------------------------------------------------------------- */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   15. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {

  .about-grid,
  .mission-vision-grid,
  .audio-grid,
  .saint-card-wrapper,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .saint-card-wrapper {
    grid-template-columns: 1fr;
  }

  .saint-portrait-col {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
  }
}

@media (max-width: 768px) {
  .navbar-sanctuary .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(250, 249, 246, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 30px 0;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-150%);
    transition: transform 0.4s ease;
    border-bottom: 1px solid var(--border-subtle);
  }

  .navbar-sanctuary .nav-menu.active {
    transform: translateY(0);
  }

  .mobile-toggle {
    display: block;
  }

  .section-wrapper {
    padding: 80px 20px;
  }

  .verse-card,
  .card-sanctuary {
    padding: 30px 20px;
  }
}

/* ==========================================================================
   16. FLOATING BACK BUTTON & PATHWAYS UPDATES
   ========================================================================== */
.logo-top-left-container {
  position: absolute;
  top: 30px;
  left: 3%;
  z-index: 1000;
}

.logo-top-left {
  height: 90px;
  width: auto;
  object-fit: contain;
  transition: var(--transition-smooth);
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.05));
}

.logo-top-left:hover {
  transform: scale(1.05);
}

.back-home-container {
  position: absolute;
  top: 30px;
  left: 5%;
  z-index: 1000;
}

.back-home-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--charcoal-light);
  background: var(--card-bg);
  padding: 12px 24px;
  border-radius: 50px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(12px);
  transition: var(--transition-smooth);
}

.back-home-link:hover {
  color: var(--muted-gold);
  transform: translateX(-4px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(35, 83, 71, 0.35);
}

.back-home-link i {
  font-size: 0.85rem;
  transition: var(--transition-smooth);
}

.back-home-link:hover i {
  transform: translateX(-2px);
}

/* Pathways Two-Row Layout */
.pathways-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 40px;
}

.pathways-row-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.pathways-row-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 820px;
  margin: 0 auto;
  width: 100%;
}

@media (max-width: 992px) {
  .pathways-row-3col {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {

  .pathways-row-3col,
  .pathways-row-2col {
    grid-template-columns: 1fr;
  }

  .logo-top-left-container {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 1000;
  }

  .logo-top-left {
    height: 42px;
  }

  .hero-logo-wrapper {
    padding: 10px 24px;
    margin-bottom: 20px;
  }

  .hero-logo {
    height: 70px;
  }

  .hero-section {
    padding-top: 100px;
  }

  .back-home-container {
    position: relative;
    top: 20px;
    left: 20px;
    margin-bottom: -30px;
  }
}

/* Holy Qurbana Liturgy Reader */
.liturgy-container {
  max-width: 960px;
  margin: 0 auto;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--card-shadow);
  overflow: hidden;
}

.liturgy-tabs {
  display: flex;
  background: var(--soft-cream);
  border-bottom: 1px solid var(--border-subtle);
  overflow-x: auto;
  scrollbar-width: none;
}

.liturgy-tabs::-webkit-scrollbar {
  display: none;
}

.liturgy-tab-btn {
  flex: 1;
  min-width: 160px;
  padding: 20px 15px;
  background: none;
  border: none;
  font-family: 'Bezoria', 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--charcoal-light);
  cursor: pointer;
  transition: var(--transition-smooth);
  border-bottom: 3px solid transparent;
  text-align: center;
  white-space: nowrap;
}

.liturgy-tab-btn:hover {
  color: var(--muted-gold);
  background: rgba(35, 83, 71, 0.05);
}

.liturgy-tab-btn.active {
  color: var(--muted-gold);
  background: #FFFFFF;
  border-bottom-color: var(--muted-gold);
}

.liturgy-content {
  padding: 48px;
  min-height: 400px;
}

.liturgy-pane {
  display: none;
  animation: fadeIn 0.5s ease;
}

.liturgy-pane.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.liturgy-instruction {
  font-size: 0.88rem;
  color: var(--olive-green);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  border-bottom: 1px dashed var(--border-subtle);
  padding-bottom: 6px;
}

.liturgy-line {
  margin-bottom: 20px;
  line-height: 1.8;
}

.liturgy-role {
  font-weight: 700;
  font-family: 'Bezoria', 'Playfair Display', serif;
  font-size: 1rem;
  display: block;
  margin-bottom: 2px;
  letter-spacing: 0.02em;
}

.liturgy-role.celebrant {
  color: var(--muted-gold);
}

.liturgy-role.response {
  color: var(--charcoal);
}

.liturgy-text {
  font-size: 1.05rem;
  color: var(--charcoal-light);
}

.liturgy-text-italic {
  font-style: italic;
  font-family: 'Bezoria', 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  color: var(--charcoal);
}

@media (max-width: 768px) {
  .liturgy-content {
    padding: 30px 20px;
  }

  .liturgy-tab-btn {
    padding: 15px 10px;
    font-size: 0.95rem;
  }
}

/* Reveal on Scroll Animations */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   17. GLOBAL MODAL DIALOGS
   ========================================================================== */
.admin-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(5, 31, 32, 0.4);
  backdrop-filter: blur(5px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.admin-modal.active {
  display: flex;
}

.modal-content {
  background: white;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 50px rgba(5, 31, 32, 0.15);
  animation: modalFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-header {
  background: var(--soft-cream);
  padding: 20px 30px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-body {
  padding: 30px;
}