/* Général */
body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    background-color: #6071e1a7;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #111;
    padding: 1em 2em;
    color: white;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2em;
}

.nav-links li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: #5822f9;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}
.logo img {
    height: 90px;
    width: auto;
}

.hero-container{
     position: relative;
    text-align: center;
    border-radius: 10px;
    border: 10px solid rgb(220, 220, 219);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.903);
    padding: 0;
}
.image-accueil {
    width: 100%; /* L'image prend toute la largeur */
    height: auto;
    display: block;
}

.hero-text {
    position: absolute;
    top: 50%; /* Place le texte au centre vertical */
    left: 50%; /* Place le texte au centre horizontal */
    transform: translate(-50%, -50%); /* Centrage parfait */
    color: #090909; /* Texte en blanc pour ressortir sur l'image */
    background-color: rgba(86, 35, 255, 0.987); /* Ombre noire semi-transparente pour améliorer la visibilité du texte */
    padding: 20px;
    border-radius: 10px;
    max-width: 80%; /* Limite la largeur du texte */
    font-size: 20px; /* Taille du texte */
    line-height: 1.6; /* Espacement des lignes */
}

.hero-text h1 {
    font-size: 2.5em;
    line-height: 1.3;
}
.footer h5{
    color: #ffffff;
    font-size: 1.5em;
    line-height: 1.3;
}

/* Grille Produits */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 2em;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 25px rgba(0,0,0,0.2);
}
  .product-card {
    background-color: white;
    padding: 1em;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1em;
}

.product-card h3 {
    margin: 0.5em 0;
    font-size: 1.2em;
    color: #000000;
}

.product-card .btn {
    display: inline-block;
    margin-top: 0.5em;
    padding: 10px 20px;
    background-color: #111;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.product-card .btn:hover {
    background-color: #311bf1;
    color: #000;
}
.product-card video {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1em;
}

.footer {
    background-color: #111;
    padding: 20px 0;
    text-align: center;
}

.social-icons a {
    color: white;
    margin: 0 15px;
    font-size: 1.8em;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #3824ea;
}

.footer-signature {
    margin-top: 10px;
    font-size: 0.95em;
    color: #ccc;
    position: center;
}

.footer-signature span {
    font-weight: bold;
    color: white;
}
.commande-container {
    max-width: 600px;
    margin: 50px auto;
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

.commande-container h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #000000;
}

form {
    display: flex;
    flex-direction: column;
}

label {
    margin-top: 15px;
    margin-bottom: 5px;
    color: #555;
}

input,
select,
textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
}

textarea {
    resize: vertical;
}

.btn-whatsapp {
    display: inline-block;
    background-color: #000000;
    color: white;
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    text-align: center;
}

.btn-whatsapp:hover {
    background-color: #2930f6;
}

 
@media (max-width: 768px) {
    .product-container {
        display: grid;
        grid-template-columns: repeat(4, minmax(80px, 1fr)); /* Rend chaque élément plus petit */
        gap: 5px;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    /* CORPS DE PAGE */
    body {
        font-size: 16px;
        padding: 0 10px;
        overflow-x: hidden;
        background-color: #6071e1a7;
    }

    h1, h2, h3 {
        text-align: center;
    }

    .footer h5 {
        color: #f9f9f9;
        font-size: 1.5em;
        line-height: 1.3;
    }

    /* PRODUITS EN GRILLE */
    .product-container {
        display: grid;
        grid-template-columns: repeat(4, 1fr); /* 2 colonnes (ou mets 4 si l’écran est suffisant) */
        gap: 10px;
    }

    .product-card {
        width: 100%;
        margin: 0;
        text-align: center;
    }

    .product-card img {
        width: 100%;
        height: auto;
    }

    .btn {
        padding: 10px 20px;
        font-size: 16px;
    }
}
