/* IRANSansXFaNum Font Face - Local hosting */
@font-face {
    font-family: 'IRANSansXFaNum';
    src: url('../fonts/IRANSansXFaNum-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Global CSS Variables - ManaFood Design System */
:root {
    /* Primary Color Palette */
    --primary-color: #595407;
    --primary-light: #6b5a45;
    --primary-dark: #3a2d1f;
    
    /* Secondary Colors */
    --secondary-color: #ddb89a;
    --secondary-light: #fffdf7;
    --secondary-dark: #f5e9d3;
    
    /* Accent Colors */
    --accent-color: #978f18;
    --accent-light: #8a7a66;
    --accent-dark: #4d4133;
    
    /* Tertiary Colors */
    --tertiary-color: #F2A663;
    --tertiary-light: #f5e5d8;
    --tertiary-dark: #ddb89a;
    
    /* Background Colors */
    --background-color: #F2C299;
    --background-light: #fffaf5;
    --background-dark: #f8e4d1;
    
    /* Text Colors */
    --text-color: #595407;
    --text-color-hover: #282605;
    --text-muted: #A6705D;
    --text-light: #9b8d7d;
    
    /* Text Color Variables for HTML Tags */
    --heading-color: var(--text-color);
    --subheading-color: var(--text-muted);
    --body-text-color: var(--text-color);
    --paragraph-color: var(--text-color);
    --link-color: var(--primary-color);
    --link-hover-color: var(--text-muted);
    
    /* Status Colors */
    --success-color: #22c55e;
    --error-color: #ef4444;
    --warning-color: #f59e0b;
    
    /* Input & Form Colors */
    --input-border: #e5d4c1;
    --input-focus: var(--primary-color);
    --input-bg: #faf8f5;
    
    /* Card & Surface Colors */
    --card-bg: #fffdf9;
    --card-border: rgba(78, 61, 40, 0.08);
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(78, 61, 40, 0.05);
    --shadow-md: 0 10px 25px rgba(78, 61, 40, 0.1);
    --shadow-lg: 0 25px 50px rgba(78, 61, 40, 0.15);
    
    /* Border Radius */
    --border-radius-sm: 8px;
    --border-radius: 12px;
    --border-radius-lg: 16px;
    --border-radius-xl: 20px;
    
    /* Transitions */
    --transition: all 0.3s ease;
    --transition-fast: all 0.2s ease;
    --transition-slow: all 0.5s ease;
    
    /* Spacing Scale */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 12px;
    --space-lg: 16px;
    --space-xl: 20px;
    --space-2xl: 24px;
    --space-3xl: 32px;
    --space-4xl: 40px;
    
    /* Font Sizes */
    --font-xs: 0.75rem;
    --font-sm: 0.875rem;
    --font-base: 1rem;
    --font-lg: 1.125rem;
    --font-xl: 1.25rem;
    --font-2xl: 1.5rem;
    --font-3xl: 1.875rem;
    
    /* Font Family - Global Variable */
    --font-family-primary: IRANSansXFaNum, -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;;
    --font-family-fallback: 'Lalezar', 'Vazirmatn', sans-serif;

    /* Font Weights - Using Regular weight only */
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 600;
    --font-weight-bold: 800 ;

    /* Landing Page Tokens */
    /* Layout and container */
    --container-max-width: 1200px;
    --container-padding-x: 20px;
    --navbar-height: 80px;

    /* Section spacing */
    --section-padding-y: 100px;
    --section-header-margin-bottom: 3rem;
    --section-title-underline-width: 60px;
    --hero-padding-top: 150px;
    --hero-padding-bottom: 100px;
    --hero-padding-top-sm: 120px;
    --hero-padding-bottom-sm: 50px;

    /* Typography (landing) */
    --section-title-size: 2.5rem;
    --section-title-size-sm: 2rem;
    --section-title-size-xs: 1.7rem;
    --section-subtitle-size: 1.2rem;
    --hero-title-size: 3rem;
    --hero-title-size-sm: 2rem;
    --hero-text-size: 1.2rem;

    /* Buttons */
    --button-font-size: 1.1rem;
    --button-font-size-sm: 1.05rem;
    --button-padding-y: 12px;
    --button-padding-x: 30px;
    --button-outline-padding-y: 10px;
    --button-outline-padding-x: 30px;
    --pill-radius: 30px;

    /* Grid and gaps */
    --grid-gap-sm: 1.5rem;
    --grid-gap-md: 30px;
    --grid-gap-lg: 2rem;
    --grid-gap-xl: 50px;

    /* Cards */
    --card-radius: var(--border-radius);
    --card-padding-sm: 20px;
    --card-padding-md: 1.5rem;
    --card-padding-lg: 2rem;
    --shadow-card: 0 8px 20px rgba(0, 0, 0, 0.1);
    --card-hover-translate-y: -10px;

    /* Featured food */
    --featured-section-padding-y: 5rem;
    --featured-image-height: 200px;
    --featured-title-size: 1.2rem;
    --featured-title-size-sm: 1.1rem;
    --featured-ingredients-size: 0.9rem;
    --featured-ingredients-size-sm: 0.85rem;
    --featured-card-min-width: 280px;

    /* Icons */
    --service-icon-size: 80px;
    --contact-icon-size: 60px;
    --contact-icon-inner-size: 30px;
    --social-icon-size: 40px;
    --social-icon-inner-size: 20px;

    /* Wave */
    --wave-height: 100px;

    /* Footer */
    --footer-padding-top: 80px;
    --footer-padding-bottom: 20px;
    --footer-logo-width: 150px;
    --footer-heading-size: 1.3rem;
    --footer-heading-underline-width: 40px;
    --footer-border-color: rgba(255, 255, 255, 0.1);

    /* Misc */
    --social-icon-bg: rgba(255, 255, 255, 0.1);
    --arrow-margin-horizontal: 0.5rem;
    --arrow-hover-translate-x: 5px;
    --quote-size: 2rem;
    --stat-number-size: 2.5rem;
    --icon-hover-translate-y: -5px;
    --image-shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Global Font Application */
* {
    font-family: var(--font-family-primary) !important;
}

body {
    font-family: var(--font-family-primary) !important;
    font-weight: var(--font-weight-normal) !important;
    color: var(--body-text-color);
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Global Text Color Application */
h1, h2, h3, h4, h5, h6 {
    color: var(--heading-color);
    font-weight: var(--font-weight-bold) !important;
}

p {
    color: var(--paragraph-color);
}

a {
    color: var(--link-color);
    transition: var(--transition);
}

a:hover {
    color: var(--text-color-hover);
}

/* Ensure all text elements use the global font variable */
h1, h2, h3, h4, h5, h6, p, span, div, a, button, input, textarea, select, label,
.navbar, .navbar-link, .navbar-button, .auth-input, .auth-button-primary,
.home-hero, .service-card, .footer {
    font-family: var(--font-family-primary) !important;
}

/* Override default heading font weights - Lalezar looks better at lighter weights */
h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-weight-bold) !important;
}

/* Specific weight adjustments for better Lalezar appearance */
h1 {
    font-weight: var(--font-weight-bold) !important;
}

h2 {
    font-weight: var(--font-weight-bold) !important;
}

h3 {
    font-weight: var(--font-weight-bold) !important;
}

/* Override any bold elements to use appropriate weight for Lalezar */
strong, b, .bold {
    font-weight: var(--font-weight-bold) !important;
} 