/* ============================================
   DONGINBI - Brand Design Tokens
   The Art of Korean Red Ginseng Skincare
   ============================================ */

:root {
    /* ===========================================
     COLOR PALETTE
     =========================================== */

    /* Primary Brand Colors */
    --color-ginseng: #8B2942;
    /* Deep burgundy - signature red ginseng */
    --color-ginseng-light: #A6415A;
    /* Lighter shade for hover states */
    --color-ginseng-dark: #6B1F33;
    /* Darker shade for depth */

    /* Accent Colors */
    --color-gold: #C9A962;
    /* Luxury gold accent */
    --color-gold-light: #D4BC7D;
    /* Lighter gold */
    --color-gold-dark: #A88B45;
    /* Darker gold */

    /* Neutral Colors */
    --color-cream: #F8F5F0;
    /* Primary background */
    --color-ivory: #FFFEF9;
    /* Card backgrounds */
    --color-white: #FFFFFF;
    /* Pure white */

    /* Text Colors */
    --color-charcoal: #2D2D2D;
    /* Primary text */
    --color-brown: #3D2314;
    /* Heritage text color */
    --color-gray: #6B6B6B;
    /* Secondary text */
    --color-gray-light: #9A9A9A;
    /* Muted text */

    /* Accent Tones */
    --color-blush: #E8D5D0;
    /* Soft blush accent */
    --color-rose: #B86B77;
    /* Rose accent */

    /* Functional Colors */
    --color-success: #4A7C59;
    --color-error: #C44536;
    --color-warning: #E8A838;

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

    /* Font Families */
    --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Noto Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* 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, 3.5rem);
    --text-5xl: clamp(3rem, 2rem + 5vw, 5rem);

    /* Font Weights */
    --weight-light: 300;
    --weight-regular: 400;
    --weight-medium: 500;
    --weight-semibold: 600;
    --weight-bold: 700;

    /* Line Heights */
    --leading-none: 1;
    --leading-tight: 1.15;
    --leading-snug: 1.3;
    --leading-normal: 1.5;
    --leading-relaxed: 1.65;
    --leading-loose: 1.85;

    /* 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-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 */

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

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

    --container-padding: clamp(1rem, 5vw, 2rem);

    /* ===========================================
     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);

    /* Colored Shadows */
    --shadow-ginseng: 0 10px 40px -10px rgba(139, 41, 66, 0.3);
    --shadow-gold: 0 10px 40px -10px rgba(201, 169, 98, 0.3);

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

    --duration-fast: 150ms;
    --duration-normal: 300ms;
    --duration-slow: 500ms;
    --duration-slower: 700ms;

    --ease-default: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-in: cubic-bezier(0.4, 0, 1, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 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;

    /* ===========================================
     BREAKPOINTS (for reference in media queries)
     =========================================== */

    /* --breakpoint-sm: 640px;   */
    /* --breakpoint-md: 768px;   */
    /* --breakpoint-lg: 1024px;  */
    /* --breakpoint-xl: 1280px;  */
    /* --breakpoint-2xl: 1536px; */
}

/* ============================================
   DARK MODE SUPPORT (optional future use)
   ============================================ */

@media (prefers-color-scheme: dark) {
    :root.auto-dark {
        --color-cream: #1a1a1a;
        --color-ivory: #242424;
        --color-charcoal: #f5f5f5;
        --color-brown: #e8d5d0;
        --color-gray: #a0a0a0;
    }
}