/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:wght@400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Fraunces', serif;
    color: #333;
    background: #FEF7DB;
}

.container {
    width: 80%;
    margin: 0 auto;
}

/* Fullscreen video */
.fullscreen-video {
    position: relative;
    width: 100vw; /* Prend toute la largeur de l'écran */
    height: 100vh; /* Prend toute la hauteur de l'écran */
    overflow: hidden;
}

.fullscreen-vid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ajuste la vidéo pour qu'elle couvre toute la zone sans déformation */
}

/* Overlay logo centré */
.overlay-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centrer horizontalement et verticalement */
    z-index: 1; /* S'assure que le logo est au-dessus de la vidéo */
}

.logo {
    width: 350px; /* Ajustez la taille du logo selon vos besoins */
    height: auto;
    display: block;
}

.main-header {
    background-color: #1a3b63; /* Couleur du header */
    color: #fff;
    text-align: center;
    padding: 50px 0;
    z-index: 1;
    position: relative;
}

.main-header h1 {
    font-size: 3rem;
}

.main-header p {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.cta-button {
    background-color: #333;
    color: #ffcf00;
    padding: 10px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
}

/* ====   LINE UP  ===*/

.artist img {
    width: 100%;
    border-radius: 10px;
}

.artist h3 {
    margin-top: 10px;
    font-size: 1.2rem;
}

/* Lineup Section */
.lineup {
    padding: 50px 0;
    background-color: #f5f5f5;
}

.lineup h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.artists-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Affichage de 3 colonnes */
    gap: 20px;
}

.artist {
    text-align: center;
}

.artist-photo {
    width: 100%;
    height: auto;
    cursor: pointer; /* Ajoute un curseur pour indiquer que l'image est cliquable */
    border-radius: 10px;
}

/* Styles pour la modale */
.modal {
    display: none; /* Masqué par défaut */
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9); /* Arrière-plan semi-transparent */
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80%;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #ffcf00;
    text-decoration: none;
    cursor: pointer;
}

#caption {
    text-align: center;
    color: #fff;
    padding: 10px 0;
    font-size: 1.2rem;
}



/* ====  Infos  ===*/

.info {
    padding: 50px 0;
    text-align: center;
}

.info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/*====== FAQ Section ====*/
.faq {
    padding: 50px 0;
    background-color: #f9f9f9;
}

.faq h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.faq-item {
    margin-bottom: 20px;
}

.faq-question {
    width: 100%;
    background-color: #ffcf00;
    color: #333;
    padding: 15px;
    text-align: left;
    font-size: 1.2rem;
    font-weight: bold;
    border: none;
    outline: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #333;
    color: #ffcf00;
}


/* Masquer initialement les réponses avec max-height et opacité */
.faq-answer {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.5s ease;
    padding: 0; /* Réduit le padding à 0 lorsqu'il est fermé */
    font-size: 1rem;
    border: 1px solid transparent;
}

/* Styles pour rendre les réponses visibles lorsqu'elles sont ouvertes */
.faq-answer.open {
    max-height: 200px; /* Ajustez selon la hauteur de vos réponses */
    opacity: 1;
    padding: 15px;
    border: 1px solid #ccc;
}

/* Lien de réponse */
.faq-answer a {
    color: #ffcf00;
    text-decoration: none;
}

.faq-answer a:hover {
    text-decoration: underline;
}


h2 a{
    color:#333;
}



footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}



/* Pour les petits écrans : 2 colonnes */
@media (max-width: 768px) {
    .artists-grid {
        grid-template-columns: repeat(2, 1fr); /* Affichage de 2 colonnes */
    }
}

/* Pour les très petits écrans : 1 colonne */
@media (max-width: 480px) {
    .artists-grid {
        grid-template-columns: 1fr; /* Affichage en une seule colonne */
    }

    .info h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}
}