/* Styles généraux */
body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo img {
    max-height: 50px; /* Ajustez la hauteur du logo */
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #007bff; /* Couleur bleue principale */
}

.header-actions {
    display: flex;
    align-items: center;
}

.search-bar {
    display: flex;
    margin-right: 20px;
}

.search-bar input[type="text"] {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px 0 0 5px;
    font-size: 0.9em;
}

.search-bar button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 8px 10px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    font-size: 0.9em;
}

.search-bar button i {
    font-size: 1em;
}

.cart a, .account a {
    color: #333;
    text-decoration: none;
    margin-left: 15px;
    font-size: 0.9em;
}

.cart a i, .account a i {
    margin-right: 5px;
    font-size: 1.1em;
}

/* Hero Section */
#hero {
    padding: 40px 0;
    background-color: #eee; /* Couleur de fond de la bannière */
}

#hero .container {
    /* Styles pour le contenu de la bannière si nécessaire */
}

#hero .hero-image img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Featured Categories */
#featured-categories {
    padding: 30px 0;
    text-align: center;
}

#featured-categories h2 {
    margin-bottom: 20px;
    color: #333;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.category-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-item a:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.category-item img {
    max-width: 80px;
    height: auto;
    margin-bottom: 10px;
}

.category-item span {
    font-weight: bold;
}

/* Products Section */
#products {
    padding: 30px 0;
    background-color: #f9f9f9;
    text-align: center;
}

#products h2 {
    margin-bottom: 20px;
    color: #333;
}

#products .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

#products .product-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
}

#products .product-image {
    padding: 10px;
}

#products .product-image img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

#products .product-details {
    padding: 15px;
}

#products .product-details h3 {
    font-size: 1.1em;
    margin-top: 0;
    margin-bottom: 10px;
    min-height: 50px; /* Ajustez si nécessaire */
    display: flex;
    align-items: center;
    justify-content: center;
}

#products .product-details .price {
    color: #dc3545;
    font-weight: bold;
    margin-bottom: 10px;
}

#products .product-details .add-to-cart {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9em;
    margin-bottom: 5px;
    transition: background-color 0.3s ease;
}

#products .product-details .add-to-cart:hover {
    background-color: #1e7e34;
}

#products .product-details .product-details-link {
    display: block;
    color: #007bff;
    text-decoration: none;
    font-size: 0.85em;
    margin-top: 5px;
}

#products .product-details .product-details-link:hover {
    text-decoration: underline;
}

#products .view-all-products {
    margin-top: 30px;
}

#products .view-all-products a {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

#products .view-all-products a:hover {
    background-color: #0056b3;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    padding: 30px 0;
    text-align: center;
    font-size: 0.9em;
}

footer .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    text-align: left;
}

footer h3 {
    color: white;
    margin-bottom: 15px;
}

footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer ul li {
    margin-bottom: 8px;
}

footer ul li a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer ul li a:hover {
    color: white;
}

footer .footer-contact p {
    margin-bottom: 8px;
}

footer .footer-contact i {
    margin-right: 5px;
}

footer .footer-social {
    text-align: center;
}

footer .footer-social h3 {
    text-align: left;
}

.social-icon {
    display: inline-block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #555;
    color: white;
    text-align: center;
    line-height: 30px;
    margin-right: 10px;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

.social-icon:hover {
    background-color: #007bff;
}

footer .footer-copyright {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #555;
}

/* Responsive Design (Media Queries) */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        align-items: flex-start;
    }

    header .logo {
        margin-bottom: 10px;
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin: 10px 0;
