/* Estilos base */
:root {
  --color-primary: #4682b4; /* SteelBlue */
  --color-secondary: #6495ed; /* CornflowerBlue */
  --color-accent1: #add8e6; /* LightBlue */
  --color-accent2: #f0f8ff; /* AliceBlue */
  --color-accent3: #daa520; /* GoldenRod - para detalles dorados */
  
  --color-dark: #333;
  --color-light: #f5f8fa;
  --font-primary: 'Playfair Display', serif;
  --font-secondary: 'Montserrat', sans-serif;
  --font-cursive: 'Dancing Script', cursive;
}

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

/* Estilos para el logo GM en el Hero */
.hero-logo {
  margin-bottom: 20px;
}

.gm-logo {
  max-width: 200px;
  height: auto;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.7));
  transition: transform 0.5s ease, filter 0.5s ease;
}

.gm-logo:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.9));
}

body {
  font-family: var(--font-secondary);
  color: var(--color-dark);
  background-color: #fff;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-primary);
  font-weight: 700;
}

.script-font {
  font-family: var(--font-cursive);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
  position: relative;
}

.section-spacer {
  height: 50px;
  width: 100%;
  display: block;
  clear: both;
}

@media (max-width: 768px) {
  .section-spacer {
    height: 80px;
  }
  
  .hero-content {
    padding-top: 130px;
  }
  
  .gm-logo {
    max-width: 150px;
  }
  
  .hero-names {
    font-size: 4.5rem;
    margin-bottom: 20px;
  }
  
  .hero-quote {
    font-size: 1.6rem;
    margin-bottom: 30px;
  }
}

@media (max-width: 576px) {
  .section-spacer {
    height: 120px;
  }
  
  .hero-content {
    padding-top: 270px;
  }
  
  .gm-logo {
    max-width: 180px;
    margin-bottom: 15px;
  }
  
  .hero-names {
    font-size: 3.5rem;
    margin-bottom: 15px;
  }
  
  .hero-quote {
    font-size: 1.3rem;
    margin-bottom: 20px;
  }
  
  .countdown-title {
    font-size: 2.2rem;
  }
  
  .countdown-item {
    margin: 0 5px;
  }
  
  .countdown-circle {
    width: 80px;
    height: 80px;
  }
  
  .countdown-number {
    font-size: 1.6rem;
  }
}

/* Botones */
.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: #6495ed;
  color: white;
  border: none;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn:hover {
  background-color: #4682b4;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-secondary);
  color: white;
  border: none;
  border-radius: 30px;
  padding: 12px 25px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: 20px;
}

.whatsapp-btn:hover {
  background-color: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(37, 47, 118, 0.3);
}

/* Header y navegación */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 15px 0;
  transition: all 0.3s ease;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(5px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header.scrolled {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-family: var(--font-cursive);
  font-size: 24px;
  color: var(--color-primary);
  text-decoration: none;
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-item {
  margin-left: 30px;
}

.nav-link {
  color: var(--color-secondary);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.nav-link:hover {
  color: var(--color-accent3);
}

.menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 24px;
}

.menu-close {
  display: none; /* Ocultar por defecto en versión escritorio */
  cursor: pointer;
  font-size: 24px;
}

.featured-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.6s ease;
  display: block;
  filter: brightness(1.05) contrast(1.05);
}

.featured-gallery-item:hover img {
  transform: scale(1.08);
  filter: brightness(1.1) contrast(1.08);
}

.featured-gallery-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
  opacity: 0.7;
  transition: opacity 0.4s ease;
}

.featured-gallery-item:hover::after {
  opacity: 0.4;
}

/* Hero section */
.hero {
  background-size: cover;
  background-position: center 35%; /* Ajustado para centrar en los rostros */
  height: 100vh;
  display: flex;
  align-items: flex-start; /* Cambiado a flex-start para posicionar desde arriba */
  justify-content: center;
  position: relative;
  color: white;
  text-align: center;
  overflow: hidden;
  margin-bottom: 0;
  z-index: 5;
  animation: subtle-zoom 30s infinite alternate ease-in-out; /* Efecto sutil de zoom */
  padding-top: 0; /* Eliminar padding superior */
  padding-bottom: 50px; /* Añadir padding inferior para que se vea todo el contenido */
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(12, 12, 50, 0.7), rgba(12, 12, 50, 0.6)); /* Gradiente para mejor efecto */
  z-index: 1;
  backdrop-filter: blur(1px); /* Ligero desenfoque para mejorar legibilidad */
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  color: white;
  text-align: center;
  padding: 0 20px;
  margin: 0 auto;
  padding-top: 55px; /* Aumentado más para que el nombre se vea completo */
  margin-top: 0;
}

.hero-names {
  font-size: 5rem;
  margin-bottom: 15px;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  letter-spacing: 2px;
}

.hero-date {
  font-size: 1.5rem;
  margin-bottom: 15px;
  letter-spacing: 2px;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
}

.hero-quote {
  font-family: 'Dancing Script', cursive;
  font-size: 1.7rem;
  line-height: 1.4;
  margin-bottom: 15px;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
  font-weight: 400;
  font-style: italic;
}

/* Contador */
.countdown-header {
  text-align: center;
  margin-bottom: 10px;
  margin-top: 10px;
}

.countdown-title {
  font-family: var(--font-cursive);
  font-size: 2.8rem;
  color: white;
  margin-bottom: 5px;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
  letter-spacing: 2px;
}

.countdown-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px auto;
  color: white;
}

