/* Styles personnalisés */
body{
    font-family: "Playfair Display", serif;
    background-color: #ECECE6
}
/* Pour le carrousel, ajuster la hauteur */
.carousel-item img {
    height: 400px;
    object-fit: cover;
}

/* Section À propos */
section h2 {
    font-size: 2rem;
    color: #CFC7AA;
}

section p {
    font-size: 1.2rem;
    color: #292311;
}

/* Pied de page */
footer p {
    margin: 0;
    font-size: 1rem;
    background-color: #616155
}
.bg-beige {
    background-color: #f5f5dc; /* Beige */

}
.comment-section {
    margin-top: 20px;
}
.comment-box {
    width: 100%;
    height: 100px;
    margin-bottom: 10px;
}
.comment-button {
    padding: 10px 20px;
    background-color: #828367;
    color: white;
    border: none;
    cursor: pointer;
}
.comment-button:hover {
    background-color: #0E0E05;
}
.comment-display {
    margin-top: 20px;
}
.comment {
    border: 1px solid #ccc;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
}


h1 {
    color: black;
}
.address {
    font-size: 1.2em;
    color: #333;
    margin-top: 20px;
}
/* Style pour la carte */
#map {
    height: 400px;
    width: 100%;
    margin-top: 20px;
}

#map,#map iframe{
    width: 100%;
}


.nos-livres .page-cases {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.nos-livres .case {
    width: 200px;
    border: 1px solid #ccc;
    padding: 10px;
    background-color: white;
    text-align: center;
}



.flip-card {
    background-color: transparent;
    width: 100%;
    height: 320px;
    perspective: 1000px;
    margin-bottom: 20px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    border-radius: 2rem;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 2rem;
    padding: 1rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    background-color: white;
}

.flip-card-front {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.flip-card-back {
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
