/* === FONT DAFONT & GOOGLE INSTRUMENT SERIF IMPORT (@FONT-FACE) === */
@font-face {
  font-family: 'Bethany Elingston';
  src: url('fonts/BethanyElingston.otf') format('opentype'),
       url('fonts/BethanyElingston.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Galteniya';
  src: url('fonts/Galteniya.otf') format('opentype'),
       url('fonts/Galteniya.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Cherolina';
  src: url('fonts/Cherolina.otf') format('opentype'),
       url('fonts/Cherolina.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Darleston';
  src: url('fonts/Darleston.otf') format('opentype'),
       url('fonts/Darleston.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Griffiths';
  src: url('fonts/Griffiths.otf') format('opentype'),
       url('fonts/Griffiths.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* === CSS VARIABLES & BASE STYLES === */
:root {
  --ivory: #FAF8F4;      
  --white: #FFFFFF;      
  --ink: #1B1B1B;        
  --charcoal: #202020;   
  --sage: #8CA08E;       
  --sage-dark: #6F8577;  
  --marble: #F2F0ED;     
  
  --font-oranienbaum: 'Oranienbaum', serif;
  --font-kapakana: 'Kapakana', cursive;
  --font-luxurious: 'Luxurious Script', cursive;
  --font-sans: 'Montserrat', sans-serif;
  --font-arabic: 'Amiri', serif;
  --font-zen: 'Zen Antique', serif;
  --font-instrument: 'Instrument Serif', serif;
  --font-bethany: 'Bethany Elingston', 'Oranienbaum', serif;
  --font-galteniya: 'Galteniya', 'Luxurious Script', cursive;
  --font-cherolina: 'Cherolina', 'Luxurious Script', cursive;
  --font-darleston: 'Darleston', 'Luxurious Script', cursive;
  --font-griffiths: 'Griffiths', cursive;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-weight: 400 !important;
}

html, body {
  background-color: var(--marble);
  color: var(--ink);
  font-family: var(--font-sans);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  height: auto;
  filter: grayscale(100%) contrast(1.05);
  transition: transform 0.6s ease;
}

.toast-notification {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  background: var(--charcoal);
  color: var(--ivory);
  padding: 12px 24px;
  font-size: 11px;
  letter-spacing: 0.15em;
  border-radius: 30px;
  z-index: 10001;
  opacity: 0;
  transition: all 0.4s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.toast-notification.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* === LAYOUT SPLIT SYSTEM === */
.app-container {
  display: flex;
  width: 100vw;
  min-height: 100vh;
}

.desktop-left-pane {
  display: none;
  width: 50%;
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  background-color: var(--ivory);
  z-index: 10;
  border-right: 1px solid rgba(0,0,0,0.05);
  overflow: hidden;
}

.desktop-right-pane {
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  background-color: var(--marble);
}

.mobile-wrapper {
  width: 100%;
  max-width: 480px;
  background-color: var(--ivory);
  box-shadow: 0 0 40px rgba(0,0,0,0.08);
  position: relative;
  min-height: 100vh;
}

@media (min-width: 992px) {
  .desktop-left-pane { display: block; }
  .desktop-right-pane { margin-left: 50%; width: 50%; }
}

/* === OVERLAY COVER / ENVELOPE === */
#envelope-cover {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--ivory);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1);
}

#envelope-cover.open {
  transform: translateY(-100%);
}

.cover-main-grid {
  display: grid;
  grid-template-columns: 50% 50%;
  width: 100%;
  height: 100vh;
  position: relative;
}

.cover-left-side {
  background-color: var(--ivory);
  padding: 16px 6px 160px 10px;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
  height: 100vh;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.cover-eyebrow-vertical {
  font-family: var(--font-sans);
  font-size: clamp(14px, 2.2vh, 18px);
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.88;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: 28px;
  will-change: transform, opacity;
}

.cover-vertical-names-container {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  white-space: nowrap;
  height: calc(100vh - 180px);
  width: 100%;
  position: relative;
  left: -10px;
  top: 15px;
  will-change: transform, opacity;
}

.cover-name-part {
  font-family: var(--font-oranienbaum);
  font-size: clamp(48px, 11.5vh, 110px);
  line-height: 0.9;
  color: var(--ink);
  letter-spacing: 2px;
  text-transform: uppercase;
  display: inline-block;
  will-change: transform, opacity;
}

.cover-dan-part {
  font-family: var(--font-griffiths);
  font-size: clamp(40px, 9vh, 90px);
  line-height: 0.9;
  color: var(--ink);
  margin: 4px 0;
  display: inline-block;
  will-change: transform, opacity;
}

/* PERBAIKAN COVER PHOTOS: PRESISI 1:1, PROFESSIONAL & SIMETRIS TANPA OVERFLOW */
.cover-right-photos {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 0;
  padding: 0;
  z-index: 2;
  overflow: hidden;
}

.cover-photo-item {
  width: 100%;
  height: 33.333vh;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 0 !important;
  flex-shrink: 0;
  display: block;
  will-change: transform, opacity;
}

.cover-bottom-area {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 160px 16px 20px 16px;
  background: linear-gradient(to top, rgba(250, 248, 244, 1) 0%, rgba(250, 248, 244, 0.95) 60%, rgba(250, 248, 244, 0.5) 88%, transparent 100%) !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 10;
}

.guest-card-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  top: -120px;
  z-index: 11;
  will-change: transform, opacity;
}

.guest-eyebrow {
  font-size: 8px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.8;
  margin-bottom: 4px;
}

.guest-name-text {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 14px;
}

.btn-open-invitation {
  background-color: var(--sage);
  color: var(--ivory);
  border: none;
  padding: 10px 24px;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 30px;
  transition: background-color 0.3s, transform 0.3s;
  position: relative;
  z-index: 12;
}

.btn-open-invitation:hover {
  background-color: var(--sage-dark);
  transform: scale(1.03);
}

/* === HERO SECTION IN-CONTENT === */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
  background-color: var(--ivory);
  overflow: hidden;
}

.hero-left {
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 100%;
}

.hero-bg-card {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin-bottom: 20px;
  background-color: var(--marble);
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 !important;
  filter: grayscale(100%) contrast(1.05) brightness(0.68);
  will-change: transform, opacity, filter;
}

.hero-initials-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  white-space: nowrap;
}

.initial-a {
  font-family: var(--font-zen);
  font-size: clamp(80px, 18vw, 120px);
  color: #FFFFFF !important;
  line-height: 1;
  margin-right: -14px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.initial-b {
  font-family: var(--font-kapakana);
  font-size: clamp(90px, 20vw, 135px);
  color: #FFFFFF !important;
  line-height: 1;
  margin-left: -14px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.hero-text-content {
  padding: 0 20px 32px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  will-change: transform, opacity;
}

.hero-title-script {
  font-family: var(--font-luxurious);
  font-size: clamp(42px, 9.5vw, 70px);
  line-height: 1.0;
  margin-bottom: 10px;
}

.hero-subtext {
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1.5;
  margin-bottom: 12px;
}

/* === SECTION ISLAMIC / QURAN VERSE === */
#section-islamic {
  padding: 40px 24px;
  position: relative;
  z-index: 4;
}

.islamic-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.islamic-photo-wrapper {
  width: 100%;
  overflow: hidden;
}

.islamic-img-pipih {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  border-radius: 0 !important;
  will-change: transform, opacity;
}

.islamic-middle-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 8px 0;
  will-change: transform, opacity, filter;
}

.islamic-text-center { text-align: center !important; }

.islamic-middle-content .arabic-text {
  font-size: 19px;
  line-height: 1.7;
  margin: 6px 0 10px 0;
}

.islamic-middle-content .hero-subtext {
  font-size: 9.5px;
  line-height: 1.6;
  letter-spacing: 0.18em;
  margin-bottom: 0;
}

.islamic-middle-content .eyebrow {
  font-size: 9px;
  margin-top: 10px;
  letter-spacing: 0.25em;
}

/* === COUPLE PROFILE SECTION === */
.couple-section-wrapper {
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-top: 60px;
  padding-bottom: 60px;
}

.couple-card-row {
  display: flex;
  align-items: center;
  width: 100%;
  height: 190px;
  background-color: var(--sage);
  margin-bottom: 16px;
  overflow: hidden;
  will-change: transform, opacity;
}

.couple-photo-block {
  width: 135px;
  height: 100%;
  flex-shrink: 0;
  will-change: transform, opacity;
}

.couple-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 !important;
  display: block;
}

.couple-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  flex-grow: 1;
  padding: 16px 20px;
  color: var(--ivory);
}

.couple-text-left {
  text-align: left !important;
  color: var(--ivory) !important;
  will-change: transform, opacity;
}

.script-header.groom-name-large,
.script-header.bride-name-large {
  font-family: var(--font-darleston);
  font-size: 38px !important;
  line-height: 1.1;
  margin-bottom: 6px;
}

.eyebrow.couple-text-left {
  font-size: 9.5px;
  letter-spacing: 0.18em;
  line-height: 1.5;
  margin-bottom: 8px;
  opacity: 0.95;
}

.social-link.couple-text-left {
  font-size: 10px;
  letter-spacing: 0.2em;
  margin-top: 0;
  color: var(--ivory) !important;
  text-decoration: none;
}

/* === SECTION DETAIL ACARA & FONT INSTRUMENT SERIF === */
.events-white-arch {
  background-color: var(--white);
  color: var(--ink);
  border-top-left-radius: 240px;
  border-top-right-radius: 240px;
  padding: 80px 24px 60px 24px;
  margin-top: 20px;
  position: relative;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.03);
}

