/* Footer Styles */
footer {
  background-color: var(--secondary-color);
  color: var(--text-color);
  padding-top: var(--space-xxl);
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, var(--primary-color), var(--accent-color), var(--primary-color));
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-xl);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.footer-logo h2 {
  font-size: var(--font-xl);
  margin-bottom: var(--space-md);
}

.footer-logo span {
  color: var(--primary-color);
}

.footer-logo p {
  color: var(--text-dark);
  font-size: var(--font-sm);
  max-width: 300px;
}

.footer-links h3,
.footer-legal h3,
.footer-social h3 {
  font-size: var(--font-lg);
  margin-bottom: var(--space-lg);
  position: relative;
  display: inline-block;
}

.footer-links h3::after,
.footer-legal h3::after,
.footer-social h3::after {
  content: '';
  position: absolute;
  width: 50%;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--primary-color);
}

.footer-links ul,
.footer-legal ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-links a,
.footer-legal a {
  color: var(--text-dark);
  transition: color 0.3s ease;
  display: inline-block;
}

.footer-links a:hover,
.footer-legal a:hover {
  color: var(--primary-color);
  transform: translateX(5px);
}

.social-icons {
  display: flex;
  gap: var(--space-md);
}

.social-icons a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--background-light);
  color: var(--text-color);
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  transform: translateY(-5px);
}

.footer-bottom {
  text-align: center;
  padding: var(--space-lg) 0;
  margin-top: var(--space-xxl);
  border-top: 1px solid var(--background-light);
}

.footer-bottom p {
  color: var(--text-dark);
  font-size: var(--font-sm);
  margin: 0;
}

/* Media Queries */
@media screen and (max-width: 768px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-logo {
    grid-column: span 2;
    margin-bottom: var(--space-lg);
  }
}

@media screen and (max-width: 480px) {
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .footer-logo {
    grid-column: span 1;
  }
  
  .social-icons {
    justify-content: center;
  }
}