/* ======= Site overrides =======
   Location: public/assets/website/css/custom.css
   Load LAST in layouts/website.php (after style.css and breadcrumb.css)
*/

/* ---- Logo: always visible, transparent or scrolled navbar ---- */
.navbar .logo-wrapper,
.navbar .logo,
.navbar .logo-img {
    display: block;
    opacity: 1 !important;
    visibility: visible !important;
}
.navbar .logo-img {
    width: 130px;
    height: auto;
}

/* ---- Active page highlight ---- */
.navbar .navbar-nav .nav-link {
    position: relative;
}
.navbar .navbar-nav .nav-link.active,
.nav-scroll .navbar-nav .nav-link.active,
.nav-scroll .navbar-collapse .nav-link.active {
    color: #ff0000 !important;
    font-weight: 500;
}
/* Red underline under the active item (desktop) */
@media (min-width: 992px) {
    .navbar .navbar-nav .nav-link.active::after {
        content: "";
        position: absolute;
        left: 9px;
        right: 9px;
        bottom: 2px;
        height: 2px;
        border-radius: 2px;
        background: #ff0000;
    }
}
/* Mobile menu: red bar on the left of the active item */
@media (max-width: 991px) {
    .navbar .navbar-nav .nav-link.active {
        padding-left: 12px !important;
        border-left: 3px solid #ff0000;
    }
}

/* ---- Hover stays red too ---- */
.navbar .navbar-nav .nav-link:hover {
    color: #ff0000;
}
