/* ============================================
   FOOTER.CSS - Shared footer styles
   ============================================ */

.footer {
  position: relative;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  padding: 4em 8em 0;
  gap: 0;
  background:
    linear-gradient(
      180deg,
      rgba(255, 186, 1, 0.06) 0%,
      rgba(35, 29, 20, 0.92) 40%,
      rgba(26, 24, 19, 0.95) 100%
    ),
    #1c1914;
  border-top: 1px solid rgba(255, 186, 1, 0.22);
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 186, 1, 0.6) 50%,
    transparent 100%
  );
}

.footer-column {
  flex: 0 1 13em;
  min-width: 11em;
  max-width: 16em;
  margin: 0 1.8em;
}

.heading-container-footer {
  margin: 0 1.8em;
  flex: 0 1 13em;
  min-width: 11em;
  max-width: 16em;
}

.footer-logo {
  width: 15em;
  height: 15em;
  margin-bottom: 1.2em;
  object-fit: contain;
  filter: drop-shadow(0 4px 14px rgba(255, 186, 1, 0.25));
}

.logo-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  flex: 0 1 16em;
  min-width: 14em;
  max-width: 20em;
  margin: 0 1.8em;
}

.social-icons {
  display: flex;
  gap: 1.8em;
  margin-top: 0.4em;
  justify-content: center;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
}

.social-icons a:hover {
  transform: translateY(-2px);
}

.social-icons img {
  width: 1.6em;
  height: 1.6em;
  margin: 0;
  filter: brightness(0) invert(0.75);
  transition: filter 0.25s ease;
}

.social-icons a:hover img {
  filter: brightness(0) saturate(100%) invert(76%) sepia(57%) saturate(1942%)
    hue-rotate(2deg) brightness(103%) contrast(103%);
}

.footer-column h2 {
  margin: 0 0 1em;
  padding-bottom: 0.6em;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #ffba01;
  display: block;
  border-bottom: 1px solid rgba(255, 186, 1, 0.22);
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55em;
  text-align: left;
}

.footer-column ul li {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.4;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
  display: inline-block;
}

.footer-column a:hover {
  color: #ffba01;
  transform: translateX(3px);
}

.footer-column span {
  color: rgba(255, 255, 255, 0.75);
}

.logo-column .footer-tagline {
  margin: 0 0 1.2em;
  font-size: 0.82rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.6);
  max-width: 18em;
}

.footer-bottom {
  flex-basis: 100%;
  width: 100%;
  margin: 2.8em -8em 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.footer-bottom-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8em;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.62);
  letter-spacing: 0.03em;
  text-align: center;
}

.footer-bottom-copy {
  min-height: 2.4em;
  padding-top: 1.2em;
  padding-bottom: 1.2em;
  border-top: 1px solid rgba(255, 186, 1, 0.18);
}

.footer-bottom-credit {
  height: 3em;
  border-top: 1px solid rgba(255, 186, 1, 0.12);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.7rem;
}

.footer-bottom-row p {
  margin: 0;
  font-size: 0.8em;
}

.footer-bottom-row a {
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s ease;
}

.footer-bottom-row a:hover {
  color: #fff;
}

@media (max-width: 768px) {
  .footer {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    padding: 2.5em 1.8em 0;
    gap: 1.8em;
  }

  .footer-column,
  .heading-container-footer,
  .logo-column {
    max-width: none;
    width: 100%;
    min-width: 0;
    margin: 0;
    box-sizing: border-box;
  }

  .logo-column {
    align-items: center;
    text-align: center;
    padding-bottom: 0.5em;
  }

  .footer-logo {
    width: 11em;
    height: 11em;
    margin-bottom: 0.8em;
  }

  .footer-column h2 {
    font-size: 0.82rem;
  }

  .footer-column ul li {
    font-size: 0.85rem;
  }

  .footer-bottom {
    margin: 1.8em -1.8em 0;
  }

  .footer-bottom-row {
    padding: 0 1.8em;
  }

  .footer-bottom-copy {
    padding-top: 1em;
    padding-bottom: 1em;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 2em 1.2em 0;
    gap: 1.5em;
  }

  .footer-logo {
    width: 15em;
    height: 15em;
  }

  .social-icons {
    gap: 1.4em;
  }

  .footer-bottom {
    margin: 1.4em -1.2em 0;
  }

  .footer-bottom-row {
    padding: 0 1.2em;
    font-size: 0.72rem;
    line-height: 1.45;
  }

  .footer-bottom-credit {
    height: auto;
    padding: 0.8em 1.2em;
  }
}