.countdown-divider i {
  font-size: 1.5rem;
  margin: 0 10px;
  animation: pulse 1.5s infinite;
  color: white;
  text-shadow: 0 0 10px rgba(218, 165, 32, 0.8);
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.2);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
}

.countdown {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
  gap: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding: 20px 0;
}

.countdown-item {
  margin: 0;
  text-align: center;
  position: relative;
  width: 120px;
  perspective: 1000px;
  transition: transform 0.3s ease;
}

.countdown-circle-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.15);
  stroke-width: 6;
}

.countdown-circle-progress {
  fill: none;
  stroke: rgba(218, 165, 32, 0.9); /* Color dorado para los círculos */
  stroke-width: 6;
  stroke-linecap: round;
  transform: rotate(-90deg);
  transform-origin: center;
  transition: stroke-dashoffset 0.5s ease;
  filter: drop-shadow(0 0 8px rgba(218, 165, 32, 0.7));
  animation: pulse-gold 2s infinite;
}

@keyframes pulse-gold {
  0% {
    filter: drop-shadow(0 0 5px rgba(218, 165, 32, 0.5));
  }
  50% {
    filter: drop-shadow(0 0 12px rgba(218, 165, 32, 0.8));
  }
  100% {
    filter: drop-shadow(0 0 5px rgba(218, 165, 32, 0.5));
  }
}

@keyframes subtle-zoom {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.05);
  }
}

.countdown-item:hover {
  transform: translateY(-5px) scale(1.05);
}

.countdown-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: white;
  margin-top: 15px;
  font-weight: 500;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  font-family: var(--font-secondary);
}

.countdown-circle {
  position: relative;
  width: 90px;
  height: 90px;
  margin: 0 auto;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.countdown-number {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.8rem;
  font-weight: bold;
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  z-index: 5;
  font-family: var(--font-primary);
  letter-spacing: 1px;
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s ease;
  cursor: pointer;
}

.featured-gallery-item:hover .gallery-overlay {
  opacity: 1;
  background-color: rgba(0, 0, 0, 0.6);
}

/* Estilos de audio eliminados */

.gallery-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-modal.show {
  opacity: 1;
}

.gallery-modal-content {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform 0.3s ease;
  animation: modal-zoom 0.3s forwards;
}

.logistics-section {
  position: relative;
  background-color: #fafafa;
  padding: 80px 0;
  overflow: hidden;
  z-index: 1;
  background-image: url('../imagenes/subtle-pattern.png');
  background-repeat: repeat;
  border-top: 1px solid rgba(173, 216, 230, 0.2);
  border-bottom: 1px solid rgba(173, 216, 230, 0.2);
}

.logistics-card {
  position: relative;
  background-color: white;
  border-radius: 8px;
  padding: 35px 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  overflow: hidden;
  border: 1px solid rgba(209, 190, 218, 0.15);
  transition: all 0.3s ease;
  overflow: hidden;
  z-index: 1;
  border: 1px solid rgba(209, 190, 218, 0.15);
}

.logistics-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border-color: rgba(218, 165, 32, 0.2);
}

.logistics-card:hover .card-icon {
  color: #daa520;
  border-color: rgba(218, 165, 32, 0.3);
  background: rgba(255, 250, 240, 0.5);
  transform: rotate(5deg) scale(1.05);
}

.logistics-title {
  font-size: 1.5rem;
  margin: 0 0 15px;
  color: #e74c3c;
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.gift-note {
  margin-top: 20px;
  padding: 12px 15px;
  border-radius: 6px;
  background-color: rgba(209, 190, 218, 0.08);
  font-style: italic;
  color: #555;
  font-size: 0.9rem;
  text-align: left;
  border-left: 2px solid rgba(209, 190, 218, 0.4);
}

.gift-section {
  background-color: #f9f9f9;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  background-image: url('../imagenes/subtle-pattern.png');
  background-repeat: repeat;
  border-top: 1px solid rgba(209, 190, 218, 0.2);
  border-bottom: 1px solid rgba(209, 190, 218, 0.2);
}

/* Sección RSVP con tema Disney */
.rsvp-section.disney-rsvp {
  background: linear-gradient(135deg, rgba(240, 248, 255, 0.8) 0%, rgba(230, 240, 250, 0.9) 100%);
  padding: 100px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: none;
}

.disney-rsvp::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 20%, rgba(173, 216, 230, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(218, 165, 32, 0.2) 0%, transparent 50%),
    url('../imagenes/subtle-pattern.png');
  opacity: 0.7;
  z-index: -1;
}

/* Elementos flotantes decorativos */
.disney-floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.floating-element {
  position: absolute;
  opacity: 0.15;
  filter: drop-shadow(0 5px 15px rgba(70, 130, 180, 0.3));
  animation: float-around 15s ease-in-out infinite;
}

.floating-element.castle {
  width: 80px;
  height: 80px;
  top: 15%;
  left: 10%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%234682b4' d='M256 0l-10 30h20L256 0zm-30 40v30h20V40h-20zm60 0v30h20V40h-20zm-90 40v30h20V80h-20zm120 0v30h20V80h-20zm-150 40v30h20v-30h-20zm180 0v30h20v-30h-20zm-210 40v30h20v-30h-20zm240 0v30h20v-30h-20zm-270 40v30h20v-30h-20zm300 0v30h20v-30h-20zM96 240v272h320V240H96zm30 30h260v212H126V270z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  animation-duration: 18s;
}

.floating-element.star {
  width: 40px;
  height: 40px;
  top: 25%;
  right: 15%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'%3E%3Cpath fill='%23daa520' d='M259.3 17.8L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  animation-duration: 20s;
  animation-delay: 2s;
}

