/* Global Styles */
body {
    background: #0e0e0e;
    color: #8a8a8a; /* Gris métallisé */
    font-family: 'Orbitron', sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

/* Header Section with Background Image */
header {
    background: url('files/images/banners/banner-bg.jpg') no-repeat center center; /* Assurez-vous que le chemin est correct */
    background-size: contain; /* L'image couvre toute la taille de l'élément */
    padding: 40px;
    font-size: 3em;
    color: #00FFFF; /* Bleu électrique */
    text-shadow: 0 0 20px #8a8a8a; /* Ombre gris métallisé */
    width: 100%;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative; /* Nécessaire pour positionner le texte par-dessus */
    height: 400px; /* Augmenté pour afficher une image de fond plus grande */
}

/* Header Text (h1) Styling */
header h1 {
    position: relative; /* Assurez-vous que le texte est au-dessus de l'image */
    z-index: 2; /* Assurez que le texte est au-dessus de l'image */
}

/* Navigation Bar */
nav {
    display: flex;
    justify-content: center; /* Centrage des liens de navigation */
    gap: 30px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.8);
    box-shadow: 0 4px 10px #8a8a8a;
    width: 100%;
}

nav a {
    color: #858585; /* Rouge foncé */
    text-decoration: none;
    font-size: 1.2em;
    position: relative;
    transition: color 0.3s;
}

nav a:hover {
    color: #B0B0B0; /* Gris clair lors du survol */
}

nav a:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #00FFFF;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

nav a:hover:before {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Content and Sections */
.content {
    width: 80%;
    max-width: 1200px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 10px;
    padding: 30px;
    margin-top: 20px;
    box-shadow: 0 4px 15px #8a8a8a;
}

/* news */
.download-section {
    margin: 50px 0;
    padding: 20px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 15px;
    box-shadow: 0 0 25px #8a8a8a;
}

.download-section h2 {
    font-size: 1.5em;
    margin-bottom: 30px;
    color: #00FFFF; /* Bleu électrique */
}

/* Effect only for title link */
.download-section .track a {
    color: #500f0f; /* Rouge foncé */
    font-size: 1.5em;
    text-decoration: none;
    position: relative;
    transition: color 0.3s, text-shadow 0.3s;
}

.download-section .track a:hover {
    color: #00FFFF; /* Bleu électrique au survol */
    text-shadow: 0 0 15px #00FFFF, 0 0 10px #00FFFF; /* Lueur bleue autour du texte */
}

.download-section .track a:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #00FFFF; /* Lueur néon bleue */
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

.download-section .track a:hover:before {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Simple Download Button (without effects) */
.buttons {
    display: none; /* Buttons hidden by default */
    gap: 10px;
    margin-top: 10px;
    justify-content: center;
}

.buttons a {
    color: white;
    padding: 10px 20px;
    background: #8a8a8a;
    border-radius: 10px;
    text-decoration: none;
    transition: none; /* Suppression de l'effet de transition sur le bouton */
}

.buttons a:hover {
    background: #8a8a8a; /* Pas de changement de fond lors du survol */
    text-shadow: none; /* Pas d'ombre ni d'effet au survol */
}

/* When title link is hovered, show download button */
.track:hover .buttons {
    display: flex; /* Show buttons when title is hovered */
}

/* Contact Section */
form {
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 0 25px #8a8a8a;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 600px;
    margin: auto;
}

form label {
    font-size: 1.2em;
    color: #00FFFF;
}

form input,
form textarea {
    background: #0e0e0e;
    color: #8a8a8a;
    padding: 10px;
    border-radius: 10px;
    border: none;
    font-size: 1em;
}

form textarea {
    height: 150px;
}

form button {
    padding: 10px 20px;
    background: #00FFFF;
    color: #0e0e0e;
    border: none;
    border-radius: 10px;
    font-size: 1.2em;
    cursor: pointer;
    transition: background 0.3s;
}

form button:hover {
    background: #008c8c;
}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.8);
    padding: 20px;
    color: #8a8a8a;
    width: 100%;
    position: fixed;
    bottom: 0;
    text-align: center;
    font-size: 1em;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.content {
    animation: fadeIn 1s ease-in-out;
}

/* Conteneur du lecteur audio */
.player-container {
    width: 100%;
    max-width: 300px; /* Réduire la largeur du lecteur */
    margin: 20px auto;
    background-color: #121212;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.6);
}

/* Personnalisation du lecteur Plyr */
#audio-player {
    width: 100%;
    height: 35px; /* Hauteur plus petite pour le lecteur */
    border-radius: 10px;
    border: none;
    background-color: #0e0e0e;
}

/* Bouton de téléchargement en dessous du lecteur */
.download-button {
    display: block;
    margin-top: 20px;
    padding: 12px 25px;  /* Augmenter la taille du padding pour plus de confort */
    background: #00FFFF;
    color: #0e0e0e;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    max-width: 150px;
    margin-left: auto;
    margin-right: auto;
    transition: background 0.3s ease;
}

/* Effet de survol du bouton */
.download-button:hover {
    background: #008c8c;
}

/* Conteneur pour l'image de la pochette */
.album-cover {
    text-align: center;
    margin-top: 20px;
}

/* Personnalisation de l'image */
.album-cover img {
    width: 400px;  /* Largeur fixe */
    height: 400px; /* Hauteur fixe */
    object-fit: cover; /* Ajuste l'image pour couvrir l'espace sans déformer */
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.6);
}

