/* ============================================================
   sections/footer/style.css
   ============================================================ */

.footer {
  background: linear-gradient(to top, rgba(10, 10, 31, 0.95), var(--bg-color));
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.footer-brand {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.footer-description {
  color: var(--text-color);
  opacity: 0.8;
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-color);
  font-size: 1.2rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-links a:hover {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--bg-color);
  transform: translateY(-3px);
}

.footer-title {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--text-color);
  opacity: 0.8;
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--primary-color);
  opacity: 1;
  padding-left: 5px;
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  color: var(--text-color);
  opacity: 0.8;
}

.footer-contact i {
  width: 25px;
  color: var(--primary-color);
  margin-right: 10px;
}

.footer-contact a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  padding-top: 2rem;
  margin-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.copyright {
  color: var(--text-color);
  opacity: 0.7;
  font-size: 0.9rem;
}

.tech-stack {
  color: var(--text-color);
  opacity: 0.7;
  font-size: 0.9rem;
}

.tech-stack i {
  margin: 0 0.5rem;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.tech-stack i:hover {
  color: var(--primary-color);
  transform: translateY(-2px);
}

.footer > * {
  animation: fadeInUp 0.6s ease-out forwards;
}

@media (max-width: 991.98px) {
  .footer-title {
    margin-top: 2rem;
  }

  .social-links {
    justify-content: center;
  }

  .footer-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-links,
  .footer-contact {
    text-align: center;
  }

  .footer-contact li {
    justify-content: center;
  }
}
