/* ==========================================================================
   1. ROOT VARIABLES & GLOBAL RESETS
   ========================================================================== */
:root {
  --font-serif: 'EB Garamond', Georgia, serif;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --color-bg-dark: #171214;
  --color-glass: rgba(25, 20, 22, 0.85);
  --color-card-glass: rgba(255, 255, 255, 0.07);
  --color-border-subtle: rgba(255, 255, 255, 0.14);
  
  --color-gold: #c5a377;
  --color-gold-light: #ecdfcc;
  --color-gold-dark: #8d6e44;
  --color-white: #ffffff;
  --color-text-muted: #d9d9d9;
  --color-text-dim: #a5a5a5;
  
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 15px;
  background-color: var(--color-bg-dark);
}

body {
  font-family: var(--font-body);
  color: var(--color-white);
  line-height: 1.6;
  background-color: var(--color-bg-dark);
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
  height: 100vh;
}

.font-serif {
  font-family: var(--font-serif) !important;
}

.text-center {
  text-align: center;
}

/* ==========================================================================
   2. FIXED BACKGROUND VIDEO
   ========================================================================== */
.video-background-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

#bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

.video-dark-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(23, 18, 20, 0.45) 0%, rgba(15, 11, 13, 0.75) 100%);
}

/* ==========================================================================
   3. FLOATING CONTROLS & SIDE NAVIGATION
   ========================================================================== */
.floating-controls {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.float-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(23, 18, 20, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--color-gold-light);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
  transition: var(--transition-smooth);
}

.float-btn:hover {
  transform: scale(1.1);
  border-color: var(--color-gold);
  color: var(--color-white);
}

/* Side Navigation Drawer */
.side-nav-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 280px;
  height: 100vh;
  background: rgba(20, 16, 18, 0.95);
  backdrop-filter: blur(15px);
  border-left: 1px solid var(--color-border-subtle);
  z-index: 1001;
  padding: 30px 24px;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.7);
}

.side-nav-drawer.is-open {
  right: 0;
}

.side-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--color-border-subtle);
}

.nav-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--color-gold-light);
}

.btn-close-nav {
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

.side-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.nav-link i {
  width: 20px;
  color: var(--color-gold);
}

.nav-link:hover {
  color: var(--color-white);
  transform: translateX(6px);
}

/* ==========================================================================
   4. COVER / SPLASH SCREEN OVERLAY
   ========================================================================== */
.cover-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 25px;
  background: rgba(18, 14, 16, 0.65);
  backdrop-filter: blur(8px);
  transition: transform 0.85s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.85s ease;
}

