.navbar {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.navbar-brand {
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
}

.navbar-brand img {
    transition: all 0.3s ease;
    max-width: 80px;
    height: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.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");
}

.navbar-nav {
    margin-left: auto;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    padding: 0.8rem 1.2rem !important;
    margin: 0 0.3rem;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #fff;
    transition: width 0.3s ease;
}

.nav-link:hover::before {
    width: 100%;
}

.nav-link:hover {
    color: #fff !important;
    transform: translateY(-2px);
}

.nav-item.active .nav-link {
    color: #fff !important;
    font-weight: 600;
}

@media (min-width: 992px) {
    .navbar-brand:hover img {
        transform: scale(1.05);
    }
    
    .navbar-brand img {
        max-width: 100px;
    }
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        padding: 1rem 0;
        background: rgba(0, 0, 0, 0.2);
        margin-top: 0.5rem;
        border-radius: 8px;
    }
    
    .nav-link {
        margin: 0.5rem 0;
    }
    
    .nav-link::before {
        display: none;
    }
}