/**
 * @file
 * WMD Solutions Base Theme - Footer styles.
 * All variables defined in base.css.
 * Override --footer-bg, --footer-color etc in your subtheme CSS.
 */

/* ======================================================
   SITE FOOTER
   ====================================================== */

.site-footer {
  background-color: var(--footer-bg);
  color: var(--footer-color);
  padding: var(--section-padding);
}

/* Center all footer columns except first (logo) */
.site-footer .col:not(:first-child) {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Logo column — full width, centered */
.region-footer-first {
  text-align: center;
}

/* Logo centered */
.site-footer .site-logo,
.site-footer .navbar-brand-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
}

/* ======================================================
   FOOTER NAV
   ====================================================== */

.site-footer .nav,
.site-footer ul.menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.site-footer .nav a,
.site-footer ul.menu a {
  color: var(--footer-color);
  opacity: 0.8;
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  transition: opacity 0.2s ease, border-bottom-color 0.2s ease;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}

.site-footer .nav a:hover,
.site-footer ul.menu a:hover {
  opacity: 1;
  border-bottom-color: var(--footer-color);
}

/* ======================================================
   SOCIAL ICONS IN FOOTER
   ====================================================== */

.site-footer .wmd-social-links {
  justify-content: center;
}

/* ======================================================
   FOOTER BOTTOM BAR
   ====================================================== */

.footer-bottom {
  background-color: var(--color-bg-dark);
  color: rgba(255, 255, 255, 0.5);
  padding: 1rem 0;
  font-size: 0.8rem;
  text-align: center;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s ease;
}

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