/* ========================================
   GLOBAL FOOTER STYLES
   ========================================
   Comprehensive footer and social media styles for ZAutoSound
   Extracted from main.css for better organization
   ======================================== */

/* ========================================
   FOOTER SOCIAL MEDIA ENHANCEMENTS
   ======================================== */

/* Footer social media icons improvements */
footer .flex.justify-center.space-x-6 a > .social-icon {
  /* Enhanced shadow for better visibility */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25), 0 2px 6px rgba(0, 0, 0, 0.15) !important;
  width: 48px !important;
  height: 48px !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: visible !important;
}

/* Footer social media hover effects */
footer .flex.justify-center.space-x-6 a:hover > .social-icon {
  transform: scale(1.15) translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35), 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

/* Footer social media text styling */
footer .flex.justify-center.space-x-6 a span {
  font-weight: 500 !important;
  transition: all 0.3s ease !important;
}

footer .flex.justify-center.space-x-6 a:hover span {
  color: white !important;
  transform: translateY(-1px) !important;
}

/* Footer social media container improvements */
footer .flex.justify-center.space-x-6 {
  gap: 1.5rem !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
}

/* ========================================
   SCROLL TO TOP BUTTON
   ======================================== */

/* Scroll to Top Button */
#scrollToTop {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
  border-radius: 50%;
  border: none;
  box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
}

#scrollToTop:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 12px 35px rgba(239, 68, 68, 0.5);
}

#scrollToTop.hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
}

/* ========================================
   RESPONSIVE FOOTER STYLES
   ======================================== */

/* Responsive footer social media */
@media (max-width: 768px) {
  footer .flex.justify-center.space-x-6 {
    gap: 1rem !important;
    margin: 0 -0.5rem !important;
  }
  footer .flex.justify-center.space-x-6 a {
    flex-direction: column !important;
    text-align: center !important;
    gap: 0.5rem !important;
  }
  footer .flex.justify-center.space-x-6 a > .social-icon {
    width: 44px !important;
    height: 44px !important;
  }
  footer .flex.justify-center.space-x-6 a span {
    font-size: 0.875rem !important;
  }
  
  /* Scroll to top button mobile */
  #scrollToTop {
    bottom: 1.5rem;
    left: 1.5rem;
    width: 2.75rem;
    height: 2.75rem;
    font-size: 1rem;
  }
}