/* Logo Animation Styles */

/* Logo size and alignment in nav */
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-image {
    height: 40px;
    width: auto;
    transition: all 0.3s ease;
}

.footer-logo-image {
    height: 50px;
    width: auto;
    margin-right: 0.5rem;
}

/* Glowing effect for the logo */
.logo-glow {
    filter: drop-shadow(0 0 5px rgba(76, 96, 255, 0.7));
    transition: filter 0.3s ease;
}

/* Pulsating animation for nav logo */
@keyframes pulse {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 5px rgba(76, 96, 255, 0.6));
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 15px rgba(131, 56, 236, 0.8));
    }
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 5px rgba(76, 96, 255, 0.6));
    }
}

.logo-pulse {
    animation: pulse 3s infinite ease-in-out;
}

/* Different animation for the footer logo */
@keyframes footer-pulse {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 8px rgba(76, 96, 255, 0.5));
    }
    50% {
        transform: scale(1.03);
        filter: drop-shadow(0 0 12px rgba(131, 56, 236, 0.7));
    }
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 8px rgba(76, 96, 255, 0.5));
    }
}

.footer-logo-pulse {
    animation: footer-pulse 4s infinite ease-in-out;
}

/* Paused animation on hover */
.logo-pulse:hover, 
.footer-logo-pulse:hover {
    animation-play-state: paused;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .logo-image {
        height: 35px;
    }
    
    .footer-logo-image {
        height: 40px;
    }
    
    .logo-pulse, 
    .footer-logo-pulse {
        animation-duration: 4s; /* Slower animation on mobile */
    }
}

/* Extra small screens */
@media screen and (max-width: 480px) {
    .logo-image {
        height: 30px;
    }
    
    .footer-logo-image {
        height: 35px;
    }
    
    .logo span {
        font-size: 1.3rem;
    }
}

/* Reduce animation for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    .logo-pulse, 
    .footer-logo-pulse {
        animation: none;
        filter: drop-shadow(0 0 5px rgba(76, 96, 255, 0.5));
    }
}