/* ==========================================================================
   Footer — Ultra Modern Dark
   Footer layout, compliance area, social links.
   Source: ultra modern dark design guide.md, section 17
   ========================================================================== */

/* ---------- Footer wrapper ---------- */

#footer-section,
.footer {
  background-color: var(--bg-primary);
  color: var(--text-muted);
  font-family: var(--font-body);
}

/* Top gradient separator */
#footer-section::before {
  content: "";
  display: block;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--border-strong),
    transparent
  );
}

/* ---------- Footer widget area ---------- */

.footer-widget {
  color: var(--text-muted);
}

.footer-widget a {
  color: var(--text-secondary);
  transition: var(--transition);
}

.footer-widget a:hover {
  color: var(--text-primary);
}

.footer-title,
.footer-widget .widget-title {
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 45px;
  margin-bottom: 20px;
}

/* Footer widget lists */
.footer-widget ul {
  list-style: none;
  padding: 0;
}

.footer-widget ul li {
  border-bottom-color: var(--border-subtle);
}

.footer-widget ul li a {
  color: var(--text-muted);
}

.footer-widget ul li a:hover {
  color: var(--text-primary);
}

/* Footer tag cloud */
.footer-widget.widget_tag_cloud .tagcloud a {
  background: var(--surface);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
}

.footer-widget.widget_tag_cloud .tagcloud a:hover {
  background: var(--surface-elevated);
  color: var(--text-primary);
  border-color: var(--border-strong);
}

/* ---------- Footer bottom ---------- */

.footer-bottom {
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
  padding: 30px 0;
}

.footer-bottom p {
  color: var(--text-dim);
  font-size: var(--text-small);
  margin: 0;
}

.footer-bottom a {
  color: var(--text-muted);
}

.footer-bottom a:hover {
  color: var(--text-primary);
}

/* Footer bottom nav */
.footer-bottom .navi li a {
  color: var(--text-muted);
  font-size: var(--text-small);
}

.footer-bottom .navi li a:hover {
  color: var(--text-primary);
}

/* ---------- Footer social ---------- */

.footer .social li,
.foot-social li {
  margin: 0 6px;
}

.footer .social li a,
.foot-social li a {
  color: var(--text-muted);
  font-size: 16px;
  transition: var(--transition);
}

.footer .social li a:hover,
.foot-social li a:hover {
  color: var(--text-primary);
}

.footer-bottom .foot-social p {
  color: var(--text-dim);
}

/* ---------- Compliance / accessibility area ---------- */

.footer-col {
  color: var(--text-dim);
  font-size: var(--text-small);
  line-height: 1.6;
}

.footer-col p {
  color: var(--text-dim);
}

.footer-col strong {
  color: var(--text-muted);
}

.footer-col .fa-wheelchair {
  color: var(--text-muted);
}

/* Logo images in footer bottom */
.mainLogo img {
  opacity: 0.6;
  transition: var(--transition);
  max-height: 40px;
}

.mainLogo img:hover {
  opacity: 1;
}

/* ---------- Splash footer (for splash/landing pages) ---------- */

.splash-foot-left,
.splash-foot-right {
  color: var(--text-dim);
}

.splash-foot-left a,
.splash-foot-right a {
  color: var(--text-muted);
}

.splash-foot-left a:hover,
.splash-foot-right a:hover {
  color: var(--text-primary);
}
