/* =========================================================================
   ROYAL HERITAGE WEDDING — DESIGN SYSTEM & STYLES
   Colors: Deep Maroon, Antique Gold, Warm Ivory, Dark Brown
   Typography: Cinzel, Playfair Display, Great Vibes, Montserrat
   ========================================================================= */

:root {
  --maroon-deep: #3b060b;
  --maroon-royal: #610d17;
  --maroon-rich: #7c1421;
  --gold-antique: #d4af37;
  --gold-light: #f5e7b2;
  --gold-dark: #997819;
  --gold-gradient: linear-gradient(135deg, #d4af37 0%, #fff2b2 50%, #aa841c 100%);
  --ivory-warm: #fcf9f2;
  --ivory-card: #f5ede0;
  --brown-dark: #200d07;
  --text-main: #2b1108;
  --text-muted: #6e574f;

  --font-serif-royal: 'Cinzel Decorative', 'Cinzel', serif;
  --font-serif-body: 'Playfair Display', Georgia, serif;
  --font-script: 'Great Vibes', cursive;
  --font-sans: 'Montserrat', sans-serif;

  --shadow-royal: 0 15px 35px rgba(59, 6, 11, 0.25);
  --shadow-gold: 0 8px 24px rgba(212, 175, 55, 0.35);
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* RESET & BASE */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  background-color: var(--ivory-warm);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

img {
  max-width: 100%;
  display: block;
}

/* FLOATING MUSIC CONTROLLER */
.music-toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  background: var(--maroon-royal);
  color: var(--gold-light);
  border: 1.5px solid var(--gold-antique);
  padding: 8px 16px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-family: var(--font-sans);
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-royal);
  transition: var(--transition-smooth);
}
.music-toggle:hover {
  transform: translateY(-2px);
  background: var(--maroon-rich);
  border-color: #fff;
}
.music-icon {
  font-size: 14px;
}

/* 1. ROYAL CURTAIN OPENING SCREEN */
.opening-curtain {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: visibility 1s ease 1s;
}

.curtain-panel {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  background: radial-gradient(circle at center, var(--maroon-royal) 0%, var(--maroon-deep) 100%);
  border-right: 2px solid var(--gold-antique);
  transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1);
  box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.8);
}
.curtain-left {
  left: 0;
  border-right: 2px solid var(--gold-antique);
}
.curtain-right {
  right: 0;
  border-left: 2px solid var(--gold-antique);
}

.opening-curtain.opened .curtain-left {
  transform: translateX(-100%);
}
.opening-curtain.opened .curtain-right {
  transform: translateX(100%);
}
.opening-curtain.opened {
  visibility: hidden;
  pointer-events: none;
}

.curtain-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--gold-light);
  padding: 24px;
  max-width: 500px;
  transition: opacity 0.6s ease;
}
.opening-curtain.opened .curtain-content {
  opacity: 0;
}

.royal-emblem {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  animation: emblemRotate 20s linear infinite;
}
@keyframes emblemRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.ornament-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.6));
}

.opening-tagline {
  font-family: var(--font-serif-royal);
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--gold-antique);
  margin-bottom: 12px;
}
.opening-names {
  font-family: var(--font-script);
  font-size: clamp(2.8rem, 8vw, 4.5rem);
  line-height: 1.1;
  color: #fff;
  text-shadow: 0 4px 15px rgba(0,0,0,0.6);
  margin-bottom: 16px;
}
.opening-amp {
  display: block;
  font-family: var(--font-serif-body);
  font-size: 1.5rem;
  color: var(--gold-antique);
  margin: 4px 0;
}
.opening-sub {
  font-size: 13px;
  font-style: italic;
  font-family: var(--font-serif-body);
  color: #eeddb0;
  margin-bottom: 30px;
  line-height: 1.5;
}

.royal-enter-btn {
  background: var(--gold-gradient);
  color: var(--maroon-deep);
  border: none;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
  transition: var(--transition-smooth);
}
.royal-enter-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.6);
}

