/* Style pour assurer que le footer reste en bas */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: 80px;
    background-color: #087454d8;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

main {
    flex: 1;
}

footer {
    margin-top: auto;
}


/* Effet parallaxe pour l'en-tête */
/* .parallax-header {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    overflow: hidden;
}

.parallax-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: linear-gradient(45deg, rgba(0,0,0,0.5), rgba(0,0,0,0.2));
    background-color: #087454d8; 
}*/
.text{
    color: #ffffff;
}   

/* Animation des titres */


/* .animated-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40%;
    height: 2px;
    background: linear-gradient(to right, #ff1100, #ff00ff);
    transform: translateX(-50%);
    transition: transform 0.3s ease;
} */



/* navbar */
/* Désactiver toutes les transitions et animations dans la navbar */


/* Désactiver toutes les animations et transitions dans la navbar */
/* Désactiver toutes les animations et transitions dans la navbar */
/* Désactiver toutes les animations et transitions dans la navbar */
nav, .navbar, #mobile-menu, #mobile-menu-button, .navbar a {
    transition: none !important; /* Désactive toutes les transitions */
    animation: none !important;   /* Désactive toutes les animations */
    background-color: #ffffff;

}

/* Désactiver l'animation de survol des liens dans la navbar */
.navbar a {
    position: relative;
}

/* Effet de soulignement au survol */
.navbar a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #389466;
    transition: width 0.3s ease;
}

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

/* Pas de soulignement pour le bouton Se connecter */
.navbar a[href*="login"]::after {
    display: none;
}

/* Style du menu mobile */
#mobile-menu {
    border-top: 1px solid #e5e7eb;
    background-color: white;
}

#mobile-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: #4a5568;
}

#mobile-menu a:hover {
    background-color: #f3f4f6;
}

/* navbar */

/* Animation des cartes produits */
.product-card {
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Effet de zoom sur les images */
.product-card img {
    transition: transform 0.5s ease;
}

.product-card:hover img {
    transform: scale(1.05);
}

/* Style du badge de prix */
.price-badge {
    background: linear-gradient(135deg, #34D399 0%, #059669 100%);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Animation du bouton de contact */
.contact-button {
    transition: all 0.3s ease;
}

.contact-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Responsive design */
@media (max-width: 768px) {
    .product-card {
        margin-bottom: 2rem;
    }
    
    .product-card img {
        height: 200px;
    }
}

/* Animation d'apparition des éléments */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Délai d'animation pour chaque carte */
.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
.product-card:nth-child(5) { animation-delay: 0.5s; }
.product-card:nth-child(6) { animation-delay: 0.6s; }

