/* ======================================
   PROFESSIONAL DESIGN ENHANCEMENTS - TAILWIND OPTIMIZED
   ====================================== */

/* Variables CSS pour les effets personnalisés */
:root {
    --gradient-shine: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

/* ======================================
   EFFETS PERSONNALISÉS (non disponibles dans Tailwind)
   ====================================== */

/* Effet brillance pour les boutons */
.shine-effect {
    position: relative;
    overflow: hidden;
}

.shine-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-shine);
    transition: left 0.6s ease;
    z-index: 1;
    pointer-events: none;
}

.shine-effect:hover::before {
    left: 100%;
}

/* Animation de flottement personnalisée */
@keyframes float-gentle {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.float-animation {
    animation: float-gentle 4s ease-in-out infinite;
}

/* Animation de pulsation subtile */
@keyframes pulse-subtle {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.02); opacity: 0.95; }
}

.pulse-subtle {
    animation: pulse-subtle 3s ease-in-out infinite;
}

/* Effet parallax simple */
.parallax-slow {
    transform: translateZ(0);
    transition: transform 0.1s ease-out;
}

/* Gradient de texte personnalisé */
.text-gradient-amber {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-gray {
    background: linear-gradient(135deg, #6b7280, #4b5563);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Bordure animée */
.border-gradient-animated {
    position: relative;
    background: white;
}

.border-gradient-animated::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 2px;
    background: linear-gradient(45deg, #f59e0b, #6b7280, #f59e0b);
    background-size: 300% 300%;
    border-radius: inherit;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: xor;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    animation: gradient-rotate 3s ease infinite;
}

@keyframes gradient-rotate {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Ombre colorée personnalisée */
.shadow-amber-xl {
    box-shadow: 0 20px 50px rgba(245, 158, 11, 0.3);
}

.shadow-gray-xl {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

/* Effet de verre moderne */
.glass-morphism {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ======================================
   RESPONSIVE ET PERFORMANCE
   ====================================== */

/* Désactiver les animations coûteuses sur mobile */
@media (max-width: 768px) {
    .float-animation,
    .pulse-subtle,
    .border-gradient-animated::before {
        animation: none;
    }
    
    .shine-effect::before {
        display: none;
    }
}

/* Amélioration des performances avec GPU */
.gpu-accelerated {
    transform: translateZ(0);
    will-change: transform;
}
