/* Footer & Responsive Design Styles */

/* Footer - Simple & Clean */
.site-footer {
  background: #000;
  border-top: none;
  margin: 0;
  padding: 10px 0 8px 0;
  color: #d6d6d6;
  width: 100%;
  position: relative;
  z-index: 5;
  display: block;
  line-height: 1;
}

/* When it doesn't fit in one line - 3 centered lines */
@media (max-width: 900px) {
  .footer-content {
    flex-direction: column;
    gap: 8px;
    padding: 12px 20px;
    text-align: center;
  }
  
  .legal-links {
    flex: none;
  }
  
  .copyright {
    flex: none;
    text-align: center;
  }
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding: 0 40px;
  margin: 0;
  white-space: nowrap;
  line-height: 1;
}

.legal-links {
  flex: 1;
}

.social-section {
  flex: 0 0 auto;
}

.copyright {
  flex: 1;
  text-align: right;
}

.copyright p {
  margin: 0;
  font-size: 0.9rem;
  color: #d6d6d6;
}

.social-section {
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: center;
}

.connect-text {
  font-size: 0.9rem;
  color: #d6d6d6;
  font-weight: 500;
}

.social-links {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  max-width: 36px !important;
  max-height: 36px !important;
  border-radius: 50% !important;
  transition: all 0.3s ease;
  color: #666;
  flex-shrink: 0;
  padding: 4px;
  box-sizing: border-box;
}

.social-link svg {
  width: 20px;
  height: 20px;
  transition: all 0.3s ease;
}

.social-link.tiktok:hover {
  background: #ff0050 !important;
  color: #fff;
  border-radius: 50% !important;
  width: 36px !important;
  height: 36px !important;
  transform: translateY(-2px);
}

.social-link.instagram:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
  color: #fff;
  border-radius: 50% !important;
  width: 36px !important;
  height: 36px !important;
  transform: translateY(-2px);
}

.social-link.linkedin:hover {
  background: #0077b5 !important;
  color: #fff;
  border-radius: 50% !important;
  width: 36px !important;
  height: 36px !important;
  transform: translateY(-2px);
}

.legal-links {
  display: flex;
  gap: 15px;
  flex-wrap: nowrap;
}

.legal-link {
  color: #999;
  text-decoration: none;
  font-size: 0.75rem;
  padding: 3px 6px;
  border: 1px solid #444;
  border-radius: 3px;
  background: transparent;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.legal-link:hover {
  color: #fff;
  border-color: #666;
  transform: translateY(-1px);
}

/* Gradual shrinking - elements move closer but no overlap */
@media (max-width: 1200px) {
  .footer-content {
    padding: 0 30px;
    gap: 15px;
  }
}

@media (max-width: 1000px) {
  .footer-content {
    padding: 0 25px;
    gap: 12px;
  }
}

@media (max-width: 900px) {
  .footer-content {
    padding: 0 20px;
    gap: 10px;
  }
}

/* Break to vertical layout before any overlap occurs */
@media (max-width: 800px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 15px;
    padding: 0 20px;
  }
  
  .legal-links {
    order: 1;
    justify-content: center;
  }
  
  .social-section {
    order: 2;
    margin: 0;
  }
  
  .copyright {
    order: 3;
    white-space: normal;
  }
}