.floating-element.crown {
  width: 60px;
  height: 60px;
  bottom: 20%;
  left: 15%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 512'%3E%3Cpath fill='%23daa520' d='M528 448H112c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h416c8.8 0 16-7.2 16-16v-32c0-8.8-7.2-16-16-16zm64-320c-26.5 0-48 21.5-48 48 0 7.1 1.6 13.7 4.4 19.8L476 239.2c-15.4 9.2-35.3 4-44.2-11.6L350.3 85C361 76.2 368 63 368 48c0-26.5-21.5-48-48-48s-48 21.5-48 48c0 15 7 28.2 17.7 37l-81.5 142.6c-8.9 15.6-28.9 20.8-44.2 11.6l-72.3-43.4c2.7-6 4.4-12.7 4.4-19.8 0-26.5-21.5-48-48-48S0 149.5 0 176s21.5 48 48 48c2.6 0 5.2-.2 7.7-.6l74.9 136.2c1.4 2.6 3.1 5 4.9 7.4l-29.5 48.3c-3.4 5.5-6.2 11.2-8.4 17.1H542.4c-2.1-5.9-5-11.6-8.4-17.1l-29.5-48.3c1.9-2.4 3.5-4.8 4.9-7.4L584.3 223.4c2.5.4 5.1.6 7.7.6 26.5 0 48-21.5 48-48s-21.5-48-48-48z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  animation-duration: 22s;
  animation-delay: 1s;
}

.floating-element.wand {
  width: 50px;
  height: 50px;
  bottom: 30%;
  right: 10%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%234682b4' d='M507.25 48.75L463.25 4.75c-6.25-6.25-16.38-6.25-22.63 0l-45.25 45.25c-62.5-41.13-152.75-29.5-203.13 28.75l-96.38 96.5c-70.62 70.62-70.62 184.88 0 255.5C126.63 461.5 168.38 480 213.5 480s86.75-18.5 117.5-49.25c57.38-57.5 70.5-147.5 28.63-210.13l45.25-45.25c6.25-6.25 6.25-16.38 0-22.63l-97.63-104zm-283.5 368c-34.13 34.13-89.5 34.13-123.63 0s-34.13-89.5 0-123.63 89.5-34.13 123.63 0 34.13 89.5 0 123.63z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  animation-duration: 25s;
  animation-delay: 3s;
}

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

/* Tarjeta mágica para RSVP */
.rsvp-card.magic-card {
  max-width: 700px;
  margin: 40px auto;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(70, 130, 180, 0.15), 0 0 20px rgba(218, 165, 32, 0.1);
  padding: 40px;
  text-align: center;
  border: 2px solid rgba(218, 165, 32, 0.3);
  transition: all 0.5s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(5px);
  transform-style: preserve-3d;
  perspective: 1000px;
}

.rsvp-card.magic-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, transparent 60%);
  transform: rotate(30deg);
  opacity: 0;
  transition: opacity 0.8s ease;
  z-index: 0;
}

.rsvp-card.magic-card:hover {
  transform: translateY(-10px) rotateX(5deg);
  box-shadow: 0 20px 40px rgba(70, 130, 180, 0.2), 0 0 30px rgba(218, 165, 32, 0.15);
  border-color: rgba(218, 165, 32, 0.5);
}

.rsvp-card.magic-card:hover::before {
  opacity: 0.8;
  animation: shine 1.5s ease-in-out;
}

@keyframes shine {
  0% {
    opacity: 0;
    transform: rotate(30deg) translateY(100%);
  }
  50% {
    opacity: 0.8;
  }
  100% {
    opacity: 0;
    transform: rotate(30deg) translateY(-100%);
  }
}

/* Chispas mágicas en la tarjeta */
.magic-sparkles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.magic-sparkles::before,
.magic-sparkles::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(218, 165, 32, 0.6);
  box-shadow: 0 0 10px rgba(218, 165, 32, 0.8), 0 0 20px rgba(218, 165, 32, 0.4);
  animation: sparkle-float 4s ease-in-out infinite;
  opacity: 0;
}

.magic-sparkles::before {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.magic-sparkles::after {
  bottom: 20%;
  right: 10%;
  animation-delay: 2s;
}

@keyframes sparkle-float {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
  100% {
    opacity: 0;
    transform: scale(0.5);
  }
}

.rsvp-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-color: var(--color-accent1);
}

.rsvp-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(209, 190, 218, 0.2);
  border-radius: 50%;
  color: #4682b4;
  font-size: 1.8rem;
  border: 1px solid rgba(209, 190, 218, 0.3);
  flex-shrink: 0;
  margin-right: 25px;
  transition: all 0.4s ease;
}

.rsvp-card:hover .rsvp-icon {
  transform: rotate(5deg) scale(1.05);
  color: #daa520;
  background: rgba(255, 250, 240, 0.5);
}

.parent-card {
  flex: 1;
  max-width: 450px;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.parent-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  border-color: rgba(244, 210, 208, 0.5);
}

.parent-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(209, 190, 218, 0.2);
  border-radius: 50%;
  margin: 0 auto 20px;
  font-size: 1.5rem;
  color: var(--color-accent2);
  border: 1px solid rgba(244, 210, 208, 0.4);
  transition: all 0.4s ease;
}

.parent-card:hover .parent-icon {
  color: var(--color-accent3);
  transform: rotate(5deg) scale(1.05);
  background: rgba(244, 210, 208, 0.3);
}

