.main-footer {
  min-height: 480px;
  background: url('../images/footer_banner.webp') no-repeat top 30% center;
  background-size: cover;
  background-color: #000;
}

/* Dark overlay */
.footer-overlay {
  min-height: 480px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3));
  padding: 40px 60px 25px;

  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-end;
}

/* TOP ROW */
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  gap: 25px;
  padding: 0;
  margin: 0;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  opacity: 0.85;
  transition: all 0.6s ease-in-out;
}

.footer-links a:hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 6px;
  text-underline-position: auto;
  text-decoration-thickness: 0.1rem;
}

/* SOCIAL ICONS */
.footer-social {
  display: flex;
  gap: 18px;
}

.footer-social a {
  display: block;
}

.footer-social img {
  font-size: 1.8rem;
  width: 26px;
  height: 26px;
  filter: invert(1);
  opacity: 0.6;
  place-content: center;
}

.footer-social ion-icon {
  font-size: 1.8rem;
  color: #fff;
  opacity: 0.9;
}

.footer-social a:hover img {
  opacity: 1;
}
.footer-social a:hover ion-icon {
  opacity: 1;
  color: #fff;
}

/* BOTTOM ROW */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 18px;
  margin-bottom: 18px;
  font-size: 13px;
  opacity: 0.85;
}

.footer-bottom p {
  color: #ccc;
  margin-bottom: 0;
}

.footer-bottom .powered {
  display: flex;
  align-items: flex-end;
  gap: 0.6rem;
}

.footer-bottom .powered a {
  color: #fff;
  font-weight: 500;
  text-align: center;
  display: inline-flex;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .footer-overlay {
    padding: 30px 20px;
  }

  .footer-top,
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 25px;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }
}
