/**
 * BINGERVILLE.BIZ - Custom CSS
 * Culture Ebrié Moderne - Thème Jaune/Orange
 * GROUPE OPTIMIUM SOLUTIONS
 */

/* ============================================
   SYMBOLES ADINGRA - Culture Ebrié
   ============================================ */

/* Motifs culturels en arrière-plan */
.adingra-pattern {
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(251, 191, 36, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(249, 115, 22, 0.05) 0%, transparent 50%);
}

.adingra-border {
    position: relative;
}

.adingra-border::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        #f59e0b 0%, 
        #fbbf24 25%, 
        #f97316 50%, 
        #fbbf24 75%, 
        #f59e0b 100%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Symboles Adingra décoratifs (utilisant des caractères Unicode) */
.adingra-symbol {
    font-family: Arial, sans-serif;
    font-weight: bold;
    color: #f59e0b;
    opacity: 0.15;
    position: absolute;
    font-size: 120px;
    animation: float 6s ease-in-out infinite;
    pointer-events: none;
}

.adingra-symbol-1 { content: '◈'; top: 10%; left: 5%; }
.adingra-symbol-2 { content: '✦'; top: 60%; right: 8%; animation-delay: 2s; }
.adingra-symbol-3 { content: '◆'; bottom: 15%; left: 12%; animation-delay: 4s; }

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

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

@keyframes glow-pulse {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(251, 191, 36, 0.5),
                    0 0 40px rgba(249, 115, 22, 0.3);
    }
    50% { 
        box-shadow: 0 0 40px rgba(251, 191, 36, 0.8),
                    0 0 60px rgba(249, 115, 22, 0.5);
    }
}

@keyframes slide-in-bounce {
    0% { transform: translateX(-100px); opacity: 0; }
    60% { transform: translateX(10px); opacity: 1; }
    100% { transform: translateX(0); }
}

@keyframes scale-in {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* ============================================
   CARTES INTERACTIVES
   ============================================ */

.interactive-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.interactive-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(251, 191, 36, 0.1) 50%,
        transparent 70%
    );
    transform: rotate(45deg);
    transition: all 0.6s;
}

.interactive-card:hover::before {
    left: 100%;
}

.interactive-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 20px 50px -10px rgba(245, 158, 11, 0.3),
        0 10px 30px -5px rgba(249, 115, 22, 0.2),
        0 0 0 1px rgba(251, 191, 36, 0.1);
}

.interactive-card:active {
    transform: translateY(-5px) scale(1);
}

/* ============================================
   BADGES CULTURELS
   ============================================ */

.badge-ebrie {
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
    position: relative;
    overflow: hidden;
}

.badge-ebrie::before {
    content: '◆';
    position: absolute;
    top: 50%;
    left: -20px;
    transform: translateY(-50%);
    font-size: 40px;
    color: rgba(255, 255, 255, 0.2);
    animation: slide-badge 2s infinite;
}

@keyframes slide-badge {
    0%, 100% { left: -20px; }
    50% { left: calc(100% - 10px); }
}

/* ============================================
   BOUTONS INTERACTIFS
   ============================================ */

.btn-ebrie {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #f97316 100%);
    background-size: 200% 200%;
    animation: gradient-shift 3s ease infinite;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}

.btn-ebrie::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-ebrie:hover::after {
    width: 300px;
    height: 300px;
}

.btn-ebrie:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.4);
}

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

/* ============================================
   ICÔNES ANIMÉES
   ============================================ */

.icon-bounce {
    display: inline-block;
    transition: transform 0.3s;
}

.icon-bounce:hover {
    animation: icon-bounce-anim 0.6s;
}

@keyframes icon-bounce-anim {
    0%, 100% { transform: translateY(0); }
    25% { transform: translateY(-10px); }
    75% { transform: translateY(-5px); }
}

.icon-spin-hover {
    transition: transform 0.4s;
}

.icon-spin-hover:hover {
    transform: rotate(360deg);
}

