/* Base Styles & Variables */
:root {
  --primary-color: #A95C68;
  /* Palo de rosa oscuro */
  --primary-light: #c98a94;
  --primary-dark: #8e4c56;
  --secondary-color: #8a7b7d;
  /* Soft dusty grey-pink */
  --accent-gold: #c9a96e;
  --bg-color: #ffffff;
  --bg-warm: #faf7f5;
  --text-color: #333333;
  --light-text: #ffffff;
  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'Montserrat', sans-serif;
  --transition-speed: 0.4s;
}

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

html {
  scroll-behavior: smooth;
}

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

h1,
h2,
h3,
h4,
.names,
.quote {
  font-family: var(--font-serif);
  font-weight: 300;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all var(--transition-speed);
}

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

/* =========================================
   ANIMATIONS
   ========================================= */

/* Fade In Up */
.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Fade In Left */
.fade-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Fade In Right */
.fade-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Zoom In */
.zoom-in {
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275), transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.zoom-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* Scale Reveal */
.scale-reveal {
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1), transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.scale-reveal.visible {
  opacity: 1;
  transform: scale(1);
}

/* Blur In */
.blur-in {
  opacity: 0;
  filter: blur(12px);
  transform: translateY(20px);
  transition: opacity 1.2s ease, filter 1.2s ease, transform 1.2s ease;
}

.blur-in.visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

/* Delays */
.delay-200 {
  transition-delay: 200ms;
}

.delay-400 {
  transition-delay: 400ms;
}

.delay-600 {
  transition-delay: 600ms;
}

.delay-800 {
  transition-delay: 800ms;
}

/* Keyframe Animations */
@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes slowZoom {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-15px) rotate(5deg);
  }
  50% {
    transform: translateY(-8px) rotate(-3deg);
  }
  75% {
    transform: translateY(-20px) rotate(2deg);
  }
}

@keyframes heartbeat {
  0%, 100% {
    transform: scale(1);
  }
  14% {
    transform: scale(1.3);
  }
  28% {
    transform: scale(1);
  }
  42% {
    transform: scale(1.3);
  }
  70% {
    transform: scale(1);
  }
}

@keyframes expandLine {
  from {
    width: 0;
  }
  to {
    width: 50px;
  }
}

@keyframes gentlePulse {
  0%, 100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes petalFall {
  0% {
    opacity: 1;
    transform: translateY(-10vh) rotate(0deg) translateX(0);
  }
  25% {
    transform: translateY(22vh) rotate(90deg) translateX(30px);
  }
  50% {
    transform: translateY(48vh) rotate(180deg) translateX(-20px);
  }
  75% {
    transform: translateY(72vh) rotate(270deg) translateX(25px);
  }
  100% {
    opacity: 0;
    transform: translateY(100vh) rotate(360deg) translateX(-10px);
  }
}

@keyframes scrollMouse {
  0% {
    top: 6px;
    opacity: 1;
  }
  100% {
    top: 20px;
    opacity: 0;
  }
}

@keyframes ornamentDraw {
  from {
    stroke-dashoffset: 200;
  }
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(169, 92, 104, 0.2);
  }
  50% {
    box-shadow: 0 0 40px rgba(169, 92, 104, 0.4);
  }
}

/* =========================================
   FLOATING PETALS
   ========================================= */
.petal {
  position: fixed;
  top: -5vh;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  animation: petalFall linear infinite;
  font-size: 1rem;
  color: var(--primary-color);
}

/* =========================================
   FLOATING MUSIC PLAYER
   ========================================= */
.music-player {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  padding: 10px 20px 10px 10px;
  border-radius: 50px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(169, 92, 104, 0.15);
  animation: glowPulse 3s ease-in-out infinite;
  transition: transform 0.3s ease;
}

.music-player:hover {
  transform: scale(1.05);
}

#vinyl-wrapper {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.8), 0 0 8px rgba(169, 92, 104, 0.3);
  animation: spin 4s linear infinite;
  animation-play-state: paused;
}

.vinyl-center {
  width: 15px;
  height: 15px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.4rem;
  color: #fff;
}

.player-controls button {
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--primary-color);
  cursor: pointer;
  outline: none;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.player-controls button:hover {
  transform: scale(1.2);
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: slowZoom 20s ease infinite alternate;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.55));
}

.overlay-light {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(252, 251, 250, 0.4);
}

.hero-content {
  color: var(--light-text);
  z-index: 1;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-content .subtitle {
  font-size: 1rem;
  letter-spacing: 8px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-weight: 300;
  animation: gentlePulse 3s ease-in-out infinite;
}

.hero-content .names {
  font-size: 5rem;
  line-height: 1;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.4);
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    #ffffff 40%,
    #f0d0d6 50%,
    #ffffff 60%,
    #ffffff 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 4s linear infinite;
  filter: drop-shadow(2px 2px 10px rgba(0, 0, 0, 0.3));
}

