﻿/* ================================================================
   EMERALD SCHOOLS  |  css/footer.css
   Main footer Â· Footer logo Â· Grid columns Â· Bottom bar
   ================================================================

   FOOTER LOGO:
   Use a white/light version of the logo for the dark background.
   Place file at: images/logo-footer.png
   In HTML: <img src="images/logo-footer.png" alt="Emerald Schools" class="footer-logo__img">
   ================================================================ */

/* ================================================================
   FOOTER WRAPPER
   ================================================================ */
.site-footer {
  background: #4a2559;
  color: rgba(255,255,255,.6);
  padding-top: 60px;
}

/* ================================================================
   FOOTER GRID  (brand col + 3 link columns)
   ================================================================ */
.footer__grid {
  display: grid;
  grid-template-columns: 250px 1fr 1fr 1fr;
  gap: 52px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

/* ================================================================
   BRAND COLUMN
   ================================================================ */
.footer__brand {}

/* Footer logo image */
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 18px;
}

.footer-logo__img {
  height: 50px;
  width: auto;
  object-fit: contain;
  display: block;
  /* Light/white logo on dark background */
  /* If your logo is dark, uncomment below to invert it: */
  /* filter: brightness(0) invert(1); */
}

/* Fallback text logo (if no image file yet) */
.footer-logo__text { line-height: 1.1; }
.footer-logo__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .02em;
  display: block;
}
.footer-logo__tagline {
  font-family: var(--font-body);
  font-size: .58rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: .15em;
  text-transform: uppercase;
  display: block;
  margin-top: 2px;
}

.footer__brand-desc {
  font-size: .82rem;
  line-height: 1.8;
  color: rgba(255,255,255,.48);
  margin-bottom: 22px;
}

/* Social icons */
.footer-socials {
  display: flex;
  gap: 8px;
}

.footer-social {
  width: 34px; height: 34px;
  border-radius: var(--r-md);
  background: rgba(255,255,255,.07);
  display: grid;
  place-items: center;
  text-decoration: none;
  color: rgba(255,255,255,.5);
  font-size: .7rem;
  font-weight: 700;
  transition: var(--t-base);
  flex-shrink: 0;
}
.footer-social:hover {
  background: var(--emerald);
  color: var(--white);
  transform: translateY(-2px);
}
.footer-social svg {
  width: 14px; height: 14px;
  fill: currentColor;
}

/* ================================================================
   LINK COLUMNS
   ================================================================ */
.footer__col {}

.footer__col-title {
  display: block;
  font-family: var(--font-body);
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 18px;
}

/* Plain link list */
.footer__links {}
.footer__links li { margin-bottom: 9px; }

.footer__link {
  font-size: .82rem;
  color: rgba(255,255,255,.48);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: color .2s;
}
.footer__link::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  flex-shrink: 0;
  transition: background .2s;
}
.footer__link:hover { color: var(--white); }
.footer__link:hover::before { background: var(--gold); }

/* Contact list variant */
.footer__contacts {}
.footer__contact-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: .81rem;
  color: rgba(255,255,255,.48);
  line-height: 1.55;
}
.footer__contact-icon {
  width: 13px; height: 13px;
  fill: none;
  stroke: rgba(255,255,255,.3);
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
  margin-top: 2px;
}
.footer__contact-row a {
  color: rgba(255,255,255,.48);
  text-decoration: none;
  transition: color .2s;
}
.footer__contact-row a:hover { color: var(--gold-light); }

/* ================================================================
   BOTTOM BAR
   ================================================================ */
.footer__bottom {
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.footer__copyright {
  font-size: .75rem;
  color: rgba(255,255,255,.28);
}

.footer__legal {
  display: flex;
  align-items: center;
}

.footer__legal-link {
  font-size: .75rem;
  color: rgba(255,255,255,.32);
  text-decoration: none;
  padding: 0 12px;
  border-right: 1px solid rgba(255,255,255,.1);
  transition: color .2s;
  white-space: nowrap;
}
.footer__legal-link:last-child { border-right: none; padding-right: 0; }
.footer__legal-link:hover { color: var(--white); }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 640px) {
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .footer__bottom { flex-direction: column; text-align: center; gap: 8px; }
  .footer__legal  { flex-wrap: wrap; justify-content: center; }
}

