body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  scroll-behavior: smooth;
  color: white;
}

html {
  scroll-behavior: smooth;
}


/* Desktop */
.mobile {
  display: none;
}

h1, h2, h3, .section-title {
  font-family: 'Anton', sans-serif;
  text-transform: uppercase; /* Transforme tout en majuscules */
}

 h1, .section-title {
  font-size: 3rem;
    letter-spacing: 3px;
}

h3 {
  margin: 0 0 10px 0; /* titre sans marge en haut, un peu en bas pour le descriptif */
  font-size: 2rem;
}

section {
  min-height: 100vh;
  padding: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#billetterie {
  display:flex;
  background-color: #ffde59;
   flex-direction: row;
   padding:0px;
}
 #billetterie .left{
  flex:1;
  display: flex;
padding:30px;
  flex-direction: column;
}

#billetterie .left .title{
 font-size: 3rem;
 color:black;
}

#billetterie .left .content{
  flex: 1; /* prend tout l'espace restant à gauche */
  color: #000;
  text-align: justify;

}

#billetterie .image-polygon {
  flex: 1;
  height: 100vh; 
  position: relative;
  background-image: url('../resources/img/section4.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: right;
  clip-path: polygon(0% 0, 100% 0%, 100% 100%, 10% 100%);
}

.hero {
  height: 100vh; /* plein écran */
  background-image: url('../resources/img/section1.jpg'); /* ton image */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  flex-direction: column; /* permet de placer le footer en bas */
  justify-content: space-between; /* boutons au centre, rectangle en bas */
  padding: 0px;
}

section .overlay {
  text-align: center;
  background-color: rgba(0, 0, 0, 0.4); /* voile sombre pour lisibilité */
  padding: 20px;
}

.hero-header{
  width: 100%; /* pleine largeur */
  background-color: rgba(0, 0, 0, 0.7); /* noir semi-transparent */
  text-align: center;
  padding: 5px 0;
  font-size: 36px;
  font-weight: bold;
  box-sizing: border-box;
}

.hero-logo {
  max-height: 100%;       /* ajuste la taille du logo à la section */
  max-width: 80%;         /* ne dépasse pas la largeur */
  object-fit: contain;    /* garde les proportions */
}

.buttons{
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
}

a.btn, button.btn {
  white-space: nowrap;
  background-color: #000;    /* noir */
  color: #fff;               /* texte blanc */
  border: none;
  cursor: pointer;
  border-radius: 0;          /* rectangle sans arrondi */
  text-decoration: none;
  font-family: 'Anton', sans-serif;
  text-transform: uppercase; /* Transforme tout en majuscules */
}

.buttons .btn{
  margin:5px 25px;
  font-size: clamp(2rem, 3vw, 3rem);
  padding: clamp(6px, 5vw, 12px);
}

.btn:hover {
 
  background-color: #222;    /* légèrement plus clair au hover */
}

.buttons-vertical {
  padding: 25px 25px;
  display: flex;
  flex-direction: column; /* empile verticalement */
  gap: 5px; /* espace entre les boutons */
  align-items: flex-start;
}

#programmation{
    height: 100vh; /* plein écran */
background:
    linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
    url('../resources/img/section3.jpg'); /* ton image */
background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: space-between; /* boutons au centre, rectangle en bas */
  color: #ffde59;
  padding: 30px;
}

#programmation .title{
    
}


#programmation .title h1{
  width: 30vw;
  font-size: 3vw;
}

#programmatin .content{
  flex:1;
}

#programmation .content .description {
  text-align: justify;
}

#programmation .content .date {
  font-weight: bold;
}

.article-row {
  display: flex;
  align-items: flex-start;   /* aligne le haut de l'image et du texte */
  gap: 20px;                 /* espace entre image et texte */
  margin-bottom: 30px;
}

.article-image img {
  width: 150px;              /* largeur fixe de l'image */
  height: auto;              /* conserve les proportions */
  object-fit: cover;
}

.article-text {
  flex: 1;                   /* texte prend tout l'espace restant */
}