.hero-content .names span {
  font-size: 4rem;
  color: var(--primary-color);
  font-style: italic;
  -webkit-text-fill-color: var(--primary-color);
  filter: drop-shadow(0 0 8px rgba(169, 92, 104, 0.5));
}

.divider {
  margin: 1.5rem 0;
  color: var(--primary-color);
  font-size: 1.2rem;
  position: relative;
}

.divider i {
  animation: heartbeat 2s ease-in-out infinite;
  display: inline-block;
}

.divider::before,
.divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 50px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-color));
  animation: expandLine 1.5s ease-out forwards;
}

.divider::before {
  left: -70px;
  background: linear-gradient(90deg, transparent, var(--primary-color));
}

.divider::after {
  right: -70px;
  background: linear-gradient(270deg, transparent, var(--primary-color));
}

.date {
  font-size: 1.2rem;
  letter-spacing: 4px;
  font-weight: 300;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.3);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0.8;
  animation: gentlePulse 2s ease-in-out infinite;
}

.scroll-indicator p {
  font-size: 0.7rem;
  letter-spacing: 3px;
}

.mouse {
  width: 24px;
  height: 38px;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  position: relative;
}

.wheel {
  width: 2px;
  height: 6px;
  background: #fff;
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollMouse 1.5s infinite;
}

/* =========================================
   COUNTDOWN TIMER
   ========================================= */
.countdown-section {
  background: var(--bg-warm);
  padding: 4rem 20px;
  text-align: center;
}

.countdown-section .section-title {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--secondary-color);
}

.countdown-timer {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 90px;
}

.countdown-number {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--primary-color);
  line-height: 1;
  transition: transform 0.3s ease;
}

.countdown-number.flip {
  transform: scale(1.15);
}

.countdown-label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--secondary-color);
  margin-top: 0.5rem;
}

.countdown-separator {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: var(--primary-light);
  align-self: flex-start;
  line-height: 1;
  animation: gentlePulse 1.5s ease-in-out infinite;
}

/* =========================================
   HELPERS
   ========================================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 20px;
  text-align: center;
}

.section-title {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
}

/* Decorative ornament under section titles */
.section-ornament {
  display: block;
  margin: 0.8rem auto 0;
  width: 120px;
  height: 20px;
  opacity: 0.5;
}

.section-ornament svg {
  width: 100%;
  height: 100%;
}

/* =========================================
   INVITATION SECTION
   ========================================= */
.invitation {
  background-color: var(--bg-color);
  position: relative;
}

.invitation::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--primary-light));
}

.invitation .quote {
  font-size: 2.2rem;
  color: var(--secondary-color);
  margin-bottom: 2rem;
  font-style: italic;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.invitation .quote::before {
  content: "\201C";
  font-size: 5rem;
  color: var(--primary-light);
  position: absolute;
  top: -30px;
  left: -20px;
  font-family: var(--font-serif);
  opacity: 0.4;
  line-height: 1;
}

.invitation .intro-text {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  color: #555;
}

.parents-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem;
  margin-top: 4rem;
}