.save-the-date-header {
  text-align: center;
  margin-bottom: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding-left: 0;
}

.font-bethany {
  font-family: var(--font-bethany);
  font-size: 56px;
  line-height: 0.8;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-block;
  will-change: transform, opacity;
}

.font-galteniya {
  font-family: var(--font-galteniya);
  font-size: 62px;
  line-height: 0.8;
  color: var(--ink);
  margin: -2px 0 2px 0;
  transform: translateY(6px);
  text-transform: lowercase;
  display: inline-block;
}

.events-white-arch .event-card {
  border: none;
  padding: 24px 20px;
  text-align: center;
  margin-bottom: 24px;
  background-color: transparent;
  will-change: transform, opacity;
}

.events-white-arch .event-card .script-header {
  font-family: var(--font-cherolina);
  font-size: 44px;
  color: var(--ink);
}

.event-date-instrument {
  font-family: var(--font-instrument);
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin-bottom: 4px;
}

.countdown-container .num-instrument {
  font-family: var(--font-instrument);
  font-size: 38px;
  line-height: 1;
  color: var(--ink);
  display: block;
}

/* === SECTION LIVE STREAMING: PERBAIKAN SEJAJAR PRESISI IKON & TEKS === */
.btn-icon-flex {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  line-height: 1;
}

