/* ========================================
   FOOTER STYLES
   ======================================== */

.site-footer {
  background-color: #0a0f1f;
  border-top: 1px solid rgba(71, 85, 105, 0.3);
  margin-top: 4rem;
  padding: 3rem 1.5rem 1.5rem;
  color: #cbd5e1;
}

.footer-content {
  max-width: 1280px;
  margin: 0 auto;
}

/* ========================================
   FOOTER WIDGETS
   ======================================== */

.footer-widgets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(71, 85, 105, 0.2);
}

.footer-widget-area {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-widget-area .widget {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-widget-area .widget-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #e2e8f0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #818cf8;
}

.footer-widget-area ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-widget-area li {
  margin: 0;
}

.footer-widget-area a {
  color: #cbd5e1;
  text-decoration: none;
  transition: all 200ms ease-in-out;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-widget-area a:hover {
  color: #818cf8;
  transform: translateX(4px);
}

.footer-widget-area a::before {
  content: '→';
  opacity: 0;
  transition: opacity 200ms ease-in-out;
}

.footer-widget-area a:hover::before {
  opacity: 1;
}

/* ========================================
   FOOTER BOTTOM
   ======================================== */

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 1.5rem;
}

.site-info {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.copyright {
  margin: 0;
  font-size: 0.875rem;
  color: #94a3b8;
}

.footer-navigation {
  display: flex;
  gap: 1.5rem;
}

.footer-navigation ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.5rem;
}

.footer-navigation li {
  margin: 0;
}

.footer-navigation a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 200ms ease-in-out;
}

.footer-navigation a:hover {
  color: #818cf8;
}

.footer-credit {
  text-align: right;
  font-size: 0.875rem;
  color: #94a3b8;
}

.footer-credit p {
  margin: 0;
}

.footer-credit a {
  color: #818cf8;
  text-decoration: none;
  transition: color 200ms ease-in-out;
}

.footer-credit a:hover {
  color: #06b6d4;
}

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

@media (max-width: 768px) {
  .site-footer {
    padding: 2rem 1rem 1rem;
    margin-top: 2rem;
  }

  .footer-widgets {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
  }

  .site-info {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }

  .footer-navigation {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }

  .footer-navigation ul {
    flex-direction: column;
    gap: 0.75rem;
  }

  .footer-credit {
    text-align: center;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .site-footer {
    padding: 1.5rem 0.75rem 0.75rem;
  }

  .footer-widget-area .widget-title {
    font-size: 0.875rem;
  }

  .copyright {
    font-size: 0.75rem;
  }

  .footer-credit {
    font-size: 0.75rem;
  }
}

/* ========================================
   ANIMATIONS
   ======================================== */

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

.site-footer {
  animation: fadeInUp 0.6s ease-in-out;
}

.footer-widget-area {
  animation: fadeInUp 0.6s ease-in-out;
}

.footer-widget-area:nth-child(2) {
  animation-delay: 0.1s;
}

.footer-widget-area:nth-child(3) {
  animation-delay: 0.2s;
}