.cover-screen.is-hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.cover-content-box {
  width: 100%;
  max-width: 460px;
  padding: 40px 25px;
  background: rgba(23, 18, 20, 0.7);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(197, 163, 119, 0.35);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.cover-sub-header {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 4px;
  color: var(--color-gold-light);
  margin-bottom: 8px;
}

.cover-couple-name {
  font-size: 3.2rem;
  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: 10px;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.cover-date {
  font-size: 0.9rem;
  color: var(--color-gold);
  letter-spacing: 1px;
  margin-bottom: 25px;
}

.cover-guest-card {
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 28px;
}

.guest-salutation {
  font-size: 0.8rem;
  color: var(--color-text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.guest-name {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--color-gold-light);
  margin: 6px 0 10px;
}

.guest-invitation-text {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.btn-open-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--color-white);
  padding: 13px 32px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: var(--transition-smooth);
}

.btn-open-pill:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: #121212;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(197, 163, 119, 0.4);
}

/* ==========================================================================
   5. DESKTOP SPLIT-SCREEN LAYOUT
   ========================================================================== */
.app-layout-wrapper {
  display: flex;
  width: 100%;
  min-height: 100vh;
  position: relative;
  z-index: 2;
}

/* Left Hero (Fixed on Desktop) */
.desktop-left-hero {
  position: fixed;
  top: 0;
  left: 0;
  width: 48%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px;
  text-align: center;
  z-index: 2;
}

.left-hero-inner {
  max-width: 480px;
}

.hero-tag {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 5px;
  color: var(--color-gold);
  margin-bottom: 12px;
}

.hero-couple-title {
  font-size: 4.4rem;
  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: 12px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.hero-date-line {
  font-size: 1.05rem;
  color: var(--color-gold-light);
  letter-spacing: 1.5px;
  margin-bottom: 24px;
}

.hero-divider {
  width: 80px;
  height: 2px;
  background: var(--color-gold);
  margin: 0 auto 24px;
}

.hero-quote {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Right Content Column (Scrollable) */
.main-content-column {
  margin-left: auto;
  width: 52%;
  max-width: 720px;
  min-height: 100vh;
  background: var(--color-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-left: 1px solid var(--color-border-subtle);
  box-shadow: -15px 0 40px rgba(0, 0, 0, 0.7);
  position: relative;
  z-index: 5;
}

/* ==========================================================================
   6. COMMON SECTION STYLES
   ========================================================================== */
section, footer {
  padding: 70px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sec-container {
  max-width: 560px;
  margin: 0 auto;
}

.section-head {
  margin-bottom: 40px;
}

.section-tag-gold {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 3px;
  color: var(--color-gold);
  text-transform: uppercase;
  margin-bottom: 8px;
  font-weight: 600;
}

.section-heading {
  font-size: 2.5rem;
  color: var(--color-white);
  line-height: 1.2;
  margin-bottom: 14px;
}

.section-title-large {
  font-size: 3.4rem;
  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: 16px;
}

.section-intro {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   7. HOME SECTION & QURAN CARD
   ========================================================================== */
.sec-home {
  padding-top: 90px;
}

.date-capsule {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(197, 163, 119, 0.15);
  border: 1px solid rgba(197, 163, 119, 0.35);
  color: var(--color-gold-light);
  padding: 8px 22px;
  border-radius: 30px;
  font-size: 0.85rem;
  margin-bottom: 35px;
}

.quran-quote-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border-subtle);
  border-radius: 16px;
  padding: 30px 22px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.arabic-script {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 2;
  color: var(--color-gold-light);
  margin-bottom: 16px;
  direction: rtl;
}

.quote-translation {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 12px;
}

.quote-source {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: var(--color-gold);
  font-weight: 600;
}

/* ==========================================================================
   8. COUPLE SECTION
   ========================================================================== */
.profile-card-modern {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border-subtle);
  border-radius: 18px;
  padding: 32px 20px;
  margin-bottom: 25px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

.profile-photo-arch {
  width: 200px;
  height: 270px;
  margin: 0 auto 22px;
  border-radius: 100px 100px 18px 18px;
  overflow: hidden;
  border: 2px solid rgba(197, 163, 119, 0.4);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.profile-card-modern:hover .profile-img {
  transform: scale(1.04);
}

.profile-full-name {
  font-size: 1.8rem;
  color: var(--color-white);
  margin-bottom: 2px;
}

.profile-nickname {
  font-size: 1.15rem;
  color: var(--color-gold-light);
  margin-bottom: 10px;
}

.profile-parents {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

.btn-instagram {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-white);
  text-decoration: none;
  font-size: 0.8rem;
  padding: 8px 18px;
  border-radius: 20px;
  transition: var(--transition-smooth);
}

.btn-instagram:hover {
  background: var(--color-gold);
  color: #121212;
  border-color: var(--color-gold);
}

.profile-ampersand {
  font-size: 3.2rem;
  color: var(--color-gold);
  margin: 10px 0 25px;
}

/* ==========================================================================
   9. JOURNEY OF LOVE (TIMELINE)
   ========================================================================== */
.story-banner-wrap {
  width: 100%;
  height: 250px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 35px;
  border: 1px solid var(--color-border-subtle);
}

.story-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.timeline-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.timeline-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step-marker {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(197, 163, 119, 0.2);
  border: 1.5px solid var(--color-gold);
  color: var(--color-gold-light);
  font-family: var(--font-serif);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border-subtle);
  border-radius: 14px;
  padding: 20px;
  flex: 1;
}

.step-title {
  font-size: 1.4rem;
  color: var(--color-gold-light);
  margin-bottom: 2px;
}

.step-time {
  display: inline-block;
  font-size: 0.75rem;
  font-family: var(--font-heading);
  letter-spacing: 1px;
  color: var(--color-gold);
  margin-bottom: 8px;
}

.step-desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   10. EVENT SCHEDULE & COUNTDOWN
   ========================================================================== */
.event-headline-date {
  font-size: 1.4rem;
  color: var(--color-gold-light);
  margin-top: 6px;
}

.countdown-widget {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 35px;
}

.countdown-item {
  width: 72px;
  height: 82px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(197, 163, 119, 0.3);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.c-val {
  font-size: 1.8rem;
  line-height: 1;
  color: var(--color-gold-light);
}

.c-lbl {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text-dim);
  margin-top: 6px;
}

.event-card-luxury {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(197, 163, 119, 0.3);
  border-radius: 16px;
  padding: 30px 22px;
  text-align: center;
  margin-bottom: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.event-type-badge {
  font-size: 1.8rem;
  color: var(--color-white);
  margin-bottom: 8px;
}

.event-time-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--color-gold-light);
  font-weight: 500;
  margin-bottom: 12px;
}

.event-scope {
  font-size: 0.8rem;
  color: var(--color-text-dim);
}

.venue-details {
  margin: 14px 0 20px;
}

.venue-name {
  font-size: 1.15rem;
  color: var(--color-gold-light);
  margin-bottom: 6px;
}

.venue-address {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.btn-maps-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
  padding: 10px 24px;
  border-radius: 25px;
  transition: var(--transition-smooth);
}

.btn-maps-pill:hover {
  background: var(--color-gold);
  color: #121212;
  border-color: var(--color-gold);
}

.live-stream-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border-subtle);
  border-radius: 14px;
  padding: 24px 20px;
  margin-top: 15px;
}

.live-title {
  font-size: 1.3rem;
  color: var(--color-gold-light);
  margin-bottom: 6px;
}

.live-sub {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.live-buttons-wrap {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  text-decoration: none;
  font-size: 0.8rem;
  padding: 8px 18px;
  border-radius: 20px;
  transition: var(--transition-smooth);
}

.btn-live:hover {
  background: var(--color-gold);
  color: #121212;
  border-color: var(--color-gold);
}

/* ==========================================================================
   11. GALLERY SECTION
   ========================================================================== */
.gallery-quote {
  font-size: 1.05rem;
  color: var(--color-gold-light);
  font-style: italic;
  line-height: 1.6;
}

.gallery-mosaic-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 30px 0;
}

.g-thumb {
  position: relative;
  height: 230px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--color-border-subtle);
  cursor: pointer;
}

.g-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.g-thumb:hover img {
  transform: scale(1.07);
}

.gallery-closing-quote {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  font-style: italic;
  line-height: 1.6;
}

/* ==========================================================================
   12. RSVP & WISHES SECTION
   ========================================================================== */
.byattari-form {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(197, 163, 119, 0.3);
  border-radius: 16px;
  padding: 26px 20px;
  margin-bottom: 35px;
}

.input-field-group {
  margin-bottom: 18px;
}

.input-label {
  display: block;
  font-size: 0.82rem;
  font-family: var(--font-heading);
  letter-spacing: 0.5px;
  color: var(--color-gold-light);
  margin-bottom: 6px;
}

.glass-input {
  width: 100%;
  padding: 12px 14px;
  background: rgba(15, 11, 13, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: #fff;
  outline: none;
  transition: border-color 0.3s ease;
}

.glass-input:focus {
  border-color: var(--color-gold);
}

.glass-textarea {
  resize: vertical;
}

.attendance-toggle-row {
  display: flex;
  gap: 10px;
}

.toggle-pill {
  flex: 1;
}

.toggle-pill input[type="radio"] {
  display: none;
}

.pill-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  font-size: 0.82rem;
  color: #fff;
  opacity: 0.6;
  transition: var(--transition-smooth);
}

.toggle-pill input[type="radio"]:checked + .pill-box {
  background: rgba(197, 163, 119, 0.25);
  border-color: var(--color-gold);
  color: var(--color-gold-light);
  font-weight: 600;
  opacity: 1;
}

.btn-submit-wishes {
  width: 100%;
  padding: 13px;
  background: linear-gradient(135deg, #c5a377 0%, #8d6e44 100%);
  color: #121212;
  border: none;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-submit-wishes:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.rsvp-feedback-msg {
  margin-top: 10px;
  font-size: 0.82rem;
  text-align: center;
  font-weight: 500;
}

.rsvp-feedback-msg.success {
  color: #69db7c;
}

/* Wishes Feed */
.wishes-feed-box {
  margin-top: 25px;
}

.feed-header {
  font-size: 1.4rem;
  color: var(--color-gold-light);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.wishes-scroll-list {
  max-height: 480px;
  overflow-y: auto;
  padding-right: 6px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.wishes-scroll-list::-webkit-scrollbar {
  width: 4px;
}

.wishes-scroll-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

.wish-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border-subtle);
  border-radius: 12px;
  padding: 16px;
  animation: fadeInWish 0.5s ease;
}

.wish-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.wish-sender-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-white);
}

.wish-badge {
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 12px;
  font-weight: 600;
}

.badge-attend {
  background: rgba(12, 166, 120, 0.2);
  color: #38d9a9;
  border: 1px solid rgba(12, 166, 120, 0.4);
}

.badge-not-attend {
  background: rgba(250, 82, 82, 0.2);
  color: #ff8787;
  border: 1px solid rgba(250, 82, 82, 0.4);
}

.wish-message {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 6px;
}

.wish-timestamp {
  font-size: 0.72rem;
  color: var(--color-text-dim);
}

@keyframes fadeInWish {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   13. WEDDING GIFT SECTION
   ========================================================================== */
.gift-banner-wrap {
  width: 100%;
  height: 240px;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 25px;
  border: 1px solid var(--color-border-subtle);
}

.gift-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.btn-amplop-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  padding: 12px 28px;
  border-radius: 30px;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-amplop-pill:hover {
  background: var(--color-gold);
  color: #121212;
  border-color: var(--color-gold);
}

.amplop-drawer {
  max-height: 1000px;
  opacity: 1;
  transition: max-height 0.5s ease, opacity 0.5s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 25px;
}

.amplop-drawer.is-collapsed {
  max-height: 0;
  opacity: 0;
  pointer-events: none;
  margin-top: 0;
}

.bank-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border-subtle);
  border-radius: 14px;
  padding: 22px 20px;
  text-align: center;
}

