/* public/css/color-override.css
 * SINGLE PURPOSE: force the CLIENT-CONFIRMED palette over the Qondri
 * theme's built-in green/navy colors. Colors ONLY — no layout, spacing,
 * sizing, or structural rules touched here (those stay in
 * layout-fixes.css / sticky-header-fix.css / brand-theme.css).
 * Loaded LAST in <head> so these !important rules are the final word.
 *
 * Confirmed palette (mockup, 03/07):
 *   Primary Blue  #19576E
 *   Dark Blue     #103846
 *   Gold Accent   #C8A96A
 *   Ivory         #FAF8F4
 *   Light Gray    #F3F5F7
 *   Text          #2B2B2B
 */

/* --- 1. Elementor's global color variables ---------------------------
   Almost every green/navy accent in the theme's CSS is written as
   var(--e-global-color-qondri_accent) / var(--e-global-color-accent) /
   var(--e-global-color-qondri_primary). Overriding the variables here
   cascades the new colors into all of those rules automatically,
   without touching a single layout property. */
:root,
.elementor-kit-5 {
    --e-global-color-accent: #C8A96A !important;
    --e-global-color-qondri_accent: #C8A96A !important;
    --e-global-color-qondri_primary: #19576E !important;
    --e-global-color-primary: #19576E !important;
}

/* --- 2. Hardcoded hex colors (not using the variables above) --------- */

/* USP icon boxes: green box -> gold, navy box -> dark blue */
html body .elementor-6 .elementor-element.elementor-element-9ca62ef .master-icon-box.master-icon-box {
    background-color: #C8A96A !important;
}
html body .elementor-6 .elementor-element.elementor-element-a8470c8 .master-icon-box.master-icon-box {
    background-color: #103846 !important;
}

/* Header top-bar social icon circles (were navy #0f2746) */
html body .elementor-104 .elementor-element.elementor-element-a93fb08 a.a {
    background-color: #19576E !important;
}
html body .elementor-104 .elementor-element.elementor-element-a93fb08 a.a:hover {
    background-color: #C8A96A !important;
}

/* Animsition page-load spinner (inline <style> in index.html uses
   raw hex, not the CSS variables, so it needs a direct override) */
.animsition-loading {
    border-top-color: #C8A96A !important;
}
.animsition-loading:before {
    border-top-color: #19576E !important;
}

/* Discount-banner "30%" underline SVG stroke (inline SVG uses a
   hardcoded stroke color, styled here since SVG attributes can be
   overridden by CSS when targeted this specifically) */
.elementor-element-96d571a .text-highlight svg path {
    stroke: #C8A96A !important;
}

/* Progress bar fill + counter numbers that reference the accent
   variable already get the gold via §1, this catches any remaining
   inline/default green on the bar track itself */
html body .master-progress-bar .progress.progress {
    background-color: #19576E !important;
}

/* --- 3. Hardcoded hex colors found only in the deep theme CSS files
   (BRS/ qondri-child) that don't route through the Elementor
   kit variables above, so they need a direct override here instead
   of touching those theme files. --- */

/* Counter icon on the about-section stat block (was accent green) */
html body .elementor-6 .elementor-element-bb69e16 .master-icon.master-icon {
    color: #C8A96A !important;
}

/* Mobile hamburger-menu social icon circles (were navy #0F2746) */
html body .qondri-hamburger-menu .master-social-icons a.a {
    background-color: #19576E !important;
}

/* Bottom copyright bar background (was old theme navy #183862) */
#bottom {
    background-color: #103846 !important;
}

/* Newsletter submit button hover state in footer (was navy #0f2746) */
.mc4wp-form-fields input[type="submit"]:hover {
    background-color: #19576E !important;
}

/* --- 4. Tint the parallax-02.jpg texture sections ---------------
   ROOT CAUSE FOUND: parallax-02.jpg is a photo/texture asset that is
   itself green (bubbles shot on a green background) - there is no
   CSS background-color anywhere controlling this, so overriding
   colors/variables never worked. The only way to change its apparent
   color without regenerating the image is to layer a solid brand-
   color tint on top of it using a ::before pseudo-element with
   mix-blend-mode, positioned above the image but below the content
   (both target sections already have position/z-index set by
   Elementor's own CSS, so this stacks correctly). */
html body .elementor-element-f185e76,
html body .elementor-element-20dd550 {
    position: relative !important;
}
html body .elementor-element-f185e76::before,
html body .elementor-element-20dd550::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: #C8A96A ;
    mix-blend-mode: color;
    opacity: 0.9;
    pointer-events: none;
    z-index: 1;
}
html body .elementor-element-f185e76 > .elementor-container,
html body .elementor-element-20dd550 > .elementor-container {
    position: relative;
    z-index: 2;
}

/* --- 4. Kill the leftover Qondri-green parallax overlay wash --------
   .elementor-element-f185e76 (homepage CTA banner) and
   .elementor-element-20dd550 (inner blanchisserie section) both use
   the parallax-02.jpg texture as background-image, but the visible
   solid green wash comes from Elementor's own .elementor-background-overlay
   child div, which is painted ON TOP of the section and is not affected
   by overriding background-color on the section itself (that's why
   brand-theme.css's .bg-slide rule alone didn't fix it). Force that
   overlay to the brand dark-blue instead of the theme's default green. */
html body .elementor-6 .elementor-element.elementor-element-f185e76 > .elementor-background-overlay,
html body .elementor-6 .elementor-element.elementor-element-20dd550 > .elementor-background-overlay {
    background-color: #103846 !important;
    opacity: 0.55 !important;
}

/* Just in case the overlay is painted via a ::before/::after pseudo
   instead of a real child div in this Elementor version, cover that
   too — harmless no-op if unused. */
html body .elementor-6 .elementor-element.elementor-element-f185e76::before,
html body .elementor-6 .elementor-element.elementor-element-20dd550::before {
    background-color: #19576E   !important;
}
