/* =========================
   Modern Footer – Optimum Realism
   ========================= */

.site-footer {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(10px);
  color: #121212;

  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;

  padding: 48px 20px 24px;
  font-size: 15px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.05);
  font-family: 'Segoe UI', system-ui, sans-serif;
}

.site-footer.visible {
  opacity: 1;
  transform: translateY(0);
}


/* REDUCED MOTION FOR USERS */

@media (prefers-reduced-motion: reduce) {
  .site-footer {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* Main layout */
.footer-top {
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  gap: 150px;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 5.25rem;
}

.logo-text {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-self: start;
}


.footer-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  transform: translateY(-20px);
}

.footer-logo {
  height: 134px;        /* smaller = more premium */
  width: auto;
  opacity: 0.9;        /* softens dominance */
}


.footer-text .copyright {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
}



.footer-text .reserved {
  font-size: 12px;
  color: #888;
  margin-top: 4px;
  letter-spacing: 0.2px;
}

/* Sections */
.footer-resources h4,
.footer-legal h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 14px;
  letter-spacing: 0.3px;
}

.footer-resources ul,
.footer-legal ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-resources li,
.footer-legal li {
  margin-bottom: 8px;
}

/* Footer links */
.footer-resources a,
.footer-legal a {
  color: #121212;
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
}

.footer-resources a::after,
.footer-legal a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 1.5px;
  background-color: currentColor;
  transition: width 0.25s ease;
}

.footer-resources a:hover::after,
.footer-legal a:hover::after {
  width: 100%;
}

/* Bottom row */
.footer-bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(0,0,0,0.06);
  display: flex;
  justify-content: center;
  gap: 24px;
}

.footer-bottom img {
  width: 38px;
  height: 38px;
  opacity: 0.7;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.footer-bottom img:hover {
  opacity: 1;
  transform: translateY(-2px);
}

/* Affiliation text */
.footer-affiliation {
  text-align: center;
  color: #666;
  font-size: 13px;
  margin-top: 24px;
}

.footer-resources a:hover,
.footer-legal a:hover {
  color: #16a34a;
}


/* =========================
   Mobile
   ========================= */
@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .logo-text {
    flex-direction: column;
  }

  .footer-bottom {
    flex-wrap: wrap;
  }
}