.bank-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  color: var(--color-gold);
  font-size: 0.9rem;
  font-weight: 600;
}

.account-number {
  font-family: monospace;
  font-size: 1.4rem;
  color: var(--color-white);
  letter-spacing: 2px;
  margin-bottom: 4px;
}

.account-number.address-text {
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: normal;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 8px;
}

.account-holder {
  font-size: 0.85rem;
  color: var(--color-gold-light);
  margin-bottom: 16px;
}

.btn-copy-acc {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.78rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-copy-acc:hover {
  background: var(--color-gold);
  color: #121212;
  border-color: var(--color-gold);
}

/* ==========================================================================
   14. CLOSING & FOOTER
   ========================================================================== */
.sec-closing {
  padding: 80px 24px 60px;
}

.closing-photo-frame {
  width: 180px;
  height: 240px;
  margin: 0 auto 25px;
  border-radius: 90px 90px 14px 14px;
  overflow: hidden;
  border: 2px solid rgba(197, 163, 119, 0.35);
}

.closing-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.closing-thanks {
  font-size: 1.5rem;
  letter-spacing: 1px;
  color: var(--color-gold-light);
  margin-bottom: 12px;
}

.closing-sub {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.closing-couple-names {
  font-size: 3.2rem;
  color: var(--color-white);
  margin-bottom: 25px;
}

.footer-divider {
  width: 60px;
  height: 2px;
  background: var(--color-gold);
  margin: 0 auto 25px;
}

.footer-copyright {
  font-size: 0.75rem;
  color: var(--color-text-dim);
  line-height: 1.6;
}

/* ==========================================================================
   15. LIGHTBOX MODAL & GALLERY SLIDER
   ========================================================================== */
.lightbox-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.94);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox-modal.is-active {
  display: flex;
}

.lightbox-content-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 82%;
  max-height: 85vh;
}

