/* Custom styles for the top header navigation */
.top-header-navbar .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.2); /* Light border for toggler */
}

.top-header-navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.top-header-navbar .nav-link {
    padding: 0.5rem 1rem; /* Adjust padding as needed */
    transition: color 0.2s ease;
}

.top-header-navbar .nav-link:hover {
    color: #ffd700 !important; /* Gold color on hover for main nav links */
}

/* Dropdown menu styling */
.top-header-navbar .dropdown-menu {
    background-color: #373357; /* Dark background for dropdown items */
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.top-header-navbar .dropdown-item {
    color: #fff; /* White text for dropdown items */
    transition: background-color 0.2s ease, color 0.2s ease;
}

/* Ensure hover and focus states apply correctly */
.top-header-navbar .dropdown-item:hover,
.top-header-navbar .dropdown-item:focus {
    background-color: rgba(255, 255, 255, 0.1); /* Light background on hover for dropdown items */
    color: #ffd700 !important; /* Gold text on hover for dropdown items */
}

/* If Bootstrap's .active or .show class interferes with dropdown-item color */
.top-header-navbar .dropdown-item.active,
.top-header-navbar .dropdown-item:active {
    background-color: darkblue; /* Slightly darker active background */
    color: #ffd700 !important; /* Keep gold color for active item */
}

/* Show dropdown on hover (desktop) */
@media (min-width: 992px) {
    .top-header-navbar .navbar-nav .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0; /* Fix small jump */
    }

    .top-header-navbar .navbar-nav .dropdown-menu {
        transition: opacity 0.15s;
    }
}


