/* css/root.css */

:root {
      /* Force Light Mode */
    color-scheme: light;
    /* Typography */
    --font-main: 'KalamehWeb', system-ui, -apple-system, sans-serif;
    --font-title: 'KalamehWeb', sans-serif;

    /* Colors (Light & Luxury Editorial Theme) */
    --color-bg-main: #FFFFFF;
    --color-text-main: #1A1A1A;
    --color-text-muted: #888888;
    --color-accent: #C5A880;
    --color-accent-hover: #A88D6A;
    
    /* Glassmorphism Variables */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.18);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.05);
    
    /* Spacing System */
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 64px;
    
    /* --- متغیرهای جدید برای فاصله بالا و پایین سکشن‌ها --- */
    --section-padding-desktop: 100px;
    --section-padding-mobile: 0px; /* اصلاح به 0px */

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- App-like Resets & Enhancements --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg-main);
    color: var(--color-text-main);
    line-height: 1.6;
    
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* --- Custom Luxury Scrollbar --- */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--color-bg-main); 
}
::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-accent);
}
