/* =========================================================
 * components/footer/footer.css — استایل‌های مدرن و لوکس فوتر عینک صدف
 * ========================================================= */

.site-footer {
  background-color: #0b0f19;
  color: #94a3b8;
  font-family: var(--font-base);
  font-size: 14px;
  line-height: 1.8;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 50px;
}

.site-footer a {
  color: #cbd5e1;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.site-footer a:hover {
  color: #a47e2c;
  transform: translateX(-4px);
}

/* --- Footer Top (Newsletter & Trust Card) --- */
.footer-top {
  background: linear-gradient(135deg, rgba(164, 126, 44, 0.08) 0%, rgba(9, 13, 22, 0) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  padding: 40px 0;
}

.footer-top-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.footer-newsletter h3 {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-newsletter h3 i {
  color: #a47e2c;
}

.footer-newsletter p {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 16px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
  max-width: 480px;
}

.newsletter-form input {
  flex: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #fff;
  padding: 12px 16px;
  font-size: 13px;
  font-family: var(--font-ui);
  outline: none;
  transition: all 0.3s ease;
}

.newsletter-form input:focus {
  border-color: #a47e2c;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 10px rgba(164, 126, 44, 0.2);
}

.newsletter-form button {
  background: #a47e2c;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0 24px;
  font-weight: 700;
  font-family: var(--font-ui);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter-form button:hover {
  background: #8e6b22;
  box-shadow: 0 4px 15px rgba(164, 126, 44, 0.4);
}

.footer-trust-logos {
  display: flex;
  justify-content: space-around;
  gap: 16px;
}

.trust-logo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.trust-logo-card i {
  font-size: 28px;
  color: #a47e2c;
  background: rgba(164, 126, 44, 0.08);
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(164, 126, 44, 0.15);
  transition: all 0.3s ease;
}

.trust-logo-card:hover i {
  transform: translateY(-4px);
  background: #a47e2c;
  color: #fff;
}

.trust-logo-card span {
  font-size: 12px;
  color: #cbd5e1;
  font-weight: bold;
}

/* --- Footer Main Grid --- */
.footer-main {
  padding: 60px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr 1.1fr 1fr;
  gap: 40px;
}

.footer-col h4 {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 35px;
  height: 2px;
  background-color: #a47e2c;
  border-radius: 2px;
}

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

.footer-col ul li a {
  font-family: var(--font-ui);
}

.footer-col ul li a i {
  font-size: 10px;
  color: #64748b;
  transition: transform 0.3s ease;
}

.footer-col ul li a:hover i {
  color: #a47e2c;
  transform: translateX(-2px);
}

.about-col .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 16px;
}

.about-col .f-logo {
  height: 36px;
  width: auto;
}

.about-text {
  font-size: 13px;
  color: #64748b;
  text-align: justify;
}

.namad-certificates {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.namad-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 95px;
  height: 95px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-sizing: border-box;
}

.namad-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(164, 126, 44, 0.35);
  border-color: #a47e2c;
}

.namad-card a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.namad-card img {
  max-width: 100% !important;
  max-height: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain;
  border-radius: 6px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  font-family: var(--font-ui);
  line-height: 1.6;
}

.contact-info li i {
  color: #a47e2c;
  font-size: 16px;
  margin-top: 3px;
  flex-shrink: 0;
}

.contact-info .contact-tel-link {
  display: inline;
  color: #cbd5e1;
  direction: ltr;
  unicode-bidi: embed;
  transition: all 0.2s ease;
}

.contact-info .contact-tel-link:hover {
  color: #a47e2c;
  transform: none;
}

.contact-info .contact-sep {
  color: #64748b;
  margin: 0 4px;
  display: inline;
}

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.footer-socials a {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 18px;
  color: #cbd5e1;
}

.footer-socials a:hover {
  background: #a47e2c;
  color: #fff;
  border-color: #a47e2c;
  transform: translateY(-4px) scale(1.05);
}

/* --- Footer Bottom --- */
.footer-bottom {
  background-color: #070a11;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.02);
  font-size: 12px;
  color: #475569;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.copyright {
  margin: 0;
  font-family: var(--font-num);
}

.developer {
  font-weight: 500;
  color: #475569;
  font-family: var(--font-num);
}

/* --- Responsive Adaptations --- */
@media (max-width: 992px) {
  .footer-top-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  
  .footer-top-inner {
    text-align: center;
  }
  
  .newsletter-form {
    flex-direction: column;
    max-width: 100%;
  }
  
  .newsletter-form button {
    padding: 12px;
  }
  
  .footer-trust-logos {
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
  }

  .namad-certificates {
    justify-content: center;
  }
  
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}
