/* ===== AMÉLIORATIONS VISUELLES SUPPLÉMENTAIRES ===== */

/* Effet de particules dorées en arrière-plan */
.particles-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.particles-bg::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(203, 162, 72, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(203, 162, 72, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(203, 162, 72, 0.08) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

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

/* Amélioration du logo */
.cover img {
    animation: none;
}

@keyframes logoGlow {
    from {
        filter: drop-shadow(0 10px 30px rgba(203, 162, 72, 0.2));
    }
    to {
        filter: drop-shadow(0 15px 40px rgba(203, 162, 72, 0.4));
    }
}

/* Effet de brillance sur les boutons */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.btn:hover::after {
    opacity: 1;
    transform: rotate(45deg) translate(50%, 50%);
}

/* Amélioration des cartes de contenu */
.content_text {
    position: relative;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
}

.content_text::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(203, 162, 72, 0.02) 50%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.content_text:hover::after {
    opacity: 1;
}

/* Effet de pulsation pour les éléments importants */
.pulse-gold {
    animation: pulseGold 2s ease-in-out infinite;
}

@keyframes pulseGold {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(203, 162, 72, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(203, 162, 72, 0);
    }
}

/* Amélioration du modal */
.modal-content {
    position: relative;
    overflow: hidden;
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-gold);
}

/* Effet de focus amélioré pour les champs */
.form-control:focus {
    animation: focusGlow 0.3s ease-out;
}

@keyframes focusGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(203, 162, 72, 0.4);
    }
    100% {
        box-shadow: 0 0 0 3px rgba(203, 162, 72, 0.1);
    }
}

/* Amélioration de la pagination */
.swiper-pagination-bullet {
    position: relative;
    overflow: hidden;
}

.swiper-pagination-bullet::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.swiper-pagination-bullet-active::before {
    left: 100%;
}

/* Effet de chargement élégant */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-color);
    border-top: 3px solid var(--accent-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Amélioration des liens */
a {
    position: relative;
}

a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width 0.3s ease;
}

a:hover::after {
    width: 100%;
}

/* Effet de survol pour les icônes */
.icon svg {
    transition: none;
}

.icon:hover svg {
    transform: none;
    filter: none;
}

/* Amélioration du header */
.main_haeder {
    position: relative;
}

.main_haeder::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}

/* Effet de parallaxe subtil */
.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Amélioration des messages */
.message {
    position: relative;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    border-left: 4px solid;
    animation: slideInRight 0.3s ease-out;
}

.message.success {
    background: rgba(81, 207, 102, 0.1);
    border-left-color: #51cf66;
    color: #51cf66;
}

.message.error {
    background: rgba(255, 107, 107, 0.1);
    border-left-color: #ff6b6b;
    color: #ff6b6b;
}

.message.warning {
    background: rgba(255, 193, 7, 0.1);
    border-left-color: #ffc107;
    color: #ffc107;
}

/* Effet de transition pour les modals */
.modal.fade .modal-dialog {
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.modal.show .modal-dialog {
    transform: scale(1);
}

/* Amélioration de l'accessibilité */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Mode sombre amélioré */
@media (prefers-color-scheme: dark) {
    :root {
        --primary-black: #000000;
        --secondary-black: #0a0a0a;
        --border-color: #222222;
    }
}

/* Amélioration pour les écrans haute résolution */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .cover img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Effet de neige dorée (optionnel) */
.snow-effect {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.snowflake {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--accent-gold);
    border-radius: 50%;
    opacity: 0.6;
    animation: snowfall linear infinite;
}

@keyframes snowfall {
    0% {
        transform: translateY(-10px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Amélioration de la typographie */
.text-gradient {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-shadow {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Effet de glassmorphism */
.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
}

/* Amélioration des boutons avec icônes */
.btn-with-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-with-icon i {
    font-size: 1.1em;
    transition: transform 0.3s ease;
}

.btn-with-icon:hover i {
    transform: translateX(2px);
} 
