﻿/* footer.css — footer component and centered layout */
footer {
  padding: 38px 0 48px;
  color: #cad3e4;
  font-size: 14px;
}

/* center the content inside the footer */
footer .container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  text-align: center;
}

.footer-separator {
  color: #cad3e4;
  font-size: 20px;
  line-height: 1;
}

.footer-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 0;
  color: #cad3e4;
  line-height: 1;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.footer-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.footer-link:hover {
  color: #fff;
}

.footer-link:hover::after {
  transform: scaleX(1);
}

@media (max-width: 640px) {
  footer .container {
    flex-direction: column;
    gap: 12px;
  }

  .footer-separator {
    display: none;
  }

  .footer-link {
    text-align: center;
  }
}

/* reusable full-bleed divider for header/footer separation */
.divider.full-bleed {
  width: 100vw;
  max-width: 100vw;
  height: 1px;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background:
    linear-gradient(90deg, transparent 0%, rgba(33, 183, 219, 0.55) 18%, rgba(255, 255, 255, 0.34) 50%, rgba(35, 208, 165, 0.55) 82%, transparent 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}
