/* ===================================================================
   SOLID COLOR TABS MENU (Refined)
   =================================================================== */

.navbar-detik {
    background-color: #e8e8e8 !important;
    /* Light gray container background */
    border-bottom: 1px solid #ddd !important;
    width: 100%;
    margin: 0;
    padding: 0;
    justify-content: center;
    /* Center the menu items */
    flex-wrap: wrap;
    /* Allow wrapping if needed */
}

.navbar-detik .container {
    padding-left: 15px;
    padding-right: 15px;
}

.navbar-detik .navbar-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    margin: 0;
    padding: 0;
    justify-content: center;
    /* Center the menu items */
    flex-wrap: wrap;
    /* Allow wrapping if needed */
}

.navbar-detik .nav-item {
    margin-right: -5px;
    /* Slight overlap for tab effect */
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

/* Hover brings item to front */
.navbar-detik .nav-item:hover {
    z-index: 100;
    transform: translateY(-3px);
}

.navbar-detik .nav-link {
    display: block !important;
    padding: 10px 20px !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    color: #fff !important;
    /* Default white text */
    text-transform: uppercase;
    border: none !important;
    border-top-left-radius: 10px;
    /* Rounded top corners */
    border-top-right-radius: 10px;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    /* Subtle shadow */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* --- SPECIFIC SOLID COLORS FOR TABS --- */

/* 1. HOME (White/Light Gray) */
.navbar-detik .nav-item:nth-child(1) .nav-link {
    background: #f5f5f5 !important;
    color: #333 !important;
    /* Dark text for light bg */
    text-shadow: none !important;
}

/* 2. BERITA (Blue) */
.navbar-detik .nav-item:nth-child(2) .nav-link {
    background: #6495ed !important;
    /* Cornflower Blue */
}

/* 3. DAERAH (Red/Salmon) */
.navbar-detik .nav-item:nth-child(3) .nav-link {
    background: #e57373 !important;
    /* Soft Red */
}

/* 4. INDEX BERITA (Purple) */
.navbar-detik .nav-item:nth-child(4) .nav-link {
    background: #ba68c8 !important;
    /* Soft Purple */
}

/* 5. DOWNLOAD (Pink) */
.navbar-detik .nav-item:nth-child(5) .nav-link {
    background: #f06292 !important;
    /* Pink */
}

/* 6. VIDEO (Indigo) */
.navbar-detik .nav-item:nth-child(6) .nav-link {
    background: #5c6bc0 !important;
    /* Indigo */
}

/* 7. FOTO (Teal) */
.navbar-detik .nav-item:nth-child(7) .nav-link {
    background: #4db6ac !important;
    /* Teal */
}

/* 8. AGENDA (Green) */
.navbar-detik .nav-item:nth-child(8) .nav-link {
    background: #81c784 !important;
    /* Green */
}

/* 9. FORUM (Yellow) */
.navbar-detik .nav-item:nth-child(9) .nav-link {
    background: #ffd54f !important;
    /* Yellow */
    color: #333 !important;
    /* Dark text */
    text-shadow: none !important;
}

/* 10. BIRO (Orange) */
.navbar-detik .nav-item:nth-child(10) .nav-link {
    background: #ff8a65 !important;
    /* Orange */
}

/* Search Icon (Last Item) */
.navbar-detik .nav-item:last-child .nav-link {}

/* Mobile Adjustments */
/* STATUS: LOCKED (DO NOT MODIFY WITHOUT EXPLICIT USER INSTRUCTION) */
@media (max-width: 991.98px) {
    .navbar-detik .navbar-nav {
        justify-content: flex-start;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 5px;
        padding-left: 5px;
        /* Small start padding */
        padding-right: 5px;
        -webkit-overflow-scrolling: touch;
        /* Smooth scrolling */
    }

    .navbar-detik .nav-item {
        margin-right: 0 !important;
        /* Force no overlap */
        display: block;
        flex: 0 0 auto !important;
        /* Allow growing */
        width: auto !important;
        min-width: 30vw !important;
        /* Minimum width for short items */
        max-width: none !important;
        text-align: center;
    }

    .navbar-detik .nav-link {
        padding: 12px 15px !important;
        /* Comfortable padding */
        font-size: 12px !important;
        border-radius: 5px !important;
        margin-right: 5px;
        box-shadow: none !important;
        white-space: nowrap !important;
        overflow: visible !important;
        /* Allow text to be seen */
        text-overflow: clip !important;
    }

    /* Hide scrollbar but allow scrolling */
    .navbar-detik .navbar-nav::-webkit-scrollbar {
        display: none;
    }
}