/** css/components/footer.css **/

.site-footer {
  padding: 4rem 0 2rem 0;
  border-top: 1px solid var(--border-color);
  text-align: left;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-column:nth-child(2) {
  margin-left: auto;
}

.footer-column.about {
  max-width: 280px;
  flex-shrink: 0;
  text-align: left;
}

.footer-column.about .footer-logo {
  height: 35px;
  max-width: 150px;
}

.footer-column .footer-text {
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  position: relative;
}

.footer-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 40px;
  height: 2px;
  background-color: var(--primary);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin-left: 10px;
  margin-right: 10px;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links .footer-link-item {
  display: flex;
  align-items: center;
  color: var(--text-body);
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0;
}

.footer-links .footer-link-item:hover {
  color: var(--primary);
  transform: translateX(5px);
}

.footer-socials {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
  align-items: center;
}

.footer-socials a {
  color: var(--text-muted);
  font-size: 1.6rem;
  transition: color 0.2s ease, transform 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-socials a:hover {
  color: var(--primary);
  transform: translateY(-3px);
}

.footer-socials a i {
  text-decoration: none;
}

.footer-bottom-bar {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (max-width: 991.98px) {
  .footer-grid {
    flex-direction: column;
    text-align: center;
    gap: 2.5rem;
  }

  .footer-column.about {
    max-width: 100%;
    text-align: center;
  }

  .footer-column:not(.about) {
    display: none;
  }

  .footer-column:nth-child(2) {
    margin-left: auto;
  }

  .footer-title::after {
    left: 0;
    transform: none;
  }

  .footer-text {
    margin-left: 10%;
    margin-right: 10%;
  }

  .footer-socials {
    justify-content: center;
  }

  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
  }

  .footer-logo {
    display: block;
    margin: 0 auto 1rem;
  }
}
