/* =============================================================
   CUSTOM FOOTER — ExoplismosOnline
   ============================================================= */

.ex-footer {
  background: #0a0a0a;
  font-family: var(--font-body);
  width: 100%;
}

/* ── LENS DIVIDER ── */
.ex-footer-divider {
  display: block;
  width: 100%;
  line-height: 0;
}

/* ── MAIN BODY ── */
.ex-footer-body {
  padding: 60px 48px 48px;
}

.ex-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 1fr 0.9fr 1.1fr;
  gap: 48px;
}

/* Col 1 — Brand */
.ex-footer-logo-img {
  height: 100px;
  width: auto;
  display: block;
  margin-bottom: 20px;
  object-fit: contain;
}

.ex-footer-tagline {
  font-size: 15px;
  color: #aaa;
  line-height: 1.8;
  margin-bottom: 24px;
}

.ex-footer-social {
  display: flex;
  gap: 12px;
}

.ex-footer-social a {
  width: 34px;
  height: 34px;
  border: 1px solid #2a2a2a;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  text-decoration: none;
  font-size: 16px;
  transition: border-color var(--transition-fast), color var(--transition-fast);
}

.ex-footer-social a:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* Column headings */
.ex-footer-heading {
  font-size: 17px;
  letter-spacing: 3px;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #1e1e1e;
}

/* Links */
.ex-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ex-footer-links li {
  margin-bottom: 10px;
}

.ex-footer-links a {
  font-size: 15px;
  color: #aaa;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: color var(--transition-fast);
}

.ex-footer-links a:hover {
  color: var(--color-accent);
}

.ex-footer-links .all-cats {
  color: var(--color-accent);
}

/* Contact */
.ex-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}

.ex-contact-item i {
  color: var(--color-accent);
  font-size: 15px;
  margin-top: 1px;
  flex-shrink: 0;
}

.ex-contact-item span {
  font-size: 15px;
  color: #aaa;
  line-height: 1.6;
}

.ex-contact-item a {
  color: #aaa;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.ex-contact-item a:hover {
  color: var(--color-accent);
}

/* ── BOTTOM BAR ── */
.ex-footer-bottom {
  border-top: 1px solid #1a1a1a;
  padding: 20px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.ex-footer-copy {
  font-size: 15px;
  color: #aaa;
  letter-spacing: 0.3px;
  line-height: 1.6;
}

.ex-footer-copy a {
  color: #c6e30c;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.ex-footer-copy a:hover {
  color: var(--color-accent);
}

/* Photo placeholder */
.ex-footer-photo {
  width: 200px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.ex-footer-photo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* =============================================================
   RESPONSIVE
   ============================================================= */

/* ── TABLET ── */
@media (max-width: 1024px) {
  .ex-footer-body { padding: 48px 32px 36px; }
  .ex-footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .ex-footer-bottom { padding: 18px 32px; flex-direction: column; align-items: flex-start; gap: 14px; }
}

/* ── MOBILE ── */
@media (max-width: 480px) {
  .ex-footer-body { padding: 36px 20px 28px; }
  .ex-footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .ex-footer-bottom { padding: 16px 20px; align-items: center; text-align: center; }
  .ex-footer-photo { width: 160px; height: 40px; }
}

/* ── BACK TO TOP ── */
#ex-back-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9000;
  width: 46px;
  height: 46px;
  background: var(--color-accent);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0a0a0a;
  font-size: 20px;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity .28s ease, transform .28s ease;
}
#ex-back-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
#ex-back-top:hover {
  background: #fff;
}
@media (max-width: 480px) {
  #ex-back-top { bottom: 20px; right: 20px; width: 40px; height: 40px; font-size: 18px; }
}
