/* ============================================
   EFECTOS NAVIDEÑOS - LibiSoft S.A.S
   ============================================ */

/* Copos de Nieve Animados */
.snowflakes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.snowflake {
    position: absolute;
    top: -10px;
    color: #fff;
    font-size: 1em;
    font-family: Arial, sans-serif;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
    animation: snowfall linear infinite;
    opacity: 0.8;
}

@keyframes snowfall {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0.8;
    }
    100% {
        transform: translateY(100vh) translateX(var(--drift)) rotate(360deg);
        opacity: 0.2;
    }
}

/* Decoraciones Navideñas Flotantes */
.christmas-decoration {
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    animation: float 3s ease-in-out infinite;
}

.christmas-decoration.star {
    color: #FFD700;
    font-size: 2rem;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
    animation: twinkle 2s ease-in-out infinite;
}

.christmas-decoration.bell {
    color: #FFD700;
    font-size: 1.5rem;
    animation: ring 1.5s ease-in-out infinite;
}

.christmas-decoration.gift {
    color: #DC143C;
    font-size: 1.5rem;
    animation: bounce 2s ease-in-out infinite;
}

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

@keyframes twinkle {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

@keyframes ring {
    0%, 100% {
        transform: rotate(-10deg);
    }
    50% {
        transform: rotate(10deg);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* Efectos de Luces Navideñas */
.christmas-lights {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9997;
    overflow: hidden;
}

.christmas-light {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: blink 1.5s ease-in-out infinite;
    box-shadow: 0 0 10px currentColor;
}

.christmas-light.red {
    background: #DC143C;
    color: #DC143C;
    animation-delay: 0s;
}

.christmas-light.green {
    background: #228B22;
    color: #228B22;
    animation-delay: 0.5s;
}

.christmas-light.gold {
    background: #FFD700;
    color: #FFD700;
    animation-delay: 1s;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.3;
        transform: scale(0.8);
    }
}

/* Banner Navideño */
.christmas-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #DC143C 0%, #228B22 50%, #DC143C 100%);
    color: white;
    text-align: center;
    padding: 0.5rem;
    z-index: 10000;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: bannerSlide 0.5s ease-out;
}

@keyframes bannerSlide {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.christmas-banner i {
    margin: 0 0.5rem;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Efectos en Botones */
.btn-modern.christmas {
    background: linear-gradient(135deg, #DC143C 0%, #228B22 50%, #FFD700 100%);
    position: relative;
    overflow: hidden;
}

.btn-modern.christmas::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Efectos en Cards */
.service-card-modern.christmas-effect {
    position: relative;
    overflow: hidden;
}

.service-card-modern.christmas-effect::after {
    content: '🎄';
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5rem;
    opacity: 0.3;
    animation: float 3s ease-in-out infinite;
}

/* Navbar con efecto navideño */
.navbar-modern.christmas {
    border-top: 3px solid #DC143C;
    box-shadow: 0 2px 10px rgba(220, 20, 60, 0.3);
}

/* Footer con efecto navideño */
.footer-modern.christmas {
    position: relative;
}

.footer-modern.christmas::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #DC143C, #228B22, #FFD700, #DC143C);
    background-size: 200% 100%;
    animation: gradientMove 3s linear infinite;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .christmas-decoration {
        font-size: 1rem;
    }
    
    .christmas-banner {
        font-size: 0.75rem;
        padding: 0.4rem;
    }
}

