/* Footer Styles */

.footer {
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  padding: var(--space-6) 0 var(--space-4);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #ff3333, transparent);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-6);
  margin-bottom: var(--space-4);
}

.footer-logo {
  flex: 0 0 300px;
}

.footer-logo img {
  margin-bottom: var(--space-3);
  transition: transform 0.3s ease;
}

.footer-logo img:hover {
  transform: scale(1.05);
}

.footer-logo p {
  color: var(--color-gray-400);
  font-size: 1rem;
}

.footer-sitemap {
  flex: 1;
  max-width: 800px;
}

.footer-sitemap h3 {
  color: #ff3e3e;
  font-size: 1.4rem;
  margin-bottom: var(--space-4);
  position: relative;
  display: inline-block;
}

.footer-sitemap h3::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #ff3333, #ff6666);
  transition: all 0.3s ease;
}

.footer-sitemap:hover h3::after {
  width: 100%;
}

.sitemap-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

.sitemap-column h4 {
  color: var(--text-color);
  font-size: 1.1rem;
  margin-bottom: var(--space-3);
}

.sitemap-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sitemap-column ul li {
  margin-bottom: var(--space-2);
}

.sitemap-column ul li a {
  color: var(--color-gray-400);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
}

.sitemap-column ul li a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #ff3e3e;
  transition: width 0.3s ease;
}

.sitemap-column ul li a:hover {
  color: #ff3e3e;
  transform: translateX(5px);
}

.sitemap-column ul li a:hover::after {
  width: 100%;
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: var(--color-gray-400);
  font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-logo {
    flex: 0 0 auto;
    margin-bottom: var(--space-4);
  }

  .footer-sitemap {
    width: 100%;
  }

  .sitemap-links {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .sitemap-links {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
  }
}

@media (max-width: 480px) {
  .sitemap-links {
    grid-template-columns: 1fr;
  }

  .sitemap-column {
    text-align: center;
  }
}