/* =====================================================================
   Safeway Tourism — "Desert Luxe" site-wide colour theme
   Loaded last in <head> so it overrides style.css / my.css.
   Recolours the whole site by (a) redefining the theme CSS variables
   and (b) targeted overrides for hard-coded magenta / cyan values.
   Added 2026-09-07.
   ===================================================================== */

:root {
    /* the two tokens the whole legacy stylesheet is built on */
    --main-theme-color: #A97722;   /* antique gold  (was #19bdff cyan) */
    --btn-color:        #A97722;
    --theme-secondary-color: #5A4632; /* warm brown (was #6a6a6a grey) */

    /* new named tokens for the redesigned pages */
    --sw-gold:       #C8942E;
    --sw-gold-deep:  #A97722;
    --sw-gold-soft:  #E7C489;
    --sw-espresso:   #241A14;
    --sw-ink:        #2A211A;
    --sw-sand:       #FBF7F1;
    --sw-sand-2:     #F3EBDE;
    --sw-night:      #14100D;
    --sw-line:       #E7DCC9;
}

/* ---------- top bar (hard-coded magenta #b51c5a in header markup) ---------- */
.top-social,
.top-social .row > .row { background-color: #fff !important; }
.topbarstyle p,
.top-social p,
.top-social a p,
.top-social .fa-envelope,
.top-social .fa-whatsapp,
.top-social .flaticon-customer-service { color: #2E2115 !important; }
.top-social a:hover p { color: var(--sw-gold-deep) !important; }
.top-social > li > a > .fa-envelope { color: var(--sw-gold-deep) !important; }
.number { color: var(--sw-gold-deep) !important; }

/* ---------- primary navigation bar → deep espresso ---------- */
.main-navigation,
.main-navigation > .row,
.main-navigation .row[style] { background-color: var(--sw-espresso) !important; background-image: none !important; }
.main-navigation { border-bottom: 3px solid var(--sw-gold); box-shadow: 0 6px 22px rgba(0,0,0,.12); }

.main-nav > li > a {
    color: #F1E7D6 !important;
    letter-spacing: .3px;
    transition: color .2s ease, background-color .2s ease;
}
.main-nav > li > a > i { color: var(--sw-gold-soft); }
.main-nav > li:hover > a,
.main-nav > li > a:hover,
.main-nav > li.active > a {
    color: var(--sw-espresso) !important;
    background-color: var(--sw-gold) !important;
}

/* mobile nav (legacy forced this grey) */
@media (max-width: 767px) {
    .main-navigation,
    .main-navigation > .row { background-color: var(--sw-espresso) !important; }
    .main-navigation .right-side-menu-len > li > a { color: #F1E7D6 !important; }
}

/* ---------- mega menu (inline <style> in header body — needs the header prefix) ---------- */
header .ds-mega-panel { border-top: 3px solid var(--sw-gold); }
header .ds-mega-col h4 { color: var(--sw-gold-deep) !important; }
header .ds-mega-col a { color: #3a2f24; }
header .ds-mega-col a:hover { color: var(--sw-gold-deep) !important; }

/* ---------- top-right utility menu ---------- */
.right-side-menu-len > li > a { color: var(--sw-gold-deep); }
.right-side-menu-len > li > a:hover { color: var(--sw-espresso); }

/* ---------- back-to-top button (was #2db2ff) ---------- */
.back-to-top { background-color: var(--sw-espresso) !important; }
.back-to-top:hover { background-color: var(--sw-gold) !important; }

/* ---------- stray hard-coded blues / accents ---------- */
.best-selling-ul > li:hover { background-color: var(--sw-gold) !important; }
.top-social > li > a > .fa-google { color: var(--sw-gold-deep); }
.div-heading.bg-red,
.bg-red { background-color: var(--sw-gold-deep) !important; }
.red-color,
.theme-color { color: var(--sw-gold-deep) !important; }

/* ---------- buttons: keep white text, ensure it stays legible on gold ---------- */
.btn.focus, .btn:focus, .btn:hover { color: #fff !important; }
.book-now-btn, .btn-book, .btn-theme, .theme-bg { background-color: var(--sw-gold-deep) !important; color:#fff !important; }
.btn-theme:hover, .book-now-btn:hover { background-color: var(--sw-espresso) !important; }

/* ---------- misc trust / rating accents already use the var, nothing to do ---------- */

/* ---------- selection colour ---------- */
::selection { background: var(--sw-gold); color: #fff; }
