@font-face {
  font-family: 'BatrisyiaScript';
  src: url('../fonts/BatrisyiaScript.ttf') format('truetype');
  font-display: swap;
}

@font-face {
  font-family: 'NewYork';
  src: url('../fonts/NewYork.ttf') format('truetype');
  font-display: swap;
}

:root {
  /* Premium Javanese Theme Colors */
  --color-main: #fdfbf7;
  --color-primary: #f2eadb;
  --color-secondary: #4a3b32;
  --color-accent: #c5a059;
  --color-accent-dark: #a88544;
  --color-dark: #333333;
  --color-muted: #666666;
  --color-white: #ffffff;
  
  --font-serif: 'NewYork', 'Playfair Display', serif;
  --font-sans: 'Nunito Sans', sans-serif;
  --font-script: 'BatrisyiaScript', 'Great Vibes', cursive;
  
  --border-radius: 12px;
  --transition: all 0.3s ease;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--color-main);
  color: var(--color-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ==========================================================================
   UTILITIES
   ========================================================================== */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}
.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
  position: relative;
  z-index: 2;
}
.section-wrapper {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.color-primary {
  background-color: var(--color-primary);
}
.font-serif {
  font-family: var(--font-serif);
}
.font-script {
  font-family: var(--font-script);
}
.text-gold {
  color: var(--color-accent);
}
.text-muted {
  color: var(--color-muted);
}
.text-center {
  text-align: center;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}
.section-badge {
  display: inline-block;
  padding: 4px 16px;
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  border-radius: 50px;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
  background: rgba(197, 160, 89, 0.05);
}
.section-title {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  color: var(--color-secondary);
  margin-bottom: 16px;
  line-height: 1.2;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ==========================================================================
   GLOBAL COMPONENTS
   ========================================================================== */
/* Scroll Progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: var(--color-accent);
  width: 0%;
  z-index: 10000;
  transition: width 0.1s;
}

/* Floating Music */
.floating-music {
  position: fixed;
  bottom: 80px;
  right: 20px;
  z-index: 999;
}
.music-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--color-white);
  border: 2px solid var(--color-accent);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: var(--transition);
}
.music-btn:hover {
  transform: scale(1.05);
  background: var(--color-accent);
  color: var(--color-white);
}
.music-disc.playing {
  animation: spinDisc 4s linear infinite;
}

/* Toast */
.toast-msg {
  position: fixed;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-secondary);
  color: var(--color-white);
  padding: 12px 24px;
  border-radius: 30px;
  z-index: 9999;
  font-size: 0.9rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  transition: bottom 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.toast-msg.show {
  bottom: 100px;
}

/* Dividers */
.divider-wrapper {
  margin: 0 auto 30px;
  display: flex;
  justify-content: center;
}
.divider-wrapper img {
  width: 120px;
  height: auto;
}
.divider-quote-arch img {
  width: 150px;
  opacity: 0.8;
}

/* Corner Ornaments */
.acara-corner-ornaments, .rsvp-corner-ornaments, .story-corner-ornaments, .thank-corner-ornaments {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.corner-ornament, .acara-corner-ornament {
  position: absolute;
  width: 250px;
  max-width: 30vw;
  opacity: 0.15;
}
.top-left { top: -20px; left: -20px; }
.top-right { top: -20px; right: -20px; }
.bottom-left { bottom: -20px; left: -20px; }
.bottom-right { bottom: -20px; right: -20px; }


/* ==========================================================================
   1. COVER SECTION
   ========================================================================== */
.cover-section {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-main);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.orn-1, .orn-2 {
  position: absolute;
  top: 0;
  height: 100%;
  width: 50%;
  display: flex;
  align-items: center;
}
.orn-1 { left: 0; justify-content: flex-start; }
.orn-2 { right: 0; justify-content: flex-end; }
.orn-2 .orn-inner img {
  transform: scaleX(-1);
}
.orn-inner img {
  height: 100vh;
  object-fit: cover;
  opacity: 0.6;
}

.cover-card {
  background: rgba(255, 255, 255, 0.95);
  padding: 50px 40px;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
  text-align: center;
  max-width: 90%;
  width: 400px;
  z-index: 10;
  backdrop-filter: blur(10px);
}
.cover-top-ornament {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.cover-top-ornament img {
  width: 60px;
  margin: 0 auto 20px auto;
  display: block;
}
.cover-tagline {
  font-size: 0.9rem;
  letter-spacing: 2px;
  color: var(--color-accent);
  text-transform: uppercase;
  margin-bottom: 15px;
}
.cover-title {
  font-family: var(--font-script);
  font-size: 3.5rem;
  color: var(--color-secondary);
  line-height: 1.1;
  margin-bottom: 30px;
}
.cover-guest {
  border-top: 1px dashed var(--color-accent);
  border-bottom: 1px dashed var(--color-accent);
  padding: 20px 0;
  margin-bottom: 30px;
}
.cover-guest-label {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-bottom: 10px;
}
.guest-name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--color-secondary);
  font-weight: 600;
}
.btn-envelope {
  background: var(--color-secondary);
  color: var(--color-white);
  border: none;
  padding: 14px 30px;
  border-radius: 30px;
  font-size: 1rem;
  font-family: var(--font-sans);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: var(--transition);
}
.btn-envelope:hover {
  background: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(197, 160, 89, 0.3);
}

