/**
 * Design Tokens - Munazil Real Homes
 * Green-based, trust-focused color system
 * Modernized for premium feel
 */

:root {
    /* ===== COLORS ===== */

    /* Brand Colors - Green Palette */
    --color-primary: #16a34a;
    /* Trust green (Emerald 600) */
    --color-primary-dark: #14532d;
    /* Deep green (Emerald 900) - Darker for contrast */
    --color-primary-light: #4ade80;
    /* Bright green (Emerald 400) */
    --color-primary-pale: #ecfdf5;
    /* Very light green (Emerald 50) */

    /* Neutral Colors */
    --color-dark: #020617;
    /* Slate 950 - Almost black for premium feel */
    --color-dark-secondary: #0f172a;
    /* Slate 900 */
    --color-gray-dark: #334155;
    /* Slate 700 */
    --color-gray: #64748b;
    /* Slate 500 */
    --color-gray-light: #cbd5e1;
    /* Slate 300 */
    --color-gray-pale: #f8fafc;
    /* Slate 50 */
    --color-white: #ffffff;
    /* Pure white */

    /* Semantic Colors */
    --color-success: #16a34a;
    --color-warning: #f59e0b;
    --color-error: #dc2626;
    --color-info: #0ea5e9;

    /* Background Colors */
    --bg-primary: var(--color-white);
    --bg-dark: var(--color-dark);
    --bg-dark-secondary: var(--color-dark-secondary);
    --bg-light: var(--color-gray-pale);
    --bg-accent: var(--color-primary-pale);

    /* Text Colors */
    --text-primary: var(--color-dark);
    --text-secondary: var(--color-gray);
    --text-on-dark: var(--color-white);
    --text-on-primary: var(--color-white);
    --text-muted: var(--color-gray);

    /* Border Colors */
    --border-color: #e2e8f0;
    /* Slate 200 - Subtler borders */
    --border-color-dark: var(--color-gray-dark);

    /* ===== TYPOGRAPHY ===== */

    /* Font Families */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    --font-heading: var(--font-primary);
    /* Apple-inspired clean typography */

    /* Font Sizes - Mobile First */
    --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: 2rem;
    /* Increased size */
    --text-4xl: 2.5rem;
    --text-5xl: 3.5rem;
    /* Larger headings */

    /* Font Weights */
    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;

    /* Line Heights */
    --leading-tight: 1.2;
    --leading-normal: 1.6;
    /* Improved readability */
    --leading-relaxed: 1.8;

    /* ===== SPACING ===== */

    /* Generous whitespace for mobile readability */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3.5rem;
    /* Increased spacing */
    --space-16: 5rem;
    --space-20: 7rem;
    --space-24: 9rem;

    /* ===== LAYOUT ===== */

    --container-sm: 640px;
    --container-md: 768px;
    --container-lg: 1024px;
    --container-xl: 1280px;

    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    /* Modern rounded corners */
    --radius-xl: 1.5rem;
    --radius-full: 9999px;

    /* Shadows - Modern/Deep */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
    --shadow-glow: 0 0 20px rgba(22, 163, 74, 0.3);

    /* ===== TRANSITIONS ===== */

    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
    /* Bouncy feel */

    /* ===== Z-INDEX ===== */

    --z-base: 1;
    --z-dropdown: 10;
    --z-sticky: 20;
    --z-fixed: 30;
    --z-modal: 40;
    --z-popover: 50;
    --z-tooltip: 60;

    /* ===== COMPONENT SPECIFIC ===== */

    --btn-padding-y: 0.875rem;
    /* Larger touch targets */
    --btn-padding-x: 1.5rem;
    --btn-font-size: var(--text-base);
    --btn-border-radius: 9999px;
    /* Pill-shaped buttons are modern */

    --tap-target-min: 44px;

    --whatsapp-green: #25D366;
    --whatsapp-green-dark: #128C7E;
}