/* ===============================================
   NAVIGATION BAR STYLES
   =============================================== */

/* Base Navbar Styles */
.navbar {
    padding: 0.5rem 2rem;
    background-color: #014903 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1000;
}

/* Container and Layout */
.navbar .container-fluid {
    padding-right: 0 !important;
    padding-left: 0;
}

.navbar-brand {
    margin-right: 0;
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
}

/* Navigation Links */
.navbar-nav {
    gap: 0.5rem;
    align-items: center;
    padding: 0.5rem 0;
}

.nav-link {
    color: white !important;
    font-weight: 500;
    padding: 0.75rem 1.25rem !important;
    border-radius: 4px;
    transition: all 0.2s ease;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    white-space: nowrap;
}

.nav-link:hover, 
.nav-link:focus {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
}

.nav-link.active {
    background-color: rgba(255, 255, 255, 0.15) !important;
    font-weight: 600;
}

/* Dropdown Menu */
.dropdown-menu {
    background-color: #014903;
    border: none;
    border-radius: 4px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.dropdown-item {
    color: #fff !important;
    padding: 0.5rem 1.5rem;
    transition: all 0.2s ease;
}

.dropdown-item:hover, 
.dropdown-item:focus {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
}

.dropdown-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0.5rem 0;
}

/* Mobile Menu Toggle */
.navbar-toggler {
    border: none !important;
    padding: 0.5rem;
    margin-right: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none !important;
    outline: none !important;
}

.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") !important;
    width: 1.5em;
    height: 1.5em;
}

/* Mobile Menu Styles */
@media (max-width: 991.98px) {
    .navbar {
        padding: 0.5rem 1rem;
    }
    
    .navbar-collapse {
        background-color: #014903 !important;
        padding: 0.5rem 1rem !important;
        margin-top: 0.5rem !important;
        border-radius: 4px !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    
    .nav-link {
        padding: 0.75rem 1rem !important;
        margin: 0.25rem 0;
    }
    
    .dropdown-menu {
        background-color: rgba(0, 0, 0, 0.1) !important;
        margin-left: 1rem;
        border-left: 2px solid rgba(255, 255, 255, 0.1);
        border-radius: 0 4px 4px 0;
    }
    
    .dropdown-item {
        padding: 0.5rem 1rem 0.5rem 1.5rem;
    }
}
}

.dropdown-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0.25rem 0;
}

/* Mobile Menu Toggle */
.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.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(255, 255, 255, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: #014903;
        padding: 1rem;
        margin-top: 1rem;
        border-radius: 4px;
    }
    
    .nav-item {
        margin: 0.25rem 0;
    }
    
    .dropdown-menu {
        margin-left: 1rem;
        width: calc(100% - 2rem);
    }
}