/* ==========================================================================
   2. HERO / HEADER
   ========================================================================== */
.header-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.header-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.header-bg-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(74, 59, 50, 0.7));
}
.header-bg-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.header-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--color-white);
  padding: 0 20px;
}
.header-subtitle {
  font-size: 1.2rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.header-title {
  font-family: var(--font-script);
  font-size: 6rem;
  margin-bottom: 20px;
  text-shadow: 0 4px 10px rgba(0,0,0,0.3);
  line-height: 1;
}
.header-date {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  letter-spacing: 2px;
  border-top: 1px solid rgba(255,255,255,0.5);
  border-bottom: 1px solid rgba(255,255,255,0.5);
  display: inline-block;
  padding: 10px 30px;
  backdrop-filter: blur(5px);
}
.scroll-indicator-wrapper {
  position: absolute;
  bottom: 90px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 2;
}
.scroll-indicator {
  color: var(--color-white);
  text-align: center;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.mouse-icon {
  width: 24px;
  height: 36px;
  border: 2px solid var(--color-white);
  border-radius: 12px;
  margin: 10px auto 0;
  position: relative;
}
.mouse-dot {
  width: 4px;
  height: 6px;
  background: var(--color-white);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  margin-left: -2px;
  animation: scrollAnim 2s infinite;
}

/* ==========================================================================
   3. KUTIPAN SUCI
   ========================================================================== */
.quote-bg-ornaments {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 1;
}
.quote-bg-ornaments img {
  width: 300px;
  opacity: 0.05;
}
.quote-box {
  background: var(--color-white);
  padding: 50px 40px;
  border-radius: var(--border-radius);
  box-shadow: 0 15px 40px rgba(0,0,0,0.05);
}
.quote-icon {
  width: 40px;
  height: 40px;
  fill: var(--color-accent);
  margin-bottom: 20px;
}
.quote-arabic {
  font-size: 1.8rem;
  line-height: 2;
  color: var(--color-secondary);
  margin-bottom: 20px;
  font-weight: bold;
}
.quote-translation {
  font-style: italic;
  color: var(--color-muted);
  margin-bottom: 20px;
  font-size: 1.05rem;
}
.quote-source {
  font-weight: 700;
  color: var(--color-secondary);
  letter-spacing: 1px;
}
.section-curve-divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 3;
}
.section-curve-divider svg {
  width: 100%;
  height: 60px;
}

/* ==========================================================================
   4. MEMPELAI
   ========================================================================== */
.couples-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 50px;
}
.couple-card {
  text-align: center;
}
.couple-img-wrapper {
  position: relative;
  width: 280px;
  height: 380px;
  margin: 0 auto 30px;
  border-radius: 140px 140px 0 0;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.couple-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.couple-img-frame {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 130px 130px 0 0;
  pointer-events: none;
}
.couple-name {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--color-secondary);
  margin-bottom: 5px;
}
.couple-nickname {
  font-family: var(--font-script);
  font-size: 2.5rem;
  color: var(--color-accent);
  margin-bottom: 15px;
  line-height: 1;
}
.couple-parents {
  color: var(--color-muted);
  margin-bottom: 20px;
  line-height: 1.8;
}
.couple-parents strong {
  color: var(--color-secondary);
}
.btn-sosmed {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-main);
  border: 1px solid var(--color-accent);
  padding: 8px 20px;
  border-radius: 30px;
  color: var(--color-secondary);
  font-size: 0.9rem;
  transition: var(--transition);
}
.btn-sosmed:hover {
  background: var(--color-accent);
  color: var(--color-white);
}

/* ==========================================================================
   5. LOVE STORY
   ========================================================================== */
