/* =========================================================
   BASE.CSS
   فونت‌ها، متغیرهای رنگی، ریست پایه — روی همه صفحات لود می‌شود
   ========================================================= */

@font-face {
  font-family: 'YekanBakh';
  src: url('../fonts/YekanBakhFaNum-Thin.woff2') format('woff2');
  font-weight: 100; font-display: swap;
}
@font-face {
  font-family: 'YekanBakh';
  src: url('../fonts/YekanBakhFaNum-Light.woff2') format('woff2');
  font-weight: 300; font-display: swap;
}
@font-face {
  font-family: 'YekanBakh';
  src: url('../fonts/YekanBakhFaNum-Regular.woff2') format('woff2');
  font-weight: 400; font-display: swap;
}
@font-face {
  font-family: 'YekanBakh';
  src: url('../fonts/YekanBakhFaNum-SemiBold.woff2') format('woff2');
  font-weight: 600; font-display: swap;
}
@font-face {
  font-family: 'YekanBakh';
  src: url('../fonts/YekanBakhFaNum-Bold.woff2') format('woff2');
  font-weight: 700; font-display: swap;
}
@font-face {
  font-family: 'YekanBakh';
  src: url('../fonts/YekanBakhFaNum-ExtraBold.woff2') format('woff2');
  font-weight: 800; font-display: swap;
}
@font-face {
  font-family: 'YekanBakh';
  src: url('../fonts/YekanBakhFaNum-ExtraBlack.woff2') format('woff2');
  font-weight: 900; font-display: swap;
}
@font-face {
  font-family: 'YekanBakh';
  src: url('../fonts/YekanBakhFaNum-Black.woff2') format('woff2');
  font-weight: 950; font-display: swap;
}

/* ===== متغیرهای رنگی ===== */
:root {
  --dark: #223548;
  --bg: #F5F7FA;
  --muted: rgba(34, 53, 72, 0.55);
  --muted-on-dark: rgba(255, 255, 255, 0.70);
  --primary: #F5BC38;
  --blue: #223548;
  --gold: #F5BC38;
  --white: #FFFFFF;
  --radius: 16px;
}

* { box-sizing: border-box; }

body {
  background: var(--bg);
  color: var(--dark);
  font-family: 'YekanBakh', Tahoma, sans-serif;
  font-weight: 400;
  line-height: 1.9;
  margin: 0;
}

a { color: var(--blue); text-decoration: none; }

img { max-width: 100%; height: auto; display: block; }

html, body {
  overflow-x: hidden;
  max-width: 100%;
}

/* متن کم‌رنگ روی پس‌زمینه تیره — نسخه روشن */
:root {
  --muted-on-dark: rgba(255, 255, 255, 0.65);
}

/* فوتر */
.footer-desc,
.footer-bottom {
  color: var(--muted-on-dark);
}

/* باکس آمار در صفحه درباره ما */
.stat-box span {
  color: var(--muted-on-dark);
}

/* بج‌های اعتماد در صفحه اصلی (روی هیرو تیره) */
.trust-item span {
  color: var(--muted-on-dark);
}

/* زیرعنوان هیرو صفحه اصلی و صفحه شهر */
.home-hero .hero-subtitle,
.city-hero-content .hero-subtitle,
.request-hero .request-subtitle {
  color: var(--muted-on-dark);
}

/* اصلاح خوانایی متن روی پس‌زمینه تیره */
.trust-item span,
.stat-box span,
.footer-desc,
.footer-bottom,
.home-hero .hero-subtitle,
.city-hero-content .hero-subtitle,
.request-hero .request-subtitle {
  color: rgba(255, 255, 255, 0.7) !important;
}