/* ========== Style global ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Lora', serif;
}

body {
    background-color: #9B1C2F;
    color: #5C5C5C;
    text-align: center;
    padding: 0 10px;
}

/* ========== Cadre central beige ========== */
.cadre-total {
    background-color: #D9CBA7;
    max-width: 1100px;
    margin: 20px auto;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* ========== Bannières latérales ========== */
body::before, body::after {
    content: "";
    position: fixed;
    top: 0;
    bottom: 0;
    width: 3.5%;
    background-color: #9B1C2F;
    z-index: -1;
}

body::before {
    left: 0;
}
body::after {
    right: 0;
}

/* ========== Navigation dans l'en-tête ========== */
header {
    background-color: #9B1C2F;
    padding: 20px 0;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

header nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

header nav a {
    color: #F1E6D6;
    text-decoration: none;
    font-size: 1.2em;
    font-family: 'Playfair Display', serif;
    text-transform: uppercase;
    margin: 10px 20px;
    transition: color 0.3s ease, text-decoration 0.3s ease, transform 0.3s ease;
}

header nav a.active,
header nav a:hover {
    text-decoration: underline;
    color: #FFF;
}

/* ========== Section principale ========== */
section {
    background-color: #F1E6D6;
    padding: 20px;
    max-width: 600px;
    margin: 0 auto 40px auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

section h1, section h2 {
    color: #9B1C2F;
    text-shadow: 0 0 20px #f5f5dc;
    font-size: 1.8em;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin-bottom: 10px;
}

p, ul {
    color: #5C5C5C;
    font-size: 1.2em;
    font-family: 'Roboto', Arial, sans-serif;
    list-style-type: none;
    margin-bottom: 10px;
    word-wrap: break-word; /* Pour éviter débordement texte */
}

section li a {
    color: #9B1C2F;
    font-size: 1.1em;
    font-family: 'Playfair Display', serif;
    text-decoration: none;
    transition: color 0.3s ease;
    word-break: break-word;
}

section li a:hover {
    color: #800020;
}

/* ========== Image (ex : plan ou boutique) ========== */
section img {
    max-width: 100%;
    height: auto;
    margin-top: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.section-rappel {
    max-width: 600px;
    margin: 0 auto 40px auto;
    padding: 0;
}

.rappel-contour {
    background-color: #F1E6D6;
    border-radius: 10px;
    padding: 20px;
    border: 3px solid #f5f5f5;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.photo {
    border: 3px solid #9B1C2F;
    display: block;
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
}

.photo-container {
    border: 3px solid #9B1C2F;
    padding: 10px;
    border-radius: 10px;
    background-color: #F1E6D6;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* ========== Liens réseaux sociaux ========== */
.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.social-links a img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

.social-links a:hover img {
    transform: scale(1.1);
}

/* ========== Footer ========== */
footer {
    background-color: #9B1C2F;
    color: #F1E6D6;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9em;
    font-family: 'Lora', serif;
    line-height: 1.5;
    margin-top: 40px;
    border-radius: 10px;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
}

footer p {
    color: #F1E6D6;
    font-size: 0.9em;
    margin: 0;
    padding: 0;
}

/* ========== Responsive ========== */
/* ----------- Max-width 1024px ----------- */
@media (max-width: 1024px) {
    header {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;
    }

    section {
        width: 80%;
        margin: 0 auto 40px auto;
        padding: 20px;
    }

    section h1, section h2 {
        font-size: 1.6em;
    }

    p, ul {
        font-size: 1.1em;
    }

    .photo {
        max-width: 100%;
        height: auto;
    }

    #map {
        height: 300px;
    }

    footer {
        padding: 15px 0;
    }

    footer p {
        font-size: 0.85em;
    }
}

/* ----------- Max-width 768px ----------- */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;
    }

    section {
        width: 90%;
        margin: 0 auto 30px auto;
        padding: 15px;
    }

    section h1, section h2 {
        font-size: 1.4em;
    }

    p, ul {
        font-size: 1em;
    }

    .photo {
        max-width: 100%;
        max-height: 300px;
        object-fit: cover;
    }

    #map {
        height: 250px;
    }

    .social-links {
        flex-direction: column;
        gap: 10px;
    }

    footer {
        padding: 10px 0;
    }

    footer p {
        font-size: 0.8em;
    }
}

/* ----------- Max-width 480px ----------- */
@media (max-width: 480px) {
    header {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 15px;
    }

    section {
        width: 100%;
        padding: 10px 15px;
        margin-bottom: 25px;
    }

    section h1, section h2 {
        font-size: 1.2em;
    }

    p, ul {
        font-size: 0.9em;
    }

    .photo {
        max-width: 100%;
        max-height: 200px;
        object-fit: cover;
    }

    #map {
        height: 200px;
    }

    .social-links a img {
        width: 35px;
        height: 35px;
    }

    footer p {
        font-size: 0.75em;
    }
}
