/* Navigation Menu CSS */

/* Style the nav container */
nav {
    background-color: black;
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Style the ul element */
nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

/* Style the li elements */
nav li {
    margin-right: 20px;
    padding: 25px;
}

/* Style the anchor links */
nav a {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
}

/* Hover effect on anchor links */
nav a:hover {
    background-color: #0056b3;
    border-radius: 3px;
}

/* Style the logout link */
nav a.logout {
    color: #fff;
    cursor: pointer;
}

/* Style the logo */
.navbar-logo img {
    margin-left: 20px;
}

/* Style the mobile menu icon */
.navbar-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    margin-right: 20px;
}

.bar {
    height: 3px;
    width: 25px;
    background-color: white;
    margin: 4px 0;
}

/* Responsive styles */
@media (max-width: 768px) {
    .navbar-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: black;
    }
    .navbar-menu.active {
        display: flex;
    }
    .navbar-toggle {
        display: flex;
    }
    nav ul {
        flex-direction: column;
        width: 100%;
    }
    nav li {
        text-align: center;
        margin: 10px 0;
    }
}

/* Dropdown Menu (moved from nav_menu.php for global consistency) */
.dropdown-menu {
    background-color: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    padding: 8px 0;
    margin-top: 10px;
}

.dropdown-item {
    color: #fff;
    font-family: 'Michroma', sans-serif;
    font-size: 13px;
    padding: 10px 20px;
    transition: all 0.2s ease;
}

.dropdown-item:hover, .dropdown-item:focus {
    background-color: rgba(106, 17, 203, 0.2);
    color: #fff;
    transform: translateY(-2px);
}
