@import url(global-styles.css);

.footer-basic {
  padding: 40px 20px;
  background-color: var(--white);
  border-top: 1px solid #eaeaea;
}

.footer-basic .social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  padding-bottom: 25px;
}

.footer-basic .social > a {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1.5px solid #ccc;
  color: inherit;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
}

.footer-basic .social > a:hover {
  background-color: var(--black);
  color: var(--white);
}


.footer-basic .social a img {
  width: 60%;
  transition: filter 0.3s ease-in-out;
  filter: none;
}

.footer-basic .social a:hover img {
  filter: invert(1);
}

body.dark-mode .footer-basic {
  background-color: var(--black);
  color: var(--white);
}

body.dark-mode .footer-basic .social a {
  border-color: #555;
}

body.dark-mode .footer-basic .social a:hover {
  background-color: var(--white);
}

body.dark-mode .footer-basic .social > a {
background-color: var(--black);
}


body.dark-mode .footer-basic .social a img {
  filter: invert(1);
}

/* En modo oscuro, al hacer hover, se muestra normal */
body.dark-mode .footer-basic .social a:hover img {
  filter: invert(0);
}


.footer-basic .copyright {
  margin-top: 15px;
  text-align: center;
  font-size: 14px;
  color: #333333;
}

body.dark-mode .footer-basic .copyright {
  color: #777;
}

.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background-color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  z-index: 1000;
}

.whatsapp-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.whatsapp-logo {
  width: 60%;
  display: block;
  margin: auto;
}

@media screen and (max-width: 768px) {
  .footer-basic {
    padding: 30px 10px;
  }
  .footer-basic .social > a {
    width: 40px;
    height: 40px;
  }
  .whatsapp-button {
    width: 50px;
    height: 50px;
    bottom: 15px;
    right: 15px;
  }
}

@media screen and (max-width: 480px) {
  .footer-basic .social > a {
    width: 35px;
    height: 35px;
  }
  .whatsapp-button {
    width: 45px;
    height: 45px;
    bottom: 10px;
    right: 10px;
  }
}