@use "../../../../styles/abstracts/variables" as *;

.footer {
  width: 100%;
  background: linear-gradient(180deg, #0a0a0a, #121212);
  color: #fff;
  font-family: $font-onest;
  padding: 5rem 2rem 2rem;
  overflow: hidden;

  .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 3rem;

    /* Brand */
    .brand {
      flex: 1 1 280px;

      h2 {
        font-size: 1.8rem;
        font-weight: 800;
        color: #f7931a;
        margin-bottom: 0.5rem;
      }

      p {
        font-size: 0.9rem;
        color: #cbd5e1;
        max-width: 260px;
      }
    }

    /* Navigation */
    .nav {
      flex: 2 1 450px;
      display: flex;
      gap: 2rem;

      .navSection {
        flex: 1;
        h4 {
          font-size: 0.95rem;
          font-weight: 700;
          color: #fbbf24;
          margin-bottom: 0.5rem;
          letter-spacing: 0.03em;
        }

        ul {
          list-style: none;
          padding: 0;
          margin: 0;
          display: flex;
          flex-direction: column;
          gap: 0.4rem;

          li {
            font-size: 0.875rem;
            color: #cbd5e1;
            cursor: pointer;
            transition: all 0.3s ease;

            &:hover {
              color: #fff;
              transform: translateX(3px);
              text-shadow: 0 0 6px rgba(247,147,26,0.6);
            }
          }
        }
      }
    }

    /* Social */
    .social {
      flex: 1 1 180px;

      h4 {
        font-size: 0.95rem;
        font-weight: 700;
        margin-bottom: 0.5rem;
        color: #fbbf24;
      }

      .icons {
        display: flex;
        gap: 1rem;
        font-size: 1.4rem;
        color: #fff;

        svg {
          transition: all 0.3s ease;
          cursor: pointer;

          &:hover {
            color: #f7931a;
            transform: scale(1.2);
            filter: drop-shadow(0 0 4px #f7931a);
          }
        }
      }
    }
  }

  /* Bottom */
  .bottom {
    margin-top: 3rem;
    text-align: center;
    font-size: 0.85rem;
    color: #94a3b8;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 1.5rem;
  }

  /* RESPONSIVE */
  @media (max-width: 1024px) {
    .container {
      align-items: flex-start;

      .nav {
        flex-direction: row;

        .navSection {
          flex: 1 1 45%;
        }
      }

      .social {
        width: 100%;
      }
    }
  }

  @media (max-width: 640px) {
    padding: 4rem 2rem;

    .nav {
      .navSection {
        flex: 1 1 45%;

        ul li {
          font-size: 0.8rem;
        }
      }
    }

    .brand {
      h2 {
        font-size: 1.5rem;
      }

      p {
        font-size: 0.85rem;
      }
    }
  }
}