/* FLOATING PETALS */
.petals-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 998;
  overflow: hidden;
}
.petal {
  position: absolute;
  background: radial-gradient(circle, #e63946 0%, #991b1b 100%);
  border-radius: 150% 0 150% 0;
  opacity: 0.7;
  animation: fall linear forwards;
}
@keyframes fall {
  0% {
    transform: translateY(-50px) rotate(0deg);
    opacity: 0;
  }
  15% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(105vh) rotate(360deg);
    opacity: 0.2;
  }
}

/* COMMON SECTION UTILITIES */
.royal-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.section-padding {
  padding: 90px 0;
}
.text-center {
  text-align: center;
}
.gold-subtitle {
  display: inline-block;
  font-family: var(--font-serif-royal);
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--gold-dark);
  font-weight: 700;
  margin-bottom: 8px;
}
.section-title {
  font-family: var(--font-serif-body);
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--maroon-deep);
  font-weight: 700;
  margin-bottom: 12px;
}
.gold-divider-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 auto 40px;
  color: var(--gold-antique);
}
.gold-divider-ornament span {
  display: inline-block;
  width: 50px;
  height: 1px;
  background: var(--gold-antique);
}
.gold-divider-ornament i {
  font-style: normal;
  font-size: 14px;
}

/* 2. HERO SECTION */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 40px 20px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: -20px;
  background-image: url('https://images.unsplash.com/photo-1519741497674-611481863552?auto=format&fit=crop&w=1600&q=80');
  background-size: cover;
  background-position: center;
  filter: brightness(0.4) saturate(1.2);
  z-index: 1;
  transition: transform 0.2s ease-out;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(97, 13, 23, 0.45) 0%, rgba(32, 13, 7, 0.85) 100%);
  z-index: 2;
}
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
}
.ornament-line {
  color: var(--gold-antique);
  font-size: 14px;
  letter-spacing: 6px;
  margin-bottom: 15px;
}
.hero-quote {
  font-family: var(--font-serif-body);
  font-style: italic;
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: var(--gold-light);
  margin-bottom: 10px;
}
.hero-couple-names {
  font-family: var(--font-serif-royal);
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  line-height: 1.1;
  color: #fff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
  margin-bottom: 20px;
}
.hero-date-badge {
  display: inline-block;
  padding: 10px 24px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--gold-antique);
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--gold-light);
  margin-bottom: 40px;
  backdrop-blur-sm: 4px;
}
.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
}
.mouse-wheel {
  width: 20px;
  height: 32px;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  border-radius: 12px;
  position: relative;
}
.mouse-wheel::after {
  content: '';
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 6px;
  background: var(--gold-antique);
  border-radius: 2px;
  animation: scrollWheel 2s infinite;
}
@keyframes scrollWheel {
  0% { opacity: 1; top: 5px; }
  100% { opacity: 0; top: 18px; }
}

/* 3. COUPLE INTRODUCTION */
.couple-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
}
@media (max-width: 768px) {
  .couple-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
.couple-card {
  background: var(--ivory-card);
  padding: 30px;
  border-radius: 20px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  box-shadow: 0 10px 30px rgba(97, 13, 23, 0.08);
  text-align: center;
}
.couple-img-wrapper {
  position: relative;
  width: 220px;
  height: 280px;
  margin: 0 auto 20px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--gold-antique);
}
.couple-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.couple-card:hover .couple-img-wrapper img {
  transform: scale(1.05);
}
.gold-corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: var(--gold-antique);
  border-style: solid;
}
.gold-corner.tl { top: 6px; left: 6px; border-width: 2px 0 0 2px; }
.gold-corner.tr { top: 6px; right: 6px; border-width: 2px 2px 0 0; }
.gold-corner.bl { bottom: 6px; left: 6px; border-width: 0 0 2px 2px; }
.gold-corner.br { bottom: 6px; right: 6px; border-width: 0 2px 2px 0; }

.couple-name {
  font-family: var(--font-serif-body);
  font-size: 1.6rem;
  color: var(--maroon-deep);
  margin-bottom: 4px;
}
.couple-role {
  font-family: var(--font-serif-royal);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--gold-dark);
  font-weight: 700;
  margin-bottom: 14px;
}
.couple-bio {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.couple-center-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}
@media (max-width: 768px) {
  .couple-center-divider {
    flex-direction: row;
    justify-content: center;
  }
  .couple-center-divider .divider-line {
    width: 60px !important;
    height: 1px !important;
  }
}
.couple-center-divider .divider-line {
  width: 1px;
  height: 100px;
  background: var(--gold-antique);
}
.couple-center-divider .divider-knot {
  color: var(--gold-antique);
  font-size: 16px;
}

