/**
 * NeoHpl MedTech - CSS Variables & Design Tokens
 * ================================================
 * This file contains all CSS custom properties (variables)
 * for consistent design throughout the website.
 */

:root {
    /* ========================================
       COLOR PALETTE
    ======================================== */
    
    /* Primary Colors */
    --color-primary: #00A4E0;
    --color-primary-dark: #0088BC;
    --color-primary-light: #33B5E6;
    --color-primary-rgb: 0, 164, 224;
    
    /* Secondary/Dark Colors */
    --color-dark: #211A1D;
    --color-dark-light: #3D3539;
    --color-dark-rgb: 33, 26, 29;
    
    /* Neutral Colors */
    --color-white: #FFFFFF;
    --color-black: #000000;
    --color-gray-50: #F9FAFB;
    --color-gray-100: #F3F4F6;
    --color-gray-200: #E5E7EB;
    --color-gray-300: #D1D5DB;
    --color-gray-400: #9CA3AF;
    --color-gray-500: #6B7280;
    --color-gray-600: #4B5563;
    --color-gray-700: #374151;
    --color-gray-800: #1F2937;
    --color-gray-900: #111827;
    
    /* Accent Colors */
    --color-accent-light: #E6F7FC;
    --color-accent-blue: #EBF8FF;
    
    /* Semantic Colors */
    --color-success: #10B981;
    --color-warning: #F59E0B;
    --color-error: #EF4444;
    --color-info: #3B82F6;
    
    /* ========================================
       TYPOGRAPHY
    ======================================== */
    
    /* Font Families */
    --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-arabic: 'Cairo', 'Poppins', sans-serif;
    
    /* Font Sizes - Desktop */
    --text-xs: 0.75rem;      /* 12px */
    --text-sm: 0.875rem;     /* 14px */
    --text-base: 1rem;       /* 16px */
    --text-lg: 1.125rem;     /* 18px */
    --text-xl: 1.25rem;      /* 20px */
    --text-2xl: 1.5rem;      /* 24px */
    --text-3xl: 1.875rem;    /* 30px */
    --text-4xl: 2.25rem;     /* 36px */
    --text-5xl: 3rem;        /* 48px */
    --text-6xl: 3.75rem;     /* 60px */
    --text-7xl: 4.5rem;      /* 72px */
    
    /* Font Weights */
    --font-light: 300;
    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    --font-extrabold: 800;
    
    /* Line Heights */
    --leading-none: 1;
    --leading-tight: 1.25;
    --leading-snug: 1.375;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;
    --leading-loose: 2;
    
    /* Letter Spacing */
    --tracking-tighter: -0.05em;
    --tracking-tight: -0.025em;
    --tracking-normal: 0;
    --tracking-wide: 0.025em;
    --tracking-wider: 0.05em;
    --tracking-widest: 0.1em;
    
    /* ========================================
       SPACING
    ======================================== */
    
    --space-0: 0;
    --space-1: 0.25rem;    /* 4px */
    --space-2: 0.5rem;     /* 8px */
    --space-3: 0.75rem;    /* 12px */
    --space-4: 1rem;       /* 16px */
    --space-5: 1.25rem;    /* 20px */
    --space-6: 1.5rem;     /* 24px */
    --space-8: 2rem;       /* 32px */
    --space-10: 2.5rem;    /* 40px */
    --space-12: 3rem;      /* 48px */
    --space-16: 4rem;      /* 64px */
    --space-20: 5rem;      /* 80px */
    --space-24: 6rem;      /* 96px */
    --space-32: 8rem;      /* 128px */
    
    /* Section Spacing */
    --section-padding-y: clamp(4rem, 8vw, 7rem);
    --section-padding-x: clamp(1rem, 5vw, 2rem);
    
    /* ========================================
       LAYOUT
    ======================================== */
    
    /* Container */
    --container-sm: 640px;
    --container-md: 768px;
    --container-lg: 1024px;
    --container-xl: 1200px;
    --container-2xl: 1400px;
    --container-max: 1320px;
    
    /* Grid */
    --grid-columns: 12;
    --grid-gap: 1.5rem;
    
    /* ========================================
       BORDERS & RADIUS
    ======================================== */
    
    --radius-none: 0;
    --radius-sm: 0.125rem;   /* 2px */
    --radius-default: 0.25rem; /* 4px */
    --radius-md: 0.375rem;   /* 6px */
    --radius-lg: 0.5rem;     /* 8px */
    --radius-xl: 0.75rem;    /* 12px */
    --radius-2xl: 1rem;      /* 16px */
    --radius-3xl: 1.5rem;    /* 24px */
    --radius-full: 9999px;
    
    --border-width: 1px;
    --border-color: var(--color-gray-200);
    
    /* ========================================
       SHADOWS
    ======================================== */
    
    --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --shadow-inner: inset 0 2px 4px 0 rgb(0 0 0 / 0.05);
    
    /* Card Shadow */
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-card-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
    
    /* ========================================
       TRANSITIONS
    ======================================== */
    
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
    --transition-slower: 700ms ease;
    
    /* Specific Transitions */
    --transition-colors: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
    --transition-transform: transform 0.3s ease;
    --transition-opacity: opacity 0.3s ease;
    --transition-shadow: box-shadow 0.3s ease;
    --transition-all: all 0.3s ease;
    
    /* ========================================
       Z-INDEX SCALE
    ======================================== */
    
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal-backdrop: 400;
    --z-modal: 500;
    --z-popover: 600;
    --z-tooltip: 700;
    --z-toast: 800;
    
    /* ========================================
       HEADER & NAVIGATION
    ======================================== */
    
    --header-height: 80px;
    --header-height-scrolled: 70px;
    --topbar-height: 40px;
    
    /* ========================================
       COMPONENT SPECIFIC
    ======================================== */
    
    /* Buttons */
    --btn-padding-x: 1.5rem;
    --btn-padding-y: 0.75rem;
    --btn-font-size: var(--text-base);
    --btn-font-weight: var(--font-semibold);
    --btn-border-radius: var(--radius-lg);
    
    /* Cards */
    --card-padding: 1.5rem;
    --card-border-radius: var(--radius-xl);
    --card-bg: var(--color-white);
    
    /* Forms */
    --input-padding-x: 1rem;
    --input-padding-y: 0.75rem;
    --input-border-radius: var(--radius-lg);
    --input-border-color: var(--color-gray-300);
    --input-focus-border-color: var(--color-primary);
}

/* ========================================
   RESPONSIVE ADJUSTMENTS
======================================== */

/* Tablet */
@media (max-width: 1024px) {
    :root {
        --text-5xl: 2.5rem;
        --text-6xl: 3rem;
        --text-7xl: 3.5rem;
        --header-height: 70px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --text-4xl: 2rem;
        --text-5xl: 2.25rem;
        --text-6xl: 2.5rem;
        --text-7xl: 3rem;
        --section-padding-y: 3rem;
        --header-height: 60px;
        --grid-gap: 1rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    :root {
        --text-3xl: 1.5rem;
        --text-4xl: 1.75rem;
        --text-5xl: 2rem;
        --text-6xl: 2.25rem;
    }
}
