/* ==========================================================================
   FOOTER.CSS
   Site footer — two-tier layout using flexbox
   MailChimp newsletter removed.
   Colors use CSS custom properties (no PHP echo).
   ========================================================================== */

/* ---------- Outer container ---------- */

#footerCont {
  position: relative;
  width: 100%;
  /* background: rgba(17, 17, 16, 0.95); */
  color: #c8c5be;
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ---------- Main footer body ---------- */

.ft-main-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  width: 94%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 3.5rem 0 2.5rem;
}

/* ---------- Footer columns ---------- */

.ft-col {
  flex: 1 1 200px;
  min-width: 0;
}

.ft-col--wide {
  flex: 1.4 1 240px;
}

/* ---------- Column headings ---------- */

.ft-main-wrap h4 {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-footer-headings, #e8e6e3);
  margin: 0 0 1rem;
  padding-bottom: 0.625rem;
  border-bottom: 1px solid #2e2e2c;
}

/* ---------- Footer lists ---------- */

.ft-main-wrap ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ft-main-wrap li {
  margin-bottom: 0.5rem;
  border-bottom: none;
}

.ft-col:first-child ul {
  columns: 2;
  column-gap: 1.5rem;
}

.ft-main-wrap a:link,
.ft-main-wrap a:visited {
  color: #9e9b94;
  text-decoration: none;
  transition: color var(--transition);
}

.ft-main-wrap a:hover {
  color: #fff;
  text-decoration: none;
}

/* ---------- Contact info items ---------- */

.ft-col address {
  font-style: normal;
}

.ft-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  margin-bottom: 0.625rem;
  color: #9e9b94;
}

.ft-contact-item i {
  color: #5c5c58;
  width: 1rem;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

/* ---------- Social media icons ---------- */

.soc-footer-cont {
  margin-top: 1.25rem;
}

.soc-med {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.soc-med li {
  margin: 0;
  border: none;
}

.soc-med a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.125rem;
  height: 2.125rem;
  border-radius: 50%;
  background-color: #2a2a28;
  color: #9e9b94;
  font-size: 0.875rem;
  text-decoration: none;
  transition: background-color var(--transition), color var(--transition);
}

.soc-med a:hover {
  background-color: var(--clr-accent);
  color: #fff;
  text-decoration: none;
}

/* Brand-specific hover colors */
.soc-med a.soc-facebook:hover  { background-color: #1877F2; color: #fff; }
.soc-med a.soc-google:hover    { background-color: #EA4335; color: #fff; }
.soc-med a.soc-linkedin:hover  { background-color: #0A66C2; color: #fff; }
.soc-med a.soc-yelp:hover      { background-color: #C41200; color: #fff; }
.soc-med a.soc-x:hover         { background-color: #000000; color: #fff; }
.soc-med a.soc-instagram:hover { background-color: #E1306C; color: #fff; }
.soc-med a.soc-youtube:hover   { background-color: #FF0000; color: #fff; }


/* ---------- What we do / description column ---------- */

.ft-about-text {
  color: #9e9b94;
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.ft-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
  align-items: center;
}

.ft-badges img {
  height: 44px;
  width: auto;
  opacity: 0.7;
  transition: opacity var(--transition);
}

.ft-badges img:hover {
  opacity: 1;
}

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

.ft-ft-cont {
  position: relative;
  width: 100%;
  background-color: var(--clr-dark);
  border-top: 1px solid #222220;
}

.ft-ft-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  width: 94%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 0;
}

.ft-ft-left,
.ft-ft-right {
  color: #4a4a48;
  font-size: 0.8125rem;
}

.ft-ft-right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.375rem 1rem;
}

.ft-ft-right a:link,
.ft-ft-right a:visited {
  color: #4a4a48;
  text-decoration: none;
  transition: color var(--transition);
}

.ft-ft-right a:hover {
  color: #888884;
  text-decoration: none;
}

/* Developer attribution — absolute left edge of footer bar, outside the centered container */
.ft-ft-pi {
  position: absolute;
  left: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
}

.ft-ft-pi img {
  display: block;
  width: auto;
  height: auto;
  max-height: 18px;
  opacity: 0.35;
  transition: opacity var(--transition);
}

.ft-ft-pi img:hover {
  opacity: 0.7;
}

/* ---------- Related links band ---------- */

.rl-band {
  position: relative;
  z-index: 1;
  background: rgba(17, 17, 16, 0.90);
  border-top: 1px solid rgba(30, 30, 28, 0.6);
  padding: 1.75rem 0;
}

.rl-band__inner {
  width: 94%;
  max-width: 1280px;
  margin: 0 auto;
}

.rl-band__heading {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888884;
  margin: 0 0 0.75rem;
}

.rl-band__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0;
}

.rl-band__list li::after {
  content: '·';
  color: #484846;
  margin: 0 0.5rem;
}

.rl-band__list li:last-child::after {
  content: '';
  margin: 0;
}

.rl-band__list a:link,
.rl-band__list a:visited {
  color: #999999;
  font-size: 0.8rem;
  text-decoration: none;
  transition: color var(--transition);
}

.rl-band__list a:hover {
  color: #b8b5ae;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .ft-main-wrap {
    gap: 2rem;
    padding: 2.5rem 0 2rem;
  }

  .ft-col,
  .ft-col--wide {
    flex: 1 1 calc(50% - 1rem);
  }

  .ft-col:first-child ul {
    columns: 1;
  }
}

@media (max-width: 600px) {
  .ft-main-wrap {
    flex-direction: column;
    padding: 2rem 0;
  }

  .ft-col,
  .ft-col--wide {
    flex: 1 1 100%;
  }

  .ft-ft-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.375rem;
  }
}
