/* Typography */
@font-face {
    font-family: 'Vazir';
    src: url('../assets/fonts/vazir-font-v16.1.0/Vazir-Thin.woff2') format('woff2'),
         url('../assets/fonts/vazir-font-v16.1.0/Vazir-Thin.woff') format('woff');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

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

@font-face {
    font-family: 'Vazir';
    src: url('../assets/fonts/vazir-font-v16.1.0/Vazir.woff2') format('woff2'),
         url('../assets/fonts/vazir-font-v16.1.0/Vazir.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazir';
    src: url('../assets/fonts/vazir-font-v16.1.0/Vazir-Medium.woff2') format('woff2'),
         url('../assets/fonts/vazir-font-v16.1.0/Vazir-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazir';
    src: url('../assets/fonts/vazir-font-v16.1.0/Vazir-Bold.woff2') format('woff2'),
         url('../assets/fonts/vazir-font-v16.1.0/Vazir-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --font-primary: 'Vazir', Tahoma, sans-serif;
    --font-heading: 'Vazir', Tahoma, sans-serif;

    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;

    --font-light: 300;
    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;

    --letter-spacing-tight: -0.025em;
    --letter-spacing-normal: 0;
    --letter-spacing-wide: 0.025em;
    --letter-spacing-wider: 0.05em;
    --letter-spacing-widest: 0.1em;
}

body {
    font-family: var(--font-primary);
    font-size: var(--text-base);
    font-weight: var(--font-normal);
    line-height: 1.6;
    color: var(--color-text);
    direction: rtl;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: var(--font-light);
    line-height: 1.2;
    letter-spacing: normal;
}

.section-heading {
    font-size: var(--text-2xl);
    font-weight: var(--font-normal);
    letter-spacing: normal;
}

.section-title {
    font-size: var(--text-3xl);
    font-weight: var(--font-light);
    letter-spacing: normal;
}

.section-title-white {
    font-size: var(--text-4xl);
    font-weight: var(--font-light);
    letter-spacing: normal;
    color: #fff;
}

.section-text {
    font-size: var(--text-base);
    line-height: 1.8;
    color: var(--color-text-secondary);
}

.section-text-white {
    font-size: var(--text-lg);
    line-height: 1.8;
    color: #fff;
}

.carousel-title {
    font-size: var(--text-3xl);
    font-weight: var(--font-light);
    letter-spacing: normal;
}

.carousel-subtitle {
    font-size: var(--text-lg);
    font-weight: var(--font-light);
}

.product-title {
    font-size: var(--text-xl);
    font-weight: var(--font-medium);
    letter-spacing: normal;
}

.product-title-fa {
    font-family: var(--font-heading);
    text-transform: none;
    direction: rtl;
    letter-spacing: normal;
}

.box-title {
    font-size: var(--text-2xl);
    font-weight: var(--font-light);
    letter-spacing: normal;
}

.magazine-title,
.showroom-title {
    font-size: var(--text-4xl);
    font-weight: var(--font-light);
    letter-spacing: normal;
    line-height: 1.1;
}

.footer-heading {
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    letter-spacing: normal;
}

.modal-title {
    font-size: var(--text-2xl);
    font-weight: var(--font-semibold);
}

/* Responsive Typography */
@media (max-width: 768px) {
    .section-title {
        font-size: var(--text-2xl);
    }

    .section-title-white,
    .magazine-title,
    .showroom-title {
        font-size: var(--text-2xl);
    }

    .carousel-title {
        font-size: var(--text-xl);
    }
}
