/* --- DA pour la page Musique --- */

/* On importe une police qui fait plus "musique", par exemple de Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@400;700&display=swap');

body.musique-page {
    background-image: url('imagemusique/crowd.jpg');

    /* Les réglages pour que l'image soit parfaite */
    background-size: cover; /* Remplit l'écran sans déformer */
    background-position: center center; /* Centre l'image */
    background-attachment: fixed; /* Effet parallax stylé au scroll */
    background-repeat: no-repeat; /* Empêche la répétition */
    
    /* Le reste ne change pas */
    color: #E0E0E0; 
    font-family: 'Roboto Mono', monospace;
    margin: 0;
    padding: 0;
}

/* --- Header Spécifique --- */
.musique-header {
    text-align: center;
    padding: 40px 20px;
    background: url(images/header-texture.png) #181818; /* Une texture subtile sur un fond sombre */
    border-bottom: 2px solid #282828;
}

.musique-logo {
    width: 100px;
    height: 100px;
    border-radius: 50%; /* Un logo rond */
    border: 3px solid #E0E0E0;
    margin-bottom: 20px;
}

.musique-header h1 {
    margin: 0;
    font-size: 3em;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 5px; /* Espace entre les lettres pour un look "logo" */
}

.back-home-link {
    position: absolute;
    top: 20px;
    left: 20px;
    display: block;
    width: 100px; 
    transition: transform 0.2s ease-in-out;
}

.back-home-link:hover {
    color: #FFFFFF;
}

.back-home-link img {
    width: 100%; /* L'image prend 100% de la taille de son parent (le <a>) */
    height: auto;
    display: block;
}

/* --- Contenu Principal --- */
.musique-content {
    max-width: 900px; /* Contenu centré et lisible */
    margin: 40px auto;
    padding: 0 20px;
}

.album-focus h2, .playlist-section h2 {
    font-size: 2em;
    border-bottom: 1px solid #282828;
    padding-bottom: 10px;
    margin-bottom: 30px;
}

.album-card {
    display: flex;
    gap: 30px;
    background-color: #181818;
    padding: 20px;
    border-radius: 8px;
}

.album-card img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
}

.album-info h3 {
    margin-top: 0;
}

.listen-link {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #1DB954; /* Vert Spotify */
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    transition: background-color 0.2s;
}

.listen-link:hover {
    background-color: #1ED760;
}

/* --- Footer --- */
.musique-footer {
    text-align: center;
    padding: 20px;
    margin-top: 50px;
    color: #B3B3B3;
    font-size: 0.8em;
    border-top: 1px solid #282828;
}