@use '../utils' as *;

/*----------------------------------------*/
/* Fotter style
/*----------------------------------------*/
.rock-footer {
  margin-top: 255px;
  @media #{$lg} {
    margin-top: 130px;
  }
  @media #{$xs,$sm,$md} {
    margin-top: 85px;
  }
  .footer-pattern {
    position: absolute;
    bottom: 0;
    mix-blend-mode: overlay;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1;
  }
  .footer-intro-main {
    @include gridbox();
    grid-template-columns: auto 411px;
    align-items: center;
    margin-bottom: 30px;
    gap: 20px 30px;
    @media #{$xs} {
      grid-template-columns: 1fr;
    }
    .description {
      color: rgba($white, $alpha: 0.7);
      line-height: 1.5;
      font-size: 12px;
      font-weight: 500;
    }
  }
  .footer-main {
    @include gridbox();
    grid-template-columns: auto auto auto auto;
    justify-content: space-between;
    padding-top: 52px;
    padding-bottom: 52px;
    border-top: 1px solid rgba($white, $alpha: 0.1);
    border-bottom: 1px solid rgba($white, $alpha: 0.1);
    gap: 50px 30px;
    @media #{xs,$sm,$md} {
      grid-template-columns: repeat(2, 1fr);
    }
    @media #{$xs} {
      grid-template-columns: 1fr;
      padding-top: 35px;
      padding-bottom: 35px;
    }
  }
  .footer-wg-title {
    margin-bottom: 15px;
    h5 {
      font-size: 18px;
      font-weight: 500;
      color: var(--td-white);
    }
  }
  .footer-links {
    ul {
      li {
        list-style: none;
        &:not(:last-child) {
          margin-bottom: 6px;
        }
        a {
          font-size: 12px;
          font-weight: 500;
          color: rgba($white, $alpha: 0.7);
          &:hover {
            color: var(--td-primary);
          }
        }
      }
    }
  }
  .footer-social {
    a {
      width: 50px;
      height: 50px;
      @include inline-flex();
      align-items: center;
      justify-content: center;
      background: rgba($white, $alpha: 0.1);
      backdrop-filter: blur(4px);
      border-radius: 50%;
      &:hover {
        transform: translateY(-5px);
      }
    }
  }
}
.rock-footer-copyright {
  text-align: center;
  padding: 18px;
  .description {
    font-size: 12px;
    font-weight: 500;
    color: rgba($white, $alpha: 0.7);
  }
}