/* styles.css */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
}

header {
    background-color: #333;
    color: #fff;
    padding: 20px;
    text-align: center;
}

h1 {
    margin: 0;
    font-size: 32px;
}

main {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
}


header {
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    height: 50px; /* Adjust based on your logo's size */
}

.whatsapp-contact a {
    display: flex;
    align-items: center;
    color: #fff;
    text-decoration: none;
}

.whatsapp-icon {
    height: 24px; /* Adjust based on the icon's size */
    margin-right: 10px;
}


.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: 20px;
}

.product {
    background-color: #fff;
    border-radius: 5px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.product img {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 10px;
}

.product-info h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.product-info p {
    margin-bottom: 10px;
}

.price {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.whatsapp-button {
    display: inline-block;
    background-color: #25D366;
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    margin-top: 10px;
}

.product-link {
    text-decoration: none;
    color: inherit;
}

.product-detail {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.product-detail img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
    border-radius: 5px;
}

.back-button {
    display: inline-block;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    margin-top: 20px;
}

/* Centering the container of the buttons */
.product-detail {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Styling the buttons */
.whatsapp-button, .back-button {
    display: inline-block; /* Keep the buttons inline */
    margin: 10px auto; /* Add some space around the buttons and center horizontally */
    text-align: center; /* Ensure text inside the button is centered */
}

/* Additional styling for the buttons to make them look more button-like, adjust as needed */
.whatsapp-button, .back-button {
    padding: 10px 20px; /* Button padding */
    border: none; /* Remove border */
    border-radius: 5px; /* Rounded corners */
    color: #fff; /* White text */
    text-decoration: none; /* Remove underline from links */
    cursor: pointer; /* Change cursor to pointer */
}

/* Specific styles for the WhatsApp button */
.whatsapp-button {
    background-color: #25D366; /* WhatsApp green */
}

/* Specific styles for the back button */
.back-button {
    background-color: #333; /* Dark gray */
}


.original-price {
    text-decoration: line-through;
    color: #888;
    font-size: 14px;
    margin-right: 5px;
}

.promo-price {
    color: #ff5722;
    font-size: 18px;
    font-weight: bold;
}
@media screen and (max-width: 768px) {
    main {
        padding: 10px;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        grid-gap: 10px;
    }

    .product {
        padding: 10px;
    }

    .product img {
        max-height: 150px;
    }

    .product-info h2 {
        font-size: 20px;
    }

    .price {
        font-size: 16px;
    }

    .product-detail {
        padding: 10px;
    }
}


.carousel {
    position: relative;
    max-width: 1200px;
    margin: 20px auto;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.carousel-items {
    display: flex;
    overflow: hidden;
}

.carousel-item {
    flex: 0 0 auto;
    width: 100%;
    transition: transform 0.5s ease;
}

.carousel-item img {
    width: 100%;
    display: block;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.5);
    color: white;
    padding: 10px;
    cursor: pointer;
}

.prev {
    left: 0;
}

.next {
    right: 0;
}


.our-mission {
    background-color: #ffffff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    max-width: 1200px;
    padding: 20px;
    text-align: center;
}

.our-mission h2 {
    color: #333;
    margin-bottom: 15px;
}

.our-mission p {
    color: #666;
    font-size: 16px;
    line-height: 1.5;
}
.consultation-section {
    background-color: #ffffff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    max-width: 1200px;
    padding: 20px;
    text-align: center;
}

.consultation-section h2 {
    color: #333;
    margin-bottom: 15px;
}

.consultation-section p {
    color: #666;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.whatsapp-consultation-button {
    background-color: #25D366;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}
.category-section h3 {
    text-align: center;
    color: #333;
    margin-top: 30px; /* Ajoute de l'espace au-dessus des titres des catégories */
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: 20px;
    margin-bottom: 20px; /* Ajoute de l'espace en bas de chaque grille de produits */
}
.category-logo {
    display: block;
    max-width: 100px; /* Ajustez cette valeur selon la taille souhaitée pour les logos */
    height: auto;
    margin: 0 auto 20px; /* Centre le logo et ajoute de l'espace au-dessus et en dessous */
}

.category-section h3 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}
.product-view {
    display: inline-block;
    background-color: #333; /* Dark background for visibility */
    color: #fff; /* White text color */
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    margin-top: 20px; /* Add some space above */
    text-align: center;
    cursor: pointer; /* Indicates it's clickable */
}

