/* ========================
   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;
  }
}

/* ========================
   DESKTOP: ≥1024px
======================== */
@media (min-width: 1024px) {
  .footer-container {
    flex-direction: row;
  }

  .footer-left {
    flex: 0 0 500px;
  }
 
  .footer-animated-logo {
    width: 200px;
    padding-left: 20px;
  }

  .social-icons a img {
    width: 40px;
    height: 40px;
  }

  .footer-right {
    gap: 30px;
  }

  .scan .scan-image {
    height: 150px;
  }

  .footer-column h3 {
  padding-bottom: 25px;
}
}

/* ========================
   TABLET: 481px–1023px
======================== */
.temp-footer {
  background-color: #E6C3A0;
  padding: 50px 20px;
}

/* ========================
   DESKTOP / TABLET DEFAULT
   ≥ 491px
======================== */
@media (min-width: 491px) {
  .footer-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1400px;
    margin: 0 auto;
    gap: 30px;
    height: auto;
    flex-direction: row;
  }

  .footer-left {
    flex: 0 0 300px;
    max-height: 450px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-left: 20px;
  }

  .footer-animated-logo {
    width: 150px;
    height: auto;
    padding-left: 10px;
  }

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

  .social-icons {
    display: flex;
    gap: 10px;
     margin-bottom: 0px; /* space between icons and office info */
  }

  .social-icons a img {
    width: 35px;
    height: 35px;
    transition: transform 0.3s;
  }

  .social-icons a img:hover {
    transform: scale(1.1);
  }

  .footer-right {
    display: flex;
    flex: 1;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 0px;
  }

  .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: 20px; /* 20px between office name & info */
  }

  .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: 0px;
    text-decoration: none;
  }

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

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

/* ========================
   MOBILE
   320px – 490px
======================== */
@media (max-width: 490px) {
  .footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    height: auto;
    padding: 20px;
  }

  .footer-left {
    width: 100%;
    align-items: center;
    text-align: center;
    gap: 10px;
    margin-left: 0px;
  }

  .footer-animated-logo {
    width: 120px;
    padding-left: 0;
    margin-bottom: 10px;
  }

  .footer-left p {
    font-size: 10px;
  }

  .social-icons {
    justify-content: center;
    gap: 10px;
    margin-bottom: 0px; /* slightly smaller space on mobile */
  }

  .social-icons a img {
    width: 25px;
    height: 25px;
  }

  .footer-right {
    flex-direction: column;
    width: 100%;
    gap: 10px;
    text-align: left;
    margin-top: 0px;
  }

  .footer-column {
    flex: 1 1 100%;
    width: 100%;
    min-width: auto;
    margin: 0px;
    padding-left: 10px;
  }

  .footer-column h3 {
    font-size: 14px;
    margin-bottom: 10px; /* smaller spacing for mobile */
  }

  .footer-column p,
  .footer-column a {
    font-size: 12px;
    margin-bottom: 0px;
  }

  .scan .scan-image {
    height: 90px;
    margin-top: 10px;
    margin-bottom: 15px;
  }
}