.lightbox-image {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
  user-select: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 25px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.8rem;
  cursor: pointer;
  z-index: 10002;
  transition: transform 0.2s ease;
}

.lightbox-close:hover {
  transform: scale(1.15);
  color: var(--color-gold);
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  z-index: 10001;
}

.lightbox-nav-btn:hover {
  background: var(--color-gold);
  color: #121212;
  border-color: var(--color-gold);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-nav-btn.btn-prev {
  left: 25px;
}

.lightbox-nav-btn.btn-next {
  right: 25px;
}

.lightbox-nav-btn.is-hidden {
  display: none !important;
}

@media (max-width: 768px) {
  .lightbox-content-wrap {
    max-width: 90%;
  }

  .lightbox-nav-btn {
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
    background: rgba(0, 0, 0, 0.5);
  }

  .lightbox-nav-btn.btn-prev {
    left: 10px;
  }

  .lightbox-nav-btn.btn-next {
    right: 10px;
  }
}

/* ==========================================================================
   16. RESPONSIVE MEDIA QUERIES (MOBILE <= 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
  .desktop-left-hero {
    display: none;
  }

  .main-content-column {
    margin: 0 auto;
    width: 100%;
    max-width: 520px;
    border-left: none;
    box-shadow: none;
  }

  .cover-couple-name {
    font-size: 2.8rem;
  }

  .section-title-large {
    font-size: 2.8rem;
  }

  .section-heading {
    font-size: 2.1rem;
  }
}

/* ==========================================================================
   17. SCROLL-TRIGGERED ENTRANCE ANIMATIONS
   ========================================================================== */
.scroll-anim {
  opacity: 0;
  will-change: transform, opacity;
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Revealed State (Element In View) */
.scroll-anim.is-revealed {
  opacity: 1 !important;
  transform: translate(0, 0) scale(1) rotate(0deg) !important;
}

/* 1. Fade Up */
.anim-fade-up {
  transform: translateY(35px);
}

/* 2. Scale Up */
.anim-scale-up {
  transform: translateY(25px) scale(0.92);
}

/* 3. Zoom In */
.anim-zoom-in {
  transform: scale(0.86);
}

/* 4. Slide Left (Bride Nada) */
.anim-slide-left {
  transform: translateX(-40px) rotate(-1.5deg);
}

/* 5. Slide Right (Groom Rama) */
.anim-slide-right {
  transform: translateX(40px) rotate(1.5deg);
}

/* 6. Pulse Pop (Ampersand & Icons) */
.anim-pulse-pop {
  transform: scale(0.4);
}
.anim-pulse-pop.is-revealed {
  animation: ampersandHeartbeat 2.4s ease-in-out infinite 0.9s;
}

@keyframes ampersandHeartbeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); text-shadow: 0 0 18px rgba(197, 163, 119, 0.7); }
}

