/**
 * Font styles for Rubikto Pro
 */

/* Vazirmatn Font Family */
@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/vazirmatn/Vazirmatn[wght].woff2') format('woff2-variations');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

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

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

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

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

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

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

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

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

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

/* Yekan Bakh Font Family */
@font-face {
    font-family: 'Yekan Bakh';
    src: url('../fonts/Yekan-bakh/woff2/YekanBakh-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

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

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

@font-face {
    font-family: 'Yekan Bakh';
    src: url('../fonts/Yekan-bakh/woff2/YekanBakh-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Yekan Bakh';
    src: url('../fonts/Yekan-bakh/woff2/YekanBakh-Thin.woff2') format('woff2');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Yekan Bakh';
    src: url('../fonts/Yekan-bakh/woff2/YekanBakh-ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Yekan Bakh';
    src: url('../fonts/Yekan-bakh/woff2/YekanBakh-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Yekan Bakh';
    src: url('../fonts/Yekan-bakh/woff2/YekanBakh-ExtraBlack.woff2') format('woff2');
    font-weight: 950;
    font-style: normal;
    font-display: swap;
}

/* Diodrum Arabic Font Family */
@font-face {
    font-family: 'Diodrum Arabic';
    src: url('../fonts/diod/DiodrumArabic-Regular-rubikto.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Diodrum Arabic';
    src: url('../fonts/diod/DiodrumArabic-Bold-rubikto.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Diodrum Arabic';
    src: url('../fonts/diod/DiodrumArabic-Medium-rubikto.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Diodrum Arabic';
    src: url('../fonts/diod/DiodrumArabic-Light-rubikto.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Diodrum Arabic';
    src: url('../fonts/diod/DiodrumArabic-Extralight-rubikto.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

/* Font Family Classes */
.font-vazir {
    font-family: 'Vazirmatn', 'Yekan Bakh', 'Tahoma', sans-serif !important;
}

.font-tahoma {
    font-family: 'Tahoma', 'Arial', sans-serif !important;
}

.font-arial {
    font-family: 'Arial', sans-serif !important;
}

.font-diodrum {
    font-family: 'Diodrum Arabic', 'Arial', sans-serif !important;
}

/* Font Preview Styles */
.hep-font-preview h3,
.hep-font-preview h4 {
    margin-bottom: 15px;
}

.hep-font-preview p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.hep-secondary-font-preview {
    padding: 10px 15px;
    background-color: #f7f7f7;
    border-radius: 4px;
    display: inline-block;
    font-size: 16px;
}

/* Font Settings Styles */
.hep-font-selector {
    max-width: 400px;
}

.hep-font-sample {
    margin-top: 10px;
    padding: 10px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.hep-font-weight-selector {
    margin-top: 10px;
}

/* Font Card Display */
.hep-font-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.hep-font-card {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 15px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    text-align: center;
}

.hep-font-card-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.hep-font-card-sample {
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 15px;
    min-height: 50px;
}

.hep-font-card-info {
    font-size: 12px;
    color: #666;
}

/* Live Font Preview */
.hep-live-preview {
    margin-top: 20px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.hep-live-preview h3 {
    margin-bottom: 15px;
    color: #333;
}

.hep-live-preview p {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Font Loading Animation */
@keyframes font-loading {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

.font-loading {
    animation: font-loading 0.3s ease-in-out;
} 