/*
 * CSS Custom Properties for South Beach Resort
 * Mobile-First Architecture
 */

:root {
  /* ===================
     Color Palette
     =================== */

  /* Primary Colors */
  --color-primary: #03233d;       /* Dark blue - header/footer bg */
  --color-primary-light: #0a3a5c;
  --color-primary-dark: #021828;

  /* Accent Colors - Champagne Gold (modern luxury) */
  --color-accent: #C9A227;        /* Champagne gold */
  --color-accent-hover: #A8871F;  /* Darker for hover */
  --color-accent-light: #DABB4C; /* Lighter gold */

  /* Neutral Colors */
  --color-dark: #1a1a1c;          /* Near black - text, buttons */
  --color-gray-dark: #333333;
  --color-gray: #666666;
  --color-gray-light: #aaaaaa;    /* Body text */
  --color-gray-lighter: #dddddd;
  --color-light: #f5f5f5;         /* Light backgrounds */
  --color-white: #ffffff;

  /* White Transparency (for text on dark backgrounds) */
  --color-white-50: rgba(255, 255, 255, 0.5);
  --color-white-70: rgba(255, 255, 255, 0.7);
  --color-white-80: rgba(255, 255, 255, 0.8);
  --color-white-85: rgba(255, 255, 255, 0.85);
  --color-white-90: rgba(255, 255, 255, 0.9);

  /* Overlay Colors (for image overlays, controls) */
  --overlay-light: rgba(0, 0, 0, 0.3);
  --overlay-medium: rgba(0, 0, 0, 0.5);
  --overlay-dark: rgba(0, 0, 0, 0.8);
  --overlay-white-light: rgba(255, 255, 255, 0.1);
  --overlay-white-medium: rgba(255, 255, 255, 0.2);

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

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

  /* Font Families (simplified: 2 fonts only) */
  --font-primary: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: var(--font-primary);
  --font-accent: 'Playball', cursive;

  /* Font Sizes - Simplified 6-size scale */
  --text-xs: 0.75rem;     /* 12px - fine print, labels */
  --text-sm: 0.875rem;    /* 14px - meta, captions */
  --text-base: 1rem;      /* 16px - body text */
  --text-lg: 1.125rem;    /* 18px - large body, intro */
  --text-xl: 1.5rem;      /* 24px - h3, subheadings */
  --text-2xl: 2.25rem;    /* 36px - h2, section titles */
  --text-3xl: 3rem;       /* 48px - h1, hero titles */

  /* Backwards compatibility aliases */
  --text-4xl: var(--text-2xl);
  --text-5xl: var(--text-3xl);

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

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

  /* Letter Spacing */
  --tracking-tight: -0.025em;
  --tracking-normal: 0;
  --tracking-wide: 0.025em;
  --tracking-wider: 0.05em;
  --tracking-widest: 0.1em;

  /* ===================
     Spacing Scale
     =================== */
  --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-8: 2rem;        /* 32px */
  --space-10: 2.5rem;     /* 40px */
  --space-12: 3rem;       /* 48px */
  --space-16: 4rem;       /* 64px */
  --space-20: 5rem;       /* 80px */
  --space-24: 6rem;       /* 96px */

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

  /* Container Widths */
  --container-sm: 540px;
  --container-md: 720px;
  --container-lg: 960px;
  --container-xl: 1140px;
  --container-2xl: 1320px;

  /* Breakpoints (for reference - use in media queries) */
  /* --bp-sm: 576px;   Small tablets */
  /* --bp-md: 768px;   Tablets */
  /* --bp-lg: 992px;   Desktop */
  /* --bp-xl: 1200px;  Large desktop */
  /* --bp-2xl: 1400px; Extra large */

  /* ===================
     Components
     =================== */

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

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-base: 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);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;

  /* Z-Index Scale */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
  --z-popover: 600;
  --z-tooltip: 700;

  /* ===================
     Header Heights
     =================== */
  --header-height-mobile: 60px;
  --header-height-desktop: 80px;

  /* ===================
     Touch Targets
     =================== */
  --touch-target-min: 44px;
}

/* Dark mode support (optional) */
@media (prefers-color-scheme: dark) {
  :root {
    /* Can add dark mode variables here if needed */
  }
}
