/* =====================================================
   FOOTER - Site Footer
   Complete footer with links, info, and social media
   ===================================================== */

.footer {
  background: var(--gray-900);
  color: rgba(255, 255, 255, 0.8);
  padding: var(--spacing-3xl) 0 var(--spacing-lg);
}

/* Footer Main */
.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: var(--spacing-2xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: var(--spacing-lg);
}

/* Footer Brand */
.footer-brand {
  max-width: 350px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
  margin-bottom: var(--spacing-md);
}

.footer-logo-icon {
  font-size: 2rem;
}

.footer-description {
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: var(--spacing-lg);
  color: rgba(255, 255, 255, 0.7);
}

/* Footer Social */
.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: var(--radius-md);
  font-size: 1.25rem;
  transition: all var(--transition-base);
  text-decoration: none;
}

.footer-social-link:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

/* Footer Links */
.footer-links-section {
  min-width: 150px;
}

.footer-links-title {
  font-size: 1rem;
  font-weight: 600;
  color: white;
  margin-bottom: var(--spacing-md);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.625rem;
}

.footer-links a {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color var(--transition-base);
  display: inline-block;
}

.footer-links a:hover {
  color: white;
  transform: translateX(3px);
}

/* Footer Bottom */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: var(--spacing-lg);
}

.footer-copyright {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

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

.footer-bottom-links a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color var(--transition-base);
}

.footer-bottom-links a:hover {
  color: white;
}

/* =====================================================
   RESPONSIVE DESIGN
   ===================================================== */

@media (max-width: 1024px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  
  .footer-brand {
    grid-column: 1 / -1;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
  }
  
  .footer-main {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: var(--spacing-lg);
  }
  
  .footer-brand {
    grid-column: auto;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-bottom-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .footer-social {
    gap: 0.5rem;
  }
  
  .footer-social-link {
    width: 36px;
    height: 36px;
    font-size: 1.125rem;
  }
  
  .footer-bottom-links {
    flex-direction: column;
    gap: 0.75rem;
  }
}
