/* Footer - Specifys.ai */
/* מבוסס על הדף about.html */

footer {
  padding: 20px 10px;
  text-align: center;
  width: 100%;
  color: var(--text-color);
  flex-shrink: 0;
  background: var(--bg-primary);
  box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
}

.footer-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: var(--font-weight-medium);
  transition: color var(--transition-normal);
  font-family: var(--font-family-primary);
}

.footer-links a:hover {
  color: var(--primary-color);
}

.footer-divider {
  color: var(--text-color);
  font-size: 1.2rem;
  font-weight: 300;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.footer-social a {
  color: var(--text-color);
  font-size: 1.2rem;
  transition: transform var(--transition-normal), color var(--transition-normal);
}

.footer-social a:hover {
  color: var(--primary-color);
  transform: scale(1.2);
}

.footer-copyright {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 1rem;
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--primary-color);
  color: var(--text-white);
  border: none;
  border-radius: var(--border-radius-full);
  width: 40px;
  height: 40px;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  z-index: var(--z-dropdown);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.scroll-to-top:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.scroll-to-top:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Responsive footer */
@media (max-width: 768px) {
  footer {
    padding: 8px 16px;
    height: 40px;
  }
  
  .footer-content {
    display: none;
  }
  
  .footer-copyright {
    font-size: 10px;
    color: #adb5bd;
    text-align: center;
    margin: 0;
    padding: 8px 0;
  }
  
  .scroll-to-top {
    bottom: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  footer {
    padding: 6px 12px;
    height: 36px;
  }
  
  .footer-content {
    display: none;
  }
  
  .footer-copyright {
    font-size: 9px;
    color: #adb5bd;
    text-align: center;
    margin: 0;
    padding: 6px 0;
  }
  
  .scroll-to-top {
    bottom: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
  }
}
