/**
 * CSS Custom Properties (Variables)
 *
 * @package Tobalt_Starter
 * @version 1.2.0
 * @author Tobalt — https://tobalt.lt
 */

:root {
    /* Brand Colors */
    --color-primary: #002855;
    --color-primary-rgb: 0, 40, 85;
    --color-accent: #62a87c;
    --color-accent-rgb: 98, 168, 124;
    --color-highlight: #ffcc27;
    --color-highlight-rgb: 255, 204, 39;
    --color-text: #62626a;
    --color-text-rgb: 98, 98, 106;

    /* Neutral Colors */
    --color-white: #ffffff;
    --color-gray-light: #f8f8f8;
    --color-gray-medium: #e5e5e5;
    --color-gray-dark: #333333;
    --color-black: #000000;

    /* Typography */
    --font-family: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --line-height-tight: 1.25;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.75;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Layout */
    --container-max: 1200px;
    --container-padding: var(--space-md);
    --header-height: 80px;
    --header-height-scrolled: 64px;
    --announcement-padding: var(--space-sm) var(--space-md);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
    --transition-slow: 500ms ease;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-header: 0 2px 10px rgba(0, 40, 85, 0.15);

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-full: 9999px;

    /* Focus Ring - WCAG 2.2 */
    --focus-ring-color: var(--color-highlight);
    --focus-ring-width: 3px;
    --focus-ring-offset: 2px;

    /* Touch Target - WCAG 2.2 */
    --touch-target-min: 44px;

    /* 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;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    :root {
        --transition-fast: 0ms;
        --transition-normal: 0ms;
        --transition-slow: 0ms;
    }
}
