/* ==========================================================================
   ATG Industrial & Mining Group - Unified Stylesheet (Modular Imports)
   ========================================================================== */

/* Import modular CSS files in correct order */
@import url('layout.css');
@import url('components.css');
@import url('utilities.css');
@import url('pages.css');

/* ===== Local Fonts Definition ===== */
@font-face {
    font-family: 'Inter';
    src: url('fonts/Inter/Inter-Regular.woff2') format('woff2'),
         url('fonts/Inter/Inter-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('fonts/Inter/Inter-Medium.woff2') format('woff2'),
         url('fonts/Inter/Inter-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('fonts/Inter/Inter-SemiBold.woff2') format('woff2'),
         url('fonts/Inter/Inter-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('fonts/Inter/Inter-Bold.woff2') format('woff2'),
         url('fonts/Inter/Inter-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('fonts/Inter/Inter-ExtraBold.woff2') format('woff2'),
         url('fonts/Inter/Inter-ExtraBold.woff') format('woff');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Vazirmatn';
    src: url('fonts/Vazirmatn/Vazirmatn-Regular.woff2') format('woff2'),
         url('fonts/Vazirmatn/Vazirmatn-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Vazirmatn';
    src: url('fonts/Vazirmatn/Vazirmatn-Medium.woff2') format('woff2'),
         url('fonts/Vazirmatn/Vazirmatn-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Vazirmatn';
    src: url('fonts/Vazirmatn/Vazirmatn-SemiBold.woff2') format('woff2'),
         url('fonts/Vazirmatn/Vazirmatn-SemiBold.woff') format('woff');
    font-weight: 600;
    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: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Vazirmatn';
    src: url('fonts/Vazirmatn/Vazirmatn-ExtraBold.woff2') format('woff2'),
         url('fonts/Vazirmatn/Vazirmatn-ExtraBold.woff') format('woff');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* ==========================================================================
   Variables & Base Styles
   ========================================================================== */
:root {
    --primary: #1B2A3B;
    --accent: #E8630A;
    --dark: #1A242F;
    --light: #F8F9FA;
    --text: #2C3E50;
    --gray: #7F8C8D;
    --white: #FFFFFF;
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --dir: 1;
}

[dir="rtl"] {
    --font-main: 'Vazirmatn', system-ui, -apple-system, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--light);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}