.gift-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(173, 216, 230, 0.1);
  border-radius: 50%;
  color: #4682b4;
  font-size: 1.8rem;
  border: 1px solid rgba(173, 216, 230, 0.3);
  flex-shrink: 0;
  margin-right: 25px;
  transition: all 0.4s ease;
}

/* Tarjeta de regalo con estilo Disney */
.gift-card {
  max-width: 600px;
  margin: 10px auto 30px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08), 0 0 15px rgba(70, 130, 180, 0.1);
  padding: 30px;
  display: flex;
  align-items: flex-start;
  text-align: left;
  border: 2px solid rgba(218, 165, 32, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(5px);
}

/* Efecto de brillo en las esquinas */
.gift-card::before {
  content: '';
  position: absolute;
  top: -50px;
  left: -50px;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(218, 165, 32, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.gift-card::after {
  content: '';
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(70, 130, 180, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.gift-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
  border-color: rgba(218, 165, 32, 0.4);
}

.gift-card:hover .gift-icon {
  color: rgba(218, 165, 32, 0.9);
  border-color: rgba(218, 165, 32, 0.3);
  background: rgba(255, 250, 240, 0.5);
  transform: rotate(15deg) scale(1.1);
}

.gift-content {
  position: relative;
  z-index: 1;
  flex: 1;
}

.gift-title {
  font-family: var(--font-primary);
  font-size: 1.8rem;
  color: var(--color-primary);
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.gift-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, var(--color-accent3), transparent);
}

.gift-details {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.gift-detail-item {
  display: flex;
  align-items: center;
  border-bottom: 1px dashed rgba(173, 216, 230, 0.3);
  padding-bottom: 10px;
}

.gift-detail-label {
  font-weight: 600;
  color: #555;
  width: 120px;
  flex-shrink: 0;
  position: relative;
  padding-left: 20px;
}

.gift-detail-label::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--color-accent3);
  font-size: 0.8rem;
}

.gift-detail-value {
  color: #333;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.5px;
  font-weight: 500;
}

.rsvp {
  background-color: #4682b4;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.rsvp::before {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background-color: #6495ed;
  opacity: 0.1;
  border-radius: 50%;
  z-index: 0;
}

.rsvp-container {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.rsvp-date {
  font-size: 1.2rem;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.rsvp .btn {
  background-color: white;
  color: #4682b4;
  font-weight: 600;
  margin-top: 30px;
  padding: 15px 40px;
  font-size: 1.1rem;
}

.rsvp .btn:hover {
  background-color: #f0f8ff;
  color: #4682b4;
}

/* Sección de Consideraciones Importantes */
.logistics-section {
  background: linear-gradient(to bottom, rgba(240, 248, 255, 0.8), rgba(230, 240, 250, 0.9));
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  z-index: 5;
}

/* Sección Nuestro Mejor Deseo - Estilo Disney */
.gifts-section {
  background: linear-gradient(to bottom, rgba(240, 248, 255, 0.8), rgba(245, 250, 255, 0.9));
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  z-index: 5;
}

/* Estilo para el título con fuente Disney */
.disney-font {
  font-family: var(--font-cursive);
  font-size: 3.5rem;
  color: var(--color-primary);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
}

.disney-font::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(to right, transparent, var(--color-accent3), transparent);
  border-radius: 3px;
}

/* Efecto mágico de fondo */
.gifts-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(173, 216, 230, 0.2) 0%, transparent 70%),
              radial-gradient(circle at 20% 20%, rgba(218, 165, 32, 0.2) 0%, transparent 60%),
              radial-gradient(circle at 80% 80%, rgba(173, 216, 230, 0.2) 0%, transparent 60%),
              url('../imagenes/subtle-pattern.png');
  opacity: 0.7;
  z-index: -2;
}

/* Partículas brillantes para efecto Disney */
.gifts-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(218, 165, 32, 0.3) 1px, transparent 1px),
    radial-gradient(circle at 75% 75%, rgba(70, 130, 180, 0.3) 1px, transparent 1px),
    radial-gradient(circle at 85% 15%, rgba(218, 165, 32, 0.3) 1px, transparent 1px),
    radial-gradient(circle at 15% 85%, rgba(70, 130, 180, 0.3) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(218, 165, 32, 0.3) 1px, transparent 1px);
  background-size: 150px 150px;
  animation: sparkle 15s linear infinite;
  opacity: 0.6;
  z-index: -1;
  pointer-events: none;
}

/* Elementos decorativos Disney */
.disney-decorative-elements {
  position: relative;
  height: 80px;
  width: 100%;
  margin: 10px 0 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.disney-decorative-elements::before {
  content: '✨';
  font-size: 2.5rem;
  color: var(--color-accent3);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-shadow: 0 0 10px rgba(218, 165, 32, 0.6);
  animation: pulse 2s infinite;
  z-index: 1;
}

@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.7;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.7;
  }
}

/* Mejora del efecto de brillo en la tarjeta */
.gift-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1), 0 0 20px rgba(70, 130, 180, 0.2);
  border-color: rgba(218, 165, 32, 0.5);
}

.gift-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  transform: rotate(30deg);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.gift-card:hover::before {
  opacity: 1;
}

.magic-sparkle {
  position: absolute;
  width: 30px;
  height: 30px;
  background: radial-gradient(circle, rgba(218, 165, 32, 0.8) 0%, rgba(218, 165, 32, 0.4) 40%, transparent 70%);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(218, 165, 32, 0.6), 0 0 20px rgba(218, 165, 32, 0.3);
  opacity: 0;
  animation: float 8s ease-in-out infinite;
  z-index: 2;
}

