/* footer.css - استایل‌های خاص فوتر */

.sticky-footer {
  position: fixed;
  /* تغییر از sticky به fixed برای چسبیدن دائمی به پایین */
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(124, 58, 237, 0.3);
  background: var(--glass-bg);
}

.sleek-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  height: var(--footer-height);
  display: flex;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 500;
}

.footer-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.footer-brand .logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(124, 58, 237, 0.4);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-brand .logo-icon:hover {
  background: var(--footer-accent);
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 0 10px rgba(124, 58, 237, 0.5);
}

.footer-brand i {
  font-size: 14px;
  color: white;
}

.footer-copyright {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
}

.version-badge {
  background: rgba(124, 58, 237, 0.4);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.version-badge:hover {
  background: var(--footer-accent);
  color: white;
}

.footer-social {
  display: flex;
  gap: 18px;
}

.social-icon {
  color: var(--footer-text);
  opacity: 0.8;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 14px;
}

.social-icon:hover {
  opacity: 1;
  color: var(--footer-accent);
  transform: translateY(-3px);
  text-shadow: 0 0 8px rgba(124, 58, 237, 0.5);
}

/* اطمینان از اینکه صفحه حداقل ارتفاع 100vh داشته باشد */
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main-content {
  flex: 1 0 auto;
  /* محتوای اصلی فضای باقی‌مانده را پر می‌کند */
}

.sticky-footer {
  flex-shrink: 0;
  /* جلوگیری از کوچک شدن فوتر */
}

/* تنظیمات ریسپانسیو */
@media (max-width: 767px) {

  /* مخفی کردن فوتر در موبایل */
  .sleek-footer {
    display: none !important;
  }

  /* کاهش padding پایین محتوای اصلی در موبایل */
  .main-content {
    padding-bottom: 1rem;
  }
}

@media (max-width: 768px) {
  .sleek-footer {
    height: 50px;
    font-size: 0.75rem;
  }

  .footer-social {
    gap: 14px;
  }

  .version-badge {
    display: none;
  }
}