/* =============================================
   footer.css — Stiluri footer
   ============================================= */

.footer {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  padding-block: var(--space-2xl);
}

.footer__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-lg);
}

/* Logo în footer */
.footer__logo {
  font-family: var(--font-heading);
  font-size: var(--fs-2xl);
  color: var(--color-text);
  letter-spacing: 0.1em;
}

/* Copyright */
.footer__copy {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
}

/* Linkuri footer */
.footer__nav {
  display: flex;
  /* The container wraps but this row did not, so on a 320px screen the four
     links overflowed and took the whole document sideways with them. */
  flex-wrap: wrap;
  gap: var(--space-lg);
}
.footer__nav a {
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}
.footer__nav a:hover {
  color: var(--color-accent);
}

/* ---- Responsive ---- */
@media (max-width: 640px) {
  .footer__container {
    flex-direction: column;
    text-align: center;
  }
  .footer__nav {
    justify-content: center;
  }
}