.sparkle-1 {
  top: 10%;
  left: 10%;
  animation-delay: 0s;
  animation-duration: 7s;
}

.sparkle-2 {
  top: 20%;
  right: 20%;
  animation-delay: 1s;
  animation-duration: 9s;
}

.sparkle-3 {
  bottom: 30%;
  left: 30%;
  animation-delay: 2s;
  animation-duration: 8s;
}

.sparkle-4 {
  bottom: 10%;
  right: 10%;
  animation-delay: 3s;
  animation-duration: 10s;
}

.sparkle-5 {
  top: 50%;
  left: 50%;
  animation-delay: 4s;
  animation-duration: 6s;
}

@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg) scale(0.8);
    opacity: 0;
  }
  20% {
    opacity: 0.8;
  }
  50% {
    transform: translateY(-20px) rotate(10deg) scale(1);
    opacity: 1;
  }
  80% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(-40px) rotate(20deg) scale(0.8);
    opacity: 0;
  }
}

/* Decoración Disney con castillo */
.disney-decoration {
  text-align: center;
  margin: 20px auto 30px;
  position: relative;
  height: 100px;
}

.disney-castle-img {
  height: 100px;
  opacity: 0.7;
  filter: drop-shadow(0 5px 15px rgba(70, 130, 180, 0.3));
  transition: all 0.5s ease;
}

.disney-decoration:hover .disney-castle-img {
  transform: translateY(-5px);
  opacity: 0.9;
  filter: drop-shadow(0 8px 20px rgba(218, 165, 32, 0.4));
}

/* Cita inspiradora Disney */
.disney-quote {
  max-width: 700px;
  margin: 40px auto 20px;
  text-align: center;
  padding: 30px;
  position: relative;
}

.disney-quote::before {
  content: '\201C';
  font-family: var(--font-cursive);
  position: absolute;
  top: -20px;
  left: 0;
  font-size: 5rem;
  color: rgba(218, 165, 32, 0.2);
  line-height: 1;
}

.disney-quote::after {
  content: '\201D';
  font-family: var(--font-cursive);
  position: absolute;
  bottom: -50px;
  right: 0;
  font-size: 5rem;
  color: rgba(70, 130, 180, 0.2);
  line-height: 1;
}

.quote-text {
  font-family: var(--font-cursive);
  font-size: 1.8rem;
  color: var(--color-primary);
  margin-bottom: 15px;
  line-height: 1.4;
  position: relative;
  z-index: 1;
}

.quote-author {
  font-family: var(--font-secondary);
  font-size: 1rem;
  color: var(--color-accent3);
  font-weight: 500;
  font-style: italic;
}

/* Partículas brillantes */
.logistics-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(255, 215, 0, 0.3) 1px, transparent 1px),
    radial-gradient(circle at 75% 75%, rgba(70, 130, 180, 0.3) 1px, transparent 1px),
    radial-gradient(circle at 85% 15%, rgba(255, 215, 0, 0.3) 1px, transparent 1px),
    radial-gradient(circle at 15% 85%, rgba(70, 130, 180, 0.3) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(255, 215, 0, 0.3) 1px, transparent 1px);
  background-size: 150px 150px;
  animation: sparkle 15s linear infinite;
  opacity: 0.5;
  z-index: -1;
  pointer-events: none;
}

@keyframes sparkle {
  0% { background-position: 0 0; }
  100% { background-position: 150px 150px; }
}

.logistics-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 10% 20%, rgba(70, 130, 180, 0.05) 0%, transparent 20%),
              radial-gradient(circle at 30% 70%, rgba(218, 165, 32, 0.05) 0%, transparent 20%),
              radial-gradient(circle at 50% 40%, rgba(70, 130, 180, 0.05) 0%, transparent 20%),
              radial-gradient(circle at 70% 90%, rgba(218, 165, 32, 0.05) 0%, transparent 20%),
              radial-gradient(circle at 90% 30%, rgba(70, 130, 180, 0.05) 0%, transparent 20%);
  background-size: 300px 300px;
  opacity: 0.8;
  z-index: -1;
}

.logistics-section .section-title {
  color: #4682b4;
  font-family: 'Dancing Script', cursive;
  font-size: 3.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 10px;
}

.logistics-section .elegant-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 50px;
  gap: 15px;
}

.logistics-section .elegant-divider i {
  color: #daa520;
  font-size: 1.5rem;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.1));
  transition: all 0.5s ease;
}

.logistics-section .elegant-divider i.fa-heart {
  color: #4682b4;
  animation: pulse 2s infinite;
}

.logistics-section .elegant-divider i.fa-star {
  color: #daa520;
  animation: twinkle 3s infinite;
}

.logistics-section .elegant-divider .divider-line {
  height: 2px;
  width: 60px;
  background: linear-gradient(to right, transparent, rgba(70, 130, 180, 0.5), transparent);
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

@keyframes twinkle {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

.logistics-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.logistics-card {
  flex: 1;
  min-width: 300px;
  max-width: 350px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  z-index: 1;
}

.logistics-card::before {
  content: '';
  position: absolute;
  top: -50px;
  left: -50px;
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, rgba(70, 130, 180, 0.2), rgba(218, 165, 32, 0.1));
  border-radius: 50%;
  z-index: -1;
  transition: all 0.5s ease;
}

.logistics-card::after {
  content: '';
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, rgba(218, 165, 32, 0.1), rgba(70, 130, 180, 0.2));
  border-radius: 50%;
  z-index: -1;
  transition: all 0.5s ease;
}

