.intro-column a {
  color: #1f3c88;
  text-decoration: none;
  border-bottom: 1px dotted #1f3c88;
}

.intro-column a:hover {
  color: #0d2b6b;
  border-bottom-style: solid;
}
/* =========================================
   DESKTOP ZOOM SUPPORT (restore)
========================================= */

#modalImage.zoom-fullscreen {
  position: fixed;
  inset: 0;
  margin: auto;
  z-index: 2000;
  cursor: grab;
}

#modalImage.dragging {
  cursor: grabbing;
}

body.zoom-active .modal-backdrop {
  display: none !important;
}

#modalContent.zoom-mode .modal-body > *:not(#modalImage) {
  visibility: hidden;
}

/* =========================================
   GALLERY THUMBNAILS (DESKTOP DEFAULT)
========================================= */
 .laptopGallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 5 per row */
  gap: 8px;
}

.laptopGallery img {
  width: 100%;
  aspect-ratio: 3 / 4;      /* force vertical shape */
  object-fit: cover;        /* crop if needed */
  object-position: center;  /* crop from center */
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.laptopGallery img:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

#imageModal .modal-dialog {
  margin: 0 auto;
  max-width: 80vw;
  height: 100vh;
  display: flex;
  align-items: center;
}

#imageModal .modal-content {
  background: rgba(0, 0, 0, 0.95);
  border: none;
  width: 80vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  position: relative;
}

#imageModal .modal-body {
  padding: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Desktop image behavior */
#modalImage {
  object-fit: contain;
  max-height: 100%;
  max-width: 100%;
  transition: transform 0.25s ease;
  cursor: zoom-in;   /* desktop only feeling */
}

#imageModal .btn-close {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 10;
  filter: invert(1);
  transform: scale(1.2);
}


/* =========================================
   📱 MOBILE VERSION
========================================= */

@media (max-width: 768px) {


  /* Fullscreen modal */
  #imageModal .modal-dialog {
    margin: 0;
    max-width: 100vw;
  }

  #imageModal .modal-content {
    width: 100vw;
    height: 100vh;
    border-radius: 0;   /* edge-to-edge */
  }

  /* Image optimized for touch */
  #modalImage {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    cursor: default;
    touch-action: none;   /* enables pinch zoom */
  }

  /* Hide navigation arrows on mobile */
  #imageModal .nav-arrow {
    display: none !important;
  }
    /* Mobile gallery layout */
  .laptopGallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .laptopGallery img {
    width: 100%;
    aspect-ratio: 3 / 4;   /* vertical */
    object-fit: cover;     /* crop center */
    border-radius: 6px;
  }
    /* Remove folder indentation for gallery */
  .collapse.laptopGallery {
    padding-left: 0 !important;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;
  }
}

/*for about page */
 .hero-section {
  background:
    linear-gradient(rgba(0, 51, 102, 0.45), rgba(0, 51, 102, 0.45)),
    url('/images/church-desktop.webp') center/cover no-repeat;
  color: white;
  padding: 80px 20px;
  text-align: center;
}

/* Mobile version */

    .section-title {
      color: #003366;
      font-weight: 600;
      margin-bottom: 20px;
    }

    .construction-note {
      background-color: #f8f9fa;
      border-left: 4px solid #0d6efd;
      padding: 15px;
      font-style: italic;
    }
    .card-img-top {
  height: 180px;
  object-fit: cover;
}
.object-fit-cover {
  object-fit: cover;
}

img.h-100 {
  min-height: 100%;
}
.section-photo {
  width: 100%;
  max-height: 200px;   /* you choose the max height */
  object-fit: contain;
}
.document-viewer {
  width: 100%;
  max-width: 100%;
  background: rgba(219, 216, 216, 0.116);
  padding: 2rem;              /* Give breathing room */
  min-height: 100px;
  box-sizing: border-box;     /* Important */
}
/* Main Title */
.document-viewer h1 {
  font-family: "Monotype Corsiva", "Brush Script MT", cursive;
  color: #3a1d5d;              /* darker purple */
  text-align: center;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  font-weight: normal;
  letter-spacing: 0.5px;
  font-size: 1.8rem;
}

/* Section Titles */
.document-viewer h2 {
  font-family: "Monotype Corsiva", "Brush Script MT", cursive;
  color: #5a2d82;              /* liturgical purple */
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-weight: normal;
  letter-spacing: 0.5px;
  font-size: 1.6rem;
}

/* Paragraph Text */
.document-viewer p {
  font-family: "Monotype Corsiva", "Brush Script MT", cursive;
  color: #333;                 /* readable dark gray */
  line-height: 1.7;
  margin-bottom: 1.2rem;
  font-size: 1.4rem;
}
.document-viewer.pdf-mode {
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  height: 150vh;
}

/* PDF iframe */
.pdf-frame {
  width: 100%;
  height: 150vh;
  border: none;
}
.lent-hero {
  min-height: 100vh;
  background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
    url('/images/parish/cuaresma.webp') center/cover no-repeat;
  padding: 2rem;
}

/* Artistic middle sentence */
.lent-quote {
  font-family: 'Great Vibes', cursive;
  font-size: 3rem;
  font-weight: 400;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

/* Bottom informational text */
.hero-info {
  max-width: 800px;
  margin: 0 auto;
}
