/* ============================================================
   Art Therapy App - ShowStudio-inspired Minimal Design
   ============================================================ */

/* CSS Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Colors - Minimal, editorial */
    --color-primary: #000000;
    --color-primary-light: #333333;
    --color-primary-dark: #000000;
    --color-accent: #000000;
    --color-accent-light: #666666;
    --color-success: #2d7a2d;
    --color-danger: #c41e1e;
    --color-warning: #b58b00;

    /* Backgrounds */
    --color-bg: #ffffff;
    --color-bg-secondary: #f8f8f8;
    --color-surface: #ffffff;
    --color-surface-alt: #fafafa;

    /* Text */
    --color-text: #000000;
    --color-text-secondary: #666666;
    --color-text-muted: #888888;
    --color-text-light: #aaaaaa;

    /* Borders */
    --color-border: #e0e0e0;
    --color-border-light: #eeeeee;
    --color-border-dark: #000000;

    /* Typography - Clean, editorial */
    --font-body: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --font-heading: 'Helvetica Neue', Helvetica, Arial, sans-serif;

    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 80px;
    --space-5xl: 120px;

    /* Shadows - Very subtle */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.03);
    --shadow-md: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-lg: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-xl: 0 8px 32px rgba(0,0,0,0.1);

    /* Border radius - Sharp, editorial */
    --radius-sm: 2px;
    --radius-md: 3px;
    --radius-lg: 4px;
    --radius-xl: 6px;
    --radius-2xl: 8px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 250ms ease;
    --transition-slow: 400ms ease;

    /* Layout */
    --max-width: 1200px;
    --max-width-wide: 1400px;
    --navbar-height: 52px;
}

html {
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.5;
    font-weight: 400;
    letter-spacing: 0.01em;
    min-height: 100vh;
}

/* Typography - Light, editorial */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 300;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

h1 {
    font-size: 2.4rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

h2 {
    font-size: 1.4rem;
    font-weight: 400;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

h3 {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

h4 {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

p {
    font-size: 0.9rem;
    line-height: 1.6;
    font-weight: 300;
}

.text-large {
    font-size: 1.1rem;
    line-height: 1.5;
    font-weight: 300;
}

a {
    color: var(--color-text);
    text-decoration: none;
    transition: opacity var(--transition-fast);
}

a:hover {
    opacity: 0.6;
}

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

/* Scrollbar - Minimal */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.15);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0,0,0,0.25);
}

/* Utilities */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

.text-muted { color: var(--color-text-muted); }
.text-secondary { color: var(--color-text-secondary); }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-sm { font-size: 0.8rem; }
.text-xs { font-size: 0.7rem; }
.text-uppercase { text-transform: uppercase; letter-spacing: 0.05em; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-xs { gap: var(--space-xs); }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }

.hidden { display: none !important; }

/* Container */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.container-wide {
    max-width: var(--max-width-wide);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    h1 {
        font-size: 1.6rem;
        letter-spacing: 0.03em;
    }

    h2 {
        font-size: 1.1rem;
    }

    h3 {
        font-size: 0.9rem;
    }

    .container,
    .container-wide {
        padding: 0 var(--space-md);
    }
}