/* 7. Glow Card (Quran Card & RSVP Form) */
.anim-glow-card {
  transform: translateY(30px);
}
.anim-glow-card.is-revealed {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 25px rgba(197, 163, 119, 0.16) !important;
}

/* 8. Expanding Line */
.anim-expand-line {
  transform: scaleX(0);
  transform-origin: center;
}
.anim-expand-line.is-revealed {
  transform: scaleX(1) !important;
}

/* 9. Transition Stagger Delays */
.anim-delay-1 { transition-delay: 0.12s; }
.anim-delay-2 { transition-delay: 0.24s; }
.anim-delay-3 { transition-delay: 0.36s; }
.anim-delay-4 { transition-delay: 0.48s; }

/* 10. Countdown items pop */
.countdown-widget .countdown-item.scroll-anim {
  transform: scale(0.7) translateY(20px);
}
.countdown-widget .countdown-item:nth-child(1) { transition-delay: 0.08s; }
.countdown-widget .countdown-item:nth-child(2) { transition-delay: 0.16s; }
.countdown-widget .countdown-item:nth-child(3) { transition-delay: 0.24s; }
.countdown-widget .countdown-item:nth-child(4) { transition-delay: 0.32s; }

/* 11. Timeline Steps Cascading Stagger */
.timeline-container .timeline-step:nth-child(1) { transition-delay: 0.1s; }
.timeline-container .timeline-step:nth-child(2) { transition-delay: 0.25s; }
.timeline-container .timeline-step:nth-child(3) { transition-delay: 0.4s; }

.timeline-step.is-revealed .step-marker {
  animation: markerPulse 1.2s ease-out;
}
@keyframes markerPulse {
  0% { transform: scale(0.6); box-shadow: 0 0 0 0 rgba(197, 163, 119, 0.7); }
  70% { transform: scale(1.15); box-shadow: 0 0 0 12px rgba(197, 163, 119, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(197, 163, 119, 0); }
}

/* 12. Gallery Photos Cascading Mosaic */
.gallery-mosaic-grid .g-thumb.scroll-anim {
  transform: translateY(30px) scale(0.95);
}
.gallery-mosaic-grid .g-thumb:nth-child(1) { transition-delay: 0.05s; }
.gallery-mosaic-grid .g-thumb:nth-child(2) { transition-delay: 0.12s; }
.gallery-mosaic-grid .g-thumb:nth-child(3) { transition-delay: 0.18s; }
.gallery-mosaic-grid .g-thumb:nth-child(4) { transition-delay: 0.24s; }
.gallery-mosaic-grid .g-thumb:nth-child(5) { transition-delay: 0.30s; }
.gallery-mosaic-grid .g-thumb:nth-child(6) { transition-delay: 0.36s; }
.gallery-mosaic-grid .g-thumb:nth-child(7) { transition-delay: 0.42s; }
.gallery-mosaic-grid .g-thumb:nth-child(8) { transition-delay: 0.48s; }
.gallery-mosaic-grid .g-thumb:nth-child(9) { transition-delay: 0.54s; }
.gallery-mosaic-grid .g-thumb:nth-child(10) { transition-delay: 0.60s; }

/* 13. E-Amplop button subtle breathing pulse */
.btn-amplop-pill {
  animation: gentlePulse 3s ease-in-out infinite alternate;
}
@keyframes gentlePulse {
  0% { box-shadow: 0 0 0 rgba(197, 163, 119, 0); }
  100% { box-shadow: 0 0 16px rgba(197, 163, 119, 0.45); }
}
