/* ==========================================================================
   FOOTER MINIMAL (ONE-PAGE ARCHITECTURE)
   Clean, Typographic, Minimalist Footer matching WebWizBD Brand Identity
   Zero !important specificity rule strictly maintained
   ========================================================================== */

.wp-block-group.tp-footer-minimal,
footer.tp-footer-minimal,
.tp-footer-minimal {
  position: relative;
  width: 100%;
  background: transparent;
  padding-top: clamp(70px, 8vw, 110px);
  padding-bottom: clamp(32px, 4vw, 48px);
  box-sizing: border-box;
  overflow: hidden;
  border-top: none;

  .tp-footer-minimal__container {
    max-width: 1140px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
  }

  /* 01. Center Brand Block */
  .tp-footer-minimal__center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: clamp(48px, 6vw, 80px);
  }

  /* Brand Logo Link */
  .tp-footer-minimal__brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    text-decoration: none;
    transition: transform 0.25s ease, opacity 0.25s ease;

    &:hover {
      transform: translateY(-2px);
      opacity: 0.9;
    }
  }

  .tp-footer-minimal__logo-img {
    max-width: 175px;
    height: auto;
    display: block;
    object-fit: contain;
  }

  /* Center Tagline */
  .tp-footer-minimal__tagline {
    font-family: var(--tp-ff-heading, 'Plus Jakarta Sans', -apple-system, sans-serif);
    font-size: clamp(16px, 1.8vw, 20px);
    font-weight: 600;
    color: #0f172a;
    letter-spacing: -0.015em;
    line-height: 1.45;
    margin: 0 auto 28px auto;
    max-width: 580px;
  }

  /* Onepage Navigation Links */
  .tp-footer-minimal__nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 28px;
    margin-bottom: 24px;

    .tp-footer-minimal__nav-link {
      font-family: var(--tp-ff-body, 'Inter', sans-serif);
      font-size: 14.5px;
      font-weight: 500;
      color: #475569;
      text-decoration: none;
      transition: color 0.2s ease;

      &:hover {
        color: #2563eb;
      }
    }
  }

  /* Social Icons */
  .tp-footer-minimal__social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    .tp-footer-minimal__social-link {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: #f8fafc;
      color: #64748b;
      text-decoration: none;
      border: 1px solid rgba(15, 23, 42, 0.08);
      transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;

      &:hover {
        background: #2563eb;
        color: #ffffff;
        border-color: #2563eb;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
      }

      svg {
        width: 15px;
        height: 15px;
      }
    }
  }

  /* 02. Bottom Bar (Copyright & Legal) */
  .tp-footer-minimal__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid rgba(15, 23, 42, 0.08);

    .tp-footer-minimal__copyright {
      font-family: var(--tp-ff-body, 'Inter', sans-serif);
      font-size: 13.5px;
      font-weight: 500;
      color: #64748b;
      margin: 0;
      letter-spacing: -0.01em;
    }

    .tp-footer-minimal__legal-links {
      display: inline-flex;
      align-items: center;
      gap: 20px;

      .tp-footer-minimal__legal-link {
        font-family: var(--tp-ff-body, 'Inter', sans-serif);
        font-size: 13.5px;
        font-weight: 500;
        color: #64748b;
        text-decoration: none;
        transition: color 0.2s ease;
        cursor: pointer;

        &:hover {
          color: #2563eb;
        }
      }
    }
  }
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .wp-block-group.tp-footer-minimal,
  footer.tp-footer-minimal,
  .tp-footer-minimal {
    padding-top: 50px;
    padding-bottom: 28px;

    .tp-footer-minimal__center {
      margin-bottom: 40px;
    }

    .tp-footer-minimal__nav {
      gap: 16px;
    }

    .tp-footer-minimal__bottom {
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 12px;

      .tp-footer-minimal__legal-links {
        gap: 16px;
      }
    }
  }
}
