/* =========================================
   FOOTER COMPONENT (רכיב פוטר ייעודי ואוניברסלי)
   ========================================= */
.main-footer {
  background-color: #ffffff;
  color: #0f172a;
  padding: 5rem 2rem 2rem 2rem;
  border-top: 1px solid #e2e8f0;
  margin-top: auto;
  
  opacity: 0;
  transform: translateY(30px);
  animation: footerFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes footerFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer-top {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1.2fr 1.5fr;
  gap: 3rem;
  padding-bottom: 4rem;
}

.footer-col h3 {
  color: #002255;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-col ul li a {
  color: #334155;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col ul li a:hover {
  color: #0033aa;
}

/* אייקוני רשתות עגולים */
.social-icons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.social-circle {
  width: 42px;
  height: 42px;
  background-color: #10b981;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.social-circle svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.social-circle:hover {
  background-color: #059669;
  transform: translateY(-3px);
}

/* שורה תחתונה */
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid #f1f5f9;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-weight: 600;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  color: #64748b;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: #0033aa;
}

@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }

  .social-icons {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column-reverse;
    text-align: center;
    gap: 1.25rem;
  }

  .footer-legal {
    justify-content: center;
    flex-wrap: wrap;
  }
}
