/**
 * Design System - Brand Style Definitions
 * Single source of truth for all brand styles
 * 
 * @package Pachamama
 * @version 1.1.0
 */

:root {
	/* ========================================
	   COLOR PALETTE
	   ======================================== */
	
	/* Primary Colors */
	--deep-forest: #313c2a;
	--warm-sand: #e7deca;
	--clay: #905f2d;
	--olive: #7b7c4f;
	--sage: #abb59c;
	--teal: #798d7f;
	
	/* Color Variations */
	--clay-light: #a67438;
	--olive-light: #9aa176;
	--teal-light: #8fa599;
	
	/* Text Colors */
	--dark-text: #313c2a;
	--mid-text: #7b7c4f;
	--light-text: #abb59c;
	
	/* Background Colors */
	--bg-page: #fdfcfa;
	--bg-section: #f5f2ed;
	--white: #FFFFFF;
	--color-bg-page: #fdfcfa;
	--color-bg-section: #f5f2ed;
	--color-bg-card: #ffffff;
	--color-bg-overlay: rgba(49, 60, 42, 0.85);
	
	/* Border & Divider */
	--border: rgba(49, 60, 42, 0.12);
	--color-border: rgba(49, 60, 42, 0.12);
	--color-divider: rgba(49, 60, 42, 0.08);
	
	/* Status Colors */
	--color-success: #6b8e23;
	--color-warning: #d4a574;
	--color-error: #c44536;
	--color-info: #5b8fa3;
	
	/* Typography */
	--font-primary: 'Assistant', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--font-heading: 'Varela Round', 'Assistant', sans-serif;
	
	/* Font Sizes */
	--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-size-5xl: 3rem;
	
	/* Font Weights */
	--font-weight-light: 300;
	--font-weight-normal: 400;
	--font-weight-medium: 500;
	--font-weight-semibold: 600;
	--font-weight-bold: 700;
	
	/* Line Heights */
	--line-height-tight: 1.25;
	--line-height-normal: 1.5;
	--line-height-relaxed: 1.7;
	
	/* Spacing */
	--spacing-xs: 0.25rem;
	--spacing-sm: 0.5rem;
	--spacing-md: 1rem;
	--spacing-lg: 1.5rem;
	--spacing-xl: 2rem;
	--spacing-2xl: 3rem;
	--spacing-3xl: 4rem;
	--spacing-4xl: 6rem;
	
	/* Spacing Aliases (--space-*) */
	--space-xs: 0.25rem;
	--space-sm: 0.5rem;
	--space-md: 1rem;
	--space-lg: 1.5rem;
	--space-xl: 2rem;
	--space-2xl: 2.5rem;
	--space-3xl: 3rem;
	--space-4xl: 4rem;
	--space-5xl: 5rem;
	--space-6xl: 6rem;
	--space-8xl: 8rem;
	--space-12xl: 12rem;
	--space-16xl: 16rem;
	--space-20xl: 20rem;
	
	/* Border Radius */
	--radius-sm: 6px;
	--radius-md: 12px;
	--radius-lg: 20px;
	--radius-full: 9999px;
	
	/* Shadows */
	--shadow-sm: 0 1px 2px rgba(49, 60, 42, 0.05);
	--shadow-md: 0 4px 6px rgba(49, 60, 42, 0.07);
	--shadow-lg: 0 10px 15px rgba(49, 60, 42, 0.1);
	--shadow-xl: 0 20px 25px rgba(49, 60, 42, 0.15);
	
	/* Transitions */
	--transition-fast: 150ms ease;
	--transition-base: 200ms ease;
	--transition-slow: 300ms ease;
	
	/* Container Widths */
	--container-sm: 640px;
	--container-md: 768px;
	--container-lg: 1024px;
	--container-xl: 1280px;
	--container-2xl: 1440px;
	
	/* 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;
	--shadow-md: 0 12px 32px rgba(30, 59, 52, 0.09);
	--shadow-lg: 0 16px 40px rgba(30, 59, 52, 0.1);
	--shadow-xl: 0 20px 48px rgba(30, 59, 52, 0.12);
	
	/* ========================================
	   TRANSITIONS
	   ======================================== */
	
	--transition-fast: 0.2s;
	--transition-base: 0.25s;
	--transition-slow: 0.4s;
}

/* ========================================
   BASE STYLES
   ======================================== */

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html,
body {
	overflow-x: hidden;
	max-width: 100vw;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--font-primary);
	background: var(--bg-page);
	color: var(--dark-text);
	font-size: 16px;
	line-height: 1.7;
	margin: 0;
	padding: 0;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-heading);
	color: var(--deep-forest);
	margin: 0;
	line-height: 1.2;
}

a {
	color: var(--olive);
	text-decoration: none;
	transition: color var(--transition-base);
}

a:hover {
	color: var(--deep-forest);
}

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

svg {
	max-width: 100%;
	height: auto;
}

button {
	font-family: inherit;
}

input,
textarea,
select {
	font-family: inherit;
	font-size: inherit;
}