/* 4. OUR STORY (Vertical Timeline) */
.story-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}
.story-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--gold-antique), transparent);
}
@media (max-width: 768px) {
  .story-timeline::before {
    left: 20px;
  }
}
.timeline-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 50px;
  position: relative;
}
.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}
@media (max-width: 768px) {
  .timeline-item, .timeline-item:nth-child(even) {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 50px;
  }
}
.timeline-year {
  width: 42%;
  text-align: right;
  font-family: var(--font-serif-royal);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-dark);
}
.timeline-item:nth-child(even) .timeline-year {
  text-align: left;
}
@media (max-width: 768px) {
  .timeline-year, .timeline-item:nth-child(even) .timeline-year {
    width: 100%;
    text-align: left;
    margin-bottom: 10px;
  }
}
.timeline-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--maroon-royal);
  border: 2px solid var(--gold-antique);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
  z-index: 2;
}
@media (max-width: 768px) {
  .timeline-dot {
    left: 20px;
    top: 25px;
  }
}
.timeline-card {
  width: 42%;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.3);
}
@media (max-width: 768px) {
  .timeline-card {
    width: 100%;
  }
}
.timeline-img img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.timeline-info {
  padding: 20px;
}
.timeline-info h4 {
  font-family: var(--font-serif-body);
  font-size: 1.25rem;
  color: var(--maroon-deep);
  margin-bottom: 6px;
}
.timeline-info p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 5. COUNTDOWN */
.countdown-section {
  background: linear-gradient(135deg, var(--maroon-deep) 0%, var(--maroon-royal) 100%);
  color: #fff;
}
.countdown-section .section-title {
  color: #fff;
}
.countdown-section .gold-subtitle {
  color: var(--gold-light);
}
.countdown-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  max-width: 700px;
  margin: 0 auto;
}
.countdown-box {
  width: 110px;
  height: 110px;
  background: rgba(0, 0, 0, 0.4);
  border: 1.5px solid var(--gold-antique);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}
.count-num {
  font-family: var(--font-serif-royal);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 4px;
}
.count-label {
  font-size: 10px;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
}

/* 6. EVENTS */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.event-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1.5px solid rgba(212, 175, 55, 0.4);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}
.event-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-antique);
  box-shadow: var(--shadow-royal);
}
.event-banner-img {
  height: 150px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.event-banner-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
}
.event-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.event-badge {
  display: inline-block;
  font-size: 9px;
  letter-spacing: 2px;
  font-family: var(--font-serif-royal);
  font-weight: 700;
  color: var(--gold-dark);
  margin-bottom: 6px;
}
.event-name {
  font-family: var(--font-serif-body);
  font-size: 1.3rem;
  color: var(--maroon-deep);
  margin-bottom: 10px;
}
.event-time {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 4px;
}
.event-venue {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.event-dress {
  font-size: 11px;
  font-style: italic;
  color: var(--maroon-royal);
  margin-bottom: 16px;
}
.event-loc-btn {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--gold-dark);
  text-decoration: none;
  transition: color 0.3s;
}
.event-loc-btn:hover {
  color: var(--maroon-royal);
  text-decoration: underline;
}

/* 7. WEDDING CEREMONY SECTION */
.ceremony-section {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  background-attachment: fixed;
  overflow: hidden;
}
.ceremony-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1583939003579-730e3918a45a?auto=format&fit=crop&w=1600&q=80');
  background-size: cover;
  background-position: center;
  filter: brightness(0.3);
  z-index: 1;
}
.ceremony-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 700px;
}
.ceremony-eyebrow {
  font-family: var(--font-serif-royal);
  font-size: 13px;
  letter-spacing: 4px;
  color: var(--gold-antique);
}
.ceremony-headline {
  font-family: var(--font-serif-royal);
  font-size: clamp(3.5rem, 10vw, 6rem);
  font-weight: 900;
  color: #fff;
  text-shadow: 0 4px 25px rgba(0,0,0,0.8);
  margin: 10px 0 15px;
}
.ceremony-date-loc {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--gold-light);
  margin-bottom: 25px;
}
.ceremony-desc {
  font-family: var(--font-serif-body);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.8;
  color: #f0e6d2;
}

