/* =========================================
   TOP BAR STYLING (MATCHING SCREENSHOT)
   ========================================= */
.header-top-bar {
    background-color: #333333;
    height: 45px;
    font-size: 13.5px;
}
.top-tabs {
    height: 100%;
}
.top-tabs .tab {
    height: 100%;
    color: #ffffff;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s ease;
}
.top-tabs .tab:hover {
    background-color: #444444;
    color: #ff9e1b;
}
/* Active Tab Styling (White bg, Orange top border) */
.top-tabs .active-tab {
    background-color: #ffffff;
    color: #333333 !important;
    border-top: 4px solid #ff9e1b;
}
.top-tabs .active-tab:hover {
    background-color: #ffffff;
    color: #333333;
}

.top-utilities a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
    margin-left: 20px;
}
.top-utilities a:hover {
    color: #ff9e1b;
}

/* =========================================
   MAIN NAVBAR STYLING
   ========================================= */
.main-navbar {
    border-bottom: 1px solid #e0e0e0;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
}
.main-navbar .nav-link {
    color: #666666 !important;
    font-size: 15px;
    margin: 0 8px;
    transition: color 0.2s ease;
}
.main-navbar .nav-link:hover {
    color: #ff9e1b !important;
}

/* Tombol Find Your Dealer */
.btn-find-dealer {
    background-color: #ff9e1b;
    color: #ffffff !important;
    border: none;
    font-size: 15px;
    padding: 8px 24px !important;
    transition: background-color 0.3s ease;
}
.btn-find-dealer:hover {
    background-color: #e68a00;
}

/* Ikon Search & Cart */
.nav-icon-action {
    color: #666666 !important;
    transition: color 0.2s ease;
    font-size: 1.3rem;
}
.nav-icon-action:hover {
    color: #ff9e1b !important;
}

/* =========================================
   DROPDOWN MENU STYLING
   ========================================= */
.custom-nav-dropdown .dropdown-menu {
    background-color: #333333;
    padding: 0;
    margin: 0;
    border-radius: 0;
}
.custom-nav-dropdown .dropdown-item {
    color: #ffffff;
    padding: 12px 25px;
    border-bottom: 1px solid #444444;
    font-size: 0.9rem;
    transition: all 0.2s ease-in-out;
}
.custom-nav-dropdown .dropdown-item:last-child {
    border-bottom: none;
}
.custom-nav-dropdown .dropdown-item:hover,
.custom-nav-dropdown .dropdown-item:focus {
    background-color: #444444;
    color: #ff9e1b;
}
.custom-nav-dropdown .dropdown-toggle::after {
    display: none;
}

@media (min-width: 992px) {
    .custom-nav-dropdown:hover > .dropdown-menu {
        display: block;
        animation: fadeIn 0.3s ease;
    }
    .dropdown-submenu {
        position: relative;
    }
    .dropdown-submenu:hover > .dropdown-menu {
        display: block;
        top: 0;
        left: 100%;
        margin-top: -1px;
    }
}
@media (max-width: 991px) {
    .dropdown-submenu .dropdown-menu {
        background-color: #222222;
        border-left: 2px solid #ff9e1b;
    }
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}