/**
 * CSS Custom Properties (Variables)
 *
 * @package EpicMarks
 */

:root {
	/* ==========================================================================
	   Colors
	   ========================================================================== */

	/* Primary colors - overridden by Customizer */
	--em-color-primary: #000000;
	--em-color-secondary: #333333;
	--em-color-accent: #ff6600;

	/* Semantic colors */
	--em-color-success: #28a745;
	--em-color-warning: #ffc107;
	--em-color-error: #dc3545;
	--em-color-info: #17a2b8;

	/* Neutral scale */
	--em-neutral-50: #fafafa;
	--em-neutral-100: #f5f5f5;
	--em-neutral-200: #e5e5e5;
	--em-neutral-300: #d4d4d4;
	--em-neutral-400: #a3a3a3;
	--em-neutral-500: #737373;
	--em-neutral-600: #525252;
	--em-neutral-700: #404040;
	--em-neutral-800: #262626;
	--em-neutral-900: #171717;

	/* Background and surface */
	--em-bg-primary: #ffffff;
	--em-bg-secondary: var(--em-neutral-50);
	--em-surface: #ffffff;

	/* Text colors */
	--em-text-primary: var(--em-neutral-900);
	--em-text-secondary: var(--em-neutral-600);
	--em-text-muted: var(--em-neutral-400);
	--em-text-inverse: #ffffff;

	/* ==========================================================================
	   Typography
	   ========================================================================== */

	/* Font families */
	--em-font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--em-font-serif: Georgia, "Times New Roman", serif;
	--em-font-mono: SFMono-Regular, Menlo, Monaco, Consolas, monospace;

	/* Font sizes */
	--em-text-xs: 0.75rem;     /* 12px */
	--em-text-sm: 0.875rem;    /* 14px */
	--em-text-base: 1rem;      /* 16px */
	--em-text-lg: 1.125rem;    /* 18px */
	--em-text-xl: 1.25rem;     /* 20px */
	--em-text-2xl: 1.5rem;     /* 24px */
	--em-text-3xl: 1.875rem;   /* 30px */
	--em-text-4xl: 2.25rem;    /* 36px */
	--em-text-5xl: 3rem;       /* 48px */

	/* Line heights */
	--em-leading-none: 1;
	--em-leading-tight: 1.25;
	--em-leading-snug: 1.375;
	--em-leading-normal: 1.5;
	--em-leading-relaxed: 1.625;
	--em-leading-loose: 2;

	/* Font weights */
	--em-font-light: 300;
	--em-font-normal: 400;
	--em-font-medium: 500;
	--em-font-semibold: 600;
	--em-font-bold: 700;

	/* ==========================================================================
	   Spacing
	   ========================================================================== */

	--em-space-0: 0;
	--em-space-1: 0.25rem;   /* 4px */
	--em-space-2: 0.5rem;    /* 8px */
	--em-space-3: 0.75rem;   /* 12px */
	--em-space-4: 1rem;      /* 16px */
	--em-space-5: 1.25rem;   /* 20px */
	--em-space-6: 1.5rem;    /* 24px */
	--em-space-8: 2rem;      /* 32px */
	--em-space-10: 2.5rem;   /* 40px */
	--em-space-12: 3rem;     /* 48px */
	--em-space-16: 4rem;     /* 64px */
	--em-space-20: 5rem;     /* 80px */
	--em-space-24: 6rem;     /* 96px */

	/* ==========================================================================
	   Breakpoints (reference values)
	   ========================================================================== */

	/* 
	 * Mobile: 0 - 639px
	 * Tablet: 640px - 1023px
	 * Desktop: 1024px - 1279px
	 * Wide: 1280px+
	 */
	--em-bp-sm: 640px;
	--em-bp-md: 768px;
	--em-bp-lg: 1024px;
	--em-bp-xl: 1280px;

	/* ==========================================================================
	   Shadows
	   ========================================================================== */

	--em-shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
	--em-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
	--em-shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
	--em-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
	--em-shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

	/* ==========================================================================
	   Borders
	   ========================================================================== */

	/* Border radius */
	--em-radius-none: 0;
	--em-radius-sm: 0.125rem;  /* 2px */
	--em-radius: 0.25rem;      /* 4px */
	--em-radius-md: 0.375rem;  /* 6px */
	--em-radius-lg: 0.5rem;    /* 8px */
	--em-radius-xl: 0.75rem;   /* 12px */
	--em-radius-2xl: 1rem;     /* 16px */
	--em-radius-full: 9999px;

	/* Border widths */
	--em-border: 1px;
	--em-border-2: 2px;
	--em-border-4: 4px;

	/* Border color */
	--em-border-color: var(--em-neutral-200);

	/* ==========================================================================
	   Transitions
	   ========================================================================== */

	--em-duration-fast: 150ms;
	--em-duration: 200ms;
	--em-duration-slow: 300ms;

	--em-ease: cubic-bezier(0.4, 0, 0.2, 1);
	--em-ease-in: cubic-bezier(0.4, 0, 1, 1);
	--em-ease-out: cubic-bezier(0, 0, 0.2, 1);
	--em-ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);

	/* ==========================================================================
	   Layout
	   ========================================================================== */

	--em-container-width: 1200px;
	--em-container-narrow: 800px;
	--em-container-wide: 1440px;
	--em-container-padding: var(--em-space-4);
}
