/* Enhanced Navbar Banner Hover Animation */
.navbar {
    position: relative;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.navbar:hover::before {
    left: 100%;
}

.navbar:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.navbar-brand {
    position: relative;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none !important;
    color: white !important;
    font-weight: 600;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    z-index: 2;
}

.navbar:active {
    transform: translateY(0);
}

/* Enhanced water droplet icon animation */
.navbar-brand img {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.navbar:hover .navbar-brand img {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.1rem;
    }
    
    .navbar:hover {
        transform: translateY(-1px);
    }
}

/* Focus states for accessibility */
.navbar-brand:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

/* Smooth text shadow on hover */
.navbar-brand {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.navbar:hover .navbar-brand {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Ensure all navbar content is above the shimmer effect */
.navbar .container,
.navbar .navbar-nav,
.navbar .nav-link {
    position: relative;
    z-index: 2;
}