/* aiNEWStr - Navbar Stilleri */

.navbar {
    background-color: #6c757d !important;
    padding: 0.1rem 0 !important;
    min-height: auto !important;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    padding: 0.1rem 0 !important;
}

.navbar-brand span {
    transition: all 0.3s ease;
}

.navbar-brand span:first-child,
.navbar-brand span:last-child {
    color: #ffffff !important;
    text-decoration: underline !important;
}

.navbar-brand span:nth-child(2) {
    color: #dc3545 !important;
    text-decoration: underline !important;
    text-decoration-color: #dc3545 !important;
    font-size: 1.3em !important;
}

.navbar-brand:hover span:first-child,
.navbar-brand:hover span:last-child {
    color: #ffffff !important;
}

.navbar-brand:hover span:nth-child(2) {
    color: #b02a37 !important;
    text-decoration-color: #b02a37 !important;
}

.navbar-nav .nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    color: #bdc1c4 !important;
    padding: 0.15rem 0.75rem !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link.active {
    color: #ffffff !important;
}

.dropdown-menu {
    background-color: #6c757d !important;
    border: 1px solid #545b62;
}

.dropdown-item {
    color: #bdc1c4 !important;
    transition: all 0.3s ease;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: #5a6268 !important;
    color: #ffffff !important;
}

.navbar-toggler {
    border-color: #bdc1c4;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(189, 193, 196, 0.25);
}

.dropdown-menu {
    border: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    margin-top: 0.5rem;
}

.dropdown-item {
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: #dc3545;
    color: white;
}

.dropdown-item i {
    margin-right: 0.5rem;
    width: 16px;
}

/* Search Form in Navbar */
.navbar .form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.navbar .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.navbar .form-control:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: #dc3545;
    color: white;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.navbar .btn-outline-light:hover {
    background-color: #dc3545;
    border-color: #dc3545;
}

/* Mobile Navbar Adjustments */
@media (max-width: 991.98px) {
    .navbar-collapse {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .navbar .form-control {
        background-color: rgba(255, 255, 255, 0.9);
        color: #212529;
    }
    
    .navbar .form-control::placeholder {
        color: #6c757d;
    }
}