/* Footer Component Styles */

.site-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: var(--footer-height);
  background-color: var(--color-white);
  border-top: 1px solid var(--color-warm-grey-light);
  z-index: var(--z-fixed);
}

.footer-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  max-width: var(--max-content-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
  gap: var(--space-sm);
}

/* Social Links */
.social-links {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: var(--space-lg);
}

.social-links a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: var(--space-sm);
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.social-links a img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.social-links a:focus {
  outline: 2px solid var(--color-black);
  outline-offset: 2px;
}

/* Copyright Text */
.copyright {
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-light);
  color: var(--color-warm-grey-dark);
  text-align: center;
  margin: 0;
}

/* Mobile and Tablet (< 1024px) - Touch-friendly sizing */
@media (width <= 1023px) {
  .social-links a {
    /* Ensure minimum 44x44px touch target */
    min-width: 44px;
    min-height: 44px;
  }
}

/* Desktop (>= 1024px) - Hover effects */
@media (width >= 1024px) {
  .footer-container {
    flex-direction: row;
    justify-content: space-between;
    padding: 0 var(--space-xl);
  }
  
  .social-links {
    gap: var(--space-xl);
  }
  
  .social-links a:hover {
    transform: translateY(-2px);
    opacity: 0.7;
  }
  
  .social-links a:active {
    transform: translateY(0);
  }
  
  .copyright {
    text-align: right;
  }
}

/* Wide screens (>= 1920px) */
@media (width >= 1920px) {
  .footer-container {
    padding: 0 var(--space-2xl);
  }
}