.logistics-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  border-color: rgba(218, 165, 32, 0.3);
}

.logistics-card:hover::before {
  transform: scale(3);
  opacity: 0.1;
}

.logistics-card:hover::after {
  transform: scale(2.5);
  opacity: 0.1;
}

.card-icon {
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  background: linear-gradient(135deg, #e6f0fa, #f0f8ff);
  border-radius: 50%;
  color: #daa520;
  font-size: 2.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 2;
  transition: all 0.4s ease;
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.logistics-card:hover .card-icon {
  transform: rotateY(180deg);
  color: #4682b4;
  background: linear-gradient(135deg, #f0f8ff, #e6f0fa);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.logistics-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: #4682b4;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 15px;
}

.logistics-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background: linear-gradient(to right, transparent, #daa520, transparent);
}

.logistics-description {
  color: #666;
  font-size: 1.1rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

/* Estilos específicos para cada tarjeta */
.dress-code .card-icon {
  background: linear-gradient(135deg, #f0f8ff, #e6f0fa);
  color: #4682b4;
}

.dress-code:hover .card-icon {
  color: #daa520;
}

.dress-code-image {
  margin-top: 20px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.dress-code-image img {
  width: 100%;
  height: auto;
  transition: all 0.5s ease;
}

.dress-code:hover .dress-code-image {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.dress-code:hover .dress-code-image img {
  transform: scale(1.05);
}

.restrictions-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  text-align: left;
}

.restrictions-list li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  color: #555;
  font-size: 1rem;
}

.restrictions-list li i {
  color: #ff6b6b;
  margin-right: 10px;
  font-size: 0.9rem;
}

.kids-note {
  font-size: 0.9rem;
  color: #777;
  margin-top: 20px;
  padding: 15px;
  background: rgba(70, 130, 180, 0.05);
  border-radius: 8px;
  line-height: 1.5;
}

.hotel-name {
  font-family: 'Dancing Script', cursive;
  font-size: 1.5rem;
  color: #daa520;
  margin: 15px 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.hotel-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 25px;
  background: linear-gradient(135deg, #4682b4, #5f9ea0);
  color: white;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.hotel-btn i {
  margin-right: 8px;
}

.hotel-btn:hover {
  background: linear-gradient(135deg, #5f9ea0, #4682b4);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Animaciones Disney para los iconos */
@keyframes magic-sparkle {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.7; }
  100% { transform: scale(1); opacity: 1; }
}

.logistics-card:hover .fas.fa-magic {
  animation: magic-sparkle 1.5s infinite;
}

@keyframes crown-shine {
  0% { text-shadow: 0 0 5px rgba(218, 165, 32, 0); }
  50% { text-shadow: 0 0 20px rgba(218, 165, 32, 0.5); }
  100% { text-shadow: 0 0 5px rgba(218, 165, 32, 0); }
}

.logistics-card:hover .fas.fa-crown {
  animation: crown-shine 2s infinite;
}

@keyframes castle-float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
  100% { transform: translateY(0); }
}

.logistics-card:hover .fab.fa-fort-awesome {
  animation: castle-float 3s infinite;
}

/* Responsive */
@media (max-width: 992px) {
  .logistics-container {
    gap: 20px;
  }
  
  .logistics-card {
    min-width: 280px;
    padding: 30px 20px;
  }
  
  .card-icon {
    width: 80px;
    height: 80px;
    font-size: 2rem;
  }
  
  .logistics-title {
    font-size: 1.6rem;
  }
}

@media (max-width: 768px) {
  .logistics-section .section-title {
    font-size: 2.8rem;
  }
  
  .logistics-container {
    flex-direction: column;
    align-items: center;
  }
  
  .logistics-card {
    width: 100%;
    max-width: 400px;
  }
}

@media (max-width: 576px) {
  .logistics-section {
    padding: 60px 0;
  }
  
  .logistics-section .section-title {
    font-size: 2.5rem;
  }
  
  .card-icon {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
  }
}

/* Carrusel Mágico Disney */
.carousel-section {
  background: linear-gradient(to bottom, rgba(230, 240, 250, 0.9), rgba(240, 248, 255, 0.8));
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.carousel-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 10% 20%, rgba(70, 130, 180, 0.05) 0%, transparent 20%),
              radial-gradient(circle at 30% 70%, rgba(218, 165, 32, 0.05) 0%, transparent 20%),
              radial-gradient(circle at 50% 40%, rgba(70, 130, 180, 0.05) 0%, transparent 20%),
              radial-gradient(circle at 70% 90%, rgba(218, 165, 32, 0.05) 0%, transparent 20%),
              radial-gradient(circle at 90% 30%, rgba(70, 130, 180, 0.05) 0%, transparent 20%);
  background-size: 300px 300px;
  opacity: 0.8;
  z-index: 0;
}

.carousel-section .section-title {
  color: #4682b4;
  font-family: 'Dancing Script', cursive;
  font-size: 3.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.carousel-section .elegant-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 50px;
  gap: 15px;
  position: relative;
  z-index: 1;
}

.carousel-section .elegant-divider i {
  color: #daa520;
  font-size: 1.5rem;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.1));
  transition: all 0.5s ease;
}

.carousel-section .elegant-divider i.fa-magic {
  color: #4682b4;
  animation: magic-wand 3s infinite;
}

.carousel-section .elegant-divider i.fa-star {
  color: #daa520;
  animation: twinkle 3s infinite;
}

.carousel-section .elegant-divider .divider-line {
  height: 2px;
  width: 60px;
  background: linear-gradient(to right, transparent, rgba(70, 130, 180, 0.5), transparent);
}

@keyframes magic-wand {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(5deg); }
  50% { transform: rotate(0deg); }
  75% { transform: rotate(-5deg); }
  100% { transform: rotate(0deg); }
}

.magic-carousel-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  padding: 30px;
  border-radius: 15px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  z-index: 1;
}

/* Marco decorativo Disney */
.disney-frame-top-left,
.disney-frame-top-right,
.disney-frame-bottom-left,
.disney-frame-bottom-right {
  position: absolute;
  width: 50px;
  height: 50px;
  z-index: 2;
}

.disney-frame-top-left {
  top: 10px;
  left: 10px;
  border-top: 3px solid rgba(70, 130, 180, 0.7);
  border-left: 3px solid rgba(70, 130, 180, 0.7);
  border-top-left-radius: 10px;
}

.disney-frame-top-right {
  top: 10px;
  right: 10px;
  border-top: 3px solid rgba(70, 130, 180, 0.7);
  border-right: 3px solid rgba(70, 130, 180, 0.7);
  border-top-right-radius: 10px;
}

.disney-frame-bottom-left {
  bottom: 10px;
  left: 10px;
  border-bottom: 3px solid rgba(70, 130, 180, 0.7);
  border-left: 3px solid rgba(70, 130, 180, 0.7);
  border-bottom-left-radius: 10px;
}

.disney-frame-bottom-right {
  bottom: 10px;
  right: 10px;
  border-bottom: 3px solid rgba(70, 130, 180, 0.7);
  border-right: 3px solid rgba(70, 130, 180, 0.7);
  border-bottom-right-radius: 10px;
}

/* Contenedor del carrusel */
.magic-carousel-container {
  position: relative;
  overflow: hidden;
  padding: 20px 60px;
  margin: 30px auto;
  max-width: 100%;
  border-radius: 15px;
  background-color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  min-height: 400px;
}

/* Carrusel automático */
.magic-carousel-track {
  display: flex;
  width: calc(800% * 1.5); /* 8 imágenes x 1.5 (algunas duplicadas) */
  animation: none; /* Desactivamos la animación CSS para usar JavaScript */
  padding: 15px 0;
}

@keyframes carousel-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* Mover hasta la mitad (donde empiezan las imágenes duplicadas) */
}

.magic-carousel-track:hover {
  animation-play-state: paused;
}

.magic-carousel-slide {
  flex: 0 0 calc(100% / 4); /* 4 imágenes visibles a la vez */
  padding: 0 10px;
  position: relative;
  transition: all 0.3s ease;
  opacity: 1 !important;
  visibility: visible !important;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.magic-carousel-slide:hover {
  transform: scale(1.03);
  z-index: 3;
}

.magic-carousel-img {
  width: 100%;
  height: 350px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  object-fit: cover;
  display: block;
  border: 3px solid #daa520;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 5px;
}

.magic-carousel-slide:hover .magic-carousel-img {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  border-color: rgba(218, 165, 32, 0.7);
  background-color: rgba(255, 255, 255, 0.4);
}

.magic-overlay {
  position: absolute;
  top: 0;
  left: 25px;
  right: 25px;
  bottom: 0;
  background: linear-gradient(to top, rgba(70, 130, 180, 0.2), transparent 20%);
  border-radius: 15px;
  pointer-events: none;
  transition: all 0.5s ease;
}

.magic-carousel-slide:hover .magic-overlay {
  background: linear-gradient(to top, rgba(218, 165, 32, 0.3), transparent 30%);
}

/* Partículas mágicas */
.magic-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(255, 215, 0, 0.5) 1px, transparent 1px),
    radial-gradient(circle at 75% 75%, rgba(70, 130, 180, 0.5) 1px, transparent 1px),
    radial-gradient(circle at 85% 15%, rgba(255, 215, 0, 0.5) 1px, transparent 1px),
    radial-gradient(circle at 15% 85%, rgba(70, 130, 180, 0.5) 1px, transparent 1px);
  background-size: 150px 150px;
  animation: sparkle-carousel 15s linear infinite;
  opacity: 0.3;
}