.btn-video-svg {
  width: 16px;
  height: 16px;
  fill: var(--ivory);
  flex-shrink: 0;
  display: block;
}

.btn-icon-flex span {
  display: inline-block;
  line-height: 1;
}

/* === SECTION DIGITAL GIFT: FONT DARLESTON === */
.digital-gift-title {
  font-family: var(--font-darleston) !important;
  font-size: 42px !important;
  letter-spacing: 0.04em !important;
  text-transform: none !important;
  margin-bottom: 18px !important;
}

/* === SECTION GALLERY === */
.gallery-sage-bg {
  background-color: var(--sage) !important;
  color: var(--ivory) !important;
}

.gallery-random-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
  align-items: center;
}

.gallery-item {
  width: 100%;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  border-radius: 0 !important;
  display: block;
  transition: transform 0.6s ease;
  will-change: transform, opacity;
}

.gallery-img:hover {
  transform: scale(1.04);
}

.grid-span-tall { grid-column: span 5; aspect-ratio: 2 / 3; }
.grid-span-square { grid-column: span 7; aspect-ratio: 1 / 1; }
.grid-span-wide { grid-column: span 12; aspect-ratio: 16 / 9; }
.grid-span-portrait { grid-column: span 7; aspect-ratio: 4 / 5; }

/* === SECTION OUTRO & 2 FOTO 21:9 SLIDESHOW === */
.outro-quote-container {
  padding: 24px 16px;
  margin-bottom: 20px;
  position: relative;
  will-change: transform, opacity, filter;
}

.quote-mark {
  font-family: var(--font-oranienbaum);
  font-size: 54px;
  line-height: 0.8;
  color: var(--sage);
  display: block;
  margin-bottom: 12px;
}

.outro-quote-text {
  font-family: var(--font-oranienbaum);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  letter-spacing: 0.04em;
  font-style: italic;
  margin-bottom: 16px;
}

.quote-author {
  font-size: 9.5px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--sage);
  display: block;
}

.outro-slider-219 {
  width: 100%;
  aspect-ratio: 21 / 9;
  position: relative;
  overflow: hidden;
  margin: 28px 0;
  background-color: var(--marble);
}

.outro-img-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
  border-radius: 0 !important;
}

.outro-img-item.active {
  opacity: 1;
}

.outro-guest-thanks {
  font-size: 11px;
  line-height: 1.8;
  letter-spacing: 0.06em;
  color: var(--ink);
  opacity: 0.85;
  margin-top: 36px;
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
}

/* === DRESSCODE, STORY, RSVP, GIFT === */
.dresscode-sage-bg {
  background-color: var(--sage) !important;
  color: var(--ivory) !important;
  text-align: center;
  padding: 60px 24px !important;
}

.dresscode-icon-wrapper {
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.dresscode-icon-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
  filter: none;
}

