﻿.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.25rem;
    cursor: pointer;
}

.navbar-left, .navbar-right {
    display: flex;
    align-items: center;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='black' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar-collapse {
/*    transition: background-color 0.3s ease, box-shadow 0.3s ease;*/
}

    .navbar-collapse .nav-link {
        color: black !important;
    }

        .navbar-collapse .nav-link:hover {
            color: gray !important;
        }

.search-form {
    display: flex;
    align-items: center;
}

.search-input {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 200px;
}

.nav-link {
    color: black !important;
}

    .nav-link:hover {
        color: gray !important;
    }

@media (max-width: 768px) {
    body {
        margin-top: 0px;
    }
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        position: static;
        width: 100%;
        background-color: white !important;
        box-shadow: none;
        border-top: 1px solid #ccc;
    }

        .navbar-collapse .nav-link {
            color: black !important;
            padding: 1rem;
            font-size: 1.2rem;
        }

            .navbar-collapse .nav-link:hover {
                background-color: #f8f9fa;
                color: #333 !important;
                border-radius: 5px;
            }

        .navbar-collapse.show {
            position: fixed;
            top: 56px;
            left: 0;
            width: 100%;
            height: calc(100% - 56px);
            overflow-y: auto;
            background-color: white !important;
            z-index: 1050;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease-in-out;
        }
}

