/* ============================================================================
   FOOTER - DISEÑO FIJO (NO CAMBIA CON TEMAS)
   Este footer siempre se ve igual con su gradiente burgundy oscuro
   ============================================================================ */

/* === FOOTER PRINCIPAL === */
.main-footer {
  position: relative;
  /* Gradiente fijo burgundy oscuro - NUNCA cambia */
  background: linear-gradient(135deg, #1a1a1a 0%, #5c1a1a 50%, #8b2635 100%);
  color: white;
  padding-top: 4rem;
  margin-top: 4rem;
  overflow: hidden;
}

/* === OLAS DECORATIVAS === */
.footer-waves {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: translateY(-1px);
}

.footer-waves svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 120px;
}

/* Las olas se adaptan al fondo de la página actual */
:root[data-theme="light"] .footer-waves path {
  fill: #f5f2ed; /* Tema claro */
}

:root[data-theme="dark"] .footer-waves path {
  fill: #0f0f0f; /* Tema oscuro */
}

/* === CONTENIDO DEL FOOTER === */
.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

/* === COLUMNAS === */
.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: white !important;
}

.footer-col h3 {
  color: white !important;
}

/* === LOGO === */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
}

.footer-logo i {
  font-size: 1.5rem;
  color: #d4af37; /* Dorado */
}

/* === TEXTOS === */
.footer-text {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* === REDES SOCIALES === */
.footer-social {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.footer-social a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  color: white;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-social a:hover {
  background: #d4af37; /* Dorado */
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

/* === LINKS === */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links li {
  margin: 0;
}

.footer-links a {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  transition: all 0.2s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: #d4af37; /* Dorado */
  transform: translateX(5px);
}

/* === FORMULARIO NEWSLETTER === */
.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-form input {
  flex: 1;
  padding: 1rem;
  border: none;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.newsletter-form input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.2);
  border-color: #d4af37;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.newsletter-form button {
  padding: 1rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, #d4af37, #b8941f);
  color: #1a1a1a;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.125rem;
  font-weight: 600;
}

.newsletter-form button:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.newsletter-form button:active {
  transform: scale(0.98);
}

/* === FOOTER BOTTOM === */
.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
}

.footer-bottom p {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.5rem;
}

.footer-made {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-made i {
  color: #ef4444; /* Rojo corazón */
  animation: heartPulse 1.5s ease-in-out infinite;
}

/* Animación del corazón */

  50% {
    transform: scale(1.2);
  }
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .main-footer {
    padding-top: 3rem;
    margin-top: 3rem;
  }
  
  .footer-waves svg {
    height: 80px;
  }
  
  .footer-content {
    padding: 2rem 1rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-col h4 {
    font-size: 1.125rem;
  }
  
  .footer-logo {
    font-size: 1.25rem;
  }
  
  .footer-text,
  .footer-links a {
    font-size: 0.9375rem;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form button {
    width: 100%;
  }
  
  .footer-bottom {
    padding: 1.5rem 1rem;
  }
}

@media (max-width: 480px) {
  .footer-social {
    justify-content: center;
  }
  
  .footer-social a {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}