/* --- FOOTER --- */

footer {
  margin-top: 5rem; /* Space above footer */
  padding-top: 2rem;
  padding-bottom: 2rem;
  border-top: 1px solid var(--pico-muted-border-color); /* Top separator line */
  color: var(--muted-color);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap; /* Allows stacking on mobile */
  gap: 1rem;
}

footer small {
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
}

.footer-links a {
  text-decoration: none;
  color: var(--muted-color);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--pico-color); /* Returns to main theme color on hover */
}

/* Separator style for footer (Consistent with nav) */
.footer-links .separator {
  opacity: 0.3;
  font-weight: 300;
  user-select: none;
}

/* Mobile Adjustment: Stack vertically */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}