/*
 * Footer Styles — سراسری (همه‌ی صفحات). scope با #pc-footer.
 */

#pc-footer {
  max-width: 1440px;
  display: block;
  height: auto;
  padding: 40px 10px 0;
  margin: 0 auto;
}

/* ----- Footer Top ----- */
#pc-footer .footer-top {
  border-radius: 20px 20px 0 0;
  padding: 20px 30px;
  background-color: var(--pc-footer-bg);
}

#pc-footer .footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
  align-items: stretch;
}

/* ----- Column 1: Logo + About ----- */
#pc-footer .footer-about {
  display: flex;
  flex-direction: row;
  gap: 20px;
}

#pc-footer .footer-logo {
  width: auto;
  height: 100px;
}

#pc-footer .footer-logo img {
  width: auto;
  height: 100px;
  object-fit: cover;
}

#pc-footer .footer-about__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

#pc-footer .footer-about__text p {
  margin: 0;
}

#pc-footer .footer-site-name {
  font-size: 26px;
  font-weight: 700;
  color: var(--pc-primary);
}

#pc-footer .footer-description {
  font-size: 18px;
  font-weight: 400;
  color: var(--pc-text);
}

/* ----- Column 2: Menu Links + Social ----- */
#pc-footer .footer-menu-links {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
}

#pc-footer .footer-menu-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#pc-footer .footer-titles {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--pc-primary);
  position: relative;
  align-self: baseline;
  z-index: 0;
}

#pc-footer .footer-titles::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 0;
  left: -5px;
  right: -5px;
  background-color: var(--pc-primary-soft);
  border-radius: 10px;
  pointer-events: none;
  z-index: -1;
}

#pc-footer .footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

#pc-footer .footer-menu li {
  position: relative;
  z-index: 0;
  margin: 0;
  padding-right: 0;
  transition: transform 0.3s ease;
}

#pc-footer .footer-menu li::before {
  content: "";
  position: absolute;
  bottom: -2px;
  right: 0;
  width: 100%;
  height: 2px;
  border-radius: 5px;
  background-color: var(--pc-primary);
  opacity: 0;
  pointer-events: none;
  z-index: -1;
  transition: opacity 0.3s ease;
}

#pc-footer .footer-menu li:hover::before {
  opacity: 1;
}

#pc-footer .footer-menu-link {
  font-size: 14px;
  font-weight: 400;
  color: var(--pc-text);
  text-decoration: none;
  transition: color 0.2s ease;
}

#pc-footer .footer-menu-link:hover {
  color: var(--pc-primary);
}

/* Social */
#pc-footer .footer-social {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

#pc-footer .social-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

#pc-footer .social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: var(--pc-surface);
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

#pc-footer .social-link svg {
  width: 24px;
  height: 24px;
}

#pc-footer .social-link:hover {
  transform: translateY(-3px);
  opacity: 0.9;
}

/* رنگ‌های برند شبکه‌های اجتماعی — عمداً literal (پالت سایت نیستند) */
#pc-footer .social-link.whatsapp {
  background: linear-gradient(190deg, #66fe7e, #29b61f);
}

#pc-footer .social-link.telegram {
  background: #29a8eb;
}

#pc-footer .social-link.instagram {
  background: linear-gradient(330deg, #833ab4, #fd1d1d, #fcb045);
}

#pc-footer .social-link.bale {
  background: #0abc8c;
}

/* ----- Column 3: Trust Seals ----- */
#pc-footer .footer-trust-seals {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

#pc-footer .trust-seals {
  display: flex;
  flex-direction: row;
  gap: 20px;
  flex-wrap: wrap;
}

#pc-footer .trust-seals img {
  height: 100px;
  width: auto;
  cursor: pointer;
}

/* ----- Footer Bottom (Copyright) ----- */
#pc-footer .footer-bottom {
  background-color: var(--pc-footer-bg);
  padding: 10px;
  border-top: 2px solid var(--pc-secondary);
  text-align: center;
  font-size: 13px;
  color: var(--pc-secondary);
}

#pc-footer .copyright-text {
  font-family: "Pofak";
  font-size: 14px;
  font-weight: 600;
  margin: 0;
}

/* ========================================
Responsive
======================================== */
@media (max-width: 480px) {
  #pc-footer .footer-top {
    padding: 20px;
  }

  #pc-footer .footer-container {
    flex-direction: column;
    align-items: center;
  }

  #pc-footer .footer-menu-links {
    gap: 30px;
    width: 100%;
  }

  #pc-footer .footer-trust-seals {
    width: 100%;
  }

  #pc-footer .trust-seals {
    justify-content: space-between;
  }
}
