/* Footer — LOCKED LOOK (fixed colors, resistant to overrides) */
.site-footer {
  background: #d46e77; /* primary */
  color: #ffffff;
  padding: 40px 20px 18px;
  margin-top: 60px;
}

/* Links in footer always white; underline on hover for accessibility */
.site-footer a { color: #ffffff !important; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; opacity: 0.95; }

/* Layout */
.footer__grid {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.footer__brand { flex: 1 1 260px; min-width: 240px; }
.footer__brand h3 {
  margin: 0 0 6px;
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
}
.footer__brand p { margin: 4px 0; }

/* Nav */
.footer__nav, .footer__contact { flex: 1 1 220px; min-width: 200px; }
.footer__nav h4, .footer__contact h4 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  letter-spacing: .3px;
  opacity: 0.95;
}
.footer__nav ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: grid;
  gap: 8px;
}
.footer__nav li { margin: 0 !important; }

/* Host contact block */
.footer__contact p { margin: 6px 0; }

.footer__host {
  display: flex;
  flex-direction: column;   /* stack logo above text */
  align-items: center;      /* center under the Contact heading */
  gap: 10px;
  margin-top: 8px;
  text-align: center;       /* center the text block */
}
.footer__host .host-logo {
  width: 150px;
  height: auto;             /* let image define height */
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255,255,255,0.12);
  display: grid;
  place-items: center;
  margin-top: 2px;
}
.footer__host .host-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.footer__host .host-lines { line-height: 1.35; }
.footer__host .host-lines .host-name {
  font-weight: 700;
  margin: 0 0 2px 0;
  font-family: 'Playfair Display', serif;
}

/* Social icons */
.footer__contact .social-icons {
  display: flex;
  justify-content: center;  /* centers the icons horizontally */
  margin-top: 12px;         /* spacing above */
  gap: 10px;                /* even spacing between icons */
}


.footer__contact .social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--accent-color);  /* green circle */
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  line-height: 1;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.footer__contact .social-icons a:hover {
  transform: translateY(-2px) scale(1.06);
  background-color: #1f4a43;             /* slightly darker green */
  box-shadow: 0 6px 16px rgba(0,0,0,0.18);
}



/* Bottom bar */
.footer__bar {
  max-width: 1200px;
  margin: 18px auto 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.35);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.92rem;
}

/* Back to top button */
.back-to-top {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: #2A9D8F !important; /* accent */
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 600;
}
.back-to-top:hover { background: #F4A261 !important; }

/* Small screens */
@media (max-width: 640px) {
  .footer__bar { justify-content: center; text-align: center; }
}

/* --- Guardrails for unit pages (override global styles) --- */
.site-footer h3, .site-footer h4 { color: #ffffff !important; }
.site-footer ul li::before { content: none !important; }  /* remove teal dots from Explore list */
.site-footer li { padding-left: 0 !important; }          /* reset any left padding from page lists */
