/* === www.postitband.ch === */
/* === dev. by RODEL Sébastien, copyright CH-2025 all right reserved === */

/* === Réinitialisation et base === */



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

}

html, body {
  height: 100%;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

body {
  font-family: 'Segoe UI', sans-serif;
  color: white;
  background-color: #000; /* Fallback si la vidéo ne se charge pas */
  line-height: 1.5;
  overflow-x: auto ;
}

main a {
  color : white;
	font-weight:bold;
}

/* === Vidéo de fond === */
#bgVideo {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -2;
}




.overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: -1;
}

/* === En-tête / Menu === */
.site-header {
  position: fixed;      /* <= c'est ça qui change tout */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;         /* au-dessus de la vidéo et du reste */
  background-color: rgba(0, 0, 0, 0.5);
	transition: background-color 0.3s ease;
  padding: 12px 24px;
  height: 60px;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}


/* Ce bloc est essentiel */
.site-header nav {
  display: flex;
  justify-content: flex-end; /* menu à droite */
  align-items: center;
  width: 100%;
}
.logo-wrapper {
  position: relative; /* plus besoin d’absolu ici */
  z-index: 11;
  margin-right: 20px; /* espace entre logo et menu */
}



.logo {
  height: 100px;
  margin-top: 20px; /* déborde vers le bas */
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}


.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
	padding-right:2%;
}

.nav-links a {
  text-decoration: none;
  color: orange;
  font-weight: bold;
	display: flex;
	list-style: none;
}

.nav-links li {
  text-decoration: none;
	list-style: none;
}

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #222;
  padding: 8px;
  top: 100%;
  left: 0;
	min-width: 150px;
  z-index: 99;
}


.dropdown-content a {
  white-space: nowrap; 
  display: block;      
  padding: 6px 10px;
	list-style: none;
}


.dropdown:hover .dropdown-content {
  display: block;
}

.burger {
  display: none;
  font-size: 28px;
  cursor: pointer;
  user-select: none;
}

.floating-logo {
  position: fixed;         /* comme le header */
  top: 0;
  left: 24px;
  height: 100px;
  z-index: 101;            /* au-dessus du header */
  pointer-events: none;
}


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



/* === Footer === */
.site-footer {
  background: rgba(0, 0, 0, 0.75);
  color: #ccc;
  text-align: center;
  padding: 20px 10px;
  font-size: 0.9em;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links {
  margin-top: 8px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  font-size: 1.4em;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: orange;
}




.scroll-section {
      height: 100vh;
      scroll-snap-align: start;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      padding: 20px;
      background: rgba(0,0,0,0.5);
      color: white;
	  margin:auto;
		width:80% !important;
	
    }

    .scroll-container {
      scroll-snap-type: y mandatory;
      overflow-y: scroll;
      height: 100vh;
    }

    .scroll-section img {
      max-width: 60%;
      height: auto;
      border-radius: 10px;
      margin-bottom: 20px;
    }

    .scroll-section h2 {
      margin-bottom: 10px;
		color:orange;
    }

    .scroll-section p {
      max-width: 800px;
      text-align: justify;
    }




.social-icons {
  display: flex;
  gap: 15px;
  padding: 20px;
}

.social-icons a {
  color: white;
  font-size: 24px;
  text-decoration: none;
  background-color: #333;
  padding: 10px;
  border-radius: 50%;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.social-icons a:hover {
  transform: scale(1.1);
}







/* === Slider horizontal accueil === */


.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  border: none;
  color: white;
  font-size: 2em;
  padding: 0.3em 0.6em;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
  transition: background 0.3s ease;
}

.slider-btn:hover {
  background: rgba(255,255,255,0.2);
}

.slider-btn.prev {
  left: 10px;
}

.slider-btn.next {
  right: 10px;
}







.slider-container {
  display: flex;
  overflow-x: auto;
 scroll-snap-type: x mandatory;
	
  
	
  width: 100%;
  height: 90vh;
	margin-top: 5em ;
	scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE 10+ */
}

.slider-container::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Edge */
}

.slide {
  position: relative;
  flex: none;
  width: 100%;
  scroll-snap-align: start;
}

.slide img {
  width: 70%;
  height: auto;
  object-fit: contain;
  display: block ;
  margin: auto ;
  filter: brightness(1.1);
	opacity: 80% ;
	border-radius : 20px ;
}

.slide-caption {
  position: absolute;
  bottom: 20%;
  left: 20% !important;
  color: white;
}

.slide-caption-alt2 {
  position: absolute;
  bottom: 20%;
  left: 20% !important;
  color: black;
}

.slide-caption-alt {
  position: absolute;
  bottom: 72% !important;
  left: 20% !important;
  color: black;
}

.slide-caption h2 {
  font-size: 2.5em;
  margin-bottom: -0.5em;
	text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.slide-caption-alt h2 {
  font-size: 2.5em;
  margin-bottom: -0.5em;
	text-shadow: 2px 2px 4px rgba(255,255,255,0.5);
}

.slide-caption-alt2 h2 {
  font-size: 2.5em;
  margin-bottom: -0.5em;
}

.button {
  display: inline-block;
  background: orange;
  padding: 8px 12px;
  text-decoration: none;
  font-weight: bold;
  color: black;
  border-radius: 6px;
  margin-top : 25px ;
}



.event-container {
 padding-top: 150px;
width: 80% !important;
background-color: rgba(0,0,0,0.5);
margin: auto;
 
}

.event-container h2 {
text-align:center ;
 color:white;
}

.event-container p{
margin:auto;
	max-width:800px ;
	text-align:center;
}

.event-container img {
 margin-top:2em ;
width: 85% ;
	height: auto ;
 margin-left:0% ;
}

/* === Section membres Pos’tit === */
.members-section {
  padding: 60px 20px;
  text-align: center;
  background-color: rgba(0,0,0,0.5);
	padding-top:150px;
	margin:auto;
    width:80% !important;
}

.members-section h1 {
  font-size: 2.2em;
  margin-bottom: 40px;
	color:orange;
}

.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 30px;
  justify-items: center;
}