.parents-col {
  position: relative;
  padding: 2rem 2rem 1.5rem;
  border-radius: 12px;
  background: rgba(169, 92, 104, 0.03);
  border: 1px solid rgba(169, 92, 104, 0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.parents-col:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(169, 92, 104, 0.1);
}

.parents-col h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.parents-col p {
  font-size: 1rem;
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

.padrinos-col {
  width: 100%;
}

/* =========================================
   DRESS CODE SECTION
   ========================================= */
.dress-code {
  background-color: var(--bg-color);
  padding: 4rem 0 0 0;
}

.dress-code .glass-card {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.dress-code-text {
  font-size: 1.5rem;
  font-family: var(--font-serif);
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.dress-code-note {
  font-size: 1rem;
  color: #555;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.bad-color {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--primary-color);
  text-underline-offset: 3px;
}

.color-palette {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.color-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.08);
  position: relative;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.color-circle:hover {
  transform: scale(1.15);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.color-circle.forbidden::after {
  content: "✕";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #444;
  font-weight: bold;
  font-size: 1.5rem;
  text-shadow: 0 0 3px rgba(255, 255, 255, 0.8);
}

/* =========================================
   PARALLAX DIVIDER
   ========================================= */
.parralax {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.parralax img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  background-attachment: fixed;
}

.image-divider {
  overflow: hidden;
  height: 60vh;
  position: relative;
}

.image-divider::before,
.image-divider::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 80px;
  z-index: 1;
  pointer-events: none;
}

.image-divider::before {
  top: 0;
  background: linear-gradient(to bottom, var(--bg-color), transparent);
}

.image-divider::after {
  bottom: 0;
  background: linear-gradient(to top, #f4efeb, transparent);
}

.image-divider img {
  opacity: 0.85;
  transition: transform 8s ease;
}

.image-divider:hover img {
  transform: scale(1.03);
}

/* =========================================
   DETAILS SECTION
   ========================================= */
.details {
  background-color: #f4efeb;
  position: relative;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-top: 2rem;
}

/* =========================================
   GLASSMORPHISM CARD
   ========================================= */
.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  padding: 3rem 2rem;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease;
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 30%,
    rgba(169, 92, 104, 0.04) 50%,
    transparent 70%
  );
  transition: left 0.8s ease;
}

.glass-card:hover::before {
  left: 100%;
}

.glass-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(169, 92, 104, 0.1);
}

.card-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass-card:hover .card-icon {
  transform: scale(1.15) rotate(-5deg);
}

.glass-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.glass-card .location-name {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.glass-card .time {
  color: #666;
  margin-bottom: 2rem;
  font-size: 1.05rem;
  letter-spacing: 1px;
}

/* =========================================
   BUTTONS
   ========================================= */
.btn-outline {
  display: inline-block;
  padding: 12px 30px;
  border: 1.5px solid var(--primary-color);
  color: var(--primary-color);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 2px;
  border-radius: 30px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: color 0.4s ease, transform 0.3s ease;
}

.btn-outline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: var(--primary-color);
  z-index: -1;
  transition: width 0.4s ease;
  border-radius: 30px;
}

.btn-outline:hover::before {
  width: 100%;
}

.btn-outline:hover {
  color: #fff;
  transform: scale(1.03);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 40px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: #fff;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 2px;
  border-radius: 40px;
  box-shadow: 0 10px 30px rgba(169, 92, 104, 0.3);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
}

.btn-primary:hover::after {
  opacity: 1;
}

.btn-primary:hover {
  transform: scale(1.06);
  box-shadow: 0 18px 40px rgba(169, 92, 104, 0.4);
}

/* =========================================
   GALLERY SECTION
   ========================================= */
.gallery {
  background-color: var(--bg-color);
}

.masonry-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.masonry-item {
  flex: 1 1 300px;
  max-width: 400px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  position: relative;
  cursor: pointer;
}

.masonry-item::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: linear-gradient(to top, rgba(169, 92, 104, 0.35), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.masonry-item:hover::after {
  opacity: 1;
}

.masonry-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.masonry-item:hover img {
  transform: scale(1.1);
}

/* =========================================
   RSVP SECTION
   ========================================= */
.rsvp {
  color: var(--light-text);
  overflow: hidden;
}

.rsvp .bg-img {
  filter: brightness(0.5);
  transition: transform 12s ease;
}

.rsvp:hover .bg-img {
  transform: scale(1.05);
}

.rsvp-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rsvp-content h2 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.4);
}

.rsvp-content p {
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  max-width: 600px;
  text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.3);
}

.rsvp-content .deadline {
  margin-top: 2rem;
  font-size: 0.9rem;
  opacity: 0.75;
  letter-spacing: 1px;
}

/* =========================================
   FOOTER
   ========================================= */
footer {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: #fff;
  padding: 3rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -25%;
  width: 150%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

footer h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  letter-spacing: 4px;
  position: relative;
}

footer p {
  font-size: 0.9rem;
  letter-spacing: 4px;
  opacity: 0.7;
  position: relative;
}

/* =========================================
   LIGHTBOX
   ========================================= */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox img {
  max-width: 90%;
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: fadeInScale 0.5s ease-out;
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 30px;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  background: none;
  border: none;
  opacity: 0.7;
  transition: opacity 0.3s, transform 0.3s;
}

.lightbox-close:hover {
  opacity: 1;
  transform: rotate(90deg);
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 768px) {
  .hero-content .names {
    font-size: 3.2rem;
  }

  .hero-content .names span {
    font-size: 2.3rem;
  }

  .section-title {
    font-size: 2.3rem;
  }

  .container {
    padding: 3rem 20px;
  }

  .countdown-timer {
    gap: 0.8rem;
  }

  .countdown-number {
    font-size: 2.5rem;
  }

  .countdown-separator {
    font-size: 2rem;
  }

  .music-player {
    bottom: 1rem;
    right: 1rem;
    padding: 8px 15px 8px 8px;
  }

  .parents-col {
    padding: 1.5rem;
  }

  .invitation .quote::before {
    font-size: 3rem;
    top: -20px;
    left: -10px;
  }

  .rsvp-content h2 {
    font-size: 2.5rem;
  }

  .btn-primary {
    padding: 14px 30px;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .hero-content .names {
    font-size: 2.5rem;
  }

  .hero-content .names span {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .countdown-number {
    font-size: 2rem;
  }

  .countdown-separator {
    display: none;
  }

  .countdown-item {
    min-width: 70px;
  }
}