/* ==========================================================================
   ROYAL WEDDING INVITATION - DARK RED & GOLD LUXURY THEME
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-dark-red-900: #2a0307;
  --bg-dark-red-800: #3b050c;
  --bg-dark-red-700: #4e0a14;
  --bg-dark-red-600: #68101e;
  --bg-crimson: #801426;

  --gold-primary: #d4af37;
  --gold-light: #f9e8a2;
  --gold-medium: #e5c158;
  --gold-dark: #aa771c;
  --gold-gradient: linear-gradient(135deg, #bf953f 0%, #fcf6ba 25%, #b38728 50%, #fbf5b7 75%, #aa771c 100%);
  --gold-gradient-soft: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(249, 232, 162, 0.4) 50%, rgba(170, 119, 28, 0.2) 100%);

  --text-primary: #fff8eb;
  --text-gold: #f5d77f;
  --text-muted: #e0c8b0;

  --glass-bg: rgba(42, 3, 7, 0.75);
  --glass-border: rgba(212, 175, 55, 0.35);

  /* Fonts */
  --font-arabic: 'Amiri', serif;
  --font-heading: 'Cinzel', 'Playfair Display', serif;
  --font-script: 'Great Vibes', 'Alex Brush', cursive;
  --font-body: 'Outfit', 'Montserrat', sans-serif;

  /* Shadows */
  --shadow-gold: 0 0 25px rgba(212, 175, 55, 0.3);
  --shadow-deep: 0 15px 35px rgba(0, 0, 0, 0.6);
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark-red-900);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Luxury Background Texture & Pattern Overlay */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 50% 30%, rgba(104, 16, 30, 0.4) 0%, transparent 70%),
    radial-gradient(circle at 10% 80%, rgba(78, 10, 20, 0.5) 0%, transparent 50%),
    radial-gradient(circle at 90% 20%, rgba(128, 20, 38, 0.3) 0%, transparent 60%);
  z-index: -2;
  pointer-events: none;
}

/* Floating Gold Sparkle Canvas */
#sparkle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

/* ==========================================================================
   INTRO / ENTRANCE VIDEO SCREEN (FULLSCREEN VIDEO, NO OVERLAYS)
   ========================================================================== */
.intro-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  overflow: hidden;
  cursor: pointer;
  transition: opacity 1s ease, visibility 1s ease;
}

.intro-screen.is-open {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Hide the tap button while video is actively playing */
.intro-screen.video-playing .btn-tap-open {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(20px);
}

/* Fullscreen raw video — no filters, no overlays */
.video-backdrop {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 1;
  /* NO filter, NO brightness, NO overlay */
}

/* Small pill button at the bottom */
.btn-tap-open {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  background: rgba(20, 10, 5, 0.55);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: 50px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  white-space: nowrap;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease,
              opacity 0.5s ease, transform 0.5s ease;
}

.btn-tap-open:hover {
  background: rgba(20, 10, 5, 0.75);
  border-color: rgba(255, 255, 255, 0.85);
  color: #fff;
}

/* ==========================================================================
   MAIN CONTENT & CONTAINER
   ========================================================================== */
.main-wrapper {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.2s ease 0.3s, transform 1.2s ease 0.3s;
}

.main-wrapper.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Floating Audio Control */
.audio-control-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 100;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-gold);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.audio-control-btn:hover {
  transform: scale(1.1);
  background: var(--bg-dark-red-700);
}

.audio-control-btn svg {
  width: 22px;
  height: 22px;
  fill: var(--gold-light);
}

/* ==========================================================================
   COUPLE & PARENTS DETAIL SECTION
   ========================================================================== */
.couple-detail-section {
  width: 100%;
  padding: 5rem 1.5rem 4.5rem;
  text-align: center;
  position: relative;
  box-sizing: border-box;
}

.couple-detail-section > * {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.85s ease, transform 0.85s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* SVG ornaments */
.ornament-top,
.ornament-bottom {
  width: 120px;
  margin: 0 auto 2rem;
}
.ornament-bottom { margin: 2rem auto 0; }

/* Quranic Verse Block */
.quran-verse-block {
  margin-bottom: 2.5rem;
  padding: 0 1rem;
}

.quran-arabic {
  font-family: var(--font-arabic);
  font-size: 1.5rem;
  color: var(--gold-medium);
  line-height: 2;
  margin-bottom: 1rem;
  direction: rtl;
}

.quran-translation {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 0.6rem;
}

.quran-ref {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  letter-spacing: 2.5px;
  color: var(--gold-dark);
  text-transform: uppercase;
}

/* Divider inside detail section */
.couple-detail-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 2.5rem 0;
}
.couple-detail-divider .line {
  height: 1px;
  width: 70px;
  background: var(--gold-gradient);
}
.couple-detail-divider .diamond {
  width: 7px;
  height: 7px;
  background: var(--gold-primary);
  transform: rotate(45deg);
  box-shadow: 0 0 6px var(--gold-primary);
}

