/* Import de la police personnalisée - multiples formats pour compatibilité */
@font-face {
    font-family: 'Blade Rounded';
    src: url('/fonts/Bladerounded-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Fira Sans';
    src: url('/fonts/Fira_Sans/FiraSans-Light.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Réinitialisation basique */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Variables globales : accessibles depuis tout le fichier CSS */
:root {
    --accent-color: #e71130;
    --showcase-ratio: 9 / 16;
}

/* Style général du body */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: rgba(0, 0, 0, 0.4);
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 1)), url('/images/divers/header-background.jpg');
    background-size: cover;
    background-position: center 40%;
    background-attachment: fixed;
}

/* BARRE DU HAUT : vidéo en fond, nom du groupe + réseaux sociaux par-dessus */
.top-bar {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* La vidéo occupe tout l'espace du header, en arrière-plan */
.top-bar-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Voile sombre par-dessus la vidéo, pour garder le texte lisible */
.top-bar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

/* Titre + réseaux sociaux, au-dessus de tout le reste */
.top-bar-content {
    position: relative;
    z-index: 2;
    padding: 1.5rem;
}

/* Lettrage nom du groupe */
.lettering {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* Liste horizontale des icônes réseaux sociaux */
.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.social-links a {
    color: white;
    font-size: 2rem;
    transition: color 0.3s ease;
}

.social-icons {
    width: 2rem;
    height: 2rem;
    vertical-align: center;
}

.social-links a:hover {
    color: var(--accent-color);
}

/* ===================================================
   VITRINE VIDÉO : 3 colonnes verticales
   - colonne centrale : vidéo au format 9:16, hauteur = écran, lecture automatique
   - colonnes gauche/droite : photos, masquées sur petit écran
   =================================================== */
.video-showcase {
    display: flex;

    justify-content: center;
    align-items: stretch;
    max-width: none;
    margin: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    aspect-ratio: var(--showcase-ratio);
}

/* Colonnes latérales : conteneurs de photos */
.showcase-side {
    flex: 0 0 auto;
    display: center;
    flex-direction: column;
    padding: 2rem;
    height: 100%;
    aspect-ratio: var(--showcase-ratio);
}

.showcase-side img {
    width: 100%;
    height: 100%;
    aspect-ratio: var(--showcase-ratio);
    object-fit: cover;
    display: block;
}

/* Colonne centrale : la vidéo */
.showcase-video {
    flex: 0 0 auto;
    padding: 2rem;
    height: 100%;
    aspect-ratio: var(--showcase-ratio);
}

.showcase-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* SECTION BIOGRAPHIE */
.bio {
    max-width: 800px;
    margin: 4rem auto;
    padding: 2rem;
    background-color: transparent;
    border-left: 3px solid var(--accent-color);
    border-right: 3px solid var(--accent-color);
    color: white;
    font-size: 1.5rem;
    line-height: 2remrem;
    text-align: left;
}

/* SECTION MESSAGE */
.message {
    max-width: 1000px;
    margin: 4rem auto;
    padding: 2rem;
    background-color: transparent;
    color: white;
    font-size: 3rem;
    line-height: 2remrem;
    text-align: center;
}

/* CARROUSEL PHOTOS : défilement automatique en boucle infinie */
.photo-carousel {
    overflow: hidden;
}

.carousel-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: carousel-scroll s linear infinite;
}

.carousel-track img {
    height: 300px;
    aspect-ratio: var(--showcase-ratio);
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
    display: block;
}

@keyframes carousel-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* SECTION VIDÉO YOUTUBE */
.video-section {
    max-width: 800px;
    margin: 4rem auto;
    padding: 0rem;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background-color: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* SECTIONS GÉNÉRALES */
section {
    max-width: 1100px;
    margin: 5rem auto;
    padding: rem;
    background-color: transparent;
}

section h2 {
    font-family: 'Blade Rounded', Arial, sans-serif;
    color: white;
    font-size: 3rem;
    margin-bottom: 2rem;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 0.8rem;
}

section h3 {
    color: white;
    font-size: 2rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* STATISTIQUES */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem 1rem;
    background-color: transparent;
    border-top: 2px solid var(--accent-color);
}

.stat-number {
    font-family: 'Blade Rounded', Arial, sans-serif;
    font-size: 2.5rem;
    font-weight: normal;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #999;
    font-size: 1rem;
}

/* MÉDIAS */
.medias {
    background-color: transparent;
}

.media-item h3 {
    color: white;
    text-align: center;
    margin-bottom: 1.5rem;
}

/* DISCOGRAPHIE */
.disco-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.disco-item {
    background-color: transparent;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.disco-item:hover {
    transform: translateY(-5px);
}

.disco-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.disco-item img {
    width: 100%;
    height: auto;
    display: block;
    border: 1px solid #333;
}

.disco-info {
    padding: 1rem 0;
    color: white;
}

.disco-info h3 {
    color: white;
    margin: 0.5rem 0;
    font-size: 1.5rem;
}

.disco-info p {
    color: #999;
    font-size: 1rem;
}

/* CONCERTS */
.concerts {
    background-color: transparent;
    color: white;
}

.concert-list {
    list-style: none;
    margin: 1.5rem 0;
}

.concert-list li {
    padding: 1rem 0;
}

.concert-list.past li {
    opacity: 1;
}

.lineup {
    color: #888;
    font-size: 0.8rem;
    font-style: italic;
}

/* PHOTOS DE PRESSE */
.press-photos {
    background-color: transparent;
    color: white;
}

.credit-text {
    text-align: left;
    color: #999;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.credit-text a {
    color: var(--accent-color);
    text-decoration: none;
}

.credit-text a:hover {
    text-decoration: underline;
}

.photos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.photos-grid img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    cursor: pointer;
    border: 1px solid #222;
}

.download-btn {
    display: inline-block;
    background-color: transparent;
    color: var(--accent-color);
    padding: 0.8rem 2rem;
    text-decoration: none;
    border: 2px solid var(--accent-color);
    font-weight: normal;
    transition: all 0.3s ease;
    margin: 2rem 0;
    display: block;
    width: fit-content;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
}

.download-btn:hover {
    background-color: var(--accent-color);
    color: white;
}

.download-btn i {
    margin-right: 0.5rem;
}

/* CONTACT */
.contact {
    background-color: transparent;
    color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 2rem;
}

.contact-item {
    background-color: transparent;
    padding: 1.5rem 0;
    border-top: 2px solid var(--accent-color);
}

.contact-item h3 {
    margin-top: 0;
}

.contact-item p {
    margin: 0.5rem 0;

}

.contact-item a {
    color: var(--accent-color);
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* FOOTER */
footer {
    background-color: transparent;
    color: #555;
    text-align: center;
    padding: 3rem 2rem;
    margin-top: 4rem;
    border-top: 1px solid #222;
}

/* RESPONSIVE - TABLETTES */
@media (max-width: 768px) {
    .site-title {
        font-size: 4rem;
    }

    /* Les colonnes photos gauche/droite disparaissent en dessous de 768px,
       il ne reste que la vidéo centrale */
    .showcase-side {
        display: none;
    }

    .stats-grid,
    .disco-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .photos-grid {
        grid-template-columns: 1fr;
    }
}

/* RESPONSIVE - MOBILES */
@media (max-width: 480px) {
    .site-title {
        font-size: 2.5rem;
    }

    .social-links {
        gap: 1rem;
    }

    .social-links a {
        font-size: 1.8rem;
    }

    section h2 {
        font-size: 1.5rem;
    }

    .photos-grid {
        grid-template-columns: 1fr;
    }
}
