/* ===== Footer base ===== */
.ss-footer {
  background: linear-gradient(90deg, #6c5ce7, #fd79a8);
  color: #fff;
  padding: 40px 20px 100px; /* فضای نوار پایین */
}

.ss-footer__container {
  max-width: 1200px;
  margin: 0 auto;
}

.ss-footer__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.ss-footer__col {
  background: rgba(0,0,0,0.2);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

/* ===== Titles & text ===== */
.ss-footer__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ss-footer__text {
  font-size: 14px;
  line-height: 1.6;
}

/* ===== Universal card (box) ===== */
.ss-footer__box {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 12px;
  padding: 12px 14px;
  margin: 10px 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ss-footer__box:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.28);
  border-color: rgba(255,255,255,0.28);
}

/* ===== Article list (boxed items) ===== */
.ss-footer__articles { margin: 0; }

.ss-footer__article-link {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.ss-footer__article-link i { margin-left: 6px; }
.ss-footer__article-link:hover { color: #00cec9; }

/* ===== Contact numbers ===== */
.ss-footer__phone {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
}
.ss-footer__phone i { margin-left: 6px; }
.ss-footer__phone:hover { color: #00cec9; }

/* ===== Social & extra links ===== */
.ss-footer__social-item {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s ease;
  font-size: 15px;
}
.ss-footer__social-item i { margin-left: 6px; }
.ss-footer__social-item:hover { color: #00cec9; }

/* ===== Form area ===== */
.ss-footer__form { margin-top: 8px; }

/* ===== Bottom fixed nav (Shanor) ===== */
.ss-bottom-nav {
  position: fixed;
  bottom: 0;
  right: 0;
  left: 0;
  background: rgba(20, 20, 35, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,0.18);
  z-index: 9999;
}

.ss-bottom-nav__list {
  direction: rtl;                /* ترتیب راست به چپ */
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 8px 16px;
  list-style: none;
}

.ss-bottom-nav__list li { flex: 1 1 20%; }

.ss-bottom-nav__list li a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: color 0.2s ease, transform 0.2s ease;
  padding: 6px 4px;
  border-radius: 10px;
}

.ss-bottom-nav__list li a i {
  font-size: 20px;
  line-height: 1;
}

.ss-bottom-nav__list li a span {
  font-size: 12px;
  line-height: 1;
}

.ss-bottom-nav__list li a:hover {
  color: #00cec9;
  transform: translateY(-1px);
}

.ss-bottom-nav__list li a.is-active,
.ss-bottom-nav__list li a[aria-current="page"] {
  color: #00cec9;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .ss-footer__row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .ss-footer__row { grid-template-columns: 1fr; }

  .ss-bottom-nav__list li a i { font-size: 22px; }
  .ss-bottom-nav__list li a span { font-size: 13px; }
}

@media (max-width: 420px) {
  .ss-bottom-nav__list { padding: 8px 10px; }
  .ss-bottom-nav__list li a { padding: 6px 2px; }
  .ss-bottom-nav__list li a i { font-size: 20px; }
  .ss-bottom-nav__list li a span { font-size: 11px; }
}

/* ===== Small visual polish ===== */
.ss-footer__title i { color: #fff; opacity: 0.9; }
.ss-footer__col:hover { box-shadow: 0 6px 18px rgba(0,0,0,0.35); }

/* Optional: smooth transitions */
.ss-footer,
.ss-footer__col,
.ss-footer__box,
.ss-bottom-nav {
  transition: box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

@font-face {
  font-family: 'Vazirmatn';
  src: url('/wp-content/themes/soheilsadeghi-theme/fonts/Vazirmatn-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Vazirmatn';
  src: url('/wp-content/themes/soheilsadeghi-theme/fonts/Vazirmatn-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* اعمال فونت با !important روی همه عناصر */
body, html,
h1, h2, h3, h4, h5, h6,
p, a, li, span, div,
header, footer, nav, section,
input, textarea, button {
  font-family: 'Vazirmatn', Tahoma, sans-serif !important;
}
