body {
  margin: 0;
  padding-top: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: black;
}

/* ── CHAPEL HERO ─────────────────────────────────────────────────── */

.chapel-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.chapel-hero-img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 100vh;
  object-fit: cover;
}

.chapel-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 10, 0.38);
  pointer-events: none;
}

.chapel-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 45%;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.97));
  pointer-events: none;
  z-index: 1;
}

.chapel-hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
  color: white;
}

.hero-cross {
  width: 32px;
  height: 32px;
  margin-bottom: 28px;
  filter: invert(1) brightness(2);
  opacity: 1;
}

.hero-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 5.5vw, 4rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55);
  margin: 0 0 22px;
  max-width: 820px;
}

.hero-rule {
  width: 48px;
  height: 1px;
  background: white;
  margin: 0 auto 20px;
}

.hero-address {
  font-family: Lato, Arial, sans-serif;
  font-size: clamp(0.62rem, 1vw, 0.76rem);
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: white;
  margin: 0;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.scroll-arrow {
  font-size: 1rem;
  color: white;
  margin-top: 60px;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(10px); }
}

/* ── INTERIOR CHAPEL SECTION ─────────────────────────────────────── */

.interior-section {
  position: relative;
  width: 100%;
  background-image: url('../icons/chapel-interior.jpg');
  background-size: cover;
  background-position: center center;
  margin-top: -2px;
  background-repeat: no-repeat;
}

.interior-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 220px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.97), transparent);
  pointer-events: none;
  z-index: 1;
}

.interior-section::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 220px;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.97));
  pointer-events: none;
  z-index: 1;
}

.interior-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.48);
  pointer-events: none;
}

/* ── NEWMAN PORTRAIT SECTION ─────────────────────────────────────── */

.newman-section {
  position: relative;
  width: 100%;
  flex: 1;
  background-image: url('../icons/newman-portrait.jpg');
  background-size: cover;
  background-position: center top;
  margin-top: -2px;
  background-repeat: no-repeat;
}

.newman-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 220px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.97), transparent);
  pointer-events: none;
  z-index: 1;
}

.newman-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
  pointer-events: none;
}

/* ── NEWMAN QUOTE ────────────────────────────────────────────────── */

.newman-quote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-style: italic;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  margin: 40px auto 0;
  padding: 0 48px;
  max-width: 680px;
  line-height: 1.7;
  position: relative;
  z-index: 2;
}

.newman-quote cite {
  display: block;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 16px;
}

/* ── SHARED CENTERED CONTENT ─────────────────────────────────────── */

.centered-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
  padding: 200px 48px;
  text-align: center;
}

.interior-section .centered-content {
  padding: 340px 48px;
}

.about-us,
.history {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  font-style: italic;
  color: white;
  text-align: center;
  margin: 0;
  letter-spacing: 0.18em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}

.about-us::after,
.history::after {
  content: '—\2003\271D\FE0E\2003—';
  display: block;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: normal;
  font-size: 0.75rem;
  color: white;
  margin: 18px auto 26px;
  letter-spacing: normal;
  text-align: center;
}

.about-text,
.history-text {
  font-family: Lato, Arial, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 2;
  color: white;
  text-align: center;
  margin: 0;
  padding: 0;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   RESPONSIVE — intermediate widths (split screen, small laptop, tablet)
   ========================================================================== */
@media screen and (max-width: 900px) {
  .centered-content {
    padding: 140px 36px;
  }
  .interior-section .centered-content {
    padding: 220px 36px;
  }
  .about-text,
  .history-text {
    font-size: 15px;
  }
}

@media screen and (max-width: 650px) {
  .centered-content {
    padding: 100px 24px;
  }
  .interior-section .centered-content {
    padding: 160px 24px;
  }
  .about-us,
  .history {
    font-size: 1rem;
  }
  .about-text,
  .history-text {
    font-size: 14px;
    line-height: 1.8;
  }
  .hero-cross {
    width: 24px;
    height: 24px;
  }
  .scroll-arrow {
    margin-top: 36px;
  }
}

@media screen and (max-width: 480px) {
  .centered-content {
    padding: 72px 20px;
  }
  .interior-section .centered-content {
    padding: 100px 20px;
  }
  .about-text,
  .history-text {
    font-size: 13px;
    line-height: 1.75;
  }
  .hero-title {
    letter-spacing: 0.02em;
  }
}

/* iOS Safari fix — background-attachment: fixed doesn't render correctly on mobile */
@media (hover: none) and (pointer: coarse) {
  .interior-section,
  .newman-section {
    background-attachment: scroll;
  }
}