/* Sección Footer con tema Disney - Con la Bendición y Apoyo */
.footer-section {
  position: relative;
  padding: 80px 0 40px;
  background-color: rgba(240, 248, 255, 0.9);
  background-size: cover;
  background-position: center;
  background-blend-mode: overlay;
  overflow: hidden;
  z-index: 1;
}

/* Fondo mágico con partículas brillantes */
.footer-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-footer 15s linear infinite;
  opacity: 0.4;
  z-index: -1;
  pointer-events: none;
}

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

/* Título de la sección */
.footer-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;
}

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

.footer-floating-element {
  position: absolute;
  opacity: 0.6;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.1));
}

/* Castillo Disney */
.footer-floating-castle {
  top: 15%;
  left: 5%;
  width: 60px;
  height: 60px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 512'%3E%3Cpath fill='%234682b4' d='M336 0c-8.8 0-16 7.2-16 16v80c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V16c0-8.8-7.2-16-16-16H336zm160 0c-8.8 0-16 7.2-16 16v80c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V16c0-8.8-7.2-16-16-16H496zM80 160c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V16c0-8.8-7.2-16-16-16H96c-8.8 0-16 7.2-16 16v144zm400-16c-8.8 0-16 7.2-16 16v80c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16v-80c0-8.8-7.2-16-16-16H480zM0 224c0 17.7 14.3 32 32 32h64V160c0-17.7 14.3-32 32-32h64c17.7 0 32 14.3 32 32v96h64V160c0-17.7 14.3-32 32-32h64c17.7 0 32 14.3 32 32v96h64V160c0-17.7 14.3-32 32-32h64c17.7 0 32 14.3 32 32v96h64c17.7 0 32-14.3 32-32s-14.3-32-32-32H544V96c0-17.7-14.3-32-32-32H448c-17.7 0-32 14.3-32 32v64H384V96c0-17.7-14.3-32-32-32H288c-17.7 0-32 14.3-32 32v64H224V96c0-17.7-14.3-32-32-32H128c-17.7 0-32 14.3-32 32v64H32c-17.7 0-32 14.3-32 32zM64 256v96h64V256H64zm96 0v96h64V256h-64zm160 0v96h64V256h-64zm160 0v96h64V256h-64zm96 0v96h64V256h-64zM32 416c-17.7 0-32 14.3-32 32s14.3 32 32 32H608c17.7 0 32-14.3 32-32s-14.3-32-32-32H32z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  animation: float-footer-element 8s ease-in-out infinite;
}

/* Anillos de boda */
.footer-floating-rings {
  top: 25%;
  right: 8%;
  width: 50px;
  height: 50px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%23daa520' d='M256 64C109.1 64 0 125.9 0 208v98.1c0 82.1 109.1 144 256 144s256-61.9 256-144V208c0-82.1-109.1-144-256-144zm0 240c-106 0-192-35.8-192-80s86-80 192-80 192 35.8 192 80-86 80-192 80z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  animation: float-footer-element 6s ease-in-out infinite 1s;
}

/* Corazón */
.footer-floating-heart {
  bottom: 20%;
  left: 8%;
  width: 45px;
  height: 45px;
  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='M47.6 300.4L228.3 469.1c7.5 7 17.4 10.9 27.7 10.9s20.2-3.9 27.7-10.9L464.4 300.4c30.4-28.3 47.6-68 47.6-109.5v-5.8c0-69.9-50.5-129.5-119.4-141C347 36.5 300.6 51.4 268 84L256 96 244 84c-32.6-32.6-79-47.5-124.6-39.9C50.5 55.6 0 115.2 0 185.1v5.8c0 41.5 17.2 81.2 47.6 109.5z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  animation: float-footer-element 7s ease-in-out infinite 0.5s;
}

/* Zapatilla de cristal */
.footer-floating-slipper {
  bottom: 25%;
  right: 5%;
  width: 50px;
  height: 50px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 512'%3E%3Cpath fill='%234682b4' d='M416 0C352.3 0 256 32 256 32V160c48 0 76 16 104 32s56 32 104 32c56.4 0 176-16 176-96S512 0 416 0zM128 96c0-35.3 28.7-64 64-64h32v224H128V96zm-64 64c0-35.3 28.7-64 64-64v224H64V160zm480 256c-42.4 0-83.5-6.5-122.7-19c-4.3-1.4-8.7-2.9-13.1-4.4c-9.4-3.3-19.2-6.7-29.2-9.9C348.4 371 315.2 363.7 281.6 360c-33.5-3.7-67.5-1.1-99.9 7.6c-8.2 2.2-16.3 4.8-24.3 7.5c-3.9 1.3-7.8 2.7-11.7 4.1c-8.2 3-16.3 6.3-24.2 9.8C76.7 406.5 32.2 416 0 416v96H64 96h96 96 96 96 96 64V416c-32.2 0-64-5.1-64-5.1c-42.5-5-79.6-14.9-112-29.9z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  animation: float-footer-element 9s ease-in-out infinite 1.5s;
}

