/* Estilo para el footer */

.footer {
  position: relative;
  clear: both;
  width: 100%;
  padding: 30px 0;
  background: #ccb370 ! important;
  color: #333333;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 70%;
  margin: 0 auto;
}

.footer-column {
  flex: 1;
  min-width: 250px;
  margin: 20px 0;
  text-align: center;
}

.footer-column h3 {
  font-size: 2.2em;
  margin-bottom: 10px;
  color: #646a82;
}

.parrafo-footer {
  font-size: 1em;
  line-height: 1.6;
}

.google-maps a,
.email a,
.telefono a {
  color: #333333;  /* Texto blanco */
  text-decoration: none;
  transition: color 0.3s ease;
}

.google-maps a:hover,
.email a:hover,
.telefono a:hover {
  color: #ffffff;  /* Texto dorado al pasar el ratón */
}

.social-icons {
  display: flex;
  justify-content: center;
}

.social-icons a {
  margin: 15px 10px 10px 0px;
  color: #333333;  /* Iconos negros */
  font-size: 2.5em;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
  transform: scale(1.1);
}

/* Cambiar el color de los iconos al color original de cada red social */

.iconos-redes:hover.fa-facebook-square {
    color: #1877f2; /* Color azul de Facebook */
}
.iconos-redes:hover.fa-twitter {
    color: #1da1f2; /* Color azul de Twitter */
}
.iconos-redes:hover.fa-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); /* Color similar a Instagram */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.iconos-redes:hover.fa-whatsapp {
    color: #25d366; /* Color verde de WhatsApp */
}

.hr-footer {
  border: 0;
  margin: 1.35em auto;
  max-width: 100%;
  background-position: 50%;
  height: 20px;
  width: 80%;
  background-image: radial-gradient(
    farthest-side at 50% -50%,
    hsla(0, 0%, 0%, 0.5),
    hsla(0, 0%, 0%, 0));
  position: relative; 
}

.hr-footer::before {
  margin-top: 50px;
  height: 1px;
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  background-image: linear-gradient(
    90deg,
    hsla(0, 0%, 0%, 0),
    hsla(0, 0%, 0%, 0.75) 50%,
    hsla(0, 0%, 0%, 0));
}

.footer-links {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

.footer-links a {
  margin: 0 15px;
  color: #646a82;
  text-decoration: none;
  font-size: 1.3em;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-mapa {
  width: 100%;
  text-align: center; /* Asegura que el iframe se centre dentro de este contenedor */
}
.footer-mapa iframe {
  display: inline-block; /* Cambia a inline-block para centrado con text-align */
  width: 35%;
  height: 200px;
  border: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 6px 20px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
}
@media screen and (min-width: 800px) {
  .footer-mapa iframe {
    min-width: 380px;
  }
}
@media screen and (max-width: 800px){ 
  .footer-mapa iframe {
    width: 95%;
    min-width: 0;
  } 
}

.patrocinios,
.footer-banderas {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
}

.patrocinios img {  margin: 0 10px; max-width: 150px;}
.footer-banderas img { margin: 0 10px; max-width: 50px;}

.copyright {
  font-size: 0.9em;
  text-align: center;
  margin-top: 20px;
  a{
    text-decoration: none;
    color: #1a1a1a;
  }
  a:hover{
    color: #ffffff;
  }
}

/* @media para el footer */

@media (max-width: 800px) {
  .footer-container {
    width: 90%;
  }
  .footer-column {
    margin: 10px 0;
  }
  .footer-column h3 { margin: 0;}
  .hr-footer { width: 100%;}

  .footer-links {
    flex-direction: column;
  }
  .footer-links a {
    text-align: center;
    margin: 10px 0;
  }
  .patrocinios { flex-direction: column;}
  .patrocinios img { margin-bottom: 20px;}
  .footer-banderas img { margin: 0 5px;}
  .copyright { font-size: 0.6em;}
}