/*
  section-evenements-presentation.css
  Styles de la section Présentation Événements.
  Factorisation, optimisation, documentation complète.
*/

/* CSS SEPARATION PURPLE */
.separation-purple {
  width: 100%;
  height: 5px;
  background: var(--gradient-secondary-purple);
}

/* CSS SECTION  EVENEMENTS */
.section-events {
  background: var(--gradient-principal-grey);
  display: var(--base-display);
  flex-direction: var(--base-flex-direction);
  align-items: center;
  justify-content: center;
  width: var(--base-width);
  height: var(--base-height);
  gap : var(--base-gap);
  padding: var(--base-padding);
  margin: var(--base-margin);
}


/* CSS BLOC  EVENEMENTS H1/TITRE + TEXTE (SEO) */
.bloc-presentation-events{
display: flex;
    flex-direction: column;
    gap: 50px;
    padding: 50px auto;
    padding-left: auto;
    padding-right: auto;
    padding-top: 50px;
    padding-bottom: 50px;
    width: 100%;
    max-width: 1190px;
    border-radius: 25px;
    background: var(--gradient-secondary-grey);
    color: #000;
    box-sizing: border-box;
    height: auto;   
}


/* CSS CONTENER H1 */
.contener-events-h1{
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
}

.contener-events-h1 h1 {
    font-size: 28px;
    text-align: center;
    width: 100%;
}


/* CSS CONTENER P TEXTE EVENEMENTS  */
.contener-events-texte{
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-left: 50px;
    padding-right: 50px;
    height: auto;
}

.contener-events-texte h3,
.contener-events-texte h4 {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    margin: 0;
    color: var(--color-purple);
}

.contener-events-texte p {
    font-size: 16px;
    text-align: center;
    margin: 0;
    line-height: 1.6;
}

.contener-events-texte a {
    color: var(--color-purple);
    text-decoration: underline;
    font-weight: bold;
}

/* RESPONSIVE MOBILE */
@media (max-width: 768px) {
    .bloc-presentation-events {
        gap: 30px;
        padding: 30px 20px;
        margin: 20px;
        border-radius: 15px;
    }

    .contener-events-h1 h1 {
        font-size: 24px;
    }

    .contener-events-texte {
        padding-left: 20px;
        padding-right: 20px;
        gap: 15px;
    }

    .contener-events-texte h3,
    .contener-events-texte h4 {
        font-size: 18px;
    }

    .contener-events-texte p {
        font-size: 15px;
        line-height: 1.5;
    }
}