/* Styles généraux */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.2;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background-color: #4CAF50;
    color: white;
    padding: 1em 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

header h1 {
    margin: 0;
    font-size: 2em;
}

nav {
    margin-top: 1em;
    width: 100%;
    background-color: #3E8E41;
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 2em;
}

nav ul li {
    display: inline;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.1em;
    padding: 0.5em 1em;
    display: block;
}

nav ul li a:hover {
    background-color: #2E7031;
    border-radius: 5px;
}

main {
    flex: 1;
    padding: 2em;
}

footer {
    background-color: #4CAF50;
    color: white;
    text-align: center;
    padding: 1em 0;
    position: relative;
    bottom: 0;
    width: 100%;
}

/* Boutons Contactez-nous */
.contact-button-container {
    text-align: center;
    margin: 20px 0;
}

.contact-button {
    display: inline-block;
    background-color: #4CAF50;
    color: white;
    font-size: 1.5em;
    font-weight: bold;
    text-decoration: none;
    padding: 15px 25px;
    border-radius: 5px;
    margin: 10px;
    transition: background-color 0.3s ease;
}

.contact-button:hover {
    background-color: #3E8E41;
}

/* Réseaux sociaux */
.social-links {
    text-align: center;
    margin: 20px 0;
    display: flex;
    justify-content: center;
    gap: 20px; /* Espacement entre les icônes */
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333; /* Couleur du texte */
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-link img {
    width: 60px; /* Taille des icônes */
    height: 60px;
    transition: transform 0.3s ease;
}

.social-link span {
    margin-top: 5px;
    font-size: 1.2em; /* Taille du texte en dessous des icônes */
}

.social-link:hover {
    transform: scale(1.1); /* Zoom sur toute la zone du lien */
    color: #4CAF50; /* Couleur du texte au survol */
}

.social-link img:hover {
    transform: scale(1.2); /* Zoom uniquement sur l'icône au survol */
}

/* Catégories de produits */
.category-title, .product-category-title {
    background-color: #f4f4f4;
    padding: 0.5em;
    font-size: 1.5em;
    color: green;
    margin-bottom: 1em;
}

.product-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5em;
}

.product-image {
    width: 100px; /* Taille maximale de l'image */
    height: auto;
    margin-right: 1em;
}

.price, .new-price {
    font-weight: bold;
    color: red;
    font-size: 1.1em;
}

.old-price {
    text-decoration: line-through;
    color: grey;
    margin-right: 0.5em;
}

details summary {
    cursor: pointer;
    font-weight: bold;
    padding: 0.3em 0;
    margin-left: 20px;
    position: relative;
}

details summary:hover {
    background-color: #e0e0e0;
    color: #333;
}

details summary::before {
    content: '•';
    position: absolute;
    left: -20px;
}

details ul {
    list-style-type: none;
    padding: 0;
}

details ul li {
    display: flex;
    align-items: center;
    margin-bottom: 0.5em;
}

details ul li img {
    width: 100px;
    height: auto;
    margin-right: 1em;
}

/* FAQ */
.faq {
    background-color: #f9f9f9;
    padding: 2em;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    margin-top: 2em;
}

.faq h3 {
    color: #3E8E41;
    font-size: 1.8em;
    margin-bottom: 1em;
    text-align: center;
    border-bottom: 2px solid #4CAF50;
    padding-bottom: 0.5em;
}

.question {
    margin-bottom: 1.5em;
    padding: 1em;
    border-left: 4px solid #4CAF50;
    background-color: #ffffff;
    border-radius: 5px;
}

.question h4 {
    margin-top: 0;
    color: #2E7031;
    font-size: 1.2em;
}

.question p {
    margin: 0.5em 0 0 0;
    font-size: 1em;
    color: #333;
}

/* Galerie */
.galerie {
    margin-bottom: 3em;
}

.galerie h3 {
    font-size: 1.6em;
    color: #3E8E41;
    margin-bottom: 0.5em;
}

/* Galerie d'images avec effet au survol */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2em;
    margin-top: 1.5em;
}

.gallery-grid img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.gallery-grid img:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 5px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

/* Effet visuel sur les images de la page d'accueil */
.photo-row {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    margin-bottom: 20px;
}

.photo-row a {
    flex: 1;
    display: block;
    margin: 0 5px; /* Réduit l'espacement entre les images */
}

.photo-row img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.photo-row img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

/* Styles pour le conteneur de la vidéo */
.video-container {
    text-align: center;
    margin: 20px 0;
}

.video-container iframe {
    width: 100%;
    max-width: 560px;
    height: 315px;
}

/* Avis Google */
.location {
    text-align: center;
    margin-top: 20px;
}
.google-review {
    text-align: center;
    margin-top: 20px;
}
.google-review a {
    font-size: 1.5em; /* Agrandir la police du lien */
}
.stars {
    color: gold;
    font-size: 2em; /* Taille des étoiles */
}

/* Centrer le logo */
.centered-logo {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 150px;
}

/* Promotions */
.promotion {
    border: 5px solid black;
    padding: 10px;
    text-align: center;
    font-weight: bold;
    font-size: 1.4em;
    animation: blink 4s infinite;
    color: black;
}

.promotion .price {
    color: red;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}