/**
 * Rubikto Pro Frontend RTL Styles
 */

/* RTL Font Support */
body.rtl {
    font-family: 'Vazirmatn', Tahoma, Arial, sans-serif;
    direction: rtl;
    text-align: right;
}

body.rtl h1, 
body.rtl h2, 
body.rtl h3, 
body.rtl h4, 
body.rtl h5, 
body.rtl h6 {
    font-family: 'Vazirmatn', Tahoma, Arial, sans-serif;
}

body.rtl input, 
body.rtl select, 
body.rtl textarea, 
body.rtl button {
    font-family: 'Vazirmatn', Tahoma, Arial, sans-serif;
}

/* RTL Layout Adjustments */
body.rtl .elementor-widget-container {
    text-align: right;
}

body.rtl .elementor-icon-list-items .elementor-icon-list-item {
    direction: rtl;
}

body.rtl .elementor-icon-list-items .elementor-icon-list-item .elementor-icon-list-icon {
    margin-left: 5px;
    margin-right: 0;
}

body.rtl .elementor-widget-icon-box .elementor-icon-box-wrapper {
    text-align: right;
}

body.rtl .elementor-widget-icon-box.elementor-position-left .elementor-icon-box-wrapper {
    flex-direction: row-reverse;
}

body.rtl .elementor-widget-icon-box.elementor-position-right .elementor-icon-box-wrapper {
    flex-direction: row;
}

/* Import Vazirmatn Font */
@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/vazirmatn/Vazirmatn-Regular.woff2') format('woff2'),
         url('../fonts/vazirmatn/Vazirmatn-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

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

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

/* RTL Navigation Adjustments */
body.rtl .elementor-nav-menu--main .elementor-nav-menu a {
    text-align: right;
}

body.rtl .elementor-nav-menu--main .elementor-nav-menu .sub-arrow {
    right: auto;
    left: 10px;
}

body.rtl .elementor-nav-menu--dropdown .elementor-item:after {
    transform: rotate(180deg);
}

/* RTL Form Adjustments */
body.rtl .elementor-field-group .elementor-field-textual {
    text-align: right;
}

body.rtl .elementor-field-group.elementor-field-type-submit {
    justify-content: flex-start;
}

/* RTL Button Adjustments */
body.rtl .elementor-button .elementor-align-icon-right {
    margin-right: 0;
    margin-left: 5px;
}

body.rtl .elementor-button .elementor-align-icon-left {
    margin-left: 0;
    margin-right: 5px;
} 