/* ============================================
   SÉPARATEURS CULTURELS
   ============================================ */

.separator-ebrie {
    position: relative;
    text-align: center;
    margin: 3rem 0;
}

.separator-ebrie::before,
.separator-ebrie::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #fbbf24 30%, 
        #f97316 70%, 
        transparent 100%);
}

.separator-ebrie::before { left: 0; }
.separator-ebrie::after { right: 0; }

.separator-ebrie span {
    display: inline-block;
    padding: 0 1rem;
    font-size: 2rem;
    color: #f59e0b;
}

/* ============================================
   GRILLES AVEC MOTIFS
   ============================================ */

.grid-ebrie {
    position: relative;
}

.grid-ebrie::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        repeating-linear-gradient(45deg, 
            transparent, 
            transparent 50px, 
            rgba(251, 191, 36, 0.02) 50px, 
            rgba(251, 191, 36, 0.02) 51px);
    pointer-events: none;
}

/* ============================================
   LOADER CULTUREL
   ============================================ */

.loader-ebrie {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(251, 191, 36, 0.2);
    border-top: 4px solid #f59e0b;
    border-right: 4px solid #f97316;
    border-radius: 50%;
    animation: spin-loader 1s linear infinite;
}

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

/* ============================================
   EFFETS DE TEXTE
   ============================================ */

.text-gradient-ebrie {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #f97316 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
}

.text-glow-ebrie {
    text-shadow: 
        0 0 10px rgba(251, 191, 36, 0.5),
        0 0 20px rgba(249, 115, 22, 0.3),
        0 0 30px rgba(245, 158, 11, 0.2);
}

/* ============================================
   SCROLL REVEAL
   ============================================ */

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   HOVER EFFECTS SPÉCIAUX
   ============================================ */

.hover-lift {
    transition: all 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(245, 158, 11, 0.3);
}

.hover-glow {
    transition: all 0.3s ease;
}

.hover-glow:hover {
    box-shadow: 
        0 0 20px rgba(251, 191, 36, 0.6),
        0 0 40px rgba(249, 115, 22, 0.4);
}

/* ============================================
   PARTICULES FLOTTANTES
   ============================================ */

@keyframes particle-float {
    0%, 100% { 
        transform: translate(0, 0) rotate(0deg);
        opacity: 0;
    }
    10%, 90% { 
        opacity: 1;
    }
    50% { 
        transform: translate(100px, -100px) rotate(180deg);
    }
}

.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #fbbf24;
    border-radius: 50%;
    opacity: 0;
    animation: particle-float 8s infinite;
}

.particle:nth-child(2n) { background: #f97316; animation-delay: 2s; }
.particle:nth-child(3n) { background: #f59e0b; animation-delay: 4s; }

/* ============================================
   MODE SOMBRE - Ajustements
   ============================================ */

.dark .adingra-symbol {
    color: #fbbf24;
    opacity: 0.08;
}

.dark .interactive-card:hover {
    box-shadow: 
        0 20px 50px -10px rgba(251, 191, 36, 0.4),
        0 10px 30px -5px rgba(249, 115, 22, 0.3);
}

.dark .text-gradient-ebrie {
    background: linear-gradient(135deg, #fde68a 0%, #fbbf24 50%, #fb923c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .adingra-symbol {
        font-size: 60px;
    }
    
    .interactive-card:hover {
        transform: translateY(-5px) scale(1.01);
    }
}

/* ============================================
   UTILITAIRES
   ============================================ */

.shadow-ebrie {
    box-shadow: 
        0 4px 6px -1px rgba(245, 158, 11, 0.2),
        0 2px 4px -1px rgba(249, 115, 22, 0.1);
}

.shadow-ebrie-lg {
    box-shadow: 
        0 10px 25px -5px rgba(245, 158, 11, 0.3),
        0 5px 15px -3px rgba(249, 115, 22, 0.2);
}

.border-ebrie {
    border: 2px solid;
    border-image: linear-gradient(135deg, #fbbf24 0%, #f97316 100%) 1;
}
