/* ==================== DESIGN TOKENS ==================== */
/* Nature's Place - A New Earth Fellowship */

:root {
    /* ===== COLORS ===== */
    --color-primary: #7ba651;
    --color-primary-dark: #5d8c3d;
    --color-primary-light: #9bc275;
    
    --color-secondary: #d8dfc4;
    --color-secondary-dark: #c5cdb0;
    --color-secondary-light: #e8edd9;
    
    --color-accent: #8b7355;
    --color-accent-dark: #6d5a43;
    --color-accent-light: #a89070;
    
    --color-text: #2d3e2c;
    --color-text-light: #4a5d49;
    --color-text-muted: #6b7d6a;
    
    --color-bg: #ffffff;
    --color-bg-alt: #f5f5f0;
    --color-bg-warm: #e8e6d9;
    --color-bg-dark: #2a2a2a;
    
    --color-white: #ffffff;
    --color-black: #1a1a1a;
    
    /* Semantic colors */
    --color-success: #5a9c5a;
    --color-error: #c75050;
    --color-warning: #c9a227;
    --color-info: #5080c7;
    
    /* ===== TYPOGRAPHY ===== */
    --font-heading: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
    --font-body: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-accent: 'Dancing Script', cursive;
    
    /* Font sizes - fluid typography */
    --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
    --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
    --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
    --text-lg: clamp(1.125rem, 1.05rem + 0.4vw, 1.25rem);
    --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
    --text-2xl: clamp(1.5rem, 1.3rem + 1vw, 2rem);
    --text-3xl: clamp(1.875rem, 1.5rem + 1.9vw, 2.5rem);
    --text-4xl: clamp(2.25rem, 1.8rem + 2.25vw, 3.5rem);
    --text-5xl: clamp(3rem, 2.2rem + 4vw, 5rem);
    
    /* Font weights */
    --weight-light: 300;
    --weight-normal: 400;
    --weight-medium: 500;
    --weight-semibold: 600;
    --weight-bold: 700;
    
    /* Line heights */
    --leading-tight: 1.2;
    --leading-snug: 1.4;
    --leading-normal: 1.6;
    --leading-relaxed: 1.8;
    --leading-loose: 2;
    
    /* Letter spacing */
    --tracking-tight: -0.025em;
    --tracking-normal: 0;
    --tracking-wide: 0.05em;
    --tracking-wider: 0.1em;
    --tracking-widest: 0.15em;
    
    /* ===== SPACING ===== */
    --space-xs: 0.25rem;    /* 4px */
    --space-sm: 0.5rem;     /* 8px */
    --space-md: 1rem;       /* 16px */
    --space-lg: 1.5rem;     /* 24px */
    --space-xl: 2rem;       /* 32px */
    --space-2xl: 3rem;      /* 48px */
    --space-3xl: 4rem;      /* 64px */
    --space-4xl: 6rem;      /* 96px */
    --space-5xl: 8rem;      /* 128px */
    
    /* ===== LAYOUT ===== */
    --container-xs: 36rem;   /* 576px */
    --container-sm: 48rem;   /* 768px */
    --container-md: 64rem;   /* 1024px */
    --container-lg: 80rem;   /* 1280px */
    --container-xl: 90rem;   /* 1440px */
    
    --gutter: clamp(1rem, 3vw, 3rem);
    
    /* ===== BORDERS ===== */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;
    
    --border-thin: 1px;
    --border-medium: 2px;
    --border-thick: 4px;
    
    /* ===== SHADOWS ===== */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
    --shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.06);
    
    /* ===== TRANSITIONS ===== */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
    --transition-slower: 700ms 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.34, 1.56, 0.64, 1);
    
    /* ===== Z-INDEX SCALE ===== */
    --z-below: -1;
    --z-base: 0;
    --z-above: 1;
    --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;
    
    /* ===== PARALLAX ===== */
    --parallax-rate: 0.1;
}

/* ===== DARK MODE (Future) ===== */
@media (prefers-color-scheme: dark) {
    :root {
        /* Can be enabled later */
    }
}
