/* Gayatri IT Solutions Logo Animations */

.gayatri-logo {
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    z-index: 1000;
}

.gayatri-logo svg {
    width: 200px;
    height: 80px;
    transition: all 0.3s ease;
}

/* Logo Entrance Animation */
@keyframes logoEntrance {
    0% {
        opacity: 0;
        transform: translateY(-20px) scale(0.8);
    }
    50% {
        opacity: 0.7;
        transform: translateY(-5px) scale(1.05);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.gayatri-logo.animate-entrance {
    animation: logoEntrance 1.2s ease-out forwards;
}

/* Hover Effects */
.gayatri-logo:hover {
    transform: scale(1.05);
}

.gayatri-logo:hover svg {
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
}

/* Pulsing Animation */
@keyframes logoPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.02);
        opacity: 0.9;
    }
}

.gayatri-logo.pulse {
    animation: logoPulse 2s ease-in-out infinite;
}

/* Floating Animation */
@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}

.gayatri-logo.float {
    animation: logoFloat 3s ease-in-out infinite;
}

/* Glow Effect */
@keyframes logoGlow {
    0%, 100% {
        filter: drop-shadow(0 0 5px rgba(0, 212, 255, 0.3));
    }
    50% {
        filter: drop-shadow(0 0 15px rgba(0, 212, 255, 0.7));
    }
}

.gayatri-logo.glow {
    animation: logoGlow 2.5s ease-in-out infinite;
}

/* Circuit Animation */
.gayatri-logo .circuit-pattern {
    animation: circuitPulse 3s ease-in-out infinite;
}

@keyframes circuitPulse {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.7;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .gayatri-logo svg {
        width: 150px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .gayatri-logo svg {
        width: 120px;
        height: 48px;
    }
}

/* Logo Container Styles */
.logo-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 10px 0;
}

.logo-container.center {
    justify-content: center;
}

.logo-container.right {
    justify-content: flex-end;
}

/* Header Logo Specific Styles */
.header-logo {
    position: relative;
    z-index: 1001;
}

.header-logo .gayatri-logo {
    margin: 0;
}

/* Footer Logo Styles */
.footer-logo .gayatri-logo svg {
    width: 150px;
    height: 60px;
    opacity: 0.8;
}

.footer-logo .gayatri-logo:hover svg {
    opacity: 1;
}

/* Loading Animation */
@keyframes logoLoading {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.gayatri-logo.loading::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid transparent;
    border-top: 2px solid #00d4ff;
    border-radius: 50%;
    animation: logoLoading 1s linear infinite;
}

/* Smooth Transitions */
.gayatri-logo * {
    transition: all 0.3s ease;
}

/* Performance Optimizations */
.gayatri-logo {
    will-change: transform;
    backface-visibility: hidden;
    perspective: 1000px;
}