/*Variables*/
:root {
    --color-link: #F27F3A;
    --color-text: #1F1F1F;
    --color-white: #FFFFFF;
    --color-title: #702421;
    --color-bg-1: #FEE2D1;
    --font-title: 'Indie Flower';
    --font-text: 'Roboto Condensed';
}

/* VERSION MOBILE 0-767px*/
/****** FOR ALL ******/
* {
    box-sizing: border-box;
    color: var(--color-text);
    font-family: var(--font-text), sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin: 0px;
    padding: 0px;
}
body {
    background-color: var(--color-bg-1);
}
h1, h2, h3 {
    margin-bottom: 0;
    margin-top: 0;
}
h1, h2 {
    font-family: var(--font-title);
}
h1 {
    color: var(--color-white);
    font-size: 60px;
    text-transform: uppercase;
}
h2, h3 {
    color: var(--color-title);
}
h2 {
    font-size: 40px;
}
h3 {
    font-size: 20px;
    text-transform: uppercase;
}
.opacity {
    background: rgba(0, 0, 0, 0.20);
}
.section-title {
    margin-bottom: 30px;
    text-align: center;
}
.section, .section-extraits .content-section, .section-agenda .content-section {
    padding: 30px 20px;
}
.content-section {
    margin-left: auto;
    margin-right: auto;
    max-width: 1230px;
    width: 100%;
}
a {
    text-decoration: none;
}
.d-none {
    display: none !important;
}

/****** HEADER ******/
/* Nav globale */
.first-nav {
    position: absolute;
    padding: 20px;
    width: 100%;
}
.first-nav .content-section {
    align-items: center;
    display: flex;
    justify-content: space-between;
}
.social-medias.social-medias-header {
    flex-wrap: nowrap;
}
.btn-menu {
    color: var(--color-white);
    font-size: 30px;
}
.btn-menu:hover {
    color: var(--color-link);
}

/* Nav mobile */
.nav-mobile {
    display: none;
    position: absolute;
    padding: 20px;
    right: 0;
    top: 50px;
}
.nav-mobile.nav-mobile-active {
    display: inherit;
}
.nav-mobile ul {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 6px;
    list-style: none;
}
.nav-mobile ul li {
    cursor: pointer;
    background: var(--color-bg-1);
    border: 1px solid var(--color-title);
    border-radius: 20px;
    padding: 6px 12px;
    text-align: center;
    width: 150px;
}
.nav-mobile ul li a {
    color: var(--color-title);
    font-weight: 500;
}
.nav-mobile ul li:hover {
    background: var(--color-title);
    border: 1px solid var(--color-bg-1);
}
.nav-mobile ul li:hover a {
    color: var(--color-bg-1);
}

/* Nav desktop */
.nav-desktop {
    display: none;
}

