/* ========================================
   CHRISTMAS THEME - ECOPAT
   Thème de Noël SUBTIL - Professionnel
   ACTIF UNIQUEMENT EN DÉCEMBRE
   ======================================== */

/* --- Neige Légère --- */
#snow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    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);
    pointer-events: none;
    user-select: none;
    animation: snowfall linear infinite;
    will-change: transform, opacity;
}

@keyframes snowfall {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translateY(100vh) translateX(var(--drift)) rotate(360deg);
        opacity: 0.3;
    }
}

.snowflake.small {
    font-size: 0.8em;
    opacity: 0.6;
    animation-duration: 25s;
}

.snowflake.medium {
    font-size: 1.2em;
    opacity: 0.8;
    animation-duration: 20s;
}

.snowflake.large {
    font-size: 1.5em;
    opacity: 1;
    animation-duration: 15s;
}

/* --- Décorations Header Noël --- */
.christmas-decoration {
    position: absolute;
    font-size: 20px;
    animation: decorationFloat 3s ease-in-out infinite;
    pointer-events: none;
    opacity: 0.7;
}

@keyframes decorationFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-5px) rotate(5deg);
    }
}

.christmas-decoration.left {
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.christmas-decoration.right {
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

/* --- Touches de couleur festive (très subtiles) --- */
.header.christmas-mode {
    border-bottom: 3px solid #1d33a3;
}

.header.christmas-mode .contact-info a:hover {
    color: #1d33a3;
}

.header.christmas-mode .btn-primary {
    background: linear-gradient(135deg, #2541CC 0%, #1d33a3 100%);
    border-color: #1d33a3;
}

.header.christmas-mode .btn-primary:hover {
    background: linear-gradient(135deg, #1d33a3 0%, #2541CC 100%);
}

/* Performance - désactiver sur mobile */
@media (max-width: 768px) {
    .snowflake {
        font-size: 0.7em;
    }

    .christmas-decoration {
        display: none;
    }
}

/* Hide on touch devices */
@media (hover: none) {
    .snowflake.large {
        display: none;
    }
}