* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
}

.header-container {
    text-align: center;
    background: #333;
    color: #fff;
    padding: 1em 0;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    background: #444;
    padding: 0.5em;
}

nav ul li {
    margin: 0 1em;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
}

section {
    padding: 2em;
    text-align: center;
}

.product-grid {
    display: flex;
    justify-content: space-around;
    gap: 1em;
    flex-wrap: wrap;
}

.product-item img:hover {
    width: 300px; /* Ajustez la largeur pour agrandir l'espace disponible */
    max-width: 100%; /* Limite la largeur à celle de l'écran */
    transform: scale(1.2); /* Agrandit l'image à 120% lorsqu'on la survole */
    transition: transform 0.3s ease;
    padding: 1em;
    margin: 0 auto;
}


.product-item img {
    width: 100%;  /* Pour qu'elles prennent toute la largeur du conteneur */
    height: auto; /* Conserve les proportions d'origine */
    max-width: 300px; /* Ajustez la largeur maximale selon vos besoins */
}


form {
    max-width: 500px;
    margin: auto;
    padding: 1em;
    background: #fff;
    border-radius: 5px;
    border: 1px solid #ddd;
}

form label, form input, form textarea, form button {
    display: block;
    width: 100%;
    margin-bottom: 1em;
}

form button {
    background-color: #333;
    color: #fff;
    border: none;
    padding: 0.5em;
    cursor: pointer;
}

footer {
    text-align: center;
    padding: 1em;
    background: #333;
    color: #fff;
}
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
}

header {
    text-align: center;
    padding: 2em;
    background-color: #333;
    color: white;
}

.galerie {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    padding: 2em;
    justify-content: center;
}

.photo-item {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 200px;
    padding: 10px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.photo-item img {
    width: 100%;
    border-radius: 5px;
    max-height: 150px;
    object-fit: cover;
}

.photo-item p {
    margin-top: 0.5em;
    color: #333;
    font-weight: bold;
}

footer {
    text-align: center;
    padding: 1em;
    background: #333;
    color: #fff;
}
/* Lightbox Overlay */
#lightbox {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9); /* Dark overlay */
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#lightbox .close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
}
.button {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 15px;
    background-color: #0502a0;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
}

.button:hover {
    background-color: #ff0404;
}
/* Style de la fenêtre modale */
.modal {
    display: flex;
    position: fixed;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    font-family: Arial, sans-serif;
}

.modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    width: 300px;
}

button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 10px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
}

button:hover {
    background-color: #45a049;
}

button#noButton {
    background-color: #f44336;
}

button#noButton:hover {
    background-color: #e53935;
}
#cookie-banner {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #333;
    color: white;
    padding: 15px;
    text-align: center;
    z-index: 1000;
    display: none;
    font-size: 14px;
}

#cookie-banner a {
    color: #4CAF50;
    text-decoration: underline;
}

#cookie-banner button {
    background-color: #4CAF50;
    border: none;
    color: white;
    padding: 10px 20px;
    margin-left: 10px;
    cursor: pointer;
}
