/* Footer styles */

.footer {
  background-color: rgba(5, 5, 8, 0.9);
  padding: 4rem 0 2rem;
  position: relative;
  overflow: hidden;
}

.footer:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-color), var(--secondary-color), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-column {
  padding: 0 1rem;
  color: var(--light-text);
}

.footer-title {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--light-text);
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
}

.footer-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.footer-logo {
  display: block;
  width: 80px;
  margin-bottom: 1.5rem;
}

.footer-text {
  color: var(--dim-text);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-links {
  list-style: none;
  padding-left: 0;
}

.footer-link {
  margin-bottom: 0.8rem;
}

.footer-link a {
  color: var(--dim-text);
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
  padding-left: 15px;
  font-size: 0.9rem;
}

.footer-link a:before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--secondary-color);
  transition: all 0.3s ease;
}

.footer-link a:hover {
  color: var(--light-text);
  transform: translateX(5px);
}

.footer-link a:hover:before {
  background-color: var(--accent-secondary);
}

.social-links {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: var(--dim-text);
  transition: all 0.3s ease;
}

.social-link:hover {
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  color: var(--light-text);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(105, 45, 243, 0.3);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.contact-icon {
  margin-right: 10px;
  font-size: 1rem;
  color: var(--secondary-color);
}

.contact-text {
  color: var(--dim-text);
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  text-align: center;
  color: var(--dim-text);
  font-size: 0.9rem;
}

.footer-bottom a {
  color: var(--secondary-color);
}

.footer-bottom a:hover {
  color: var(--accent-secondary);
}

/* Footer animations */
.footer-grid {
  transform: translateY(30px);
}

.footer-grid.active {
  animation: fadeUp 1s ease forwards;
}

/* Responsive styles */
@media screen and (max-width: 768px) {
  .footer {
    padding: 3rem 0 1.5rem;
  }
  
  .footer-column {
    text-align: center;
    padding: 0;
  }
  
  .footer-title:after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-logo {
    margin: 0 auto 1.5rem;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .footer-link a:before {
    display: none;
  }
  
  .footer-link a:hover {
    transform: none;
  }
  
  .contact-item {
    justify-content: center;
  }
}
