/* =====================================================================
   HOOD'S POOL SERVICE — DESIGN TOKENS
   For Sitejet: paste into Custom CSS (Project Settings > CSS/JS > CSS)
   These variables establish the single source of truth for branding.
   ===================================================================== */

:root {
  /* -----------------------------------------------------------------
     COLOR PALETTE — Navy Veteran / Gulf Coast
     Deep navy blue (USS Halsey DDG-97), brass gold service accent,
     pool-water cyan bridge, ship-steel neutrals
     ----------------------------------------------------------------- */

  /* Primary Brand Colors — Navy Blue */
  --hps-primary: #0A2342;           /* Deep Navy Blue — main brand */
  --hps-primary-hover: #06172B;     /* Midnight / naval hull */
  --hps-primary-light: #1B3A5C;     /* Lighter navy — backgrounds */
  --hps-primary-highlight: #2D5278; /* Medium navy — highlights */

  /* Accent / CTA Colors — Brass Gold */
  --hps-accent: #D6B25E;            /* Brass Gold — CTAs, links */
  --hps-accent-hover: #B99336;      /* Darker brass — hover */
  --hps-accent-light: #F2E6C5;      /* Light gold — soft backgrounds */

  /* Pool Water Bridge — connects Navy to pool service */
  --hps-pool: #00A6C8;             /* Pool-water cyan */
  --hps-pool-dark: #006D8F;        /* Deep pool blue */

  /* Ship Steel */
  --hps-steel: #6E7F91;            /* Ship steel gray */

  /* Neutrals */
  --hps-white: #FFFFFF;
  --hps-bg: #F4F8FB;               /* Off-white page background */
  --hps-surface: #FFFFFF;           /* Card / container background */
  --hps-surface-alt: #EDF3F8;      /* Alternate surface */
  --hps-border: #D5E0E8;            /* Light blue-gray borders */
  --hps-divider: #E3EDF3;           /* Subtle dividers */

  /* Text */
  --hps-text: #102033;              /* Near-black navy — body text */
  --hps-text-muted: #5F6F7F;        /* Muted steel — secondary */
  --hps-text-faint: #94A4B0;        /* Faint — placeholders */
  --hps-text-inverse: #FFFFFF;      /* White text on dark backgrounds */

  /* Semantic */
  --hps-success: #2A9D5C;
  --hps-warning: #E8941A;
  --hps-error: #D64545;

  /* Gradient — Navy to Pool Water */
  --hps-gradient-hero: linear-gradient(135deg, #06172B 0%, #0A2342 48%, #006D8F 100%);
  --hps-gradient-cta: linear-gradient(135deg, #D6B25E 0%, #F2D98B 100%);
  --hps-gradient-water: linear-gradient(135deg, #0A2342 0%, #006D8F 55%, #00A6C8 100%);

  /* -----------------------------------------------------------------
     TYPOGRAPHY
     Sitejet uses Google Fonts by default. These pair Manrope (headings)
     with Inter (body) — both professional, clean, and highly legible.
     ----------------------------------------------------------------- */

  /* Font Families */
  --hps-font-heading: 'Manrope', 'Segoe UI', system-ui, sans-serif;
  --hps-font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;

  /* Fluid Type Scale — scales smoothly from mobile to desktop */
  --hps-text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);    /* 12→14px */
  --hps-text-sm: clamp(0.875rem, 0.82rem + 0.3vw, 1rem);      /* 14→16px */
  --hps-text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);    /* 16→18px */
  --hps-text-lg: clamp(1.125rem, 1rem + 0.65vw, 1.5rem);      /* 18→24px */
  --hps-text-xl: clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem);      /* 24→36px */
  --hps-text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.25rem);       /* 32→52px */
  --hps-text-3xl: clamp(2.5rem, 1rem + 4vw, 4.5rem);          /* 40→72px */

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

  /* Line Heights */
  --hps-leading-tight: 1.15;
  --hps-leading-snug: 1.35;
  --hps-leading-normal: 1.6;
  --hps-leading-loose: 1.75;

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

  /* -----------------------------------------------------------------
     SPACING — 4px base unit system
     ----------------------------------------------------------------- */
  --hps-space-1: 0.25rem;   /*  4px */
  --hps-space-2: 0.5rem;    /*  8px */
  --hps-space-3: 0.75rem;   /* 12px */
  --hps-space-4: 1rem;      /* 16px */
  --hps-space-5: 1.25rem;   /* 20px */
  --hps-space-6: 1.5rem;    /* 24px */
  --hps-space-8: 2rem;      /* 32px */
  --hps-space-10: 2.5rem;   /* 40px */
  --hps-space-12: 3rem;     /* 48px */
  --hps-space-16: 4rem;     /* 64px */
  --hps-space-20: 5rem;     /* 80px */
  --hps-space-24: 6rem;     /* 96px */
  --hps-space-32: 8rem;     /* 128px */

  /* Fluid section padding */
  --hps-section-padding: clamp(var(--hps-space-12), 6vw, var(--hps-space-24));
  --hps-section-padding-sm: clamp(var(--hps-space-8), 4vw, var(--hps-space-16));

  /* -----------------------------------------------------------------
     BORDER RADIUS
     ----------------------------------------------------------------- */
  --hps-radius-sm: 0.375rem;   /*  6px */
  --hps-radius-md: 0.5rem;     /*  8px */
  --hps-radius-lg: 0.75rem;    /* 12px */
  --hps-radius-xl: 1rem;       /* 16px */
  --hps-radius-2xl: 1.5rem;    /* 24px */
  --hps-radius-full: 9999px;

  /* -----------------------------------------------------------------
     SHADOWS — soft, blue-tinted for depth
     ----------------------------------------------------------------- */
  --hps-shadow-sm: 0 1px 3px rgba(10, 35, 66, 0.08);
  --hps-shadow-md: 0 4px 16px rgba(10, 35, 66, 0.1);
  --hps-shadow-lg: 0 12px 40px rgba(10, 35, 66, 0.15);
  --hps-shadow-xl: 0 20px 60px rgba(10, 35, 66, 0.2);

  /* -----------------------------------------------------------------
     TRANSITIONS
     ----------------------------------------------------------------- */
  --hps-transition-fast: 150ms cubic-bezier(0.16, 1, 0.3, 1);
  --hps-transition-base: 250ms cubic-bezier(0.16, 1, 0.3, 1);
  --hps-transition-slow: 400ms cubic-bezier(0.16, 1, 0.3, 1);

  /* -----------------------------------------------------------------
     LAYOUT — Content widths
     ----------------------------------------------------------------- */
  --hps-content-narrow: 640px;
  --hps-content-default: 1024px;
  --hps-content-wide: 1200px;
  --hps-content-full: 100%;

  /* -----------------------------------------------------------------
     Z-INDEX SCALE
     ----------------------------------------------------------------- */
  --hps-z-base: 1;
  --hps-z-dropdown: 10;
  --hps-z-sticky: 50;
  --hps-z-header: 100;
  --hps-z-overlay: 200;
  --hps-z-modal: 300;

  /* -----------------------------------------------------------------
     CONTAINER
     ----------------------------------------------------------------- */
  --hps-container-max: 1200px;
  --hps-container-padding: clamp(var(--hps-space-4), 4vw, var(--hps-space-10));
}