/* Person block (groom / bride) */
.person-block {
  padding: 0.5rem 0;
}

.person-script-name {
  font-family: var(--font-script);
  font-size: 3.2rem;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  margin-bottom: 0.8rem;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}

.person-short-line {
  width: 60px;
  height: 1.5px;
  background: var(--gold-gradient);
  margin: 0 auto 1rem;
  opacity: 0.7;
}

.person-relation-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 4px;
  color: var(--gold-medium);
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.person-parent-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.5px;
  line-height: 1.4;
}

.person-parent-amp {
  font-family: var(--font-script);
  font-size: 1.6rem;
  color: var(--gold-light);
  margin: 0.2rem 0;
}

.parent-tag {
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.person-parent-address {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  font-style: italic;
}

/* Connector between groom and bride */
.couple-script-connector {
  margin: 1.5rem auto;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0.85;
}

/* Invitation tagline */
.invitation-tagline {
  font-family: var(--font-script);
  font-size: 1.6rem;
  color: var(--gold-light);
  line-height: 1.7;
  margin-top: 0.5rem;
  opacity: 0.9;
}

/* ==========================================================================
   HERO SECTION (desktop.png on desktop, hero-bg.png on mobile)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 4rem 1.5rem;
  /* Default: desktop.png */
  background-image: url('desktop.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(42, 3, 7, 0.55) 0%, rgba(26, 2, 5, 0.82) 100%);
  z-index: 1;
}

/* hero-content: no background card, just text over the image */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  width: 100%;
  padding: 3.5rem 2rem;
  text-align: center;
}

/* Islamic Bismillah Header */
.bismillah-wrapper {
  margin-bottom: 2rem;
}

.bismillah-arabic {
  font-family: var(--font-arabic);
  font-size: 2.2rem;
  color: var(--gold-medium);
  text-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.bismillah-english {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 2.5px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.gold-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 1.8rem 0;
}

.gold-divider .line {
  height: 1px;
  width: 80px;
  background: var(--gold-gradient);
}

.gold-divider .diamond {
  width: 8px;
  height: 8px;
  background: var(--gold-primary);
  transform: rotate(45deg);
  box-shadow: 0 0 8px var(--gold-primary);
}

/* Host Section */
.host-section {
  margin-bottom: 2.5rem;
}

.invitation-intro {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  letter-spacing: 3px;
  color: var(--gold-light);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.host-names {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.host-address {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--glass-border);
  border-radius: 30px;
  color: var(--gold-light);
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-pill:hover {
  background: rgba(212, 175, 55, 0.25);
  color: #fff;
  transform: translateY(-2px);
}

/* Couple Card Display */
.couple-wrapper {
  margin: 2.5rem 0;
  padding: 2.2rem 1rem;
  background: rgba(20, 1, 4, 0.45);
  border-radius: 16px;
  border: 1px solid rgba(212, 175, 55, 0.25);
}

.couple-name {
  font-family: var(--font-script);
  font-size: 3.5rem;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
  margin-bottom: 0.3rem;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}

.couple-relation {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.connector-with {
  font-family: var(--font-script);
  font-size: 2.2rem;
  color: var(--gold-light);
  margin: 0.8rem 0;
  position: relative;
  display: inline-block;
}

.connector-with::before,
.connector-with::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 40px;
  height: 1px;
  background: var(--gold-gradient);
}

.connector-with::before {
  right: 100%;
  margin-right: 15px;
}

.connector-with::after {
  left: 100%;
  margin-left: 15px;
}

/* Insha Allah Badge */
.insha-allah-badge {
  margin-top: 1.8rem;
  display: inline-block;
}

.insha-allah-text {
  font-family: var(--font-arabic);
  font-size: 2.2rem;
  color: var(--gold-medium);
  letter-spacing: 2px;
}

/* ==========================================================================
   EVENT CARDS & SCHEDULE SECTION
   ========================================================================== */
.section-wrapper {
  padding: 5rem 1.5rem;
  max-width: 1050px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--gold-light);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: var(--gold-gradient);
  margin: 12px auto 0;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.event-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-deep);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.event-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-deep), var(--shadow-gold);
}

.event-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gold-gradient);
}

.event-icon {
  width: 65px;
  height: 65px;
  margin: 0 auto 1.5rem;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--gold-primary);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.event-icon svg {
  width: 32px;
  height: 32px;
  fill: var(--gold-medium);
}

.event-type {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--gold-light);
  margin-bottom: 1rem;
}

.event-date-main {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.3rem;
}

.event-date-hijri {
  font-size: 0.9rem;
  color: var(--gold-medium);
  margin-bottom: 1.2rem;
}

