/*
 Theme Name: neve_theme
 Template: neve
 Version: 1.0.0

 primaryColor: #821975;
 secondaryColor: #FF7F50;
 lightColor: #F4F5F7;
 whiteColor: #FFFFFF;
 darkColor: #121212;
 textColor: #272626;
 lightBlue: #5EADFF;
*/

/* Example heading override (disabled)
html[lang="fa-IR"] .elementor-heading-title {
    font-size: 64px !important;
    font-weight: 900 !important;
    line-height: 90px !important;
    letter-spacing: -1.5px !important;
    font-family: 'B Mitra' !important;
}
*/

/* Import styles from the parent theme */
@import url("../neve/style.css");

/* Header and Direction Setup */
.header,
.hfg_header,
.header *,
.hfg_header * {
    direction: ltr !important;
}
.header, .hfg_header {
    padding: 0px;
    font-size: 0.875rem;
}

/* Font Styling for Farsi/Dari Headers */
html[lang="fa-IR"] h1,
html[lang="fa-AF"] h1,
html[lang="fa-IR"] h2,
html[lang="fa-AF"] h2,
html[lang="fa-IR"] h3,
html[lang="fa-AF"] h3,
html[lang="fa-IR"] h4,
html[lang="fa-AF"] h4,
html[lang="fa-IR"] h5,
html[lang="fa-AF"] h5,
html[lang="fa-IR"] h6,
html[lang="fa-AF"] h6 {
    font-family: 'B Mitra', sans-serif !important;
}

html[lang="fa-IR"] h1 {
    font-size: 44px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
}

/* Apply B-Zar to Body Text (Paragraphs, Divs, Spans) */
html[lang="fa-IR"] body,
html[lang="fa-AF"] body,
html[lang="fa-IR"] p,
html[lang="fa-AF"] p,
html[lang="fa-IR"] div,
html[lang="fa-AF"] div,
html[lang="fa-IR"] span,
html[lang="fa-AF"] span {
    font-family: 'B Zar', sans-serif !important;
}

/* Specific Element Fonts */
html[lang="fa-IR"] .wrap,
html[lang="fa-IR"] .dd-title,
html[lang="fa-IR"] .sub-menu,
html[lang="fa-IR"] .wrap a {
    font-family: 'B Mitra', sans-serif !important;
}

html[lang="fa-IR"] .button,
html[lang="fa-IR"] .button-primary {
    font-family: 'B Zar', sans-serif !important;
    font-size: 12px !important;
}

/* Language Switcher Styling */
html[lang="fa-IR"] .language-switcher {
    list-style-type: none !important;
    padding: 0;
    margin: 0;
}

html[lang="fa-IR"] .language-switcher li {
    display: inline-block !important;
}

html[lang="fa-IR"] .language-item {
    display: inline-flex !important;
    align-items: center !important;
    font-size: 14px !important;
    text-decoration: none !important;
    color: black !important;
}

html[lang="fa-IR"] img.language-icon {
    width: 14px !important;
    height: 14px !important;
}

/* ==========================
   Responsive Adjustments
   ========================== */

/* Mobile Devices (up to 767px) */
@media (max-width: 767px) {
    html[lang="fa-IR"] h1 {
        font-size: 2rem !important; /* ~32px */
        line-height: 1.2;
    }
    html[lang="fa-IR"] body,
    html[lang="fa-AF"] body {
        font-size: 0.875rem; /* ~14px */
    }
    .header,
    .hfg_header {
        padding: 0px;
        font-size: 0.875rem; /* ~14px */
    }
}

/* Tablet Devices (768px–1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    html[lang="fa-IR"] h1 {
        font-size: 2.25rem !important; /* ~36px */
    }
    html[lang="fa-IR"] body,
    html[lang="fa-AF"] body {
        font-size: 0.9375rem; /* ~15px */
    }
    .header,
    .hfg_header {
        padding: 0px;
        font-size: 0.9375rem; /* ~15px */
    }
}

/* Desktop Devices (1025px and above) */
@media (min-width: 1025px) {
    html[lang="fa-IR"] h1 {
        font-size: 2.5rem !important; /* ~40px */
    }
    html[lang="fa-IR"] body,
    html[lang="fa-AF"] body {
        font-size: 1rem; /* ~16px */
    }
    .header,
    .hfg_header {
        padding: 0px;
        font-size: 1rem; /* ~16px */
    }
}
