/* Clean & Sharp Design System - Upstate Eternity Health */

:root {
    /* Primary Color Palette */
    --primary-bg: #2a190c;
    --primary-bg-light: #3d2817;
    --primary-bg-lighter: #5a4a3d;

    --accent-beige: #f5f0e8;
    --accent-beige-dark: #e8dfd5;
    --accent-beige-light: #faf8f5;

    --secondary-bg: #faf8f5;
    --secondary-bg-dark: #f0ebe5;

    /* Gold Accents (minimal use) */
    --accent-gold: #c9a961;
    --accent-gold-light: #d4b876;
    --accent-gold-dark: #b8984d;

    /* Text Colors */
    --text-dark: #1a1410;
    --text-dark-medium: #3d3530;
    --text-muted: #6b6560;
    --text-light-muted: #a39d98;

    --text-light: #ffffff;
    --text-light-bright: #f8f8f8;
    --text-light-faint: #e0ddd9;
    --text-light-subtle: #c5c1bd;

    /* Simple Overlays - No Gradients */
    --overlay-dark: rgba(38, 24, 11, 0.7);
    --overlay-dark-heavy: rgba(38, 24, 11, 0.85);
    --overlay-light: rgba(250, 248, 245, 0.95);

    /* Background Overlays */
    --bg-light-overlay: rgba(255, 255, 255, 0.08);
    --bg-light-overlay-hover: rgba(255, 255, 255, 0.15);
    --bg-dark-overlay: rgba(0, 0, 0, 0.03);

    /* Spacing System */
    --spacing-xs: 8px;
    --spacing-sm: 12px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;
    --spacing-3xl: 64px;
    --spacing-4xl: 96px;
    --spacing-5xl: 128px;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-family-display: 'Inter', sans-serif;

    --font-size-xs: 13px;
    --font-size-sm: 14px;
    --font-size-base: 16px;
    --font-size-md: 18px;
    --font-size-lg: 20px;
    --font-size-xl: 24px;
    --font-size-2xl: 32px;
    --font-size-3xl: 42px;
    --font-size-4xl: 56px;
    --font-size-5xl: 72px;

    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    --line-height-tight: 1.2;
    --line-height-snug: 1.375;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.625;
    --line-height-loose: 1.8;

    --letter-spacing-tight: -0.02em;
    --letter-spacing-normal: 0;
    --letter-spacing-wide: 0.025em;

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Clean Shadows */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 2px 8px rgba(38, 24, 11, 0.08), 0 1px 3px rgba(38, 24, 11, 0.06);
    --shadow-md: 0 4px 16px rgba(38, 24, 11, 0.12), 0 2px 6px rgba(38, 24, 11, 0.08);
    --shadow-lg: 0 8px 32px rgba(38, 24, 11, 0.16), 0 4px 12px rgba(38, 24, 11, 0.1);
    --shadow-xl: 0 16px 48px rgba(38, 24, 11, 0.2), 0 8px 20px rgba(38, 24, 11, 0.12);
    --shadow-2xl: 0 24px 64px rgba(38, 24, 11, 0.24), 0 12px 28px rgba(38, 24, 11, 0.15);

    --shadow-gold: 0 8px 32px rgba(201, 169, 97, 0.25), 0 4px 12px rgba(201, 169, 97, 0.15);
    --shadow-dark: 0 8px 32px rgba(0, 0, 0, 0.3), 0 4px 12px rgba(0, 0, 0, 0.2);

    --shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.06);

    /* Transitions */
    --transition-fast: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-medium: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 400ms cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* Layout */
    --container-max-width: 1280px;
    --navbar-height: 80px;
    --hero-min-height: 400px;

    /* Z-Index Scale */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;

    /* Legacy Support (for backward compatibility) */
    --button-border: #26180b;
    --footer-bg: #26180b;
    --text-dark-hover: #1a1410;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background-color: var(--accent-gold);
    color: var(--text-light);
}

::-moz-selection {
    background-color: var(--accent-gold);
    color: var(--text-light);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--secondary-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-bg-light);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-bg);
}

/* High Quality Image Rendering */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -ms-interpolation-mode: nearest-neighbor;
}