/* فونت وزیر */
@font-face {
    font-family: 'Vazir';
    src: url('../fonts/Vazirmatn-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazir';
    src: url('../fonts/Vazirmatn-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

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

/* متغیرهای رنگی - طیف سبز جنگلی */
:root {
    --primary-color: #2d5016;
    --primary-light: #4a7c59;
    --primary-dark: #1a3f0e;
    --secondary-color: #5d8a66;
    --accent-color: #7fb069;
    --success-color: #6a994e;
    --gradient-primary: linear-gradient(135deg, #4a7c59 0%, #2d5016 100%);
    --gradient-secondary: linear-gradient(135deg, #7fb069 0%, #5d8a66 100%);
    --gradient-light: linear-gradient(135deg, #f0f7f0 0%, #e8f5e8 100%);
    
    /* رنگ‌های کمکی */
    --warning-color: #f4a261;
    --danger-color: #e63946;
    --info-color: #219ebc;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    
    /* سایه‌ها */
    --shadow-sm: 0 2px 4px rgba(45, 80, 22, 0.1);
    --shadow-md: 0 4px 12px rgba(45, 80, 22, 0.15);
    --shadow-lg: 0 8px 25px rgba(45, 80, 22, 0.2);
    
    /* انیمیشن */
    --transition: all 0.3s ease;
}

/* اعمال فونت به کل صفحه */
body {
    font-family: 'Vazir', 'Tahoma', sans-serif !important;
}

/* کلاس‌های کمکی برای رنگ‌ها */
.text-primary-custom {
    color: var(--primary-color) !important;
}

.bg-primary-custom {
    background-color: var(--primary-color) !important;
}

.bg-gradient-primary {
    background: var(--gradient-primary) !important;
}

.bg-gradient-secondary {
    background: var(--gradient-secondary) !important;
}

.border-primary-custom {
    border-color: var(--primary-color) !important;
}

/* دکمه‌های سفارشی */
.btn-primary-custom {
    background: var(--gradient-primary);
    border: none;
    color: white;
    transition: var(--transition);
}

.btn-primary-custom:hover {
    background: var(--gradient-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-primary-custom {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    transition: var(--transition);
}

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

/* کارت‌های سفارشی */
.card-custom {
    border: none;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.card-custom:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* نوار ناوبری سفارشی */
.navbar-custom {
    background: var(--gradient-primary) !important;
    box-shadow: var(--shadow-md);
}

/* فوتر سفارشی */
.footer-custom {
    background: linear-gradient(135deg, #1a3f0e 0%, #2d5016 100%);
}

/* بخش hero سفارشی */
.hero-custom {
    background: var(--gradient-primary);
}

/* آیکون‌های سفارشی */
.icon-primary {
    color: var(--primary-color);
}

.icon-accent {
    color: var(--accent-color);
}

/* انیمیشن‌های سفارشی */
.animate-fade-in {
    animation: fadeIn 0.8s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-scale-hover {
    transition: transform 0.3s ease;
}

.animate-scale-hover:hover {
    transform: scale(1.05);
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .hero-custom {
        padding: 2rem 0 !important;
    }
    
    .display-4 {
        font-size: 2rem !important;
    }
}

/* فیکس Font Awesome */
.fa, .fas, .far, .fal, .fab {
    font-family: "Font Awesome 5 Free", "Font Awesome 5 Brands" !important;
}