.event-detail-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 0.8rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.event-detail-item svg {
  width: 18px;
  height: 18px;
  fill: var(--gold-primary);
  flex-shrink: 0;
}

.btn-location {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 1.8rem;
  padding: 10px 24px;
  background: transparent;
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
  border-radius: 30px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-location:hover {
  background: var(--gold-gradient);
  color: var(--bg-dark-red-900);
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.btn-location svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* ==========================================================================
   COUNTDOWN TIMER SECTION
   ========================================================================== */
.countdown-container {
  background: linear-gradient(180deg, rgba(42, 3, 7, 0.9) 0%, rgba(88, 11, 24, 0.8) 100%);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-deep);
}

.timer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  max-width: 600px;
  margin: 2rem auto 2.5rem;
}

.timer-box {
  background: rgba(20, 1, 4, 0.6);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 1.2rem 0.5rem;
}

.timer-number {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.timer-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
}

/* Action Buttons Grid */
.action-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.btn-action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: 30px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-action-primary {
  background: var(--gold-gradient);
  color: var(--bg-dark-red-900);
  border: none;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-action-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6);
}

.btn-action-secondary {
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold-light);
  border: 1px solid var(--gold-primary);
}

.btn-action-secondary:hover {
  background: rgba(212, 175, 55, 0.25);
  transform: translateY(-3px);
}

.btn-action svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ==========================================================================
   FOOTER & SHARING SECTION
   ========================================================================== */
.footer-section {
  padding: 4rem 1.5rem 3rem;
  text-align: center;
  background: rgba(20, 1, 4, 0.85);
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.sharing-title {
  font-family: var(--font-script);
  font-size: 2.4rem;
  color: var(--gold-medium);
  margin-bottom: 0.5rem;
}

.sharing-subtitle {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  letter-spacing: 2px;
  color: var(--text-primary);
  margin-bottom: 1.2rem;
}

.designer-tag {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  letter-spacing: 3px;
  color: var(--gold-light);
  text-transform: uppercase;
  margin-top: 2rem;
  opacity: 0.8;
}

/* Notifications / Toast */
.toast-msg {
  position: fixed;
  bottom: 85px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--bg-dark-red-700);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
  padding: 12px 24px;
  border-radius: 30px;
  box-shadow: var(--shadow-gold);
  z-index: 1000;
  opacity: 0;
  transition: all 0.4s ease;
  font-size: 0.9rem;
}

.toast-msg.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ==========================================================================
   ANIMATIONS & RESPONSIVE DESIGN
   ========================================================================== */
@keyframes floatSeal {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes introPulse {
  0%, 100% { border-color: rgba(212, 175, 55, 0.4); }
  50% { border-color: rgba(212, 175, 55, 0.8); }
}

@keyframes shine {
  0% { left: -100%; }
  100% { left: 200%; }
}

/* Media Queries */
@media (max-width: 768px) {
  /* Switch hero bg to mobile.png on small screens */
  .hero-section {
    background-image: url('mobile.png');
    background-attachment: scroll;
  }
  .hero-content {
    padding: 2rem 1.2rem;
  }
  .couple-name {
    font-size: 2.6rem;
  }
  .intro-title {
    font-size: 2.2rem;
  }
  .bismillah-arabic {
    font-size: 1.8rem;
  }
  .timer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }
  .timer-number {
    font-size: 1.8rem;
  }
  .connector-with::before,
  .connector-with::after {
    width: 25px;
  }
}

/* ==========================================================================
   NIKKAH CEREMONY & RECEPTION SECTIONS
   ========================================================================== */
.nikah-section,
.reception-section {
  width: 100%;
  padding: 4rem 1.5rem;
  text-align: center;
  box-sizing: border-box;
}

