/* ═══════════════════════════════════════════════
   BASE.CSS  —  Tadbir International Think Tank
   fonts · variables · reset · typography
   ═══════════════════════════════════════════════ */

/* ── Fonts ───────────────────────────────────── */
@font-face {
  font-family: 'IRANYekanX';
  src: url('../../fonts/IRANYekanX-Light.woff2') format('woff2'),
       url('../../fonts/IRANYekanX-Light.woff')  format('woff');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'IRANYekanX';
  src: url('../../fonts/IRANYekanX-Regular.woff2') format('woff2'),
       url('../../fonts/IRANYekanX-Regular.woff')  format('woff');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'IRANYekanX';
  src: url('../../fonts/IRANYekanX-Bold.woff2') format('woff2'),
       url('../../fonts/IRANYekanX-Bold.woff')  format('woff');
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ── CSS Variables ───────────────────────────── */
:root {
  /* Brand palette */
  --primary:        #0A2540;
  --primary-light:  #0d3060;
  --secondary:      #C8A046;
  --secondary-light:#d4b06a;
  --accent:         #3AB4A6;

  /* Surfaces */
  --bg:       #F8F9FA;
  --white:    #ffffff;

  /* Text */
  --text:       #333333;
  --text-light: #666666;
  --text-muted: #999999;

  /* UI */
  --border:     rgba(10, 37, 64, 0.10);
  --shadow-sm:  0 2px 8px  rgba(10, 37, 64, 0.06);
  --shadow:     0 4px 24px rgba(10, 37, 64, 0.08);
  --shadow-lg:  0 12px 48px rgba(10, 37, 64, 0.16);

  /* Shape */
  --radius:    12px;
  --radius-sm: 8px;

  /* Motion */
  --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --header-h: 72px;
  --max-w:    1260px;
}

/* ── Reset ───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  {
  font-family: 'IRANYekanX', 'Tahoma', Arial, sans-serif;
  font-weight: 300;
  background: var(--bg);
  color: var(--text);
  direction: rtl;
  line-height: 1.8;
  overflow-x: hidden;
}
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

/* ── Container ───────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Scroll-reveal ────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.visible              { opacity: 1; transform: none; }
.reveal.visible.delay-1      { transition-delay: .1s; }
.reveal.visible.delay-2      { transition-delay: .2s; }
.reveal.visible.delay-3      { transition-delay: .3s; }

/* helper classes */
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }

/* ── Typography helpers ───────────────────────── */
.gold  { color: var(--secondary); }
.white { color: var(--white); }