/* Design System - CSS Variables */

:root {
    /* ========================================
       COLOR PALETTE - Warm & Holistic
       ======================================== */

    /* Primary Colors - Warm & Grounding */
    --color-primary: #C9A97E;        /* Warm sand/gold */
    --color-primary-light: #E5D4BC;  /* Light sandy beige */
    --color-primary-dark: #A68A5E;   /* Deep gold */

    /* Secondary Colors - Calming & Spiritual */
    --color-secondary: #9CAFA3;      /* Soft sage green */
    --color-secondary-light: #C4D4CC; /* Pale mint */
    --color-secondary-dark: #6B8575;  /* Forest green */

    /* Accent - Energy & Action */
    --color-accent: #B88E7A;         /* Terracotta rose */

    /* Neutrals - Warm & Organic */
    --color-background: #FAF8F5;     /* Warm off-white */
    --color-surface: #FFFFFF;        /* Pure white for cards */
    --color-text-primary: #3E3430;   /* Warm dark brown */
    --color-text-secondary: #6B5E57; /* Medium warm grey */
    --color-text-light: #9B8D85;     /* Light grey for subtle text */

    /* Semantic Colors */
    --color-success: #7FA885;        /* Soft green */
    --color-error: #C47B6D;          /* Soft red */
    --color-warning: #D4A574;        /* Warm amber */

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

    /* Font Families */
    --font-family-primary: 'Lora', Georgia, serif;      /* Warm, readable serif for headings */
    --font-family-secondary: 'Inter', system-ui, -apple-system, sans-serif; /* Clean sans for body */

    /* Font Sizes - Mobile First */
    --font-size-xs: 0.875rem;    /* 14px */
    --font-size-sm: 1rem;        /* 16px */
    --font-size-md: 1.125rem;    /* 18px */
    --font-size-lg: 1.5rem;      /* 24px */
    --font-size-xl: 2rem;        /* 32px */
    --font-size-2xl: 2.5rem;     /* 40px */
    --font-size-3xl: 3rem;       /* 48px */

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

    /* Line Heights */
    --line-height-tight: 1.2;
    --line-height-normal: 1.6;
    --line-height-relaxed: 1.8;

    /* Letter Spacing */
    --letter-spacing-tight: -0.02em;
    --letter-spacing-normal: 0;
    --letter-spacing-wide: 0.025em;
    --letter-spacing-wider: 0.05em;

    /* ========================================
       SPACING SCALE (8px base)
       ======================================== */

    --space-xs: 0.5rem;   /* 8px */
    --space-sm: 1rem;     /* 16px */
    --space-md: 1.5rem;   /* 24px */
    --space-lg: 2rem;     /* 32px */
    --space-xl: 3rem;     /* 48px */
    --space-2xl: 4rem;    /* 64px */
    --space-3xl: 6rem;    /* 96px */
    --space-4xl: 8rem;    /* 128px */

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

    /* Container Widths */
    --container-sm: 640px;
    --container-md: 768px;
    --container-lg: 1024px;
    --container-xl: 1280px;
    --container-2xl: 1440px;

    /* Container Padding */
    --container-padding: var(--space-md);

    /* ========================================
       BORDER RADIUS - Soft & Organic
       ======================================== */

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;

    /* ========================================
       SHADOWS - Subtle & Soft
       ======================================== */

    --shadow-xs: 0 1px 4px rgba(62, 52, 48, 0.04);
    --shadow-sm: 0 2px 8px rgba(62, 52, 48, 0.08);
    --shadow-md: 0 4px 16px rgba(62, 52, 48, 0.12);
    --shadow-lg: 0 8px 24px rgba(62, 52, 48, 0.16);
    --shadow-xl: 0 12px 32px rgba(62, 52, 48, 0.20);

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

    --transition-fast: 150ms ease-in-out;
    --transition-base: 250ms ease-in-out;
    --transition-slow: 400ms ease-in-out;

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

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

@media (min-width: 768px) {
    :root {
        --font-size-lg: 1.75rem;     /* 28px */
        --font-size-xl: 2.25rem;     /* 36px */
        --font-size-2xl: 3rem;       /* 48px */
        --font-size-3xl: 3.75rem;    /* 60px */

        --container-padding: var(--space-lg);
    }
}

@media (min-width: 1024px) {
    :root {
        --container-padding: var(--space-xl);
    }
}
