/* ========================
   BASE / SHARED STYLES
======================== */
.temp-footer {
  background-color: #E6C3A0;
  padding: 50px 20px;
  width: 100%;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1400px;
  margin: 0 auto;
  gap: 30px;
  height: 500px;
}

.footer-left {
  flex: 0 0 500px;
  max-height: 450px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin-left: 40px;
  overflow: hidden; /* prevent offscreen elements from spilling */
}

.footer-animated-logo {
  width: 200px;
  height: auto;
  padding-left: 20px;
  opacity: 0;
  transform: translateX(-60px);
  transition: transform 0.8s ease-out, opacity 0.8s ease-out;
}

.footer-animated-logo.show {
  opacity: 1;
  transform: translateX(0);
}

.footer-left p {
  font-family: 'Futura', sans-serif;
  color: #865E47;
  text-transform: uppercase;
}

.social-icons {
  display: flex;
  gap: 10px;
}

.social-icons a {
  display: inline-block;
}

.social-icons a img,
.social-icons img {
  width: 40px;
  height: 40px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.social-icons a.visible img,
.social-icons img.visible {
  opacity: 1;
  transform: translateY(0);
}

.social-icons a img:hover,
.social-icons img:hover {
  transform: translateY(-6px);
}

.footer-right {
  display: flex;
  flex: 1;
  gap: 5px;
  flex-wrap: wrap;
}

.footer-column {
  flex: 1;
  min-width: 250px;
}

.footer-column h3 {
  font-family: 'Futura', sans-serif;
  color: #865E47;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 2px;
  margin-bottom: 5px;
}

.footer-column p,
.footer-column a {
  font-family: 'Acumin Pro', sans-serif;
  color: #865E47;
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 1px;
  margin-bottom: 5px;
  text-decoration: none;
}

.footer-column a:hover {
  text-decoration: underline;
}

.footer-column img {
  width: auto;
  height: 20px;
  margin-right: 8px;
  vertical-align: middle;
}

.scan .scan-image {
  height: 150px;
  margin-top: 15px;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .footer-animated-logo,
  .social-icons a img,
  .social-icons img {
    transition: none;
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 768px) {

  .temp-footer {
    padding: 30px 0; /* remove side padding */
  }

  .footer-container {
    flex-direction: column;
    height: auto;          /* remove fixed height */
    gap: 25px;
    padding: 0;
  }

  .footer-left {
    flex: none;
    width: 100%;
    max-height: none;
    margin-left: 0;
    align-items: center;
    text-align: center;
    overflow: visible;
  }

  .footer-animated-logo {
    width: 160px;
    padding-left: 0;
    margin: 0 auto;
  }

  .footer-left p {
    text-align: center;
        padding-left: 20px;
    padding-right: 20px;
  }

  .social-icons {
    justify-content: center;
    flex-wrap: wrap;
  }

  .footer-right {
    flex-direction: column;
    width: 100%;
    gap: 20px;
    padding: 0;
  }

  .footer-column {
    width: 100%;
    min-width: unset;
    text-align: center;
  }

  .scan .scan-image {
    height: 120px;
    margin: 10px auto 0;
  }
}