/**
 * Minimalist Footer Styles
 * Clean, centered, elegant design
 */

/* Footer Container */
.site-footer-minimal {
  background: #1a202c;
  color: #e2e8f0;
  padding: 60px 20px 40px;
  margin-top: 80px;
}

.footer-container-minimal {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

/* Brand Section */
.footer-brand {
  margin-bottom: 40px;
}

.footer-brand h2 {
  font-size: 28px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 16px;
  letter-spacing: -0.5px;
}

.footer-tagline {
  font-size: 15px;
  line-height: 1.7;
  color: #cbd5e0;
  margin: 0;
  max-width: 600px;
  margin: 0 auto;
}

/* Divider */
.footer-divider {
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(226, 232, 240, 0.2) 20%,
    rgba(226, 232, 240, 0.2) 80%,
    transparent
  );
  margin: 40px 0;
}

/* Contact Section */
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin: 0 0 40px;
}

.footer-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: #e2e8f0;
  text-decoration: none;
  transition: color 0.2s ease;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.footer-contact-item:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.footer-icon {
  font-size: 20px;
  opacity: 0.9;
}

/* Legal Links */
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 16px;
  margin-bottom: 30px;
}

.footer-legal a {
  color: #cbd5e0;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
  position: relative;
}

.footer-legal a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #667eea;
  transition: width 0.3s ease;
}

.footer-legal a:hover {
  color: #ffffff;
}

.footer-legal a:hover::after {
  width: 100%;
}

.footer-dot {
  color: rgba(226, 232, 240, 0.3);
  font-size: 12px;
}

/* Copyright */
.footer-copyright {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid rgba(226, 232, 240, 0.1);
}

.footer-copyright p {
  font-size: 13px;
  color: #a0aec0;
  margin: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .site-footer-minimal {
    padding: 50px 20px 30px;
    margin-top: 60px;
  }

  .footer-brand h2 {
    font-size: 24px;
  }

  .footer-tagline {
    font-size: 14px;
  }

  .footer-tagline br {
    display: none;
  }

  .footer-divider {
    margin: 30px 0;
  }

  .footer-contact-item {
    font-size: 14px;
  }

  .footer-legal {
    font-size: 13px;
    gap: 6px 12px;
  }

  .footer-legal a {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .footer-brand h2 {
    font-size: 22px;
  }

  .footer-contact {
    gap: 12px;
  }

  .footer-contact-item {
    font-size: 13px;
    padding: 6px 12px;
  }

  .footer-icon {
    font-size: 18px;
  }
}

/* Dark Mode Enhancement (if site has dark mode) */
@media (prefers-color-scheme: dark) {
  .site-footer-minimal {
    background: #0f1419;
  }

  .footer-brand h2 {
    color: #f7fafc;
  }

  .footer-legal a:hover {
    color: #f7fafc;
  }
}

/* Accessibility */
.footer-contact-item:focus,
.footer-legal a:focus {
  outline: 2px solid #667eea;
  outline-offset: 4px;
  border-radius: 4px;
}

/* Smooth Animations */
.footer-contact-item,
.footer-legal a,
.footer-divider {
  animation: fadeInUp 0.6s ease-out backwards;
}

.footer-brand {
  animation: fadeInUp 0.6s ease-out 0.1s backwards;
}

.footer-contact :nth-child(1) {
  animation-delay: 0.2s;
}

.footer-contact :nth-child(2) {
  animation-delay: 0.3s;
}

.footer-contact :nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .footer-contact-item,
  .footer-legal a,
  .footer-divider,
  .footer-brand {
    animation: none;
  }

  .footer-legal a::after {
    transition: none;
  }
}
