@use "../../../styles/patterns";

.footer {
  background: var(--color-neutral-900);
  color: var(--color-neutral-50);
  padding: var(--space-8) 0 var(--space-4);
  font-size: 0.9rem;
  position: relative;
  margin-top: auto; /* Push to bottom if content is short */
  // Cross Hatch Pattern
  &::before {
    content: "";
    position: absolute;
    inset: 0;
    @include patterns.pattern-cross-hatch(var(--color-neutral-50), 20px, 1px);
    opacity: 0.05;
    pointer-events: none;
  }
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-6);
}

@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: var(--space-8);
  }

  .links {
    flex-direction: column;
    gap: var(--space-3);
  }
}

.brand {
  font-weight: 700;
  color: white;
  display: block;
  margin-bottom: var(--space-2);
}
.copyright {
  font-size: 0.875rem;
  color: var(--color-secondary-500);
  margin: 0;
}

.links {
  display: flex;
  gap: var(--space-6);
  a {
    color: var(--color-neutral-300);
    font-size: 0.875rem;
    transition: color 0.2s;
    &:hover {
      color: white;
      text-decoration: underline;
    }
  }
}

.social {
  display: flex;
  gap: var(--space-3);
}
.social-icon {
  width: 24px;
  height: 24px;
  background-color: var(--color-neutral-800);
  border-radius: 50%;
}
