/* Footer */
.main-footer {
  position: relative;
  background: linear-gradient(rgba(16, 35, 78, 0.95), rgba(16, 35, 78, 0.95)),
    url("https://mcybqxqlujczgclidnar.supabase.co/storage/v1/object/public/ajpd-storage/nav.webp");
  background-size: cover;
  background-position: center;
  color: white;
  padding: 3rem 1rem;
  margin-top: auto;
  z-index: 2;
}

/* Añadir el efecto blur */
.main-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1;
  opacity: 0.8;
  transition: opacity 0.3s ease;
  box-shadow: 0 -20px 20px -20px rgba(16, 35, 78, 0.4);
}

/* Asegurar que el contenido esté por encima del blur */
.footer-container {
  position: relative;
  z-index: 3;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-container {
    grid-template-columns: repeat(3, 1fr);
    text-align: left;
    gap: 2rem;
  }
}

.footer-section h2 {
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.social-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

@media (min-width: 768px) {
  .social-links {
    justify-content: flex-start;
  }
}

.social-links a {
  color: white;
  font-size: 1.8rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  color: var(--color-accent);
  transform: translateY(-3px);
}

.google-map {
  width: 100%;
  height: 200px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.legal-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.legal-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.legal-links a:hover {
  color: var(--color-accent);
}