.story-timeline {
  position: relative;
  max-width: 800px;
  margin: 50px auto 0;
}
.story-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--color-accent);
  transform: translateX(-50%);
  opacity: 0.3;
}
.timeline-item {
  position: relative;
  width: 50%;
  padding: 20px 40px;
  margin-bottom: 30px;
}
.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}
.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}
.timeline-dot {
  position: absolute;
  top: 30px;
  width: 16px;
  height: 16px;
  background: var(--color-accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--color-main), 0 0 0 6px var(--color-accent);
}
.timeline-item:nth-child(odd) .timeline-dot { right: -8px; }
.timeline-item:nth-child(even) .timeline-dot { left: -8px; }
.timeline-card {
  background: var(--color-white);
  padding: 25px;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.timeline-year {
  display: inline-block;
  color: var(--color-accent);
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 10px;
  font-size: 0.9rem;
}
.timeline-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--color-secondary);
  margin-bottom: 10px;
}
.timeline-desc {
  color: var(--color-muted);
  font-size: 0.95rem;
}

/* ==========================================================================
   6. ACARA
   ========================================================================== */
.events-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 50px;
}
.event-card {
  background: var(--color-white);
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0,0,0,0.06);
  position: relative;
  z-index: 2;
}
.event-badge-icon {
  width: 60px;
  height: 60px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--color-accent);
}
.event-badge-icon svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}
.event-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--color-secondary);
  margin-bottom: 20px;
}
.event-date-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
  padding: 15px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}
.event-day-num {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: var(--color-accent);
  line-height: 1;
}
.event-day-text {
  text-align: left;
  line-height: 1.3;
  color: var(--color-muted);
}
.event-day-text strong {
  color: var(--color-secondary);
  font-size: 1.1rem;
}
.event-time {
  font-weight: bold;
  color: var(--color-secondary);
  margin-bottom: 15px;
}
.event-venue-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--color-secondary);
  margin-bottom: 5px;
}
.event-venue-address {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-bottom: 25px;
}
.btn-venue-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  background: var(--color-secondary);
  color: var(--color-white);
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.btn-venue-action:hover {
  background: var(--color-accent);
}

.countdown-wrapper {
  background: var(--color-secondary);
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  color: var(--color-white);
  box-shadow: 0 20px 50px rgba(74, 59, 50, 0.2);
}
.countdown-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}
.countdown-box {
  background: rgba(255,255,255,0.1);
  padding: 20px;
  border-radius: 12px;
  min-width: 100px;
  border: 1px solid rgba(255,255,255,0.2);
}
.countdown-num {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: bold;
  line-height: 1;
  margin-bottom: 5px;
  color: var(--color-accent);
}
.countdown-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ==========================================================================
   7. RSVP & WISHES
   ========================================================================== */
