/* ==========================================================================
   CSS Custom Properties (Variables) - StudioMieten Design System
   ========================================================================== */

:root {
  /* ==========================================================================
     COLOR PALETTE
     ========================================================================== */
  
  /* Primary Colors - Grayscale (Based on rgb(24, 24, 24)) */
  --color-primary-50: #fafafa;
  --color-primary-100: #e8e8e8;
  --color-primary-200: #d4d4d4;
  --color-primary-300: #a3a3a3;
  --color-primary-400: #737373;
  --color-primary-500: #505050;
  --color-primary-600: #181818;   /* Main color: rgb(24, 24, 24) */
  --color-primary-700: #2a2a2a;
  --color-primary-800: #0f0f0f;
  --color-primary-900: #080808;
  --color-primary-950: #000000;

  /* Neutral Colors - Grays */
  --color-neutral-50: #f9fafb;
  --color-neutral-100: #f3f4f6;
  --color-neutral-200: #e5e7eb;
  --color-neutral-300: #d1d5db;
  --color-neutral-400: #9ca3af;
  --color-neutral-500: #6b7280;
  --color-neutral-600: #4b5563;
  --color-neutral-700: #374151;
  --color-neutral-800: #1f2937;
  --color-neutral-900: #111827;
  --color-neutral-950: #030712;

  /* Success Colors */
  --color-success-50: #f0fdf4;
  --color-success-100: #dcfce7;
  --color-success-500: #22c55e;
  --color-success-600: #16a34a;
  --color-success-700: #15803d;

  /* Error Colors */
  --color-error-50: #fef2f2;
  --color-error-100: #fee2e2;
  --color-error-500: #ef4444;
  --color-error-600: #dc2626;
  --color-error-700: #b91c1c;

  /* Warning Colors */
  --color-warning-50: #fffbeb;
  --color-warning-100: #fef3c7;
  --color-warning-500: #f59e0b;
  --color-warning-600: #d97706;
  --color-warning-700: #b45309;

  /* Info Colors */
  --color-info-50: #eff6ff;
  --color-info-100: #dbeafe;
  --color-info-500: #3b82f6;
  --color-info-600: #2563eb;
  --color-info-700: #1d4ed8;

  /* ==========================================================================
     SEMANTIC COLORS
     ========================================================================== */
  
  /* Text Colors */
  --text-primary: var(--color-neutral-900);
  --text-secondary: var(--color-neutral-600);
  --text-muted: var(--color-neutral-500);
  --text-inverse: var(--color-neutral-50);
  --text-brand: var(--color-primary-600);
  --text-success: var(--color-success-600);
  --text-error: var(--color-error-600);
  --text-warning: var(--color-warning-600);

  /* Background Colors */
  --bg-primary: #ffffff;
  --bg-secondary: var(--color-neutral-50);
  --bg-muted: var(--color-neutral-100);
  --bg-page: #fdfdfd;
  --bg-inverse: var(--color-neutral-900);
  --bg-brand: var(--color-primary-800);
  --bg-success: var(--color-success-500);
  --bg-error: var(--color-error-500);
  --bg-warning: var(--color-warning-500);

  /* Border Colors */
  --border-light: var(--color-neutral-200);
  --border-medium: var(--color-neutral-300);
  --border-dark: var(--color-neutral-400);
  --border-brand: var(--color-primary-600);

  /* ==========================================================================
     SPACING SYSTEM
     ========================================================================== */
  
  /* Base spacing unit: 4px */
  --space-0: 0;
  --space-1: 0.25rem;   /* 4px */
  --space-2: 0.5rem;    /* 8px */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-5: 1.25rem;   /* 20px */
  --space-6: 1.5rem;    /* 24px */
  --space-7: 1.75rem;   /* 28px */
  --space-8: 2rem;      /* 32px */
  --space-10: 2.5rem;   /* 40px */
  --space-12: 3rem;     /* 48px */
  --space-16: 4rem;     /* 64px */
  --space-20: 5rem;     /* 80px */
  --space-24: 6rem;     /* 96px */
  --space-32: 8rem;     /* 128px */

  /* Component specific spacing */
  --container-padding: var(--space-4);
  --section-padding: var(--space-16);
  --card-padding: var(--space-6);

  /* Mobile-specific spacing */
  --mobile-container-padding: var(--space-3);
  --mobile-section-padding: var(--space-8);
  --mobile-card-padding: var(--space-4);

  /* ==========================================================================
     TYPOGRAPHY SYSTEM
     ========================================================================== */
  
  /* Font Families */
  --font-primary: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SF Mono", Monaco, "Cascadia Code", "Roboto Mono", Consolas, "Courier New", monospace;

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

  /* Mobile-optimized font sizes */
  --mobile-text-xs: 0.6875rem;  /* 11px */
  --mobile-text-sm: 0.8125rem;  /* 13px */
  --mobile-text-base: 0.9375rem; /* 15px */
  --mobile-text-lg: 1.0625rem;  /* 17px */
  --mobile-text-xl: 1.1875rem;  /* 19px */
  --mobile-text-2xl: 1.375rem;  /* 22px */
  --mobile-text-3xl: 1.625rem;  /* 26px */

  /* Line Heights */
  --leading-tight: 1.25;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;

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

  /* ==========================================================================
     BORDER RADIUS SYSTEM
     ========================================================================== */
  
  --radius-none: 0;
  --radius-sm: 0.25rem;    /* 4px */
  --radius-base: 0.375rem; /* 6px */
  --radius-md: 0.5rem;     /* 8px */
  --radius-lg: 0.75rem;    /* 12px */
  --radius-xl: 1rem;       /* 16px */
  --radius-2xl: 1.5rem;    /* 24px */
  --radius-full: 9999px;

  /* Component specific radius */
  --radius-button: var(--radius-full);
  --radius-card: var(--radius-md);
  --radius-input: var(--radius-base);

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

  /* Component specific shadows */
  --shadow-card: var(--shadow-sm);
  --shadow-button: var(--shadow-xs);
  --shadow-modal: var(--shadow-xl);

  /* ==========================================================================
     TRANSITIONS & ANIMATIONS
     ========================================================================== */
  
  --transition-fast: 150ms ease-in-out;
  --transition-base: 200ms ease-in-out;
  --transition-slow: 300ms ease-in-out;

  --transition-colors: color var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast);
  --transition-transform: transform var(--transition-base);
  --transition-all: all var(--transition-base);

  /* ==========================================================================
     Z-INDEX SYSTEM
     ========================================================================== */
  
  --z-hide: -1;
  --z-base: 0;
  --z-docked: 10;
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
  --z-toast: 1080;
  --z-header: 99999;

    /* ========================================================================== */
  
  /* Mobile-First Breakpoints */
  --breakpoint-xs: 480px;   /* Small phones */
  --breakpoint-sm: 640px;   /* Large phones */
  --breakpoint-md: 768px;   /* Tablets */
  --breakpoint-lg: 1024px;  /* Small laptops */
  --breakpoint-xl: 1280px;  /* Desktops */
  --breakpoint-2xl: 1536px; /* Large screens */

  /* ==========================================================================
     COMPONENT SPECIFIC VARIABLES
     ========================================================================== */
  
  /* Navigation */
  --nav-height: 4rem;
  --nav-bg: var(--bg-primary);
  --nav-border: var(--border-light);

  --mobile-nav-border: var(--border-light);

  /* Cards */
  --card-bg: var(--bg-primary);
  --card-border: var(--border-light);
  --card-shadow: var(--shadow-card);

  /* Forms */
  --input-bg: var(--bg-primary);
  --input-border: var(--border-medium);
  --input-border-focus: var(--border-brand);
  --input-shadow-focus: 0 0 0 3px rgb(59 130 246 / 0.1);

  /* Buttons */
  --button-font-weight: var(--font-medium);
  --button-transition: var(--transition-colors);
}

/* ==========================================================================
   LIGHT THEME ONLY - BRIGHT & CLEAN DESIGN
   ========================================================================== */