/* Configuration de base pour la page de détails */
.details-section {
    padding: 200px 200px;
    background-color: #ffff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.details-container {
    max-width: 1200px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    background: #ffff;
    padding: 20px;
    border-radius: 0px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0);
}

.image-wrapper {
    flex: 1;
    min-width: 300px;
}

.image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.details-content {
    flex: 2;
    margin: 0px 100px;
    min-width: 300px;
}

.details-content h2 {
    font-size: 36px;
    margin: 0px 0px;
    font-weight: 700;
    color: #333;
}

.artist-name, .date {
    font-size: 18px;
    color: #555;
    margin: 10px 40px;
}

.description {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

.back-link {
    display: inline-block;
    margin-top: 20px;
    font-size: 16px;
    color: #000;
    text-decoration: none;
    border: 1px solid #000;
    padding: 10px 20px;
    border-radius: 10px;
    transition: background-color 0.3s, color 1.2s;
}

.back-link:hover {
    background-color: #000;
    color: #f9f5d8;
}

/* Animation pour faire apparaître les éléments en douceur */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

/* Effet de zoom à l'image au survol */
.zoom {
    transition: transform 0.3s ease;
}

.zoom:hover {
    transform: scale(1.8);
}

/* Pour appliquer la classe d'animation après le chargement de la page */
.details-container .fade-in {
    opacity: 1;
    transform: translateY(0);
}
/* Styles de base pour le header */
.main-header {
    background-color: transparent;
    color: #f4f4f4; /* Couleur du texte par défaut */
    transition: background-color 0.8s, box-shadow 0.8s; /* Transition fluide */
    padding: 20px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

/* Styles pour le header lorsque la page est défilée */
.header-scrolled {
    background-color: #ffffff; /* Couleur de fond lorsque défilé */
    color: #f4f4f4; /* Couleur du texte lorsque défilé */
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.6); /* Ombre pour plus de contraste */
}
