/*
Theme Name: Syron child
Theme URI: http://landing.rivaxstudio.com/syron/
Author: RivaxStudio
Author URI: https://themeforest.net/user/rivaxstudio/
Description: Modern and high-quality theme for Blog & magazine sites
Version: 1.0
Requires PHP: 8.0
Tested up to: 6.7
Template:  syron
License: Themeforest.net
License URI: http://themeforest.net/licenses
Text Domain: syron
Tags: grid-layout, left-sidebar, right-sidebar, flexible-header, footer-widgets, featured-images, translation-ready
*/
/* 1. تعریف فونت (بهینه‌ترین حالت) */
/* 1. تعریف فونت وریبل */
/* 1. معرفی فونت متغیر (Variable Font) */
@font-face {
    font-family: 'YekanBakh';
    src: url('fonts/YekanBakhFaNum-VF.woff2') format('woff2-variations'),
         url('fonts/YekanBakhFaNum-VF.woff2') format('woff2');
    font-weight: 100 900; /* دامنه کامل وزن‌ها */
    font-style: normal;
    font-display: swap;
}

/* 2. تنظیمات کلی بدنه - پیش‌فرض */
body {
    font-family: 'YekanBakh', Tahoma, sans-serif;
    font-weight: 400; /* وزن پایه */
    line-height: 1.6;
}

/* 3. تنظیمات تیترها و دکمه‌ها */
h1, h2, h3, h4, h5, h6, button {
    font-family: 'YekanBakh', Tahoma, sans-serif;
    font-weight: 800; 
}

/* 4. اصلاح کلاس‌ها (حذف span برای جلوگیری از تداخل با آیکون‌ها) */
p, li, a, label, input, textarea, .wa-trust-signals  {
    font-family: 'YekanBakh', Tahoma, sans-serif;
}

/* تخصیص هوشمند به span: فونت یکان‌بخ اعمال شود، مگر اینکه المنت آیکون یا ستاره ووکامرس باشد */
span:not([class*="icon"]):not([class*="fa"]):not(.star-rating span):not(.woocommerce-review-link) {
    font-family: 'YekanBakh', Tahoma, sans-serif;
}

/* 5. کلاس‌های کمکی (اختیاری) */
.thin-text {
    font-weight: 200;
}

/* استایل دکمه‌های المنتور */
.elementor-button span {
    font-weight: 700; 
}

/* تنظیمات حالت عادی */
.premium-hover-box {
    /* ترنزیشن با ایزینگ مخصوص برای حس طبیعی */
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s ease;
    
    /* سایه خیلی ملایم در حالت عادی */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05); 
    
    /* برای عملکرد بهتر در مرورگرهای موبایل */
    will-change: transform, box-shadow;
}

/* تنظیمات حالت هاور */
.premium-hover-box:hover {
    /* حرکت ۱۲ پیکسل به سمت بالا */
    transform: translateY(-12px);
    
    /* سایه عمیق، پهن و سافت برای القای حس ارتفاع */
    /* فرمول: محورX محورY تاری(Blur) گسترش(Spread) رنگ */
    box-shadow: 0 20px 35px -5px rgba(0, 0, 0, 0.15);
    
    /* اختیاری: اگر میخوای رنگ کادر هم کمی تیره‌تر بشه */
    border-color: #d1d5db; 
}

/* اجبار فلوئنت فرم به استفاده از فونت قالب */
.fluentform, 
.fluentform input, 
.fluentform textarea, 
.fluentform select, 
.fluentform button, 
.fluentform label, 
.fluentform .ff-el-form-control {
    font-family: inherit !important;
}