/* Couleurs nature */
:root {
    --vert: #6D7E63;
    --vert-clair: #8fbc8f;
    --beige: #f5f5dc;
    --marron: #5a4634;
    --blanc: #ffffff;
}

/* Style global */
body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    background: var(--beige);
    color: var(--marron);
}

/* Header */
header {
    background: var(--vert);
    color: #000;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

header .container {
    width: 90%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav a {
    color: #000;
    margin-left: 20px;
    text-decoration: none;
    font-weight: bold;
}

nav a:hover {
    text-decoration: underline;
}

/* Section accueil */
.hero {
    background: url("images/accueil.jpg") center/cover;
    text-align: center;
    padding: 120px 20px;
    color: var(--blanc);
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.btn {
    display: inline-block;
    background: var(--vert);
    color: var(--blanc);
    padding: 12px 25px;
    margin-top: 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.btn:hover {
    background: var(--vert-clair);
}

/* Sections */
.section {
    padding: 50px 20px;
    width: 90%;
    margin: auto;
    background: var(--blanc);
    border-radius: 10px;
    margin-top: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Formulaire */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 400px;
    margin: auto;
}

input, textarea {
    padding: 12px;
    border: 1px solid var(--vert-clair);
    border-radius: 5px;
    background: #f8f6f7;
}

button {
    padding: 12px;
    background: var(--vert);
    color: var(--blanc);
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background: var(--vert-clair);
}

/* Footer */
footer {
    background: var(--vert);
    color: var(--blanc);
    text-align: center;
    padding: 15px;
    margin-top: 40px;
}

.bio-container img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 30px;
}

.step-card {
    background: var(--blanc);
    padding: 20px;
    border-left: 6px solid var(--vert);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.step-card h3 {
    margin-top: 0;
    color: var(--vert);
}

.step-card p {
    margin: 10px 0 0;
    line-height: 1.6;
}

.animal-container {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
    margin-top: 30px;
}

.animal-card {
    background: var(--blanc);
    padding: 20px;
    width: 300px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
}

.animal-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.animal-card h3 {
    color: var(--vert);
    margin-top: 15px;
}

.galerie-container img {
    width: 180px;
    height: 130px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

#contact ul {
    margin-top: 20px;
    line-height: 1.8;
    list-style-type: "🌿 ";
    padding-left: 10px;
}

.ecrits-container {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 30px;
    justify-content: center;
}

.ecrit-card {
    background: var(--blanc);
    padding: 20px;
    width: 300px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.ecrit-card h3 {
    color: var(--vert);
}

.btn-telecharger {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: var(--vert);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.btn-telecharger:hover {
    background: var(--vert-clair);
}

.magique {
    font-family: 'Great Vibes', cursive;
    font-size: 40px;
    color: #070706;
    text-shadow: 0 0 6px rgba(100, 150, 80, 0.3);
}

.magique-updock {
    font-family: 'Updock', cursive;
    font-size: 40px; /* tu peux augmenter ou réduire */
    color: #4a7c2c; /* ton vert nature */
}

.titre-magique {
    font-family: 'Updock', cursive;
    font-size: 45px;
    color: #4a7c2c;
    text-shadow: 0 0 6px rgba(100, 150, 80, 0.3);
}

.petit-texte {
    font-family: 'Great Vibes', cursive;
    color: #070706;
    font-size: 23px; /* tu peux mettre la taille que tu veux */
}

/* Icône hamburger */
.hamburger {
    display: none;
    font-size: 32px;
    cursor: pointer;
    color: white; /* change si ton header est clair */
}

/* Menu mobile caché */
#menu {
    transition: max-height 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
    nav {
        display: none;
        flex-direction: column;
        background: var(--vert); /* ou la couleur de ton header */
        padding: 20px;
    }

    nav a {
        margin: 10px 0;
        font-size: 20px;
    }

    .hamburger {
        display: block;
    }

    nav.open {
        display: flex;
    }
}
