/* Locavore - Styles CSS */

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5efed;
    color: #333;
    line-height: 1.6;
}

/* Header */
header {
    background-color: #75b728;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    max-width: 140px;
    height: auto;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

nav a:hover {
    text-decoration: underline;
}

/* Main */
main {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

/* Sections */
section {
    background-color: white;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
}

h1 {
    color: #75b728;
    font-size: 1.8em;
    margin-top: 0;
}

h2 {
    color: #c41b28;
    border-bottom: 2px solid #75b728;
    padding-bottom: 8px;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

.intro img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    margin-top: 15px;
}

.photos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 15px;
}

.photos img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Engagement */
.engagement-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.coeur {
    max-width: 150px;
    height: auto;
}

/* Form */
.champ {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

input[type="text"],
select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
    box-sizing: border-box;
}

.bouton {
    background-color: #75b728;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
}

.bouton:hover {
    background-color: #5a8e1f;
}

.img-paniers {
    width: 100%;
    max-height: 250px;
    object-fit: cover;
    margin-bottom: 15px;
}

/* Links */
a {
    color: #75b728;
}

/* Footer */
footer {
    background-color: #75b728;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 30px;
}

footer a {
    color: white;
    font-weight: bold;
}

/* Responsive */
@media (max-width: 600px) {
    header {
        flex-direction: column;
        text-align: center;
    }

    nav ul {
        margin-top: 10px;
    }

    .photos {
        grid-template-columns: 1fr;
    }

    .engagement-content {
        flex-direction: column;
        text-align: center;
    }
}