/* 8. GALLERY */
.masonry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}
.masonry-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(212, 175, 55, 0.3);
  height: 260px;
}
.masonry-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.masonry-hover {
  position: absolute;
  inset: 0;
  background: rgba(97, 13, 23, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.masonry-item:hover img {
  transform: scale(1.08);
}
.masonry-item:hover .masonry-hover {
  opacity: 1;
}

/* LIGHTBOX */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 20000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lightbox.active {
  display: flex;
}
.lightbox-body {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
}
.lightbox-body img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 8px;
  border: 2px solid var(--gold-antique);
}
.lightbox-counter {
  text-align: center;
  color: var(--gold-light);
  font-size: 13px;
  margin-top: 10px;
  font-family: var(--font-sans);
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 25px;
  background: transparent;
  border: none;
  color: var(--gold-light);
  font-size: 40px;
  cursor: pointer;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--gold-antique);
  color: var(--gold-light);
  font-size: 24px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* 9. VENUE */
.venue-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(212, 175, 55, 0.4);
  box-shadow: var(--shadow-royal);
}
@media (max-width: 768px) {
  .venue-card {
    grid-template-columns: 1fr;
  }
}
.venue-image {
  min-height: 300px;
  background-size: cover;
  background-position: center;
}
.venue-info {
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.venue-name {
  font-family: var(--font-serif-body);
  font-size: 1.8rem;
  color: var(--maroon-deep);
  margin-bottom: 12px;
}
.venue-address {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}
.venue-meta {
  font-size: 12px;
  color: var(--text-main);
  margin-bottom: 30px;
  line-height: 1.8;
}
.royal-gold-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold-gradient);
  color: var(--maroon-deep);
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-decoration: none;
  width: fit-content;
  box-shadow: var(--shadow-gold);
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}
.royal-gold-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.5);
}

/* 10. DRESS CODE */
.dresscode-lead {
  font-family: var(--font-serif-royal);
  font-size: 1.4rem;
  color: var(--maroon-deep);
  font-weight: 700;
  margin-bottom: 40px;
}
.dresscode-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 800px;
  margin: 0 auto;
}
@media (max-width: 600px) {
  .dresscode-grid {
    grid-template-columns: 1fr;
  }
}
.dresscode-card {
  background: var(--ivory-card);
  padding: 35px 25px;
  border-radius: 18px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 6px 20px rgba(0,0,0,0.04);
}
.dresscode-icon {
  font-size: 32px;
  margin-bottom: 12px;
}
.dresscode-card h4 {
  font-family: var(--font-serif-body);
  font-size: 1.3rem;
  color: var(--maroon-deep);
  margin-bottom: 8px;
}
.dresscode-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 11. RSVP FORM */
.rsvp-intro {
  max-width: 550px;
  margin: 0 auto 30px;
  font-size: 13px;
  color: var(--text-muted);
}
.rsvp-form-container {
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  padding: 40px;
  border-radius: 20px;
  border: 1.5px solid rgba(212, 175, 55, 0.4);
  box-shadow: var(--shadow-royal);
}
@media (max-width: 600px) {
  .rsvp-form-container {
    padding: 25px;
  }
}
.royal-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: left;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 500px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}
.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--maroon-deep);
  margin-bottom: 6px;
  text-transform: uppercase;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1.5px solid #dfd6c8;
  font-family: var(--font-sans);
  font-size: 13px;
  background: var(--ivory-warm);
  color: var(--text-main);
  outline: none;
  transition: border-color 0.3s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold-antique);
}
.attendance-options {
  display: flex;
  gap: 20px;
  margin-top: 6px;
  flex-wrap: wrap;
}
.radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.radio-label input {
  display: none;
}
.custom-radio {
  width: 18px;
  height: 18px;
  border: 2px solid var(--gold-antique);
  border-radius: 50%;
  display: inline-block;
  position: relative;
}
.radio-label input:checked + .custom-radio::after {
  content: '';
  position: absolute;
  inset: 3px;
  background: var(--maroon-royal);
  border-radius: 50%;
}
.error-msg {
  display: block;
  font-size: 10px;
  color: #dc2626;
  margin-top: 4px;
}
.submit-btn {
  width: 100%;
  justify-content: center;
  padding: 16px;
  margin-top: 10px;
}
.rsvp-success-banner {
  margin-top: 15px;
  padding: 12px;
  background: #ecfdf5;
  border: 1px solid #10b981;
  color: #065f46;
  border-radius: 8px;
  font-size: 12px;
  text-align: center;
  font-weight: 600;
}

