/* ============================================
   DÉCORATIONS NOËL ÉLÉGANTES
   Style premium et raffiné
   ============================================ */

/* Container pour les décorations */
.xmas-decoration {
    position: absolute;
    pointer-events: none;
    z-index: 1;
    opacity: 0.6;
    transition: opacity var(--transition-normal);
}

/* Assurer que les décorations ne gênent pas le contenu */
.navbar .xmas-decoration {
    z-index: 0;
}

.hero .xmas-decoration {
    z-index: 2;
}

.footer .xmas-decoration {
    z-index: 1;
}

.xmas-decoration:hover {
    opacity: 0.9;
}

/* Feuilles de sapin élégantes */
.xmas-pine {
    width: 24px;
    height: 24px;
    color: rgba(212, 175, 55, 0.4); /* Gold subtil */
}

.xmas-pine svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Cloches élégantes */
.xmas-bell {
    width: 20px;
    height: 20px;
    color: rgba(212, 175, 55, 0.5);
    animation: bellSway 3s ease-in-out infinite;
    transform-origin: top center;
}

.xmas-bell svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 6px rgba(212, 175, 55, 0.3));
}

/* Étoiles scintillantes */
.xmas-star {
    width: 16px;
    height: 16px;
    color: rgba(212, 175, 55, 0.6);
    animation: starTwinkle 2s ease-in-out infinite;
}

.xmas-star svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.4));
}

/* Flocons subtils */
.xmas-snowflake {
    width: 18px;
    height: 18px;
    color: rgba(255, 255, 255, 0.3);
    animation: snowflakeFloat 4s ease-in-out infinite;
}

.xmas-snowflake svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 1px 3px rgba(255, 255, 255, 0.2));
}

/* ============================================
   ANIMATIONS
   ============================================ */

/* Cloche qui bouge doucement */
@keyframes bellSway {
    0%, 100% {
        transform: rotate(-5deg);
    }
    50% {
        transform: rotate(5deg);
    }
}

/* Étoile qui scintille */
@keyframes starTwinkle {
    0%, 100% {
        opacity: 0.4;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

/* Flocon qui flotte */
@keyframes snowflakeFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-10px) rotate(180deg);
        opacity: 0.6;
    }
}

/* Délais d'animation variés pour effet naturel */
.xmas-star:nth-child(1) { animation-delay: 0s; }
.xmas-star:nth-child(2) { animation-delay: 0.5s; }
.xmas-star:nth-child(3) { animation-delay: 1s; }
.xmas-star:nth-child(4) { animation-delay: 1.5s; }

.xmas-bell:nth-child(1) { animation-delay: 0s; }
.xmas-bell:nth-child(2) { animation-delay: 1.5s; }

/* ============================================
   POSITIONNEMENT STRATÉGIQUE
   ============================================ */

/* Header - Décorations discrètes */
.navbar .xmas-decoration {
    opacity: 0.3;
    top: 50%;
    transform: translateY(-50%);
}

.navbar .xmas-decoration.xmas-pine {
    right: 120px;
}

.navbar .xmas-decoration.xmas-star {
    right: 180px;
    top: 20px;
}

/* Hero - Décorations plus visibles */
.hero .xmas-decoration {
    opacity: 0.5;
}

.hero .xmas-decoration.xmas-pine {
    top: 15%;
    left: 5%;
}

.hero .xmas-decoration.xmas-bell {
    top: 20%;
    right: 8%;
}

.hero .xmas-decoration.xmas-star {
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
}

.hero .xmas-decoration.xmas-snowflake {
    top: 25%;
    right: 15%;
}

/* Footer - Décorations élégantes */
.footer .xmas-decoration {
    opacity: 0.4;
    bottom: 20px;
}

.footer .xmas-decoration.xmas-pine {
    left: 10%;
}

.footer .xmas-decoration.xmas-bell {
    right: 15%;
}

.footer .xmas-decoration.xmas-star {
    left: 50%;
    transform: translateX(-50%);
    bottom: 30px;
}

/* Sections spécifiques */
.section .xmas-decoration {
    opacity: 0.3;
}

/* Responsive - Masquer sur très petits écrans */
@media (max-width: 480px) {
    .xmas-decoration {
        display: none;
    }
}

/* Réduire l'animation pour l'accessibilité */
@media (prefers-reduced-motion: reduce) {
    .xmas-bell,
    .xmas-star,
    .xmas-snowflake {
        animation: none;
    }
}

