/* Seasonal themes for 3PFL.
   assets/js/season-theme.js picks the theme from today's date and sets <html data-theme="...">.
   Each block below only swaps variables: colors, the hero illustration, the decoration layer on top of it,
   the garland along the top of the hero card, and the greeting pill.
   Preview any theme without waiting:  https://3pfl.com/?theme=halloween   (leave with ?theme=auto)

   To add a season: add a hero-<name>.webp / decor-<name>.svg / garland-<name>.svg to assets/images/hero/
   (scripts/make-hero-variants.py and scripts/make-season-decor.py draw them), copy a block below,
   and add the date window to assets/js/season-theme.js. */

/* Make room for the garland that hangs from the top of the hero card */
:root[data-theme] .home-hero-card { padding-top: calc(clamp(1.5rem, 3.6vw, 3.25rem) + 2.25rem); }
:root[data-theme] .hero-section { padding-top: calc(clamp(2.25rem, 5vw, 3.75rem) + 1.75rem); }

/* ---- Halloween ---- */
:root[data-theme="halloween"] {
    --brand-navy: #2a1646;
    --brand-blue: #b34908;
    --brand-light-gray: #fbf8ff;
    --accent-soft: #fff0e0;
    --hero-a: #fffaf4;
    --hero-b: #ffe6cc;
    --bar: #ff8a1f;
    --hero-art: url("/assets/images/hero/hero-halloween.webp");
    --hero-decor: url("/assets/images/hero/decor-halloween.svg");
    --garland: url("/assets/images/hero/garland-halloween.svg");
    --season-greeting: "Happy Halloween from the 3PFL crew";
}

/* ---- Thanksgiving ---- */
:root[data-theme="thanksgiving"] {
    --brand-navy: #3b2314;
    --brand-blue: #a8480f;
    --brand-light-gray: #fcf9f3;
    --accent-soft: #fdeed9;
    --hero-a: #fffaf2;
    --hero-b: #fbe6c6;
    --bar: #e8942a;
    --hero-art: url("/assets/images/hero/hero-thanksgiving.webp");
    --hero-decor: url("/assets/images/hero/decor-thanksgiving.svg");
    --garland: url("/assets/images/hero/garland-thanksgiving.svg");
    --season-greeting: "Thankful for our customers this Thanksgiving";
}

/* ---- Christmas ---- */
:root[data-theme="christmas"] {
    --brand-navy: #0f3b27;
    --brand-blue: #c0392b;
    --brand-light-gray: #f7fbf8;
    --accent-soft: #fde8e6;
    --hero-a: #fbfffc;
    --hero-b: #dff2e6;
    --bar: #3fa36b;
    --hero-art: url("/assets/images/hero/hero-christmas.webp");
    --hero-decor: url("/assets/images/hero/decor-christmas.svg");
    --garland: url("/assets/images/hero/garland-christmas.svg");
    --season-greeting: "Happy holidays from the 3PFL family";
}

/* ---- New Year's ---- */
:root[data-theme="newyear"] {
    --brand-navy: #141a40;
    --brand-blue: #3340a8;
    --brand-light-gray: #f8f8fd;
    --accent-soft: #e9ebff;
    --hero-a: #fdfdff;
    --hero-b: #e9e8ff;
    --bar: #f4c95d;
    --hero-art: url("/assets/images/hero/hero-newyear.webp");
    --hero-decor: url("/assets/images/hero/decor-newyear.svg");
    --garland: url("/assets/images/hero/garland-newyear.svg");
    --season-greeting: "Happy New Year from the 3PFL family";
}

/* ---- Valentine's Day ---- */
:root[data-theme="valentines"] {
    --brand-navy: #4a1030;
    --brand-blue: #c2255c;
    --brand-light-gray: #fff8fa;
    --accent-soft: #ffe4ec;
    --hero-a: #fffafb;
    --hero-b: #ffe1ea;
    --bar: #ff7da6;
    --hero-art: url("/assets/images/hero/hero-valentines.webp");
    --hero-decor: url("/assets/images/hero/decor-valentines.svg");
    --garland: url("/assets/images/hero/garland-valentines.svg");
    --season-greeting: "We love our customers - Happy Valentine's Day";
}

/* ---- Memorial Day ---- */
:root[data-theme="memorial"] {
    --brand-navy: #0f2241;
    --brand-blue: #b3202d;
    --brand-light-gray: #f7f9fc;
    --accent-soft: #fde7e9;
    --hero-a: #ffffff;
    --hero-b: #e6edfa;
    --bar: #1f4e99;
    --hero-art: url("/assets/images/hero/hero-memorial.webp");
    --hero-decor: url("/assets/images/hero/decor-memorial.svg");
    --garland: url("/assets/images/hero/garland-memorial.svg");
    --season-greeting: "Honoring those who served this Memorial Day";
}

/* ---- Fourth of July ---- */
:root[data-theme="july4"] {
    --brand-navy: #12307f;
    --brand-blue: #c8202f;
    --brand-light-gray: #f6f8ff;
    --accent-soft: #e7ecff;
    --hero-a: #ffffff;
    --hero-b: #e3eaff;
    --bar: #2a5bd7;
    --hero-art: url("/assets/images/hero/hero-july4.webp");
    --hero-decor: url("/assets/images/hero/decor-july4.svg");
    --garland: url("/assets/images/hero/garland-july4.svg");
    --season-greeting: "Happy 4th of July from the 3PFL family";
}
