/* /* Styles généraux */
body {
    font-family: 'Lora', serif;
    background-color: #f8f5f0;
    color: #2f4538;
    margin: 0;
    padding: 0;
    line-height: 1.8;
    font-size: 19px;
}

/* --- Header & Menu --- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: #f8f5f0;
    border-top: 8px solid #a9c8b7;
}

.logo {
    height: 60px;
}

nav {
    display: flex;
    align-items: center;
}

.menu {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu li {
    position: relative;
    margin: 0 20px;
}

.menu a {
    text-decoration: none;
    color: #2c4c3b;
    font-size: 18px;
    font-weight: bold;
    transition: color 0.3s ease;
    text-transform: uppercase;
}

.menu a:hover {
    color: #4a7c64;
}

/* Styles du bouton hamburger */
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 50px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    position: absolute;
    left: 20px;
    top: 20px;
    z-index: 100;
}

.hamburger span {
    display: none;
    width: 100%;
    height: 4px;
    background-color: #333;
    transition: all 0.3s ease-in-out;
}

/* Animation du hamburger */
.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Menu visible */
.menu.active {
    display: block;
}

/* --- Présentation de l'artiste --- */
.presentation {
    display: flex;
    align-items: center;
    padding: 60px;
    gap: 50px;
    border-radius: 12px;
    margin: 30px auto;
    max-width: 1200px;
    justify-content: space-between;
}

.presentation img {
    width: 320px;
    border-radius: 12px;
    box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.presentation img:hover {
    transform: scale(1.05);
    box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.25);
}

.text {
    max-width: 550px;
}

h1, h2 {
    font-size: 30px;
    margin-bottom: 15px;
    color: #2c4c3b;
    font-family: 'Playfair Display', serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    background: #2c4c3b;
    color: #fff;
    text-decoration: none;
    margin-top: 15px;
    border-radius: 8px;
    font-size: 18px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn:hover {
    background: #4a7c64;
    transform: translateY(-2px);
}

/* --- Galerie dynamique --- */
.galerie {
    text-align: center;
    padding: 50px;
    border-radius: 10px;
    margin: 20px auto;
    max-width: 1200px;
}

.grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.oeuvre {
    width: 260px;
    transition: all 0.4s ease-in-out;
    border-radius: 10px;
    box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.15);
}

.oeuvre:hover {
    transform: scale(1.1);
    box-shadow: 6px 6px 18px rgba(0, 0, 0, 0.25);
}

/* --- Footer --- */
footer {
    text-align: center;
    padding: 4vw;
    background: #1d3324;
    color: #fff;
    font-size: 16px;
    border-bottom: 8px solid #a9c8b7;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    header {
        flex-direction: column;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger span {
        display: flex;
    }
    
    .menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #1d3324;
        color: white;
        padding-top: 60px;
        text-align: left;
    }

    .menu.active {
        position: fixed;
    width: 100vw;
    height: 100vh;
    left: 0;
    top: 0;
    padding: 6em 6% 3em;
    margin-bottom: 0;
    background: #1d3324;
    color: white;
    overflow-y: auto;
    }

    .menu li {
        font-size: 30px;
        color: white;
    }
    
    .menu a {
        color: white;
        font-size: 25px;
    }
    .presentation {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }
    
    .presentation img {
        width: 90%;
    }
    
    .grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 10px;
        padding-bottom: 10px;
    }
    
    .grid::-webkit-scrollbar {
        display: none;
    }
    
    .oeuvre {
        width: 80%;
        flex: 0 0 auto;
        scroll-snap-align: center;
    }
}