/* ==========================================================================
   WayUgo — Color Schemes
   --------------------------------------------------------------------------
   6 pre-built palettes. Switch by setting an attribute on the <html> element:

       <html data-scheme="ember">

   or at runtime:  WayUgo.theme.set('ember');

   Every scheme only redefines BRAND tokens. Neutrals, surfaces, dark-surface
   and state colors live in style.css so a scheme stays a ~14 line block.

   Each brand color ships a matching `-rgb` triplet so components can build
   translucent layers, e.g. rgba(var(--wu-primary-rgb), .12)

   --------------------------------------------------------------------------
   CONTRAST CONTRACT — every scheme below is measured, not eyeballed.
   Thresholds: 4.5:1 body text, 3:1 large text (>=24px / >=19px bold) and UI.

     --wu-primary       >= 4.5 on white AND white >= 4.5 on it   (buttons)
     --wu-secondary     white >= 4.5 on it                       (buttons)
     --wu-accent        >= 3.0 on white and on --wu-surface-alt  (fills, pins,
                        large text). NEVER body text, NEVER on surface-sunken.
     --wu-accent-text   >= 4.5 on white, surface-alt AND sunken  (body text)

   Three rules follow, and they are the ones that break silently:

     1. Use --wu-accent-text, not --wu-accent, for any text under 24px.
     2. Never place --wu-accent on --wu-surface-sunken.
     3. --wu-primary is NOT legible on --wu-ink (1.7-2.7:1 across schemes).
        On dark blocks use --wu-on-ink / --wu-on-ink-strong instead.

   Re-measure every pair in this table after touching any value here.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Atlas — default. Deep pine + terracotta on warm neutrals.
      Deliberately not the blue+orange that every booking template ships.
   -------------------------------------------------------------------------- */
:root,
[data-scheme="atlas"] {
  --wu-primary:          #14544A;   /* 8.76:1 on white */
  --wu-primary-rgb:      20, 84, 74;
  --wu-primary-dark:     #0E3D36;
  --wu-primary-light:    #E7F0ED;
  --wu-secondary:        #C04A26;   /* white on it: 4.94:1 */
  --wu-secondary-rgb:    192, 74, 38;
  --wu-accent:           #E2603B;   /* 3.52:1 — fills and large text only */
  --wu-accent-rgb:       226, 96, 59;
  --wu-accent-text:      #A83E1B;   /* 6.23:1 — the body-text accent */
  --wu-on-primary:       #FFFFFF;
  --wu-on-secondary:     #FFFFFF;
}

/* --------------------------------------------------------------------------
   2. Ember — burnt sienna + amber. Warm and inviting.
   -------------------------------------------------------------------------- */
[data-scheme="ember"] {
  --wu-primary:          #A34426;   /* 6.15:1 */
  --wu-primary-rgb:      163, 68, 38;
  --wu-primary-dark:     #83351D;
  --wu-primary-light:    #F7EAE3;
  --wu-secondary:        #8F5420;   /* white on it: 6.07:1 */
  --wu-secondary-rgb:    143, 84, 32;
  --wu-accent:           #C26F1C;   /* 3.76:1 */
  --wu-accent-rgb:       194, 111, 28;
  --wu-accent-text:      #8F5420;   /* 6.07:1 */
  --wu-on-primary:       #FFFFFF;
  --wu-on-secondary:     #FFFFFF;
}

/* --------------------------------------------------------------------------
   3. Cobalt — deep blue + amber. The closest scheme to a classic travel
      palette, kept because buyers ask for it, but warmed off the stock blue.
   -------------------------------------------------------------------------- */
[data-scheme="cobalt"] {
  --wu-primary:          #1F4E79;   /* 8.66:1 */
  --wu-primary-rgb:      31, 78, 121;
  --wu-primary-dark:     #163A5B;
  --wu-primary-light:    #E6EEF5;
  --wu-secondary:        #B8451F;   /* white on it: 5.37:1 */
  --wu-secondary-rgb:    184, 69, 31;
  --wu-accent:           #C26F1C;   /* 3.76:1 */
  --wu-accent-rgb:       194, 111, 28;
  --wu-accent-text:      #8F5420;   /* 6.07:1 */
  --wu-on-primary:       #FFFFFF;
  --wu-on-secondary:     #FFFFFF;
}

/* --------------------------------------------------------------------------
   4. Plum — aubergine + rose. Premium and editorial.
   -------------------------------------------------------------------------- */
[data-scheme="plum"] {
  --wu-primary:          #6B2D5B;   /* 9.76:1 */
  --wu-primary-rgb:      107, 45, 91;
  --wu-primary-dark:     #522246;
  --wu-primary-light:    #F4E9F1;
  --wu-secondary:        #A63A62;   /* white on it: 6.17:1 */
  --wu-secondary-rgb:    166, 58, 98;
  --wu-accent:           #C4527A;   /* 4.34:1 */
  --wu-accent-rgb:       196, 82, 122;
  --wu-accent-text:      #9C3355;   /* 6.96:1 */
  --wu-on-primary:       #FFFFFF;
  --wu-on-secondary:     #FFFFFF;
}

/* --------------------------------------------------------------------------
   5. Olive — muted green + rust. Slow travel, nature, retreats.
   -------------------------------------------------------------------------- */
[data-scheme="olive"] {
  --wu-primary:          #4A5D23;   /* 7.29:1 */
  --wu-primary-rgb:      74, 93, 35;
  --wu-primary-dark:     #39481B;
  --wu-primary-light:    #EDF1E2;
  --wu-secondary:        #AD5525;   /* white on it: 5.12:1 */
  --wu-secondary-rgb:    173, 85, 37;
  --wu-accent:           #C4622D;   /* 4.09:1 */
  --wu-accent-rgb:       196, 98, 45;
  --wu-accent-text:      #96421C;   /* 6.79:1 */
  --wu-on-primary:       #FFFFFF;
  --wu-on-secondary:     #FFFFFF;
}

/* --------------------------------------------------------------------------
   6. Slate — warm graphite + rust. Business travel, minimal.
   -------------------------------------------------------------------------- */
[data-scheme="slate"] {
  --wu-primary:          #3D4A4F;   /* 9.17:1 */
  --wu-primary-rgb:      61, 74, 79;
  --wu-primary-dark:     #2C3639;
  --wu-primary-light:    #EAEEEF;
  --wu-secondary:        #A8481F;   /* white on it: 5.81:1 */
  --wu-secondary-rgb:    168, 72, 31;
  --wu-accent:           #C4622D;   /* 4.09:1 */
  --wu-accent-rgb:       196, 98, 45;
  --wu-accent-text:      #96421C;   /* 6.79:1 */
  --wu-on-primary:       #FFFFFF;
  --wu-on-secondary:     #FFFFFF;
}

/* Service accents (hotel / tour / flight / transfer) are scheme-independent
   and live in style.css §8 — a scheme must not repoint them. */
