// Element spacing
$element-gap: 1rem;

// Colors and gradients
$primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
$accent-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);

// Layout
$container-padding: 1rem;

// Z-index values
$z-index-search-overlay: 1000;
$z-index-mobile-menu: 999;
$z-index-header-nav: 100;

// ========================================
// CSS CUSTOM PROPERTIES (CSS Variables)
// Para header overlays y efectos modernos
// ========================================

:root {
  // Colores primarios del brand
  --brand-primary: #667eea;
  --brand-secondary: #764ba2;
  --brand-accent: #60a5fa;
  --brand-accent-alt: #a78bfa;

  // Colores de estado
  --error-color: #ef4444;
  --error-color-light: #f87171;
  --success-color: #10b981;
  --warning-color: #f59e0b;

  // Colores neutros - Modo claro
  --text-primary: #374151;
  --text-secondary: #6b7280;
  --text-muted: rgba(55, 65, 81, 0.6);
  --surface-primary: rgba(255, 255, 255, 0.95);
  --surface-secondary: rgba(255, 255, 255, 0.8);
  --border-light: rgba(255, 255, 255, 0.2);
  --border-primary: rgba(102, 126, 234, 0.2);

  // Colores de fondo - overlays
  --overlay-bg: radial-gradient(circle at center, rgba(102, 126, 234, 0.15) 0%, rgba(0, 0, 0, 0.8) 70%);
  --glass-bg-light: rgba(255, 255, 255, 0.95);
  --glass-bg-secondary: rgba(255, 255, 255, 0.8);

  // Gradientes
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-primary-hover: linear-gradient(135deg, #5a67d8 0%, #6b5b95 100%);
  --gradient-accent: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.05));
  --gradient-shine: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);

  // Efectos y sombras
  --shadow-light: 0 4px 16px rgba(102, 126, 234, 0.3);
  --shadow-medium: 0 8px 25px rgba(102, 126, 234, 0.15), 0 4px 12px rgba(102, 126, 234, 0.1);
  --shadow-heavy: 0 25px 50px rgba(0,0,0,0.2), 0 12px 24px rgba(0,0,0,0.1);
  --shadow-hover: 0 8px 25px rgba(102, 126, 234, 0.4);
  --backdrop-blur: blur(10px);
  --backdrop-blur-heavy: blur(20px);

  // Transiciones y animaciones
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-overlay: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.2s ease;

  // Espaciado
  --spacing-xs: 0.5rem;
  --spacing-sm: 0.75rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 2.5rem;

  // Border radius
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

// Variables para modo oscuro
@media (prefers-color-scheme: dark) {
  :root {
    // Colores neutros - Modo oscuro
    --text-primary: #e2e8f0;
    --text-secondary: #cbd5e1;
    --text-muted: rgba(148, 163, 184, 0.7);
    --surface-primary: rgba(15, 23, 42, 0.95);
    --surface-secondary: rgba(30, 41, 59, 0.8);
    --border-light: rgba(71, 85, 105, 0.3);
    --border-primary: rgba(71, 85, 105, 0.5);

    // Colores de fondo - overlays modo oscuro
    --overlay-bg: radial-gradient(circle at center, rgba(59, 130, 246, 0.1) 0%, rgba(0, 0, 0, 0.9) 70%);
    --glass-bg-light: rgba(15, 23, 42, 0.95);
    --glass-bg-secondary: rgba(30, 41, 59, 0.8);

    // Gradientes modo oscuro
    --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --gradient-primary-hover: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    --gradient-accent: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(167, 139, 250, 0.05));

    // Sombras modo oscuro
    --shadow-light: 0 4px 16px rgba(59, 130, 246, 0.3);
    --shadow-medium: 0 8px 25px rgba(59, 130, 246, 0.2), 0 4px 12px rgba(59, 130, 246, 0.1);
    --shadow-heavy: 0 4px 32px rgba(0,0,0,0.3), 0 2px 8px rgba(0,0,0,0.2);
    --shadow-hover: 0 8px 25px rgba(59, 130, 246, 0.4);

    // Colores específicos modo oscuro
    --brand-accent: #60a5fa;
    --brand-accent-alt: #a78bfa;
    --surface-dark: rgba(51, 65, 85, 0.8);
    --surface-darker: rgba(51, 65, 85, 0.9);
  }
}
