/* ============================================
   Design Tokens — Max Aguiar Fotografia
   Editorial Contemporary Portfolio
   ============================================ */

:root {
  /* ===== Colors ===== */
  
  /* Neutrals — Foundation */
  --bg-primary: #FFFFFF;
  --bg-secondary: #FAFAFA;
  --bg-tertiary: #F5F5F5;
  
  --text-primary: #0A0A0A;
  --text-secondary: #4A4A4A;
  --text-tertiary: #8A8A8A;
  
  /* Accent — Sophisticated Charcoal */
  --accent-primary: #2D2D2D;
  
  /* Interactive States */
  --interactive-hover: var(--accent-primary);
  --interactive-pressed: #1A1A1A;
  --interactive-focus: #0A0A0A;
  
  /* Borders & Dividers */
  --border-subtle: #E8E8E8;
  --border-default: #D0D0D0;
  --border-emphasis: #A0A0A0;
  
  /* ===== Typography ===== */
  
  /* Font Family */
  --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
  
  /* Font Sizes (Fluid with clamp) */
  --font-size-display: clamp(56px, 9vw, 96px);
  --font-size-h1: clamp(40px, 7vw, 64px);
  --font-size-h2: clamp(32px, 5vw, 48px);
  --font-size-h3: clamp(24px, 4vw, 36px);
  --font-size-h4: clamp(20px, 3vw, 28px);
  --font-size-body: 18px;
  --font-size-small: 16px;
  --font-size-caption: 14px;
  
  /* Line Heights */
  --line-height-display: 1.05;
  --line-height-h1: 1.1;
  --line-height-h2: 1.2;
  --line-height-h3: 1.3;
  --line-height-h4: 1.4;
  --line-height-body: 1.6;
  --line-height-small: 1.5;
  --line-height-caption: 1.4;
  
  /* Font Weights */
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  
  /* Letter Spacing */
  --letter-spacing-display: -0.02em;
  --letter-spacing-h1: -0.01em;
  --letter-spacing-caption: 0.01em;
  
  /* ===== Spacing ===== */
  
  /* Base spacing scale (8px system) */
  --space-1: 0.25rem;   /* 4px */
  --space-2: 0.5rem;    /* 8px */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-5: 1.5rem;    /* 24px */
  --space-6: 2rem;      /* 32px */
  --space-7: 2.5rem;    /* 40px */
  --space-8: 3rem;      /* 48px */
  --space-10: 4rem;     /* 64px */
  --space-12: 6rem;     /* 96px */
  --space-16: 8rem;     /* 128px */
  
  /* Section spacing */
  --section-spacing: clamp(4rem, 12vw, 8rem);
  --section-spacing-small: clamp(2rem, 6vw, 4rem);
  
  /* ===== Layout ===== */
  
  /* Container */
  --container-max-width: 1440px;
  --container-padding: var(--space-5);
  
  /* Grid gaps */
  --gap-small: var(--space-4);
  --gap-medium: var(--space-6);
  --gap-large: var(--space-8);
  
  /* ===== Borders & Radius ===== */
  
  --radius-small: 4px;
  --radius-medium: 8px;
  --radius-large: 12px;
  --radius-round: 50%;
  
  --border-width: 1px;
  
  /* ===== Shadows ===== */
  
  --shadow-subtle: 0 1px 3px rgba(10, 10, 10, 0.05);
  --shadow-small: 0 2px 8px rgba(10, 10, 10, 0.08);
  --shadow-medium: 0 4px 16px rgba(10, 10, 10, 0.12);
  --shadow-large: 0 8px 24px rgba(10, 10, 10, 0.15);
  
  /* ===== Transitions ===== */
  
  --duration-fast: 150ms;
  --duration-medium: 300ms;
  --duration-slow: 600ms;
  
  --easing-ease-out: cubic-bezier(0.0, 0.0, 0.2, 1);
  --easing-ease-in: cubic-bezier(0.4, 0.0, 1, 1);
  --easing-ease-in-out: cubic-bezier(0.4, 0.0, 0.2, 1);
  
  /* ===== Z-index ===== */
  
  --z-header: 100;
  --z-nav-menu: 1000;
  --z-nav-backdrop: 999;
  --z-lightbox: 2000;
  
  /* ===== Breakpoints (for reference in media queries) ===== */
  
  /* 
  --bp-mobile-s: 320px;
  --bp-mobile-m: 375px;
  --bp-mobile-l: 430px;
  --bp-tablet: 768px;
  --bp-desktop: 1024px;
  --bp-desktop-l: 1440px;
  */
}

/* Mobile adjustments */
@media (max-width: 767px) {
  :root {
    --container-padding: var(--space-4);
    --font-size-body: 16px;
  }
}
