/* ================================================================
   FOOTER STYLES — Midnight Library
   All footer base styles are in business-theme.css.
   This file only has footer-specific additions.
   ================================================================ */

/* Enhanced footer brand section */
.footer-brand .section-copy {
  font-size: 0.88rem;
  line-height: 1.65;
  max-width: 32ch;
}

/* Enhanced list links */
.footer-links ul li::before {
  content: '';
}

/* Contact section spacing */
.footer-contact > * {
  margin-bottom: 0.5rem;
}

.footer-contact .hint {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.86rem;
}

/* Footer brand tagline */
.footer-brand .site-name {
  display: inline-flex;
  flex-direction: column;
}

/* Footer bottom links */
.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.footer-bottom-links a {
  color: rgba(200, 190, 240, 0.38);
  font-size: 0.78rem;
  transition: color 0.2s ease;
  text-decoration: none;
}

.footer-bottom-links a:hover {
  color: rgba(167, 139, 250, 0.80);
}

/* Social icon hover effects */
.social-icon {
  position: relative;
  overflow: hidden;
}

.social-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0), rgba(139, 92, 246, 0));
  transition: background 0.2s ease;
  border-radius: inherit;
}

.social-icon:hover::before {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(124, 58, 237, 0.3));
}

/* Newsletter success state */
.newsletter-form.is-success input {
  border-color: rgba(16, 185, 129, 0.40);
  background: rgba(16, 185, 129, 0.06);
}

.newsletter-form.is-success button {
  background: linear-gradient(135deg, #10b981, #059669);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.30);
}

/* Responsive */
@media (max-width: 820px) {
  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form button {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .social-icons {
    justify-content: flex-start;
  }

  .footer-bottom-links {
    gap: 0.75rem;
  }
}
