/* General Navbar Styling */
.navbar {
    background-color: #2c3e50; /* Change the background color */
    border-bottom: 3px solid #2980b9; /* Bottom border for design */
    color: #fff; /* Text color */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 10px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Depth effect */
}

.navbar-sticky {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar .containers {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: auto; /* Adjust container height */
}

/* Logo Adjustments */
.navbar-logo img {
    height: 50px;
}

/* Toggle Button for Mobile */
.navbar-toggle {
    background-color: transparent;
    border: none;
    outline: none;
    color: #ecf0f1; /* Color for the toggle button */
    display: none; /* Hidden on larger screens */
}

.navbar-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #ecf0f1; /* Hamburger menu lines */
    margin: 4px 0;
    transition: all 0.3s ease;
}

/* Navbar Menu Styling */
.navbar-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-nav {
    list-style: none;
    display: flex;
    padding: 0;
    margin: 0;
}

.nav-item {
    margin: 0 15px;
}

.nav-item a {
    color: #bdc3c7; /* Softer text color */
    font-size: 16px; /* Readability */
    text-decoration: none; /* Remove underline */
    font-weight: bold;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.nav-item a:hover {
    color: #ecf0f1; /* Slightly lighter on hover */
}

/* Auth Section (Login/Register) */
.navbar-nav-auth {
    display: flex;
}

.navbar-nav-auth .nav-item {
    margin-left: 15px;
}

/* Responsive Styles for Mobile */
@media screen and (max-width: 768px) {
    .navbar-toggle {
        display: block; /* Show toggle button on mobile */
    }

    .navbar-menu {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background-color: #3C552D; /* Same color as navbar */
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        display: none; /* Hidden by default on mobile */
    }

    .navbar-menu.active {
        display: flex; /* Show the menu when active */
    }

    .navbar-nav {
        flex-direction: column;
        width: 100%;
    }

    .nav-item {
        margin: 10px 0; /* Spacing between menu items */
    }

    .navbar-nav-auth {
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.1); /* Divider for auth section */
        width: 100%;
    }

    .navbar-logo img {
        height: 30px; /* Reduce logo size on mobile */
    }
}
