/* ==========================================================================
   Eco-Energy Blend — Jask Oil Terminal colour palette
   --------------------------------------------------------------------------
   Reusable theme override. Load this AFTER the compiled site stylesheet:

       <link rel="stylesheet" href="css/site-CZUXc78W.css">
       <link rel="stylesheet" href="css/eco-energy.css">   <-- after

   It remaps the project's existing brand tokens (navy / midnight / …) to the
   Eco-Energy greens, so every `bg-navy`, `text-navy`, `bg-midnight`, etc.
   re-themes automatically — no layout or markup changes required.

   Palette (ESG & sustainable logistics)
     Base   (60%)  #0F2C2C  Petrol Green   — primary brand surface & headings
     Canvas (30%)  #F4F6F6  Mist White
     Action (10%)  #D97706  Brass Amber    — CTAs / accents only
     Text          #475569  Slate Gray     — body copy
   ========================================================================== */

:root {
    /* ---- Palette source-of-truth tokens (use these in new work) ---- */
    --ee-base:          #0F2C2C;   /* petrol green — 60% */
    --ee-base-deep:     #0A2121;   /* darkest petrol — nav, footer */
    --ee-base-raised:   #16403F;   /* raised surface / dark cards */
    --ee-canvas:        #F4F6F6;   /* mist white — 30% */
    --ee-action:        #D97706;   /* brass amber — 10%, accents only */
    --ee-action-hover:  #B45309;
    --ee-text:          #475569;   /* slate gray body text */
    --ee-on-dark:       #F4F6F6;   /* text/icons on petrol surfaces */

    /* ---- Remap the project's existing brand tokens ----
       These override the values set in the compiled stylesheet's :root.
       Because this file loads later (and unlayered), these win in the cascade. */
    --color-navy:                 var(--ee-base);
    --color-midnight:             var(--ee-base-deep);
    --color-midnight-indigo:      var(--ee-base-raised);
    --color-blue-zodiac:          var(--ee-base-raised);

    /* Interactive accent (was blue #005ce7) -> brass amber */
    --color-light-navy:           var(--ee-action);
    --color-light-navy-hover:     var(--ee-action-hover);

    /* Soft hover / tint surfaces (were pale blues) -> pale mist */
    --color-hover:                #E8ECEC;
    --color-hover-blue:           #EDF0F0;
    --color-light-navy-hover-blue:#F0F2F2;
    --color-finance:              #F0F2F2;
}

/* ==========================================================================
   Brass-amber accent utilities (the 10% "action" colour)
   Tailwind has no token for this, so these are provided as plain classes.
   Use for primary CTAs, key badges, and emphasis — sparingly.
   ========================================================================== */

.bg-action        { background-color: var(--ee-action); }
.text-action      { color: var(--ee-action); }
.border-action    { border-color: var(--ee-action); }
.hover\:bg-action:hover      { background-color: var(--ee-action); }
.hover\:text-action:hover    { color: var(--ee-action); }
.hover\:border-action:hover  { border-color: var(--ee-action); }

/* Soft tint of the accent, for subtle badges/pills */
.bg-action-soft   { background-color: rgba(217, 119, 6, 0.12); }
.text-action-soft { color: var(--ee-action); }

/* Ready-made amber pill button */
.btn-action {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--ee-action);
    color: #fff;
    font-weight: 600;
    padding: 0.85rem 1.75rem;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    transition: background-color .25s ease, transform .25s ease, box-shadow .25s ease;
    box-shadow: 0 8px 20px rgba(217, 119, 6, 0.22);
}
.btn-action:hover {
    background-color: var(--ee-action-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(217, 119, 6, 0.30);
}

/* Colour-only amber CTA — composes with existing layout/size classes.
   Use on any button/link you want to read as the primary action. */
.cta-action {
    background-color: var(--ee-action);
    color: #fff;
    border-color: var(--ee-action);
    transition: background-color .25s ease, border-color .25s ease, color .25s ease;
}
.cta-action:hover {
    background-color: var(--ee-action-hover);
    border-color: var(--ee-action-hover);
    color: #fff;
}

/* Off-white canvas helper (optional; for sections that shouldn't be pure white) */
.bg-canvas { background-color: var(--ee-canvas); }

.whatsapp-float {
    position: fixed;
    left: calc(1.25rem + env(safe-area-inset-left, 0px));
    bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
    z-index: 40;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #128c4a;
    color: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .22);
}

.whatsapp-float:hover {
    background: #0d703b;
    color: #fff;
}

.whatsapp-float:focus-visible {
    outline: 3px solid var(--ee-action);
    outline-offset: 4px;
}

@media print {
    .whatsapp-float { display: none; }
}
