/* --- Fonts & base --- */
body {
    font-family: 'Lora', serif;
    background-color: #FFF9F0;
    /* ivoire clair */
    color: #0B1D51;
    /* bleu nuit */
    margin: 0;
    padding: 0;
}

h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
    color: #D4AF37;
    text-align: center;
    margin-bottom: 20px;
}

/* --- Navigation --- */
nav {
    display: flex;
    justify-content: center;
    background-color: #0B1D51;
    /* bleu nuit */
    padding: 15px 0;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

nav a {
    color: #D4AF37;
    /* doré satiné */
    margin: 0 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

nav a:hover {
    color: #FFF9F0;
}

/* --- Container --- */
.container {
    max-width: 900px;
    margin: auto;
    padding: 25px 30px;
    background-color: #FFFFFF;
    /* blanc doux */
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* --- Flash messages --- */
.flash {
    background-color: #FFF3CD;
    color: #856404;
    padding: 10px 15px;
    border-radius: 10px;
    margin-bottom: 15px;
}

/* --- Forms --- */
input[type="text"],
input[type="file"],
button {
    width: 100%;
    padding: 12px 15px;
    margin: 10px 0;
    border-radius: 12px;
    border: 1px solid #B0AFAF;
    font-size: 16px;
    font-family: 'Lora', serif;
}

input[type="text"]:focus,
input[type="file"]:focus {
    border-color: #0B1D51;
    outline: none;
}

button {
    background-color: #D4AF37;
    /* doré */
    color: #0B1D51;
    /* bleu nuit */
    border: none;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover {
    background-color: #BFA233;
}

/* --- Gallery --- */
.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.gallery img {
    max-width: 220px;
    border-radius: 15px;
    border: 3px solid #D4AF37;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
    }

    nav a {
        margin: 10px 0;
    }
}