/* ================== */
/* 🦶 SECTION: FOOTER */
/* ================== */
footer {
  background: var(--col-h);
}

footer ul {
  list-style: none;
}

.footer__a {
  margin-top: 0;
  background: var(--col-b);
}

.footer__socials {
  margin-inline: auto;
  width: fit-content;
  margin-bottom: .5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.2rem;
  padding: 2.5rem 0 0;
}

.footer__socials a {
  background: var(--col-l);
  color: var(--col-m);
  border-radius: 50%;
  width: 2.3rem;
  height: 2.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer__socials a:hover {
  background: var(--col-j);
  color: var(--col-b);
  text-decoration: none;
}

.footer__links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-bottom: 1.2rem;
}

.footer__links h3 {
  color: var(--col-k);
  margin-bottom: 0.6rem;
}

.footer__links ul li {
  padding: 0.3rem 0;
}

.footer__links ul a {
  letter-spacing: .2px;
  opacity: 0.75rem;
  color: var(--col-k);
  font-size: 1.05rem;
  font-weight: 500;
}

.footer__links ul a:hover {
  letter-spacing: 1.5px;
  opacity: 1;
}

.footer__b {
  margin-top: 0;
}

.footer__copyright {
  text-align: center;
  padding: 1rem 0;
  border-top: 1px solid var(--col-k);
  margin-top: 0;
  color: var(--col-w);
}

.footer__copyright a {
  color: var(--col-j);
}

/* ============================ */
/* Responsive Breakpoints       */
/* ============================ */
@media screen and (max-width: 95rem) { /* ή 1520px */
  .footer__links {
    gap: 1.5rem;
  }
}

@media screen and (max-width: 72rem) { /* ή 1152px */
  .footer__links {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    justify-items: center; /* ✅ Κεντράρισμα περιεχομένου ανά κελί */
    text-align: center;     /* ✅ Κεντράρισμα περιεχομένου */
  }

  .footer__socials {
    padding-top: 3rem;
  }
}

@media screen and (max-width: 48rem) {/* ή 768px */
  .footer__links {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__links ul {
    padding: 0;
  }

  .footer__socials {
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
  }
}

@media screen and (max-width: 37rem) {/* ή 592px */
  .footer__links ul li {
    padding: 0.2rem 0;
  }

  .footer__socials a {
    width: 2rem;
    height: 2rem;
    font-size: 0.9rem;
  }

  .footer__copyright {
    font-size: 0.9rem;
  }
}
