/* ================================================
   Beauty Ziv — CSS Variables
   פלטת צבעים: זהב + קרם/שמנת (אלגנטי-רך)
   פונט: Rubik
   ================================================ */

:root {
    /* ═══ Primary Colors — Gold ═══ */
    --gold-primary: #D4AF37;
    --gold-light: #E8D48A;
    --gold-dark: #B8960C;
    --gold-glow: rgba(212, 175, 55, 0.3);
    --gold-glow-strong: rgba(212, 175, 55, 0.5);
    --gold-accessible: #8B6F09;  /* WCAG AA: 4.80:1 on white — לטקסט בלבד */
    
    /* ═══ Background Colors — Cream/Ivory ═══ */
    --cream-lightest: #FFFEF9;
    --cream-light: #FDF8F0;
    --cream: #F5EBD7;
    --cream-dark: #EDE0C8;
    --cream-darker: #D4C4A8;
    
    /* ═══ Text Colors ═══ */
    --text-dark: #3D3D3D;
    --text-medium: #5C5C5C;
    --text-light: #666666;   /* WCAG AA: 5.74:1 on white */
    --text-muted: #595959;   /* WCAG AA: 7.00:1 on white */
    
    /* ═══ Accent Colors ═══ */
    --accent-success: #4CAF50;
    --accent-error: #E57373;
    --accent-warning: #FFB74D;
    --accent-info: #64B5F6;
    --accent-whatsapp: #25D366;
    
    /* ═══ UI Colors ═══ */
    --border-light: rgba(212, 175, 55, 0.2);
    --border-medium: rgba(212, 175, 55, 0.4);
    --border-strong: var(--gold-primary);
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-gold: 0 4px 25px rgba(212, 175, 55, 0.25);
    
    /* ═══ Card & Surface Colors ═══ */
    --card-bg: #FFFFFF;
    --card-bg-alt: var(--cream-light);
    --card-border: var(--border-light);
    --card-hover-border: var(--gold-primary);
    
    /* ═══ Typography — Rubik ═══ */
    --font-primary: 'Rubik', sans-serif;
    --font-display: 'Playfair Display', serif;
    
    /* Font Sizes — Fluid Typography */
    --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.85rem);
    --text-sm: clamp(0.85rem, 0.8rem + 0.25vw, 0.95rem);
    --text-base: clamp(0.95rem, 0.9rem + 0.25vw, 1.05rem);
    --text-lg: clamp(1.1rem, 1rem + 0.5vw, 1.25rem);
    --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
    --text-2xl: clamp(1.5rem, 1.25rem + 1vw, 2rem);
    --text-3xl: clamp(1.85rem, 1.5rem + 1.5vw, 2.5rem);
    --text-4xl: clamp(2.25rem, 1.75rem + 2vw, 3.25rem);
    
    /* Font Weights */
    --font-light: 300;
    --font-regular: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    
    /* Line Heights */
    --leading-tight: 1.25;
    --leading-normal: 1.5;
    --leading-relaxed: 1.75;
    
    /* ═══ Spacing ═══ */
    --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 */
    
    /* ═══ Border Radius ═══ */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* ═══ Transitions ═══ */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
    --transition-bounce: 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
    
    /* ═══ 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;
    --z-max: 9999;
    
    /* ═══ Layout ═══ */
    --container-sm: 640px;
    --container-md: 768px;
    --container-lg: 1024px;
    --container-xl: 1200px;
    --header-height: 80px;
    --header-height-mobile: 70px;
}

/* ═══ Dark Mode Support (optional) ═══ */
@media (prefers-color-scheme: dark) {
    :root.auto-dark {
        --cream-lightest: #1a1a1a;
        --cream-light: #222222;
        --cream: #2a2a2a;
        --cream-dark: #333333;
        --text-dark: #f0f0f0;
        --text-medium: #cccccc;
        --text-light: #999999;
        --card-bg: #1e1e1e;
    }
}
