/* ==========================================================================
   Footer Component
   ========================================================================== */

.footer {
  background-color: var(--color-primary);
  color: white;
  padding: var(--space-xl) 0 var(--space-md);
  margin-top: auto;
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

@media (min-width: 768px) {
  .footer-container {
    padding: 0 var(--space-md);
  }
}

/* Footer Logo
   ========================================================================== */
.footer-logo {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-lg);
}

.footer-logo img {
  height: 60px;
  width: auto;
}

/* Footer Navigation
   ========================================================================== */
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-xs) var(--space-md);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-nav-link {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--fs-sm);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.footer-nav-link:hover {
  color: var(--color-secondary);
}

/* Footer Legal Links
   ========================================================================== */
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-xs) var(--space-md);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-legal-link {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--fs-xs);
  transition: color var(--transition-fast);
}

.footer-legal-link:hover {
  color: var(--color-secondary);
}

/* Footer Social
   ========================================================================== */
.footer-social {
  text-align: center;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social-title {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-md);
  color: rgba(255, 255, 255, 0.8);
}

.footer-social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-md);
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: all var(--transition-fast);
}

.footer-social-link:hover {
  transform: scale(1.1);
}

.footer-social-link svg {
  width: 24px;
  height: 24px;
  fill: white;
  transition: fill var(--transition-fast);
}

/* Social Icon Hover Colors */
.footer-social-link--x:hover {
  background-color: var(--color-x);
}

.footer-social-link--instagram:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.footer-social-link--tiktok:hover {
  background-color: var(--color-tiktok-primary);
}

.footer-social-link--tiktok:hover svg {
  fill: var(--color-tiktok-accent);
}

.footer-social-link--youtube:hover {
  background-color: var(--color-youtube);
}

/* Footer Copyright
   ========================================================================== */
.footer-copyright {
  text-align: center;
}

.footer-copyright p {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--space-xs);
}

.footer-copyright p:last-child {
  margin-bottom: 0;
}

.footer-copyright strong {
  color: rgba(255, 255, 255, 0.8);
}
