/* ================================================
   STYLES DE CORRECTION FORCÉS - À AJOUTER EN DERNIER
   ================================================ */

/* Force la navbar à rester au-dessus - SANS DÉFORMER */
.navbar {
    position: fixed !important;
    top: 0 !important;
    z-index: 99999 !important;
}

/* Force le padding de la navbar pour une barre légèrement plus large */
.nav-container {
    padding: 15px 35px !important;
}

.nav-logo {
    height: 75px !important;
}

/* Force l'animation du logo */
.hero-logo {
    animation: logoZoom 2s ease-in-out infinite !important;
    transform-origin: center center !important;
}

/* Force les keyframes du logo */
@keyframes logoZoom {
    0%, 100% {
        transform: scale(1) !important;
    }
    50% {
        transform: scale(1.08) !important;
    }
}

/* Force l'animation de la galerie */
.projects-track {
    display: flex !important;
    gap: 25px !important;
    animation: scroll-horizontal 60s linear infinite !important;
}

.projects-track:hover {
    animation-play-state: paused !important;
}

/* Force les keyframes du scroll */
@keyframes scroll-horizontal {
    0% {
        transform: translateX(0) !important;
    }
    100% {
        transform: translateX(calc(-425px * 18)) !important;
    }
}

/* Force la visibilité du filigrane */
.watermark-overlay {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: linear-gradient(to top, 
        rgba(0, 0, 0, 0.95) 0%, 
        rgba(0, 0, 0, 0.75) 40%,
        rgba(0, 0, 0, 0.4) 70%, 
        transparent 100%) !important;
    padding: 25px 20px !important;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: space-between !important;
    gap: 15px !important;
    z-index: 999 !important;
    transition: all 0.4s ease !important;
    backdrop-filter: blur(2px) !important;
    pointer-events: none !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.project-card:hover .watermark-overlay {
    background: linear-gradient(to top, 
        rgba(212, 175, 55, 0.98) 0%, 
        rgba(212, 175, 55, 0.85) 40%,
        rgba(212, 175, 55, 0.5) 70%, 
        transparent 100%) !important;
    backdrop-filter: blur(4px) !important;
}

/* Force le z-index de l'image */
.project-card img {
    position: relative !important;
    z-index: 0 !important;
}

/* Force la visibilité du logo dans le filigrane */
.watermark-logo {
    width: 70px !important;
    height: 70px !important;
    object-fit: contain !important;
    opacity: 0.95 !important;
    filter: drop-shadow(0 4px 12px rgba(212, 175, 55, 0.6)) !important;
    transition: all 0.4s ease !important;
    flex-shrink: 0 !important;
    display: block !important;
    visibility: visible !important;
}

.project-card:hover .watermark-logo {
    opacity: 1 !important;
    transform: scale(1.15) rotate(-5deg) !important;
    filter: drop-shadow(0 6px 20px rgba(255, 215, 0, 0.9)) !important;
}

/* Force la visibilité du filigrane simplifié */
.watermark-whatsapp {
    font-size: 12px !important;
    font-weight: 700 !important;
    margin: 0 0 0 10px !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    color: #ffffff !important;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9) !important;
    letter-spacing: 0.3px !important;
    transition: all 0.3s ease !important;
    visibility: visible !important;
    white-space: nowrap !important;
    flex-wrap: nowrap !important;
}


.watermark-whatsapp i {
    font-size: 16px !important;
    color: #25D366 !important;
    filter: drop-shadow(0 0 8px rgba(37, 211, 102, 1)) !important;
    animation: pulse-whatsapp 2s ease-in-out infinite !important;
    display: inline-block !important;
}

.project-card:hover .watermark-whatsapp i {
    color: #128C7E !important;
    filter: drop-shadow(0 0 12px rgba(37, 211, 102, 1)) !important;
}

/* Force l'animation WhatsApp */
@keyframes pulse-whatsapp {
    0%, 100% {
        transform: scale(1) !important;
        filter: drop-shadow(0 0 8px rgba(37, 211, 102, 1)) !important;
    }
    50% {
        transform: scale(1.1) !important;
        filter: drop-shadow(0 0 16px rgba(37, 211, 102, 1)) !important;
    }
}

/* Force la carte projet */
.project-card {
    position: relative !important;
    width: 400px !important;
    height: 280px !important;
    flex-shrink: 0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer !important;
}

.project-card:hover {
    transform: translateY(-10px) scale(1.02) !important;
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4) !important;
}