.member img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid white;
  margin-bottom: 10px;
}

.member h3 {
  margin-bottom: 5px;
  font-size: 1.2em;
}

.main-nav {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}


.video-responsive {
  overflow: hidden;
  padding-bottom: 56.25%;
  position: relative;
  height: 0;
	max-width:1000px ;
	
	margin-top:2em;
	margin:auto;
	display:block;
}

.video-responsive iframe {
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  position: absolute;
}




.panel-container {
  width: 90%;
  margin: 20px auto;
  font-family: 'Segoe UI', sans-serif;
	margin-top: -3em ;
}

/* --- Volets --- */
.accordion {
  background: linear-gradient(135deg, #222, #333);
  color: white;
  cursor: pointer;
  padding: 14px 20px;
  margin: 10px 0;
  font-size: 18px;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
}

.accordion:hover {
  background: linear-gradient(135deg, #333, #444);
}

.accordion .arrow {
  transition: transform 0.3s ease;
	color: orange;
}

/* --- Contenu --- */
.panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  background-color: rgba(0,0,0,0);
  border-radius: 0 0 12px 12px;
}

.panel-content {
  padding: 20px;
  color: white;
  overflow-y: auto;
  max-height: 500px;
  -ms-overflow-style: none; /* IE & Edge */
  scrollbar-width: none; /* Firefox */
}

.panel-content::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}


.label {
  color : orange;
}







.artist-block {
  margin-bottom: 30px;
}

.artist-title {
  text-align: left;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 16px;
  color: orange;
}




.artist-layout {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}

.artist-description {
  flex: 1 1 300px;
  color: #ccc;
  font-size: 16px;
	text-align:justify;
}


.artist-description p{

	text-align:justify;
}



.read-more {
  display: inline-block;
  margin-top: 8px;
  text-decoration: none;
  color: #fda500;
  font-weight: bold;
  transition: color 0.3s ease;
}

.read-more:hover {
  color: #ffcc00;
}

.artist-video {
  flex: 1 1 260px;
  aspect-ratio: 16/9;
  min-width: 240px;
}
.artist-video iframe {
  border-radius: 25px;
  width: 100%;
  height: 100%;
}








/* === Responsive === */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.9);
    position: absolute;
    top: 60px;
    right: 0;
    width: 200px;
    padding: 10px;
  }

	
	
	.event-container img {
 
 margin-left:0% ;
 width: 80% !important ;
		height : auto !important ;
}
	
		.event-container p {
 
 margin-left:0% ;
 max-width: 95% ;
}
	
	
	  .accordion {
    font-size: 16px;
    padding: 12px 16px;
  }

  .panel-content {
    padding: 16px;
  }
	
	
	.artist-video {
  
  aspect-ratio: 16/9;
		flex: 1 1 201px;

		margin-top:-140px ;
}
	
	
	
	
	  .artist-layout {
    flex-direction: column;
    gap: 30px;
  }
  .artist-title {
    font-size: 20px;
  }
	
	
	.scroll-section {
      
		width:100% !important;
	
    }
	
	
	
	  .slider-btn {
    font-size: 1.5em;
    padding: 0.2em 0.4em;
  }

	
	.event-container {

width: 100% !important;

 
}
	
	
	.members-section {

  width:100% !important;
}
	
	
	.floating-logo {
  position: fixed;         /* comme le header */
  top: 5px;
  left: 10px;
  height: 70px;
  z-index: 101;            /* au-dessus du header */
  pointer-events: none;
}
	
	.slide-caption-alt {
  position: absolute;
  bottom: 72% !important;
  left: 10% !important;
  color: black;
}
	
	
	.panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  background-color: rgba(0,0,0,0.3);
  border-radius: 0 0 12px 12px;
}
	
	
	
	.slider-container {
  
  height: 70vh;

}
	
	.slide-caption {
  position: absolute;
  bottom: 10% !important;
  left: 10% !important;
  color: white;
}
	
		.slide-caption-alt2 {
  position: absolute;
  bottom: 10% !important;
  left: 10% !important;
  color: white;
}
	
	
.slide img {
  width: 98%;
  height: 98%;
  object-fit: cover;
  display: block ;
  margin: auto ;
  filter: brightness(1.1);
	border-radius : 0px ;
}

	 .scroll-section img {
    max-width:95% !important;
  }
 .scroll-section h2 {
    color:orange !important;
  }

	
  .nav-links.open {
    display: flex;
  }

  .burger {
    display: block;
	  color: orange;
  }

  .slide-caption h2 {
    font-size: 1.5em;
  }
  .slide-caption-alt h2 {
    font-size: 1.5em;
  }
	  .slide-caption-alt2 h2 {
    font-size: 1.5em;
  }
  .members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
  justify-items: center;
}
}

  .site-footer {
    font-size: 0.8em;
	  margin-top:0em;
  }

  .footer-links a {
    font-size: 1.2em;
  }




}


