/* ==========================================================
   DESIGN TOKENS — phamducanh.vn
   ========================================================== */

:root {
  /* ── Colors: Navy (uy tín, chiều sâu) ── */
  --navy-950: #060e1a;
  --navy-900: #0a1628;
  --navy-800: #0f2140;
  --navy-700: #152d54;
  --navy-600: #1b3968;
  --navy-500: #21457c;

  /* ── Colors: Ocean (du lịch, biển Nha Trang) ── */
  --ocean-600: #005f8a;
  --ocean-500: #0077b6;
  --ocean-400: #00a5cf;
  --ocean-300: #48cae4;
  --ocean-200: #90e0ef;
  --ocean-100: #caf0f8;

  /* ── Colors: Coral (CTA, năng lượng) ── */
  --coral-600: #d4533b;
  --coral-500: #e76f51;
  --coral-400: #f4845f;
  --coral-300: #f4a261;

  /* ── Colors: Warm (highlight, badge) ── */
  --warm-500: #e9c46a;
  --warm-400: #f0d78c;

  /* ── Colors: Neutral ── */
  --white: #ffffff;
  --gray-50: #f8f9fa;
  --gray-100: #e9ecef;
  --gray-200: #dee2e6;
  --gray-300: #ced4da;
  --gray-400: #adb5bd;
  --gray-500: #6c757d;
  --gray-600: #495057;
  --gray-700: #343a40;
  --gray-800: #212529;
  --gray-900: #0d1117;

  /* ── Typography ── */
  --font-heading: 'Be Vietnam Pro', 'Inter', system-ui, -apple-system, sans-serif;
  --font-body: 'Be Vietnam Pro', 'Inter', system-ui, -apple-system, sans-serif;
  --font-accent: 'Inter', system-ui, sans-serif;

  /* Fluid type scale (min 375px → max 1440px) */
  --text-xs: clamp(0.7rem, 0.66rem + 0.2vw, 0.8rem);
  --text-sm: clamp(0.8rem, 0.74rem + 0.3vw, 0.9rem);
  --text-base: clamp(0.938rem, 0.87rem + 0.33vw, 1.063rem);
  --text-lg: clamp(1.063rem, 0.97rem + 0.47vw, 1.25rem);
  --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
  --text-2xl: clamp(1.5rem, 1.27rem + 1.13vw, 2rem);
  --text-3xl: clamp(1.875rem, 1.5rem + 1.88vw, 2.5rem);
  --text-4xl: clamp(2.25rem, 1.7rem + 2.75vw, 3.25rem);
  --text-5xl: clamp(2.75rem, 1.9rem + 3.75vw, 4rem);
  --text-6xl: clamp(3.25rem, 2.15rem + 4.5vw, 5rem);

  /* Line heights */
  --leading-tight: 1.15;
  --leading-snug: 1.3;
  --leading-normal: 1.6;
  --leading-relaxed: 1.75;

  /* Letter spacing */
  --tracking-tight: -0.02em;
  --tracking-normal: 0;
  --tracking-wide: 0.05em;
  --tracking-wider: 0.1em;

  /* Font weights */
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-extrabold: 800;

  /* ── Spacing (8px base) ── */
  --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 */
  --space-32: 8rem;     /* 128px */

  /* ── Section spacing (fluid) ── */
  --section-py: clamp(4rem, 3rem + 5vw, 8rem);
  --section-px: clamp(1rem, 0.5rem + 2.5vw, 2rem);

  /* ── Borders ── */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* ── Shadows ── */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 16px 50px rgba(0, 0, 0, 0.15);
  --shadow-glow-ocean: 0 0 30px rgba(0, 119, 182, 0.2);
  --shadow-glow-coral: 0 0 30px rgba(231, 111, 81, 0.25);

  /* ── Transitions ── */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* ── Z-index layers ── */
  --z-behind: -1;
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-overlay: 300;
  --z-modal: 400;
  --z-toast: 500;

  /* ── Container ── */
  --container-max: 1280px;
  --container-narrow: 800px;
  --container-wide: 1440px;
}