.form-card {
  background: var(--color-white);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.06);
  max-width: 700px;
  margin: 0 auto 50px;
  position: relative;
  z-index: 2;
}
.form-group {
  margin-bottom: 20px;
  text-align: left;
}
.form-label {
  display: block;
  font-weight: 600;
  color: var(--color-secondary);
  margin-bottom: 8px;
}
.form-control, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: var(--transition);
}
.form-control:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--color-accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.2);
}
.radio-group {
  display: flex;
  gap: 20px;
}
.radio-option {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.btn-submit {
  width: 100%;
  padding: 15px;
  background: var(--color-accent);
  color: var(--color-white);
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.btn-submit:hover {
  background: var(--color-secondary);
}

.wishes-container {
  max-width: 800px;
  margin: 0 auto;
}
.wishes-list {
  background: var(--color-white);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  max-height: 500px;
  overflow-y: auto;
}
.wish-item {
  display: flex;
  gap: 15px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;
}
.wish-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.wish-avatar {
  width: 50px;
  height: 50px;
  background: var(--color-primary);
  color: var(--color-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: bold;
  flex-shrink: 0;
}
.wish-body {
  flex-grow: 1;
  text-align: left;
}
.wish-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
}
.wish-name {
  font-weight: 700;
  color: var(--color-secondary);
}
.wish-status {
  font-size: 0.8rem;
  padding: 2px 8px;
  border-radius: 4px;
}
.wish-status.hadir { background: #e8f5e9; color: #2e7d32; }
.wish-status.absen { background: #ffebee; color: #c62828; }
.wish-text {
  color: var(--color-muted);
  font-size: 0.95rem;
  margin-bottom: 5px;
}
.wish-time {
  font-size: 0.8rem;
  color: #999;
}

/* ==========================================================================
   8. TANDA KASIH (ANGPAO)
   ========================================================================== */
.gift-tabs {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
}
.gift-tab-btn {
  padding: 12px 25px;
  background: transparent;
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  border-radius: 30px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: var(--transition);
}
.gift-tab-btn.active, .gift-tab-btn:hover {
  background: var(--color-accent);
  color: var(--color-white);
}
.gift-panel {
  display: none;
  animation: fadeAnim 0.5s ease;
}
.gift-panel.active {
  display: block;
}
.bank-cards-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}
.bank-card {
  background: linear-gradient(135deg, #1e1e1e 0%, #3a3a3a 100%);
  color: #fff;
  border-radius: 16px;
  padding: 25px;
  width: 100%;
  max-width: 350px;
  text-align: left;
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
  position: relative;
  overflow: hidden;
}
.bank-card::after {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}
.bank-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}
.bank-chip {
  width: 45px;
  height: 35px;
  background: linear-gradient(135deg, #e0c38c 0%, #a88544 100%);
  border-radius: 5px;
}
.bank-logo-img {
  height: 25px;
  filter: brightness(0) invert(1);
}
.bank-number {
  font-family: monospace;
  font-size: 1.4rem;
  letter-spacing: 3px;
  margin-bottom: 10px;
}
.bank-holder {
  font-size: 0.9rem;
  color: #ccc;
  margin-bottom: 25px;
  text-transform: uppercase;
}
.btn-copy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
}
.btn-copy:hover {
  background: rgba(255,255,255,0.2);
}
.gift-address-card {
  background: var(--color-white);
  padding: 40px;
  border-radius: 20px;
  max-width: 500px;
  margin: 0 auto;
  box-shadow: 0 15px 40px rgba(0,0,0,0.06);
}

/* ==========================================================================
   9. GALERI PREWEDDING
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.gallery-item {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(74, 59, 50, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}
.gallery-overlay svg {
  width: 40px;
  height: 40px;
  fill: #fff;
  transform: scale(0.5);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.gallery-item:hover img {
  transform: scale(1.1);
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}
.gallery-item:hover .gallery-overlay svg {
  transform: scale(1);
}

/* ==========================================================================
   10. FOOTER / THANK YOU
   ========================================================================== */
.thank-section {
  position: relative;
  padding: 120px 0;
  background: var(--color-secondary);
  color: var(--color-white);
  text-align: center;
  overflow: hidden;
}
.thank-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  z-index: 1;
}
.thank-title {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  color: var(--color-accent);
  margin-bottom: 30px;
}
.thank-desc {
  max-width: 600px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
  line-height: 1.8;
}
.thank-names {
  font-size: 4rem;
  color: var(--color-primary);
  margin-bottom: 10px;
}
.thank-family {
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ==========================================================================
   11. MODALS
   ========================================================================== */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
  transition: var(--transition);
}
.lightbox-close:hover {
  color: var(--color-accent);
}
.lightbox-img-wrapper {
  max-width: 90%;
  max-height: 90%;
}
.lightbox-img-wrapper img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
}

/* ==========================================================================
   12. MOBILE BOTTOM NAV
   ========================================================================== */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--color-white);
  box-shadow: 0 -5px 20px rgba(0,0,0,0.05);
  display: flex;
  justify-content: space-around;
  padding: 10px 0 15px;
  z-index: 9998;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Hide bottom nav on desktop */
@media (min-width: 769px) {
  .mobile-bottom-nav {
    display: none !important;
  }
}
.mobile-bottom-nav.nav-visible {
  transform: translateY(0);
}
.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--color-muted);
  gap: 5px;
  width: 60px;
}
.nav-icon {
  width: 24px;
  height: 24px;
}
.nav-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}
.nav-text {
  font-size: 0.7rem;
  font-weight: 600;
}
.nav-item.active {
  color: var(--color-accent);
}

/* ==========================================================================
   13. RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 992px) {
  .header-title { font-size: 5rem; }
  .couples-grid { gap: 30px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section-wrapper { padding: 80px 0; }
  .section-title { font-size: 2.2rem; }
  .header-title { font-size: 4rem; }
  .header-subtitle { font-size: 1rem; }
  .cover-card { width: 90%; padding: 40px 20px; }
  .cover-title { font-size: 3rem; }
  
  .quote-arabic { font-size: 1.5rem; }
  .couples-grid { grid-template-columns: 1fr; }
  
  .story-timeline::before { left: 30px; }
  .timeline-item { width: 100%; padding-left: 70px; padding-right: 0; text-align: left !important; }
  .timeline-item:nth-child(even) { left: 0; }
  .timeline-dot { left: 22px !important; }
  
  .events-grid { grid-template-columns: 1fr; }
  .countdown-grid { flex-wrap: wrap; }
  .countdown-box { min-width: 80px; padding: 15px; }
  .countdown-num { font-size: 2rem; }
  
  .thank-names { font-size: 3rem; }
}

@media (max-width: 480px) {
  .header-title { font-size: 3.5rem; }
  .header-date { font-size: 1.1rem; padding: 8px 20px; }
  .quote-box { padding: 30px 20px; }
  .couple-img-wrapper { width: 240px; height: 330px; }
  .form-card { padding: 30px 20px; }
  .radio-group { flex-direction: column; gap: 10px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gift-tabs { flex-direction: column; }
  .music-btn { width: 40px; height: 40px; }
  .floating-music { bottom: 90px; right: 10px; }
}
