@import url("../styles/components/base.css");

/* Footer */
.eclipse-footer {
  width: 100%;
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-black) 100%);
  color: #fff;
  padding: 60px 0 30px;
  border-top: 1px solid rgba(60, 2, 99, 0.3);
  display: flex;
  justify-content: center;
  position: relative;
  flex-shrink: 0; /* keep footer at bottom */
}

.eclipse-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, #6c32ac 50%, transparent 100%);
}

.eclipse-footer-inner {
  width: 85%;
  max-width: 1400px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
}

/* Company + Social */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.company-name {
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.trading-as {
  font-weight: 400;
  color: #888;
  display: block;
  font-size: 0.9rem;
}

.company-details p {
  color: rgba(255,255,255,0.3);
  font-size: 0.75rem;
  margin: 2px 0;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  color: #fff;
  font-size: 18px;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
}

.social-icon:hover {
  background: #6c32ac;
  border-color: #6c32ac;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(60, 2, 99, 0.3);
}

/* Navigation */
.footer-links-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.footer-column h4 {
  color: #6c32ac;
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, #6c32ac, transparent);
  border-radius: 1px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-column a {
  text-decoration: none;
  color: #b3b3b3;
  transition: all 0.2s ease;
  position: relative;
}

.footer-column a:hover {
  color: #fff;
  padding-left: 6px;
}

.footer-column a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 2px;
  background: #6c32ac;
  transition: width 0.2s ease;
}

.footer-column a:hover::before {
  width: 4px;
}

/* Mobile */
@media (max-width: 992px) {
  .eclipse-footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-links-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .footer-brand {
    align-items: center;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .footer-links-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