.back-button {
    margin-top: 10px; /* Espacement de 30px entre l'image et le lien */
    text-align: center; /* Centrer le texte du lien */
}

.back-btn {
    font-size: 15px;
    font-family: 'Orbitron', sans-serif;
    color: #A9A9A9; /* Gris métallisé */
    text-decoration: none;
    transition: color 0.3s ease;
}

.back-btn:hover {
    color: #00BFFF; /* Couleur de survol */
}

/* Style pour la barre de navigation */
nav {
    display: flex;
    justify-content: center;  /* Garder la disposition centrée */
    gap: 30px;  /* Espacement entre les liens */
    padding: 15px;
    background: rgba(0, 0, 0, 0.8);
    box-shadow: 0 4px 10px #8a8a8a;
    width: 100%;
}

/* Liens de navigation */
nav a {
    color: #858585; /* Rouge foncé */
    text-decoration: none;
    font-size: 1.2em;  /* Taille de police ajustée */
    position: relative;
    transition: color 0.3s;
}

nav a:hover {
    color: #B0B0B0; /* Gris clair au survol */
}

/* Dropdown container */
nav .dropdown {
    position: relative;  /* Nécessaire pour positionner le menu déroulant */
}

/* Bouton du menu déroulant */
nav .dropbtn {
    color: #858585; /* Rouge foncé */
    font-size: 1.2em;  /* Taille de police ajustée */
    text-decoration: none;
    padding: 10px;
    background: none;
    border: none;
    position: relative;
    transition: color 0.3s;
}

nav .dropbtn:hover {
    color: #B0B0B0; /* Gris clair lors du survol */
}

/* Menu déroulant */
nav .dropdown-content {
    display: none;
    position: absolute;
    background-color: #333;
    min-width: 160px;
    z-index: 1;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    padding: 0;  /* Éviter le padding supplémentaire */
    border-radius: 10px; /* Coins arrondis pour le menu */
}

/* Liens dans le menu déroulant */
nav .dropdown-content a {
    color: #8a8a8a;  /* Gris métallisé */
    padding: 10px 20px;  /* Espacement ajusté */
    text-decoration: none;
    display: block;
    font-size: 1.2em;  /* Même taille que les autres éléments */
    transition: color 0.3s;
}

nav .dropdown-content a:hover {
    color: #00FFFF; /* Bleu électrique lors du survol */
}

/* Afficher le menu déroulant lors du survol du parent */
nav .dropdown:hover .dropdown-content {
    display: block;
}

/* Biography Section */
.biography {
    padding: 40px;
    color: #8a8a8a;
    background: rgba(0, 0, 0, 0.7);
    box-shadow: 0 4px 15px #8a8a8a;
    border-radius: 15px;
    margin: 20px;
}

/* News Section */
.news {
    padding: 40px;
    color: #8a8a8a;
    background: rgba(0, 0,)
        
 }       

/* Section Biography */
#biography {
    padding: 40px;
    color: #8a8a8a; /* Gris métallisé pour le texte de base */
    background: rgba(0, 0, 0, 0.7);
    box-shadow: 0 4px 15px #8a8a8a;
    border-radius: 15px;
    margin: 20px;
    transition: transform 0.3s ease-in-out;
}

/* H2 dans la section Biography */
#biography h2 {
    color: #00FFFF; /* Bleu électrique */
    font-size: 1.5em;
    margin-bottom: 20px;
}

/* Effet de survol pour la section Biography */
#biography:hover {
    transform: scale(1.02); /* Agrandissement au survol */
}

/* Section Home */
#home h2 {
    color: #00FFFF; /* Bleu électrique */
    font-size: 1.5em; /* Taille du texte */
    margin-bottom: 20px;
}

/* Section Contact */
#contact h2 {
    color: #00FFFF; /* Bleu électrique */
    font-size: 1.5em; /* Taille du texte */
    margin-bottom: 20px;
}

#playlist ul {
    list-style-type: none;
    padding: 0;
}

#playlist li {
    cursor: pointer;
    font-size: 18px;
    margin: 10px 0;
    padding: 10px;
    background-color: #333;
    color: #fff;
    border-radius: 5px;
    transition: background-color 0.3s;
}

#playlist li:hover {
    background-color: #555;
}


.soundcloud-embed {
    margin-top: 20px;
    text-align: center;
}

.soundcloud-embed iframe {
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}











/* Responsive Mobile/Tablet Layout */
@media screen and (max-width: 768px) {
    body {
        font-size: 14px;
        padding: 0 10px;
    }

    header {
        font-size: 2em;
        padding: 20px;
        height: 250px;
        background-size: cover;
    }

    nav {
        flex-direction: column;
        gap: 10px;
        padding: 10px;
    }

    nav a, nav .dropbtn {
        font-size: 1em;
    }

    .dropdown-content {
        position: static;
        width: 100%;
        box-shadow: none;
        border-radius: 0;
    }

    .content,
    #biography,
    .biography,
    .news,
    form {
        width: 100%;
        padding: 15px;
        margin: 10px 0;
    }

    .album-cover img {
        width: 100%;
        height: auto;
    }

    .player-container {
        max-width: 100%;
        padding: 10px;
    }

    form {
        max-width: 100%;
    }

    footer {
        font-size: 0.9em;
        padding: 10px;
    }
}
