@charset "utf-8";
/* CSS Document */

/* ===========================================
   W Marketing Group - Animations Stylesheet
   Version: 1.0
   =========================================== */

/* Light Cycle Background Container */
.light-cycle-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 777;
    pointer-events: none;
    opacity: 0.15;
}

#lightCycleCanvas {
    width: 100%;
    height: 100%;
}

/* Floating Shapes Animation */
@keyframes float {
    0%, 100% { 
        transform: translateY(0) rotate(0deg); 
    }
    50% { 
        transform: translateY(-20px) rotate(10deg); 
    }
}

.floating-shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    animation: float 8s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -150px;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: -100px;
    animation-delay: -4s;
}

/* Glow Pulse Animation */
@keyframes pulse {
    0% { 
        box-shadow: 0 0 0 0 var(--primary-glow);
    }
    70% { 
        box-shadow: 0 0 0 10px rgba(0, 255, 255, 0); 
    }
    100% { 
        box-shadow: 0 0 0 0 rgba(0, 255, 255, 0); 
    }
}

.pulse-glow {
    animation: pulse 2s infinite;
}

/* Text Glow Animation */
@keyframes textGlow {
    0%, 100% { 
        text-shadow: 0 0 10px var(--primary-glow);
    }
    50% { 
        text-shadow: 0 0 20px var(--primary-glow), 0 0 30px var(--primary-glow);
    }
}

.animate-glow {
    animation: textGlow 3s infinite;
}

/* Circuit Line Animation */
@keyframes circuitFlow {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 100px 100px;
    }
}

.circuit-lines {
    animation: circuitFlow 20s linear infinite;
}

/* Section Divider Shine Effect */
@keyframes shine {
    0% { 
        transform: translateX(-100%); 
    }
    100% { 
        transform: translateX(200%); 
    }
}

.section-divider::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    animation: shine 3s infinite;
}

/* Button Hover Animation */
@keyframes buttonGlow {
    0% { 
        box-shadow: 0 0 5px var(--primary-glow);
    }
    50% { 
        box-shadow: 0 0 20px var(--primary-glow), 0 0 30px var(--primary-glow);
    }
    100% { 
        box-shadow: 0 0 5px var(--primary-glow);
    }
}

.cta-button:hover {
    animation: buttonGlow 2s infinite;
}

/* Card Hover Animation */
@keyframes cardRise {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-10px);
    }
}

.service-card:hover {
    animation: cardRise 0.3s forwards;
}

/* AOS Custom Animations */
[data-aos="cyber-fade-up"] {
    opacity: 0;
    transform: translateY(30px);
    transition-property: transform, opacity;
}

[data-aos="cyber-fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Indicator Animation */
@keyframes loadingCircuit {
    0% {
        stroke-dashoffset: 600;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

.loading-indicator {
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    animation: loadingCircuit 2s linear infinite;
}

/* Navigation Link Hover Effect */
@keyframes navGlow {
    0% {
        text-shadow: 0 0 5px var(--primary-glow);
    }
    50% {
        text-shadow: 0 0 10px var(--primary-glow), 0 0 20px var(--primary-glow);
    }
    100% {
        text-shadow: 0 0 5px var(--primary-glow);
    }
}

.nav-link:hover {
    animation: navGlow 1.5s infinite;
}

/* Contact Item Hover Animation */
@keyframes contactSlide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(10px);
    }
}

.contact-item:hover {
    animation: contactSlide 0.3s forwards;
}

/* Map Container Hover Effect */
@keyframes mapGlow {
    0% {
        box-shadow: 0 0 10px var(--primary-glow);
    }
    50% {
        box-shadow: 0 0 20px var(--primary-glow), 0 0 30px var(--primary-glow);
    }
    100% {
        box-shadow: 0 0 10px var(--primary-glow);
    }
}

.map-container:hover {
    animation: mapGlow 2s infinite;
}

/* Form Focus Animation */
@keyframes formFieldFocus {
    0% {
        box-shadow: 0 0 0 0 var(--primary-glow);
    }
    50% {
        box-shadow: 0 0 10px 0 var(--primary-glow);
    }
    100% {
        box-shadow: 0 0 0 0 var(--primary-glow);
    }
}

.form-control:focus {
    animation: formFieldFocus 2s infinite;
}

/* Responsive Animation Adjustments */
@media (max-width: 768px) {
    .floating-shape {
        display: none; /* Disable floating shapes on mobile */
    }
    
    .light-cycle-container {
        opacity: 0.1; /* Reduce background animation opacity on mobile */
    }
}

/* Reduce Motion Preferences */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .light-cycle-container {
        display: none;
    }
}