@keyframes sparkle-carousel {
  0% { background-position: 0 0; }
  100% { background-position: 150px 150px; }
}

/* Botones de navegación */
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.9);
  border: 2px solid #daa520;
  color: #4682b4;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  opacity: 0.9;
}

.carousel-nav:hover {
  background-color: rgba(255, 255, 255, 0.9);
  color: #daa520;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  opacity: 1;
}

.carousel-nav:focus {
  outline: none;
}

.carousel-prev {
  left: 10px;
}

.carousel-next {
  right: 10px;
}

.carousel-nav i {
  transition: transform 0.3s ease;
}

.carousel-prev:hover i {
  transform: translateX(-3px);
}

.carousel-next:hover i {
  transform: translateX(3px);
}

/* Ajustes para el efecto de overlay */
.magic-overlay {
  position: absolute;
  top: 0;
  left: 10px;
  right: 10px;
  bottom: 0;
  background: linear-gradient(to top, rgba(70, 130, 180, 0.2), transparent 20%);
  border-radius: 12px;
  pointer-events: none;
  transition: all 0.3s ease;
}

/* Responsive */
@media (max-width: 992px) {
  .magic-carousel-img {
    height: 300px;
  }
  
  .carousel-section .section-title {
    font-size: 3rem;
  }
  
  .magic-carousel-slide {
    flex: 0 0 calc(100% / 8); /* 8 imágenes visibles a la vez */
  }
}

