/*
Theme Name: My theme
Author: Moi
Version: 1.0
*/

html {
  background-color: #000;
}

body {
  background-color: #000;
}
html body {
  color: rgb(0, 0, 0);
  margin: 0;
  font-family: 'Roboto', sans-serif;
}

body.home-page {
  background-color: #000;
  background:
    linear-gradient(
      to bottom,
      rgba(0,0,0,0.6) 0%,
      rgba(0,0,0,0.8) 60%,
      rgba(0,0,0,1) 100%
    ),
    url('assets/mic-bg.jpg') top center / contain no-repeat;
  background-repeat: no-repeat;
  background-position: top center;
  min-height: 100vh;
}

section {
  padding-block: clamp(3rem, 6vw, 6rem);
  scroll-margin-top: 100px;
}

.section-dark {
  background: black;
  color: white;
}

.section-light {
  background: #d2d2d2;
  color: black;
}

h2 {
  font-size: 3rem;
  font-weight: bold;
  margin: 0;
  font-family: "DM Serif Display", serif;
}

#tour h2,
#gallery h2 {
  color: rgb(255, 255, 255);
}

#music h2 {
  color: #000;
}

.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: black;
  z-index: 1000;
}

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Logo */
.logo {
  position: relative;
  z-index: 2;
  margin-top: 3rem;
}

.logo .custom-logo {
  height: clamp(40px, 5vw, 60px);
  width: auto;
  display: block;
  transition: transform 0.3s ease;
}

.logo .custom-logo:hover {
  transform: scale(1.1);
}

/* Bande derrière */
.band {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -105%);
  z-index: 1;
  pointer-events: none;
}

.band-img {
  width: clamp(200px, 25vw, 500px);
  height: auto;
  border-bottom: 1px solid #ffffff94;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1024px) {
  body.home-page {
    background-size: cover;
    background-position: center center;
  }

  .logo {
    margin-top: 2rem;
  }

  .logo .custom-logo {
    width: clamp(450px, 20vw, 220px);
    height: auto;
  }

  .band-img {
    width: clamp(280px, 50vw, 600px);
  }

}

/* Mobile */
@media (max-width: 600px) {
  body.home-page {
    background-size: cover;
    background-position: center bottom;
  }

  .logo {
    margin-top: 2rem;
  }

  .logo .custom-logo {
    width: clamp(350px, 20vw, 220px);
    height: auto;
  }

  .band-img {
    width: 60vw;
  }

}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: clamp(1.5rem, 5vw, 4rem);
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: white;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: bold;
}

.main-nav a:hover {
  opacity: 0.7;
}

.band-title {
  position: absolute;
  top: 3%;
  left: 70%;
  transform: translate(-50%, -50%);
  font-size: 8rem;
  font-weight: bold;
  color: rgba(255,255,255,0.2);
  z-index: 0;
  white-space: nowrap;
}

.wrapper {
  padding: 2rem;
  overflow-x: auto;
  scroll-behavior: smooth;
}

.tour-table {
  width: 100%;
  border-collapse: collapse;
}

.tour-table th,
.tour-table tr,
.tour-table td {
  padding: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  text-align: left;
  color:#ffffff;
  white-space: nowrap;
}

.tour-table a {
  color: #ffffff;
  text-decoration: underline;
}

@media (max-width: 768px) {

  .tour-table th,
  .tour-table td {
    padding: 8px;
    font-size: 14px;
  }

}

.social-icon {
  width: 40px;
  height: 40px;
}

.contact-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
  height: 50px;
}

.social-icons {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.social-icons-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 9999;
}

.contact-email {
  text-decoration: none;
  color: #fff;
}

.music-player-wrapper {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,0.25);
  margin-bottom: 2rem;
}

.music-player {
  line-height: 0;
}

.music-player iframe {
  display: block;
  width: 100%;
  border: 0;
}

.audio-player {
  width: 100%;
  max-width: 600px;
  margin: 2rem auto;
  display: block;
}

#audio-player {
  width: 100%;
  margin-top: 20px;
}

.playlist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.playlist li {
  padding: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: 0.2s;
}

.playlist li:hover {
  background: rgba(0, 0, 0, 0.07);
}

.play-icon {
  width: 12px;
  height: auto;
  margin-right: 10px;
}

#gallery .wrapper {
  height: 550px; /* taille fixe */
  overflow-y: auto; /* scroll vertical */
  scroll-behavior: smooth;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 1rem;
}

.wrapper::-webkit-scrollbar {
  width: 6px;
}

.wrapper::-webkit-scrollbar-thumb {
  background: #444;
  border-radius: 10px;
}

.gallery-card {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  min-height: 0;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

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

.image-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
}

.modal-content {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  animation: zoom 0.3s ease;
}

.modal-close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}

.flex-col {
  display: flex;
  flex-direction: column;
  width: 100%;
}

@keyframes zoom {
  from { transform: scale(0.8); }
  to { transform: scale(1); }
}

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}





