/* ==========================================================================
   Site Footer — Alliance Jiu Jitsu Northwest Arkansas
   ========================================================================== */

.site-footer {
  --footer-bg: #000000;
  --footer-bar: #000000;
  --footer-text: #ffffff;
  --footer-muted: rgba(255, 255, 255, 0.88);
  --footer-gold: #ffc033;
  --footer-font: "Montserrat", sans-serif;
  --footer-pad-x: clamp(1.25rem, 5vw, 4rem);

  display: flex;
  flex-direction: column;
  height: 300px;
  background-color: var(--footer-bg);
  color: var(--footer-text);
  font-family: var(--footer-font);
}

.site-footer__main {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(0.75rem, 2vw, 1.25rem);
  min-height: 0;
  padding: 0.75rem var(--footer-pad-x);
  isolation: isolate;
  overflow: hidden;
}

.site-footer__column {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1 1 16rem;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  max-width: 24rem;
}

.site-footer__column--contact {
  margin-left: auto;
}

.site-footer__heading {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--footer-gold);
}

.site-footer__heading--spaced {
  margin-top: 0.45rem;
}

.site-footer__hours,
.site-footer__address {
  margin: 0;
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5;
  color: var(--footer-text);
}

.site-footer__hours strong {
  font-weight: 700;
}

.site-footer__link {
  color: var(--footer-text);
  font-size: 1rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer__link:hover,
.site-footer__link:focus-visible {
  color: var(--footer-gold);
}

.site-footer__link:focus-visible,
.site-footer__contacts a:focus-visible,
.site-footer__social a:focus-visible {
  outline: 2px solid var(--footer-gold);
  outline-offset: 4px;
}

.site-footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__contacts li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-footer__contacts svg {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  fill: var(--footer-gold);
}

.site-footer__contacts a {
  color: var(--footer-text);
  font-size: 1rem;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.2s ease;
  word-break: break-word;
}

.site-footer__contacts a:hover,
.site-footer__contacts a:focus-visible {
  color: var(--footer-gold);
}

.site-footer__social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--footer-text);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer__social svg {
  display: block;
  width: 1.35rem;
  height: 1.35rem;
  fill: currentColor;
}

.site-footer__social a:hover,
.site-footer__social a:focus-visible {
  color: var(--footer-gold);
}

.site-footer__bar {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0 var(--footer-pad-x);
  background-color: var(--footer-bar);
}

.site-footer__copyright {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
}

@media (max-width: 800px) {
  .site-footer {
    height: auto;
    min-height: 300px;
  }

  .site-footer__main {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem var(--footer-pad-x);
  }

  .site-footer__column,
  .site-footer__column--contact {
    max-width: none;
    margin-left: 0;
    align-items: center;
    text-align: center;
  }

  .site-footer__contacts li {
    justify-content: center;
  }

  .site-footer__social {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer__link,
  .site-footer__contacts a,
  .site-footer__social a {
    transition: none;
  }
}