@media (max-width: 768px) {
  .magic-carousel-img {
    height: 250px;
  }
  
  .magic-carousel-track {
    width: calc(800% * 1.25); /* 8 imágenes x 1.25 */
  }
  
  .magic-carousel-slide {
    flex: 0 0 calc(100% / 4); /* 4 imágenes visibles a la vez */
  }
  
  .carousel-section .section-title {
    font-size: 2.8rem;
  }
  
  .carousel-nav {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .magic-carousel-img {
    height: 200px;
  }
  
  .magic-carousel-track {
    width: calc(800% * 1.25); /* 8 imágenes x 1.25 */
  }
  
  .magic-carousel-slide {
    flex: 0 0 calc(100% / 2); /* 2 imágenes visibles a la vez */
    padding: 0 5px;
  }
  
  .carousel-section .section-title {
    font-size: 2.5rem;
  }
  
  .magic-carousel-container {
    padding: 15px;
  }
  
  .disney-frame-top-left,
  .disney-frame-top-right,
  .disney-frame-bottom-left,
  .disney-frame-bottom-right {
    width: 25px;
    height: 25px;
  }
  
  .carousel-nav {
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
  }
}

/* Footer */
.footer {
  background-color: #f2f2f2;
  padding: 50px 0;
  text-align: center;
}

.parents {
  margin-bottom: 30px;
}

.parents-group {
  margin-bottom: 20px;
}

.par.section-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--color-primary);
  font-weight: 700;
}

.parents-names {
  font-size: 1rem;
  color: #666;
}

.footer-credits {
  font-size: 0.9rem;
  color: #999;
  margin-top: 30px;
}

.footer-credits a {
  color: var(--color-secondary);
  text-decoration: none;
}

.footer-credits a:hover {
  text-decoration: underline;
}

/* Confeti permanente */
.confetti-container {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
}

/* Responsive */
@media (max-width: 992px) {
  /* Sección de regalos responsiva */
  .gift-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 25px 20px;
  }
  
  .gift-icon {
    margin-right: 0;
    margin-bottom: 20px;
  }
  
  .gift-detail-item {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding-left: 10px;
    padding-right: 10px;
  }
  
  .gift-detail-label {
    width: 100%;
    margin-bottom: 5px;
  }
  
  .hero-names {
    font-size: 4rem;
  }
  
  .hero-quote {
    font-size: 1.8rem;
  }
  
  .countdown-item {
    width: 80px;
    margin: 0 10px;
  }
  
  .countdown-circle {
    width: 80px;
    height: 80px;
  }
  
  .countdown-number {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }
  
  .hero-names {
    font-size: 3.5rem;
  }
  
  .hero-quote {
    font-size: 1.5rem;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: white;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1001;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-item {
    margin: 15px 0;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .menu-close {
    display: block; /* Mostrar solo en versión móvil */
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
  }
  
  .countdown-item {
    width: 70px;
    margin: 0 5px;
  }
  
  .countdown-circle {
    width: 70px;
    height: 70px;
  }
  
  .countdown-number {
    font-size: 1.8rem;
  }
  
  .featured-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .featured-gallery-item {
    height: 350px;
  }
  
  .carousel-container {
    height: 300px;
  }
  
  .carousel-slide {
    min-width: 280px;
    margin: 0 10px;
  }
}

@media (max-width: 576px) {
  .hero-names {
    font-size: 2.5rem;
  }
  
  .hero-date {
    font-size: 1.2rem;
  }
  
  .hero-quote {
    font-size: 1.3rem;
  }
  
  .countdown {
    margin-top: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px 15px;
    padding-bottom: 30px;
  }
  
  .countdown-item {
    width: 70px;
    margin: 0;
    margin-bottom: 15px;
  }
  
  .countdown-circle {
    width: 70px;
    height: 70px;
  }
  
  .countdown-number {
    font-size: 1.5rem;
    font-weight: 700;
  }
  
  .countdown-label {
    font-size: 0.8rem;
  }
  
  .countdown-title {
    font-size: 2rem;
  }
  
  .countdown-header h3 {
    font-size: 1.4rem;
  }
}
  
.gallery-wrapper {
  padding: 20px 0;
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 0;
}

.featured-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin: 0 auto 60px;
  max-width: 1200px;
  padding: 0 20px;
}

.featured-gallery-item {
  height: 450px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  transition: all 0.4s ease;
  transform: scale(1);
  cursor: pointer;
  border: 4px solid rgba(255, 255, 255, 0.8);
}

.featured-gallery-item:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.95);
}

/* Ajuste adicional para el contenedor principal */
.gallery-section .container {
  padding-left: 15px;
  padding-right: 15px;
  max-width: 1200px;
  margin: 0 auto;
}

.carousel-container {
  height: 300px;
}

.carousel-slide {
  min-width: 250px;
  margin: 0 8px;
}

.gallery-container {
  grid-template-columns: 1fr;
}

.logistics-container {
  grid-template-columns: 1fr;
}

/* Ajustar el título del contador */
.countdown-title-mobile {
  font-size: 1.5rem;
}

.gallery-section {
  padding: 40px 0 80px;
  margin-top: 0;
  position: relative;
  z-index: 10;
  background-color: rgba(240, 248, 255, 0.3);
}

@media (max-width: 576px) {
  .gallery-section {
    padding-top: 30px;
    padding-bottom: 60px;
    margin-top: 0;
  }
  
  .featured-gallery {
    grid-template-columns: 1fr;
    max-width: 350px;
    gap: 30px;
    margin-bottom: 40px;
  }
  
  .featured-gallery-item {
    height: 400px;
  }
}
