/**
 * @file
 * The footer components.
 *
 * It includes styles for the footer itself and its
 * components.
 */

/**
 * Global footer rules
 */

.main__footer {
  margin-top: auto;
  background-color: var(--color-primary--1);
  color: var(--color-white);
}

.footer-content {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  align-items: center;
  text-align: center;
  padding-top: 1.5rem;
}

.footer-left {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-logo img {
  display: block;
  height: auto;
  max-width: 100%;
}

.menu--footer .menu--level-0 > .menu__item > a.menu__link {
  position: relative;
  display: inline-block;
  text-decoration: none;
  transition: color 0.3s ease;
}

.menu--footer .menu--level-0 > .menu__item > a.menu__link::after {
  content: "";
  position: absolute;
  bottom: 3px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: currentColor;
  transition: width 0.3s ease;
}

.menu--footer .menu--level-0 > .menu__item > a.menu__link:hover {
  text-decoration: none !important;
}

.menu--footer .menu--level-0 > .menu__item:hover > a.menu__link::after {
  width: 100%;
}

.footer-column a.icon-phone,
.footer-column a.icon-mail {
  position: relative;
  display: inline-block;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column a.icon-phone::after,
.footer-column a.icon-mail::after {
  content: "";
  position: absolute;
  bottom: 3px;
  left: 30px;
  width: 0;
  height: 2px;
  background-color: currentColor;
  transition: width 0.3s ease;
}

.footer-column a.icon-phone:hover,
.footer-column a.icon-mail:hover {
  text-decoration: none !important;
}

.footer-column a.icon-phone:hover::after,
.footer-column a.icon-mail:hover::after {
  width: calc(100% - 30px);
}


@media all and (min-width: 750px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: unset;
  }

  .footer-left {
    flex-direction: row;
    gap: 2rem;
  }

  .footer-right .footer-column {
    text-align: right;
  }
}


/**
 * Global subfooter rules
 */

.region-subfooter {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.region-subfooter p,
.region-subfooter a {
  font-weight: 600;
}

.region-subfooter .menu--level-0 {
  display: flex;
  gap: 1rem;
  margin-left: 0;
}

.social-facebook,
.social-instagram,
.social-linkedin,
.social-youtube {
  font-size: 0;
  text-indent: -9999px;
  display: block;
  width: 32px;
  height: 32px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.3s ease;
}

.social-facebook:hover,
.social-instagram:hover,
.social-linkedin:hover,
.social-youtube:hover {
  transform: translateY(-5px);
}

.social-facebook {
  background-image: url('../../images/subfooter/logo-facebook.svg');
}

.social-instagram {
  background-image: url('../../images/subfooter/logo-instagram.svg');
}

.social-linkedin {
  background-image: url('../../images/subfooter/logo-linkedin.svg');
}

.social-youtube {
  background-image: url('../../images/subfooter/logo-youtube.svg');
}


@media (min-width: 750px) {
  .region-subfooter {
    flex-direction: row;
  }
}