/****** MAIN ******/
/* Img + title */
.section-presentation, .section-presentation .opacity {
    height: 60dvh;
    width: 100%;
}
.section-presentation {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.section-presentation .content-section {
    align-items: end;
    display: flex;
    height: 100%;
    justify-content: center;
    padding: 20px;
}

/* Section musiciens */
.big-contain, .musicien-contain, .bloc-infos {
    display: flex;
    flex-direction: column;
}
.big-contain {
    gap: 24px;
}
.musicien-contain, .bloc-infos {
    gap: 10px;
}
.musicien-contain {
    background: var(--color-white);
    border-radius: 20px;
    padding: 12px;
}
.musicien-contain img {
    height: 300px;
    object-fit: cover;
    width: 100%;
}

/* Section extraits */
.section-extraits h2, .section-agenda h2 {
    color: var(--color-white);
    text-align: center;
}
.section-videos {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.section-videos h3 {
    color: var(--color-bg-1);
    text-align: center;
}
.Carousel-slider {
    height: 400px;
    position: relative;
    width: 100%;
}
.slider-item {
    cursor: pointer;
    display: none;
    position: absolute;
}
.indicators {
    display: none;
}
.slider-item video {
    background: var(--color-text);
    border: 1px solid var(--color-bg-1);
    border-radius: 20px;
    height: 360px;
    width: 360px;
}
.btn-slider-contain {
    align-items: center;
    display: flex;
    gap: 40px;
    justify-content: center;
}
.prev i, .next i {
    color: var(--color-white);
    cursor: pointer;
    font-size: 30px;
}
.prev i:hover, .next i:hover {
    color: var(--color-link);
}
.icon-play {
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid var(--color-white);
    border-radius: 14px;
    color: var(--color-white);
    font-size: 24px;
    left: 50%;
    padding: 10px 20px;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
}
.slider-item.is-playing .icon-play, .video-solo.is-playing .icon-play {
    display: none;
}
.video-solo-contain {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    width: 100%;
}
.video-solo {
    cursor: pointer;
    max-width: 800px;
    position: relative;
    width: 100%;
}
.video-solo video {
    border: 1px solid var(--color-bg-1);
    border-radius: 20px;
    height: auto;
    width: 100%;
}
.section-audio {
    margin-top: 60px;
    text-align: center;
}
.section-audio h3 {
    color: var(--color-bg-1);
    margin-bottom: 20px;
    text-align: center;
}

/* Section albums */
.album-contain {
    display: flex;
    justify-content: center;
}
.album-contain .big-contain {
    align-items: center;
    width: 100%;
}
.album-contain img {
    border-radius: 20px;
    max-width: 400px;
    min-width: 200px;
    width: 100%;
}

/* Section agenda */
.agenda-contain-contain {
    /* display: flex; */
    justify-content: center;
    width: 100%;
}
.agenda-contain-contain p {
    color: white;
    font-size: 24px;
    margin-bottom: 1em;
}
.agenda-contain {
    align-items: center;
    border: 1px solid var(--color-bg-1);
    border-radius: 20px;
    background-color: var(--color-white);
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 600px;
    padding: 20px;
    width: 100%;
}
.month-calendar {
    align-items: center;
    display: flex;
    justify-content: space-between;
    width: 100%;
}
.month-calendar span {
    color: var(--color-title);
    font-size: 18px;
    font-weight: 500;
}
.month-calendar i {
    cursor: pointer;
    font-size: 18px;
}
.month-calendar i:hover {
    color: var(--color-link);
}
.days {
    display: flex;
    flex-direction: row;
    width: 100%;
}
.days span {
    font-weight: 400;
    text-align: center;
    width: 14.3%;
}
.dates-calendar {
    display: flex;
    flex-direction: column;
    gap: 4px;
    justify-content: center;
    width: 100%;
}
.row-calendar {
    display: flex;
    flex-direction: row;
    gap: 4px;
}
.row-calendar span {
    align-items: center;
    background: rgb(254, 226, 209, 0.2);
    border: 2px solid var(--color-bg-1);
    border-radius: 4px;
    color: var(--color-title);
    cursor: pointer;
    display: flex;
    font-weight: 500;
    height: 25px;
    justify-content: center;
    width: 14.3%;
}
.row-calendar .dispo {
    background: rgba(58, 191, 58, 0.2);
    border: 2px solid #3abf3a;
}
.row-calendar .undispo {
    background: rgba(188, 34, 34, 0.5);
    border: 2px solid #bc2222;
    cursor: default;
}
.row-calendar .empty {
    background: #d3d3d3;
    border: 2px solid gray;
    cursor: default;
}

/* Section contact */
.form-contact, .form-line.double-line {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.form-contact input, .form-contact textarea {
    border: 1px solid var(--color-title);
    border-radius: 20px;
    padding: 10px;
    width: 100%;
}
.btn-contain {
    display: flex;
    justify-content: end;
    margin-top: 20px;
}
.btn-contain .btn {
    background: var(--color-title);
    border: 1px solid var(--color-title);
    border-radius: 10px;
    color: var(--color-white);
    cursor: pointer;
    padding: 10px 20px;
    width: fit-content;
}
.btn-contain .btn:hover {
    background: var(--color-link);
    border: 1px solid var(--color-white);
    color: var(--color-white);
}

/****** FOOTER ******/
.section-footer {
    background-color: var(--color-title);
}
.title-group,
.hr-footer,
.social-medias a i,
.contact-and-copy div, .contact-and-copy a,
.cgv-legal-mentions div, .cgv-legal-mentions span {
    color: var(--color-white);
}
.section-footer .content-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: center;
}
.title-group {
    font-family: var(--font-title);
    font-size: 32px;
    padding-top: 30px;
    text-transform: uppercase;
}
.contact-mentions-and-medias {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-bottom: 30px;
}
.social-medias {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.social-medias a i {
    font-size: 24px;
}
.social-medias a i:hover {
    color: var(--color-link);
    transform: scale(1.1);
}
.contact-and-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.little-title-footer {
    font-style: oblique;
}
.contact-and-copy a:hover, .cgv-legal-mentions div:hover {
    color: var(--color-link);
}
.cgv-legal-mentions {
    display: flex;
    flex-direction: row;
    gap: 12px;
    justify-content: center;
}

/* VERSION TABLET VERTICALE 768-1023px*/
@media (min-width: 768px) {
    /****** FOR ALL ******/
    * {
        font-size: 16px;
    }
    h1 {
        font-size: 72px;
    }
    h2 {
        font-size: 50px;
    }
    h3 {
        font-size: 26px;
    }
    .section, .section-extraits .content-section, .section-agenda .content-section {
        padding: 40px 30px;
    }
    .section-title {
        margin-bottom: 32px;
        text-align: start;
    }

    /****** HEADER ******/
    /* Nav globale */
    .first-nav {
        padding: 30px;
    }
    .btn-menu {
        font-size: 36px;
    }

    /* Nav mobile */
    .nav-mobile {
        padding: 30px;
        top: 55px;
    }
    .nav-mobile ul {
        gap: 8px;
    }
    .nav-mobile ul li {
        padding: 8px 14px;
        width: 170px;
    }

    /****** MAIN ******/
    /* Img + title */
    .section-presentation, .section-presentation .opacity {
        height: 100dvh;
    }
    .section-presentation .content-section {
        padding: 50px;
    }

    /* Section musiciens */
    .musicien-contain:nth-child(odd) {
        flex-direction: row;
    }
    .musicien-contain:nth-child(even) {
        flex-direction: row-reverse;
    }
    .musicien-contain, .bloc-infos {
        gap: 20px;
    }
    .musicien-contain {
        padding: 20px;
    }
    .musicien-contain img {
        height: 330px;
    }

    /* Section albums */
    .album-contain .big-contain {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: start;
    }
    .album-contain img {
        max-width: 500px;
        width: 48%;;
    }

    /* Section agenda */
    .agenda-contain {
        gap: 26px;
    }
    .month-calendar span, .month-calendar i {
        font-size: 22px;
    }
    .row-calendar span {
        height: 35px;
    }

    /* Section contact */
    .form-contact {
        gap: 20px;
    }
    .form-line.double-line {
        flex-direction: row;
    }
    .form-line.double-line .form-group {
        width: 50%;
    }
    .btn-contain {
        margin-top: 32px;
    }
    .btn-contain .btn {
        padding: 10px 30px;
    }

    /****** FOOTER ******/
    .social-medias, .contact-and-copy, .cgv-legal-mentions {
        width: 33%;
    }
    .title-group {
        font-size: 44px;
    }
    .social-medias {
        gap: 20px;
        justify-content: start;
    }
    .social-medias a i {
        font-size: 32px;
    }
    .contact-mentions-and-medias {
        align-items: center;
        flex-direction: row;
        justify-content: space-between;
        padding: 0 30px 30px 30px;
    }
    .cgv-legal-mentions {
        flex-direction: column;
        gap: 4px;
        text-align: end;
    }
    .cgv-legal-mentions span {
        display: none;
    }
}

/* VERSION TABLET HORIZONTALE 1024-1219px*/
@media (min-width: 1024px) {
    /****** FOR ALL ******/
    h1 {
        font-size: 82px;
    }
    h2 {
        font-size: 58px;
    }
    h3 {
        font-size: 28px;
    }
    .section, .section-extraits .content-section, .section-agenda .content-section {
        padding: 48px 40px;
    }

    /****** HEADER ******/
    /* Nav globale */
    .first-nav {
        padding: 40px 60px;
    }
    .first-nav .social-medias {
        justify-content: end;
    }

    /* Nav mobile */
    .navbar-toggler {
        display: none;
    }

    /* Nav desktop */
    .nav-desktop {
        display: inherit;
    }
    .nav-desktop ul {
        display: flex;
        flex-direction: row;
        gap: 30px;
        list-style: none;
    }
    .nav-desktop ul li a {
        color: var(--color-white);
        font-size: 18px;
        position: relative;
        text-transform: uppercase;
    }
    .nav-desktop ul li a::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 1.5px;
        background-color: var(--color-white);
        transition: width 0.3s ease-in-out;
    }
    .nav-desktop ul li a:hover::after,
    .nav-desktop ul li a:focus::after {
        width: 100%;
    }

    /****** MAIN ******/
    /* Section musiciens */
    .big-contain {
        gap: 32px;
    }
    .musicien-contain img {
        height: 350px;
    }

    /* Section albums */
    .album-contain img {
        max-width: 500px;
        width: 31%;
    }

    /* Section contact */
    .form-contact input, .form-contact textarea {
        padding: 12px 20px;
    }
    .btn-contain .btn {
        padding: 12px 40px;
    }

    /****** FOOTER ******/
    .section-footer .content-section {
        gap: 40px;
    }
    .title-group {
        font-size: 48px;
        padding-top: 40px;
    }
    .contact-mentions-and-medias {
        padding: 0 40px 40px 40px;
    }
}

/* VERSION COMPUTER 1220-infini px*/
@media (min-width: 1220px) {
    /****** FOR ALL ******/
    h1 {
        font-size: 94px;
    }
    h2 {
        font-size: 62px;
    }
    h3 {
        font-size: 32px;
    }
    .section, .section-extraits .content-section, .section-agenda .content-section {
        padding: 52px 46px;
    }

    /****** HEADER ******/
    /* Nav desktop */
    .nav-desktop ul {
        gap: 40px;
    }
    .nav-desktop ul li a {
        font-size: 22px;
    }

    /****** MAIN ******/
    /* Section musiciens */
    .musicien-contain img {
        height: 380px;
    }

    /****** FOOTER ******/
}

/****** MODAL ******/
.modal {
  display: none; /* Cacher la modale par défaut */
  position: fixed; /* Rester à la même position même quand on fait défiler */
  z-index: 2000; /* Au-dessus de tout */
  left: 0;
  top: 0;
  width: 100%; /* Plein écran */
  height: 100%; /* Plein écran */
  background-color: rgba(0, 0, 0, 0.7); /* Arrière-plan foncé avec opacité */
}

.modal-content {
  background-color: var(--color-white); /* Fond blanc */
  margin: 15% auto; /* 15% d'espace en haut et centré */
  padding: 20px;
  border-radius: 20px; /* Coins arrondis */
  max-width: 600px; /* Largeur maximale */
  width: 90%; /* 90% de la largeur sur petits écrans */
  text-align: center; /* Centrer le texte */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Ajout d'ombre pour un effet 3D */
}

.close {
  color: var(--color-title);
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: var(--color-link); /* Utiliser la couleur de lien */
  cursor: pointer;
}

#modal-message {
  color: var(--color-title); /* Couleur de texte pour le message */
  font-size: 18px; /* Taille de police du message */
  margin-bottom: 20px; /* Ajout d'un espacement sous le message */
}

#modal-button {
  padding: 10px 20px; /* Ajout de padding pour créer de l'espace autour du texte */
  background: var(--color-title); /* Couleur de fond du bouton */
  border: none; /* Supprime la bordure */
  border-radius: 10px; /* Coins arrondis */
  color: var(--color-white); /* Couleur du texte */
  cursor: pointer; /* Change le curseur sur hover */
  font-size: 16px; /* Taille de police du texte */
}

#modal-button:hover {
  background: var(--color-link); /* Changement de couleur au survol */
}