.story-slider-wrapper { width: 100%; overflow: hidden; position: relative; }
.story-slider {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 16px;
  scroll-behavior: smooth;
}

.story-card {
  flex: 0 0 82%;
  max-width: 320px;
  scroll-snap-align: center;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.story-img-container { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; }
.story-img { width: 100%; height: 100%; object-fit: cover; }
.story-content { padding: 20px 16px; text-align: left; }
.story-date { font-size: 9px; letter-spacing: 0.25em; color: var(--sage); display: block; margin-bottom: 6px; }
.story-heading { font-family: var(--font-oranienbaum); font-size: 18px; color: var(--ink); margin-bottom: 8px; }
.story-desc { font-size: 11px; line-height: 1.6; opacity: 0.8; color: var(--ink); }
.story-scroll-hint { text-align: center; font-size: 9.5px; letter-spacing: 0.18em; opacity: 0.5; margin-top: 10px; text-transform: uppercase; }

.form-group { margin-bottom: 20px; }
.form-input {
  width: 100%;
  padding: 14px;
  background: transparent;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 11.5px;
  outline: none;
}

.rsvp-list {
  margin-top: 32px;
  max-height: 300px;
  overflow-y: auto;
  border-top: 1px dashed rgba(0,0,0,0.2);
  padding-top: 16px;
}

.rsvp-item { padding: 12px 0; border-bottom: 1px solid rgba(0,0,0,0.05); font-size: 11px; }

.gift-detail {
  display: none;
  margin-top: 24px;
  padding: 24px 20px;
  background-color: var(--sage) !important;
  color: var(--ivory) !important;
  text-align: center;
}

.gift-card-item {
  background: rgba(255,255,255,0.08);
  padding: 20px 16px;
  border: 1px solid rgba(255,255,255,0.15);
}

.gift-bank-name { font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ivory); opacity: 0.9; }
.gift-account-number { font-size: 18px; letter-spacing: 0.15em; margin: 8px 0 4px 0; color: var(--ivory); }
.gift-account-holder { font-size: 10.5px; opacity: 0.85; margin-bottom: 14px; color: var(--ivory); }
.gift-address-text { font-size: 11px; line-height: 1.6; margin: 10px 0; color: var(--ivory); }

.btn-copy-sage {
  background: var(--ivory);
  color: var(--ink);
  border: none;
  padding: 8px 20px;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
}

.audio-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--ivory);
  border: none;
  cursor: pointer;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.25);
  transition: transform 0.3s ease;
}

.audio-btn:hover { transform: scale(1.08); }
.audio-svg-icon { width: 22px; height: 22px; fill: var(--ivory); }

.watermark-footer {
  background-color: var(--charcoal);
  color: var(--ivory);
  text-align: center;
  padding: 44px 20px;
  font-size: 10.5px;
  letter-spacing: 0.2em;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.watermark-brand-link { display: inline-block; margin-bottom: 20px; }
.watermark-logo-img { height: 28px; width: auto; filter: brightness(0) invert(1); }

.sosmed-svg-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 6px;
}

.sosmed-svg-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
}

.sosmed-svg-item:hover {
  background: var(--sage);
  border-color: var(--sage);
  transform: translateY(-3px);
}

.svg-icon { width: 18px; height: 18px; fill: var(--ivory); }

section { padding: 80px 24px; background-color: var(--ivory); position: relative; }
.section-title { font-size: 11px; letter-spacing: 0.35em; text-transform: uppercase; text-align: center; margin-bottom: 48px; }
.script-header { font-family: var(--font-luxurious); font-size: 42px; text-align: center; margin-bottom: 12px; }
.arabic-text { font-family: var(--font-arabic); font-size: 24px; line-height: 1.8; margin: 12px 0; }
.countdown-container { display: flex; justify-content: center; gap: 16px; margin: 32px 0; }
.time-box { text-align: center; will-change: transform, opacity; }
.time-box .label { font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; }

.btn-sage {
  display: inline-block;
  background-color: var(--sage);
  color: var(--ivory);
  padding: 14px 28px;
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
  will-change: transform, opacity;
}

.btn-sage:hover { background-color: var(--sage-dark); }

#lightbox {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

#lightbox img { max-width: 90%; max-height: 80%; filter: none; }

@media (max-width: 768px) {
  .hero-text-content { text-align: center; padding: 0 20px 28px 20px; }
  #section-islamic { padding: 30px 20px; }
  .font-bethany { font-size: 44px; }
  .font-galteniya { font-size: 48px; }
  .events-white-arch .event-card .script-header { font-size: 36px; }
  .initial-a { font-size: 64px; }
  .initial-b { font-size: 72px; }
  .story-card { flex: 0 0 88%; }
}