/* =========================================================
   BASE — متغیرهای سراسری، ریست، تایپوگرافی پایه
   هر تغییر رنگ/فونت/فاصله کلی سایت از همین‌جا اعمال می‌شود
   ========================================================= */

* {
    font-family: 'Vazirmatn', sans-serif;
    direction: rtl;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* رنگ‌های اصلی برند */
    --primary: #1a3a5c;
    --primary-dark: #0f2440;
    --primary-light: #2a5a8c;
    --secondary: #e8b830;
    --secondary-dark: #c99a20;
    --accent: #d94f2e;
    --accent-light: #e8775a;

    /* رنگ‌های پس‌زمینه و متن */
    --surface: #f8f6f2;
    --surface-alt: #efebe4;
    --text: #1e1e1e;
    --text-light: #5a5a5a;
    --text-muted: #8a8a8a;
    --white: #ffffff;

    /* سایه و شعاع گوشه‌ها */
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 40px rgba(0, 0, 0, 0.15);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-xs: 6px;

    /* لایوت */
    --max-width: 1280px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--surface);
    color: var(--text);
    line-height: 1.8;
    font-weight: 400;
    font-size: 16px;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* ===== LAYOUT HELPERS ===== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
    text-align: center;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px;
    font-weight: 300;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    line-height: 1.4;
}

.btn-primary {
    background: var(--secondary);
    color: var(--primary-dark);
}
.btn-primary:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(232, 184, 48, 0.35);
}

.btn-accent {
    background: var(--accent);
    color: var(--white);
}
.btn-accent:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(217, 79, 46, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
}
.btn-white:hover {
    background: var(--surface-alt);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 14px;
}

/* ===== CARD ===== */
.card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 32px;
    transition: var(--transition);
}
.card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}