/* Animación de flotación */
@keyframes float-footer-element {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(5deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

/* Contenedor de padres */
.parents-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin: 40px auto;
  max-width: 1200px;
}

/* Tarjeta de padres con estilo Disney */
.parent-card {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1), 0 0 20px rgba(70, 130, 180, 0.2), 0 0 40px rgba(218, 165, 32, 0.1);
  position: relative;
  max-width: 400px;
  width: 100%;
  text-align: center;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  overflow: hidden;
  transition: all 0.4s ease;
  z-index: 2;
}

/* Efecto de borde brillante */
.parent-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, transparent, rgba(218, 165, 32, 0.7), transparent);
  z-index: 1;
}

.parent-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, transparent, rgba(70, 130, 180, 0.7), transparent);
  z-index: 1;
}

.parent-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15), 0 0 30px rgba(70, 130, 180, 0.3), 0 0 50px rgba(218, 165, 32, 0.2);
}

/* Icono de padres */
.parent-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  background: linear-gradient(135deg, #e6f0fa, #f0f8ff);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  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);
}

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

/* Título de padres */
.parent-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: #4682b4;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 15px;
}

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

/* Nombres de padres */
.parent-names {
  color: #555;
  font-size: 1.2rem;
  margin-bottom: 10px;
  line-height: 1.6;
}

.parent-names:nth-child(3) {
  color: #daa520;
  font-size: 1.5rem;
  font-family: 'Dancing Script', cursive;
  margin: 5px 0;
}

/* Créditos del footer */
.footer-credits {
  margin-top: 60px;
  text-align: center;
  color: #666;
  font-size: 1rem;
  position: relative;
  z-index: 2;
  padding-top: 30px;
  border-top: 1px solid rgba(70, 130, 180, 0.2);
}

.footer-credits p {
  margin: 5px 0;
}

/* Enlace INVITA360 */
.invita360-link {
  color: #4682b4;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
  padding: 0 2px;
}

.invita360-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, #4682b4, #daa520, #4682b4);
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.3s ease;
}

.invita360-link:hover {
  color: #daa520;
  text-shadow: 0 0 3px rgba(218, 165, 32, 0.3);
}

.invita360-link:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* Firma Disney */
.disney-signature {
  margin-top: 30px;
  text-align: center;
}

.disney-signature img {
  max-width: 180px;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.disney-signature:hover img {
  opacity: 1;
  transform: scale(1.05);
}

/* Mensaje final */
.final-message {
  font-family: 'Dancing Script', cursive;
  font-size: 2rem;
  color: #4682b4;
  text-align: center;
  margin: 30px 0;
  position: relative;
  z-index: 2;
}

.final-message::before,
.final-message::after {
  content: '✨';
  display: inline-block;
  margin: 0 15px;
  color: #daa520;
  animation: twinkle-final 2s infinite;
}

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

/* Responsive */
@media (max-width: 992px) {
  .footer-section .section-title {
    font-size: 3rem;
  }
  
  .parent-card {
    padding: 30px 25px;
  }
  
  .parent-icon {
    width: 70px;
    height: 70px;
    font-size: 2rem;
  }
  
  .parent-title {
    font-size: 1.6rem;
  }
  
  .footer-floating-castle, 
  .footer-floating-heart {
    width: 50px;
    height: 50px;
  }
  
  .footer-floating-rings, 
  .footer-floating-slipper {
    width: 40px;
    height: 40px;
  }
  
  .final-message {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .footer-section {
    padding: 60px 0 30px;
  }
  
  .footer-section .section-title {
    font-size: 2.8rem;
  }
  
  .parents-container {
    gap: 30px;
  }
  
  .parent-names {
    font-size: 1.1rem;
  }
  
  .final-message {
    font-size: 1.6rem;
  }
  
  .disney-signature img {
    max-width: 150px;
  }
}

@media (max-width: 576px) {
  .footer-section {
    padding: 50px 0 30px;
  }
  
  .footer-section .section-title {
    font-size: 2.5rem;
  }
  
  .parent-icon {
    width: 60px;
    height: 60px;
    font-size: 1.8rem;
  }
  
  .parent-title {
    font-size: 1.4rem;
  }
  
  .parent-names {
    font-size: 1rem;
  }
  
  .footer-floating-elements {
    display: none;
  }
  
  .final-message {
    font-size: 1.4rem;
  }
  
  .final-message::before,
  .final-message::after {
    margin: 0 8px;
  }
}