#salle{
    height: 100vh; /* plein écran */
    background:
    linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../resources/img/section2.jpg'); /* ton image */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  flex-direction: column; /* permet de placer le footer en bas */
  justify-content: space-between; /* boutons au centre, rectangle en bas */
  padding: 0px;

}

#salle .title .h1{
  font-size: 10vh;
}

#salle .title  {
  text-align: right;
  background-color: rgb(0, 0, 0); /* voile sombre pour lisibilité */
  padding: 20px;
}

#salle .address{
  display: flex;
  font-family: 'Anton';
  text-transform: uppercase;
  gap:10px;
}

.address p{
  flex: 1;
  width:50%;
}

.address map{
  flex: 1;
  width:50%;
}


#salle .content{
   padding: 30px;
   font-size: 1.5em;
   width:75vw;
   text-align: justify;
}

.address .map img{
  width:100%;
}

#salle .content div{
  margin:20px 0px 0px 0px;
}

#asso {
background: #000;
}

#asso .title{
  font-size: 5em;
}

.table{
 
}

.row{
  display:flex;
  margin:20px 12px 20px 12px;
  row-gap: 20px;
}

.column{
  flex:1;
  display:flex;
  flex-direction: column;
}

.photo{
  height:15vh;
  width:15vh;
}

/* Chaque article a un conteneur parent, par exemple #content ou .article */
.article p:first-child {
  float: left;
  margin: 0 1rem 1rem 0;
  width: 30%;     
}

#content p:first-child img,
.article p:first-child img {
 width: 100%;
  height: auto;
  display: block;           
}

.article {
  clear: both;
    font-size : 1rem;
}

#content > h1,
.article > h1{
  font-size : 2rem;
}

/* Optionnel : forcer le texte à s’aligner correctement */
#content > h1,
#content > p,
.article > h1,
.article > p {
  overflow: hidden;       /* évite que le texte remonte sous l’image flottante */
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
}

.modal .h1{
  font-size: 2em;
}

.modal .btn{
  vertical-align: middle;
  font-size: 2em;
}
.modal form input{
  font-size: 1em;
}

.modal form input{
  height: 2em;
  vertical-align: middle;
  width:75%;
}

.modal form textarea{
  height: 10em;
  vertical-align: middle;
  width:75%;
  font-family: 'Montserrat', sans-serif;
}

.modal form button.btn {
   margin:10px 20px;
}

.modal-content {
  background: rgb(27, 27, 27);
  padding: 2rem;
  margin: 10% auto;
  width: 90%;
  max-width: 500px;
  border-radius: 10px;
  text-align: center;
}

.close {
  float: right;
  font-size: 2rem;
  cursor: pointer;
}

.carousel {
  position: relative;
  width: 100%;
  height: 80%;
  margin: auto;
  overflow: hidden;
}

.carousel-track { 
    list-style: none;
  overflow-x: auto; 
   cursor: grab;
  display: flex;
  transition: transform 0.4s ease;
    scroll-snap-type: x mandatory;
      scrollbar-width: none;       /* Firefox */
  -ms-overflow-style: none;    /* IE / Edge ancien */
   padding: 0 40px; 
   gap: 10px;
}
.carousel-track::-webkit-scrollbar {
  display: none;               /* Chrome / Safari */
}
.carousel-track:active {
  cursor: grabbing;
}

.carousel  .slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  min-width: 100%;
  box-sizing: border-box;
}

.carousel  .slide img {
  width: 100%;
}

.carousel .slide h2 {
  margin: 10px 0 5px;
}

.carousel button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  color: #ffde59;
  border: none;
  padding: 10px;
  cursor: pointer;

}
.carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0 40px;
}

.carousel-prev,
.carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.carousel-prev {
  left: 10px;
}

.carousel-next {
  right: 10px;
}

/* Mobile : l’image prend toute la largeur */
@media (max-width: 600px) {
  #content > img:first-child,
  .article > img:first-child {
    float: none;
    display: block;
    width: 80%;
    margin: 0 auto 1rem;
  }
}