.nikah-section > *,
.reception-section > * {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.nikah-eyebrow {
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #aa771c;
  margin-bottom: 0.8rem;
}
.nikah-heading {
  font-family: 'Great Vibes', cursive;
  font-size: 3rem;
  background: linear-gradient(135deg, #bf953f 0%, #fcf6ba 25%, #b38728 50%, #fbf5b7 75%, #aa771c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,0.6));
  margin-bottom: 0.6rem;
  line-height: 1.2;
}
.nikah-tagline-sub {
  font-family: 'Cinzel', serif;
  font-size: 0.78rem;
  letter-spacing: 4px;
  color: #e5c158;
  text-transform: uppercase;
  margin-bottom: 1.8rem;
}
.nikah-invite-text {
  font-size: 1rem;
  color: #e0c8b0;
  line-height: 1.9;
  font-style: italic;
  margin-bottom: 2.5rem;
  padding: 0 1rem;
}
.nikah-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin-bottom: 1.8rem;
  width: 100%;
}

.nikah-info-box {
  background: rgba(30, 2, 6, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 16px;
  padding: 1.2rem 0.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 130px;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

/* Double inner border line matching reference image */
.nikah-info-box::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 5px;
  right: 5px;
  bottom: 5px;
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 12px;
  pointer-events: none;
}

.nikah-info-box:hover {
  border-color: #d4af37;
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
}

.nikah-info-icon {
  width: 32px;
  height: 32px;
  margin: 0 auto 0.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nikah-info-icon svg {
  width: 22px;
  height: 22px;
  fill: #f9e8a2;
}

.nikah-info-label {
  font-family: 'Cinzel', serif;
  font-size: 0.68rem;
  letter-spacing: 2.5px;
  color: #e5c158;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.nikah-info-value {
  font-family: 'Cinzel', serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.nikah-info-sub {
  font-size: 0.76rem;
  color: #e0c8b0;
  margin-top: 0.2rem;
  font-style: italic;
}

.nikah-info-hijri {
  font-size: 0.72rem;
  color: #aa771c;
  margin-top: 0.2rem;
  font-style: italic;
}

.nikah-note {
  font-size: 0.82rem;
  color: #e0c8b0;
  font-style: italic;
  margin-bottom: 1.8rem;
}

.btn-get-directions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #bf953f 0%, #fcf6ba 25%, #b38728 50%, #fbf5b7 75%, #aa771c 100%);
  color: #2a0307;
  border: none;
  border-radius: 50px;
  font-family: 'Cinzel', serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(212,175,55,0.4);
  transition: all 0.3s ease;
}

.btn-get-directions:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(212,175,55,0.7);
}

.btn-get-directions svg { width: 18px; height: 18px; fill: currentColor; }

@media (max-width: 600px) {
  .nikah-info-grid {
    gap: 0.4rem;
  }
  .nikah-info-box {
    padding: 0.8rem 0.2rem;
    min-height: 110px;
    border-radius: 12px;
  }
  .nikah-info-box::before {
    top: 3px;
    left: 3px;
    right: 3px;
    bottom: 3px;
    border-radius: 9px;
  }
  .nikah-info-icon {
    width: 24px;
    height: 24px;
    margin-bottom: 0.3rem;
  }
  .nikah-info-icon svg {
    width: 18px;
    height: 18px;
  }
  .nikah-info-label {
    font-size: 0.58rem;
    letter-spacing: 1.5px;
    margin-bottom: 0.2rem;
  }
  .nikah-info-value {
    font-size: 0.78rem;
  }
  .nikah-info-sub {
    font-size: 0.65rem;
  }
  .nikah-heading { font-size: 2.2rem; }
}

/* ==========================================================================
   THANK YOU FOOTER
   ========================================================================== */
.footer-thankyou {
  padding: 4.5rem 1.5rem 3.5rem;
  text-align: center;
  background: linear-gradient(180deg, #2a0307 0%, #100103 100%);
  border-top: 1px solid rgba(212,175,55,0.15);
}
.footer-heart { margin-bottom: 1rem; }
.footer-thankyou-title {
  font-family: 'Great Vibes', cursive;
  font-size: 3rem;
  background: linear-gradient(135deg, #bf953f 0%, #fcf6ba 25%, #b38728 50%, #fbf5b7 75%, #aa771c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
  margin-bottom: 0.8rem;
}
.footer-swirl { margin-bottom: 1.8rem; }
.footer-message {
  font-size: 1rem;
  color: #e0c8b0;
  line-height: 2;
  font-style: italic;
  margin-bottom: 2rem;
}
.footer-dua {
  font-family: 'Amiri', serif;
  font-size: 1.7rem;
  color: #e5c158;
  direction: rtl;
  line-height: 1.8;
  margin-bottom: 2rem;
  text-shadow: 0 0 20px rgba(212,175,55,0.3);
}

@media (max-width: 600px) {
  .footer-dua {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    padding: 0 0.5rem;
  }
}
.footer-divider {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; margin: 1.5rem 0;
}
.footer-divider .line { height: 1px; width: 60px; background: linear-gradient(135deg,#bf953f,#fcf6ba,#b38728); }
.footer-divider .diamond { width: 6px; height: 6px; background: #d4af37; transform: rotate(45deg); }
.footer-designer {
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  letter-spacing: 5px;
  color: #f9e8a2;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 1.5rem;
}
.footer-back-top {
  display: inline-block;
  background: transparent; border: none;
  font-family: 'Cinzel', serif;
  font-size: 0.72rem; letter-spacing: 3px;
  text-transform: uppercase; color: #e0c8b0;
  cursor: pointer; margin-bottom: 1.8rem;
  transition: color 0.3s;
}
.footer-back-top:hover { color: #f9e8a2; }
.footer-bottom-ornament { opacity: 0.7; }
