/* Styles de base */
body, nav {
    background-color: black;
}
#cart-count {
    color: white !important;
}

/* Styles de survol (PC uniquement) */
@media (min-width: 768px) {
    nav:hover {
        background-color: white; /* Fond blanc au survol */
        color: black;
    }



    .navbar:hover * {
        color: black;
    }
    
}

/* Navbar Links */
.logo, .navbar-brand {
    font-size: 1.5em;
    font-weight: bold;
    color: #fff; /* Couleur par défaut */
}

.nav-links {
    list-style: none;
    display: flex;
}

    .nav-links li {
        margin: 0 15px;
    }

    .nav-links a, .nav-link {
        text-decoration: none;
        color: #fff; /* Couleur des liens par défaut */
        font-size: 1em;
        transition: color 0.3s;
    }



/* Fin des styles navbar */

/* Section Collection */
#collection {
    padding: 80px 20px; /* Moins large pour petits écrans */
    text-align: center;

    box-sizing: border-box;
}

    #collection h2 {
        font-size: 2.5em;
        margin-bottom: 50px;
    }

.product-gallery {
    display: grid;
    /* auto-fit + minmax : chaque tuile prend min 250px, s’adapte au reste de la ligne */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px; /* Espace entre les items */
    justify-items: center; /* Centrer chaque item dans sa colonne */
    align-items: start;
    /* Pour l’animation fadeInUp, on peut garder la classe “animated” 
       et jouer sur la visibilité plus tard en JS */
}

.product-item {
    padding: 10px; /* pour éviter que le texte colle aux bords */
    margin: 0; /* déjà géré par le gap de la grille */
    max-width: 300px; /* limite la largeur d’un item */
    border-radius: 4px; /* légère bordure arrondie si désiré */
    transition: transform 0.3s;
}
    .product-item:hover {
        transform: scale(1.05);
    }

    .product-item img {
        width: 100%;
        transition: transform 0.3s;
    }

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

    /* Taille du texte dans les items */
    .product-item h3 {
        margin-top: 15px;
        font-size: 1.2em;
        color: #b1b1b1; /* plus lisible sur fond clair */
    }

    .product-item p {
        margin-top: 10px;
        color: #666;
    }

/* Responsive Design */
@media screen and (max-width: 768px) {
    .nav-links {
        display: none; /* Cache les liens sur mobile */
    }

    .burger {
        display: block;
    }

    .product-gallery {
        flex-direction: column;
        align-items: center;
    }


    /* Désactiver le survol sur mobile */
    nav:hover {
        background-color: black; /* Aucun effet de survol sur mobile */
        color: white;
    }

    .logo {
        width: 50px !important;
        height: 60px !important;
    }
}
/* Fade-In-Up Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fade-Out-Down Animation */
@keyframes fadeOutDown {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(50px);
    }
}


.logo{
    width: 70px;
    height: 80px;
}





