/* RESQ+ Logo - Stellar Design - Enhanced Visibility */

.navbar .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    padding: 8px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.navbar .logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(21, 101, 192, 0.1) 0%, rgba(13, 71, 161, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.navbar .logo:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 30px rgba(21, 101, 192, 0.3);
    border-color: rgba(21, 101, 192, 0.3);
}

.navbar .logo:hover::before {
    opacity: 1;
}

.navbar .logo img {
    width: auto !important;
    height: 50px !important;
    max-width: 200px !important;
    object-fit: contain !important;
    filter: drop-shadow(0 4px 12px rgba(21, 101, 192, 0.4));
    transition: all 0.3s ease;
}

.navbar .logo:hover img {
    filter: drop-shadow(0 6px 20px rgba(21, 101, 192, 0.6));
    transform: rotate(5deg) scale(1.1);
}

.navbar .logo-text {
    font-size: 2rem !important;
    font-weight: 900 !important;
    background: linear-gradient(135deg, #1565C0 0%, #0D47A1 50%, #1976D2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(21, 101, 192, 0.3);
    position: relative;
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        filter: drop-shadow(0 0 5px rgba(21, 101, 192, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 15px rgba(21, 101, 192, 0.8));
    }
}

.navbar .logo-text::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #1565C0, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.navbar .logo:hover .logo-text::after {
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .navbar .logo {
        padding: 6px 12px;
    }
    
    .navbar .logo img {
        width: auto !important;
        height: 40px !important;
        max-width: 160px !important;
    }
    
    .navbar .logo-text {
        font-size: 1.6rem !important;
    }
}

@media (max-width: 480px) {
    .navbar .logo img {
        height: 35px !important;
        max-width: 140px !important;
    }
    
    .navbar .logo-text {
        font-size: 1.4rem !important;
    }
}
