:root {
    /* 
     * LIGHT THEME VARIABLES 
     * Using a very clean, slightly warm off-white for light mode 
     */
    --color-bg-base: #f8f9fa;
    --color-bg-surface: #ffffff;
    --color-text-primary: #1a202c;
    --color-text-secondary: #4a5568;
    
    /* Core Brand Colors */
    --color-primary: #0F5A2A; /* Deep Forest Green */
    --color-primary-light: #167a3a;
    --color-secondary: #E67E22; /* Warm Amber / Orange */
    --color-secondary-hover: #F39C12;
    
    /* Text Specific Colors */
    --color-text-heading: #0B2A4A; /* Navy Blue for Light Mode Headings */
    
    /* Borders & UI Elements */
    --color-border: rgba(0, 0, 0, 0.08);
    --color-glass-bg: rgba(255, 255, 255, 0.7);
    --color-glass-border: rgba(255, 255, 255, 0.4);
    
    /* Gradients */
    --gradient-hero: radial-gradient(circle at 100% 0%, rgba(15, 90, 42, 0.15) 0%, transparent 50%),
                     radial-gradient(circle at 0% 100%, rgba(230, 126, 34, 0.08) 0%, transparent 40%);

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 
 * DARK THEME VARIABLES
 */
[data-theme="dark"] {
    --color-bg-base: #0A120D; /* Very dark desaturated green */
    --color-bg-surface: #101c14; /* Deep Green for card backgrounds */
    --color-text-primary: #ffffff;
    --color-text-secondary: rgba(255, 255, 255, 0.7);
    
    --color-primary: #0F5A2A;
    --color-primary-light: #167a3a;
    --color-secondary: #E67E22;
    --color-secondary-hover: #F39C12;
    
    /* Text Specific Colors */
    --color-text-heading: #ffffff; /* White for Dark Mode Headings */
    
    --color-border: rgba(255, 255, 255, 0.05);
    --color-glass-bg: rgba(255, 255, 255, 0.02); /* White glass */
    --color-glass-border: rgba(255, 255, 255, 0.05);

    --gradient-hero: radial-gradient(circle at 100% 0%, rgba(15, 90, 42, 0.3) 0%, transparent 60%),
                     radial-gradient(circle at 0% 100%, rgba(230, 126, 34, 0.05) 0%, transparent 50%);
}

/* Global Reset & Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: initial; /* Lenis handles smooth scrolling */
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-base);
    color: var(--color-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color var(--transition-medium), color var(--transition-medium);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-text-heading);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em; /* Tight tracking for modern feel */
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}
