/*
 * Small, deliberate overrides on top of the owner-supplied template's style.min.css.
 * Loaded after it so these rules win the cascade without editing the vendor file.
 */

/*
 * Bug in the template itself: header.header-one.fixed (the scrolled/sticky state) sets a
 * light, semi-transparent background (rgba(255,255,255,.8)) but still swaps to the white
 * logo variant meant for a dark sticky header, making the logo nearly invisible on scroll.
 * Keep the colored logo visible and hide the white one in the fixed state instead.
 */
header.header-one.fixed .navbar .navbar-brand.logo {
    display: block !important;
}

header.header-one.fixed .navbar .navbar-brand.logo-white {
    display: none !important;
}

/*
 * Same bug, different header variant: About Us, Contact Us and Pricing use the plain
 * <header class="header"> (no "header-one"), whose own fixed state (header.fixed) sets a
 * solid white background but still swaps to the white logo, making it invisible against it.
 */
header.fixed .navbar-header .navbar-brand.logo {
    display: block !important;
}

header.fixed .navbar-header .navbar-brand.logo-white {
    display: none !important;
}

/*
 * Login/Register (body.auth-page) reuse Home's header-one markup, but these pages are always
 * on a light background (bg-light) and never scroll, so header.header-one.fixed — the state
 * the template relies on to darken the nav text for a light background — never gets added.
 * Without it, the nav links inherit header-one's default white text (meant for Home's dark
 * hero image) and become nearly invisible. Force the same dark color the fixed/mobile states
 * already use.
 */
.auth-page header.header-one .header-nav .main-menu-wrapper .main-nav > li > a {
    color: var(--gray-900) !important;
}

