:root {
    --primary-color: #579459;
    --secondary-color: #ffffff;
    --accent-color: #e67e22;
    --text-light: #ffffff;
    --color-hover:#c56613;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}


.bann-danse{
  height: 400px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.bann-danse::before{
  background-color: rgba(0, 0, 0, 0.5); /* Noir avec 50% d'opacité */
  z-index: -1;
}
.bann-danse span{
  color: #ffffff;
  font-weight: bold;
  font-size: xx-large;
}


.main-danse{
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 12px;

}
.video-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 1;
    transition: opacity 0.3s;
}

.cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* Quand la vidéo est active */
.video-active .video-cover {
    opacity: 0;
    pointer-events: none;
}

.video-active .video-iframe {
    display: block;
}

.container-danse-tradi {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 20px;
    display: flex;
    gap: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Partie gauche (vidéo + galerie) */
.media-section {
    flex: 1;
    min-width: 0;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* Ratio 16:9 */
    margin-bottom: 20px;
}

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

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    transition: transform 0.3s;
}

.play-button::before {
    content: "▶";
    position: absolute;
    left: 52%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #c0392b;
    font-size: 30px;
}

.video-cover:hover .play-button {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    border-radius: 10px;
}



.video-iframe {
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}

.video-active .video-iframe {
    opacity: 1;
    z-index: 2;
}


.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.gallery-img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
    transition: transform 0.3s;
}

.gallery-img:hover {
    transform: scale(1.05);
}

/* Partie droite (texte + bouton) */
.info-section {
    width: 100%;
    max-width: 400px;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Titre stylisé comme un bouton non cliquable */
.info-title {
    display: inline-block;
    background: var(--accent-color);
    color: var(--text-light);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
}

/* Paragraphe */
.info-section p {
    margin: 10px 0;
    color: #333;
    font-size: 16px;
}

/* Section des détails de l'événement */
.event-details {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.1);
    text-align: left;
    margin-bottom: 15px;
}

.event-details p {
    font-size: 14px;
    color: #555;
    margin: 5px 0;
    display: flex;
    align-items: center;
    gap: 8px; /* Espace entre l'icône et le texte */
}

/* Style des icônes */
.event-details i {
    color: var(--primary-color);
    font-size: 16px;
}

/* Bouton Participer */
.participate-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: var(--primary-color);
    color: white;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    gap: 10px; /* Espace entre l'icône et le texte */
}

.participate-btn:hover {
    background: var(--primary-color);
}