/* 12. FINAL MESSAGE */
.final-section {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  background-image: url('https://images.unsplash.com/photo-1511285560929-80b456fea0bc?auto=format&fit=crop&w=1600&q=80');
  background-size: cover;
  background-position: center;
  color: #fff;
}
.final-overlay {
  position: absolute;
  inset: 0;
  background: rgba(36, 13, 7, 0.85);
}
.final-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}
.final-quote {
  font-family: var(--font-serif-body);
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-style: italic;
  line-height: 1.6;
  color: #fff;
  margin-bottom: 25px;
}
.final-with-love {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 5px;
}
.final-names {
  font-family: var(--font-script);
  font-size: clamp(3rem, 8vw, 4.5rem);
  color: var(--gold-antique);
  margin-bottom: 20px;
}
.save-the-date-badge {
  display: inline-block;
  padding: 8px 20px;
  border: 1px solid var(--gold-antique);
  border-radius: 50px;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--gold-light);
}

/* 13. FOOTER */
.royal-footer {
  background: var(--brown-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 30px 20px;
  font-size: 12px;
}
.footer-love {
  font-family: var(--font-serif-royal);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--gold-antique);
  margin-bottom: 4px;
}
.footer-couple {
  font-family: var(--font-serif-body);
}

/* ANIMATIONS & REVEALS */
.reveal-up, .reveal-item {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-active {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE DESIGN FOR TABLET & MOBILE */
@media (max-width: 1024px) {
  .royal-container {
    padding: 0 24px;
  }
  .events-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding: 70px 0;
  }
  .hero-couple-names {
    font-size: 3rem;
  }
  .couple-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .venue-card {
    grid-template-columns: 1fr;
  }
  .venue-image {
    min-height: 240px;
  }
  .venue-info {
    padding: 30px 20px;
  }
  .events-grid {
    grid-template-columns: 1fr;
  }
  .curtain-content {
    padding: 24px 16px;
    max-width: 90vw;
  }
  .opening-names {
    font-size: 2.8rem;
  }
  .masonry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ceremony-section {
    background-attachment: scroll;
  }
}

@media (max-width: 480px) {
  .royal-container {
    padding: 0 16px;
  }
  .section-padding {
    padding: 55px 0;
  }
  .hero-couple-names {
    font-size: 2.2rem;
  }
  .hero-quote {
    font-size: 1.1rem;
  }
  .hero-date-badge {
    font-size: 10px;
    padding: 8px 16px;
  }
  .couple-card {
    padding: 20px 14px;
  }
  .couple-img-wrapper {
    width: 170px;
    height: 220px;
  }
  .countdown-grid {
    gap: 8px;
  }
  .countdown-box {
    width: 68px;
    height: 72px;
    border-radius: 12px;
  }
  .count-num {
    font-size: 1.5rem;
  }
  .count-label {
    font-size: 8px;
  }
  .ceremony-headline {
    font-size: 2.4rem;
  }
  .masonry-grid {
    grid-template-columns: 1fr;
  }
  .masonry-item {
    height: 220px;
  }
  .rsvp-form-card {
    padding: 24px 16px;
  }
  .royal-gold-btn {
    width: 100%;
    justify-content: center;
  }
  .submit-btn {
    width: 100%;
  }
  .music-toggle {
    bottom: 16px;
    right: 16px;
    padding: 6px 12px;
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
