/* ============================================
   SHINE GLOBAL ENTERPRISE - DESIGN TOKENS
   ============================================ */

:root {
    /* ===================
       COLOR PALETTE
       =================== */

    /* Primary - Corporate Navy (Trust & Professionalism) */
    --primary: #1E3A5F;
    --primary-light: #2E5A8F;
    --primary-dark: #0F1F33;
    --primary-rgb: 30, 58, 95;

    /* Secondary - Gold (Excellence & Premium) */
    --secondary: #D4A853;
    --secondary-light: #E8C67A;
    --secondary-dark: #B8923E;

    /* Accent - Teal (Innovation & Digital) */
    --accent: #4ECDC4;
    --accent-light: #7EDED8;
    --accent-dark: #3BA99F;

    /* Ministry - Purple (Spiritual & Purpose) */
    --ministry: #8B5CF6;
    --ministry-light: #A78BFA;
    --ministry-dark: #6D28D9;
    --ministry-rgb: 139, 92, 246;

    /* Neutrals */
    --text: #1F2937;
    --text-light: #6B7280;
    --text-muted: #9CA3AF;
    --bg: #FAFBFC;
    --bg-alt: #F3F4F6;
    --white: #FFFFFF;
    --black: #000000;

    /* Feedback Colors */
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;
    --info: #3B82F6;

    /* ===================
       TYPOGRAPHY
       =================== */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Outfit', 'Inter', sans-serif;

    /* Font Sizes - Fluid Typography */
    --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
    --text-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
    --text-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
    --text-lg: clamp(1.125rem, 1rem + 0.625vw, 1.25rem);
    --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
    --text-2xl: clamp(1.5rem, 1.25rem + 1.25vw, 2rem);
    --text-3xl: clamp(1.875rem, 1.5rem + 1.875vw, 2.5rem);
    --text-4xl: clamp(2.25rem, 1.75rem + 2.5vw, 3rem);
    --text-5xl: clamp(3rem, 2rem + 5vw, 4.5rem);

    /* Font Weights */
    --font-light: 300;
    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    --font-extrabold: 800;

    /* Line Heights */
    --leading-tight: 1.2;
    --leading-snug: 1.375;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;
    --leading-loose: 2;

    /* ===================
       SPACING SCALE
       =================== */
    --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 Padding */
    --section-padding: clamp(4rem, 8vw, 8rem);
    --container-padding: clamp(1rem, 4vw, 2rem);

    /* ===================
       LAYOUT
       =================== */
    --container-max: 1280px;
    --container-narrow: 900px;
    --container-wide: 1440px;

    /* ===================
       BORDERS & RADIUS
       =================== */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    --border-thin: 1px;
    --border-medium: 2px;
    --border-thick: 3px;

    /* ===================
       SHADOWS
       =================== */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);

    /* Card Shadows */
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-card-hover: 0 12px 40px rgba(0, 0, 0, 0.15);

    /* ===================
       TRANSITIONS
       =================== */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
    --transition-slower: 500ms ease;

    /* Easing Functions */
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --ease-in: cubic-bezier(0.4, 0, 1, 1);
    --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* ===================
       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;

    /* ===================
       GRADIENTS
       =================== */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary) 100%);
    --gradient-ministry: linear-gradient(135deg, var(--ministry-dark) 0%, var(--ministry) 100%);
    --gradient-hero: linear-gradient(135deg, rgba(30, 58, 95, 0.95) 0%, rgba(46, 90, 143, 0.85) 50%, rgba(78, 205, 196, 0.75) 100%);
    --gradient-overlay: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.6) 100%);
}

/* ===================
   DARK THEME
   =================== */
[data-theme="dark"] {
    /* Background Colors */
    --bg: #0f172a;
    --bg-alt: #1e293b;
    --white: #1e293b;

    /* Text Colors */
    --text: #f1f5f9;
    --text-light: #94a3b8;
    --text-muted: #64748b;

    /* Primary adjustments for dark mode */
    --primary: #3b82f6;
    --primary-light: #60a5fa;
    --primary-dark: #1e3a5f;

    /* Card shadows for dark mode */
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-card-hover: 0 12px 40px rgba(0, 0, 0, 0.4);

    /* Gradients for dark mode */
    --gradient-hero: linear-gradient(135deg, rgba(15, 23, 42, 0.98) 0%, rgba(30, 41, 59, 0.95) 50%, rgba(51, 65, 85, 0.9) 100%);
}