/* =========================
   RESET & BASE
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Goudy Old Style', Arial, sans-serif;
  color: white;
  background-image: url('images/Voci_Background.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* =========================
   HEADER / NAV
========================= */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
}

/* Burger button */
.burger {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

/* Mobile logo */
.mobile-logo {
  display: none;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 10px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 8px 12px;
  background: rgba(159, 190, 222, 0.35);
  border-radius: 4px;
}

/* =========================
   LAYOUT
========================= */
.content {
  display: flex;
  flex-direction: row; /* desktop côte à côte */
  min-height: 100vh;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}

/* Sidebar desktop */
.sidebar {
  width: 300px;
  background: rgba(159, 190, 222, 0.35);
  backdrop-filter: blur(4px);
  padding: 20px;
  display: block; /* desktop visible */
  position: relative;
}

.sidebar img {
  max-width: 100%;
  height: auto;
  display: block;
}

.sidebar .logo {
  max-width: 250px;
  width: 100%;
  margin: 0 auto 20px;
}

/* Boutons sidebar */
.sidebar-button {
  display: block;
  text-align: center;
  padding: 12px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  margin-bottom: 15px;
  margin-top: 15px;
  color: white;
  transition: transform 0.2s, background 0.2s;
}

/* Hover */
.sidebar-button:hover {
  transform: scale(1.05);
}

.sidebar a {
  color: white;
  text-decoration: underline; /* optionnel */
}

/* Bouton billetterie (fixe) */
.billetterie-button {
  background: #c0392b;
}

.billetterie-button:hover {
  background: #a93226;
}

/* =========================
   CONTENT
========================= */
.title-box {
  background: #d6d2d2;
  color: #222;
  padding: 20px;
  border-radius: 10px;
  margin: 20px 0;
  width: 80%;
  text-align: center;
}

.text-box {
  background: #fff;
  color: #000;
  padding: 20px;
  border-radius: 8px;
  max-width: 70%;
  line-height: 1.6;
}

.concert-poster {
  width: 600px;
  max-width: 60%;
  border-radius: 8px;
}

.circular-photo {
  width: 250px;        /* taille desktop */
  max-width: 100%;     /* 👈 empêche de dépasser */
  height: auto;
  border-radius: 50%;
  display: block;
  margin: 0 auto;
}

.photo-container {
  text-align: center;
  margin-bottom: 20px;
}

/* Responsive video */
.video-wrapper {
  position: relative;
  width: 800px;
  max-width: 60%;
  padding-bottom: 56.25%;
}

.video-wrapper iframe {
  position: absolute;
  width: 100%;
  height: 100%;
}

/* Grid repertoire */
.grid-repertoire {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.repertoire-block {
  background-color: #f5f5f5;
  color: #000;
  padding: 20px;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.repertoire-block img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.repertoire-block:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding: 40px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  background-color: rgba(0,0,0,0.7);
}

.modal-content {
  background: white;
  color: black;
  max-width: 800px;
  margin: auto;
  padding: 30px;
  border-radius: 10px;
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: 1.5em;
  cursor: pointer;
}

.contact-page {
  max-width: 100%;
  width: 100%;
  border-radius: 0; /* enlève les coins arrondis */
}

.button-light {
  color: #0c5fdc;
  background: transparent;
  border: 2px solid #0c5fdc;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: bold;
  text-align: center;
}

/* =========================
   CONTACT PAGE
========================= */
.contact-container {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.contact-form-side, .contact-infos {
  background: #f5f5f5;
  color: #000;
  padding: 20px;
  border-radius: 10px;
}

.contact-form-side {
  flex: 2 1 400px;
}

.contact-infos {
  flex: 1 1 250px;
}

.contact-form-side form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-form-side input,
.contact-form-side textarea,
.contact-form-side button {
  padding: 8px 12px;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 1em;
  width: 100%;
}

.contact-form-side button {
  background-color: #0c5fdc;
  color: white;
  font-weight: bold;
  cursor: pointer;
  border: none;
  transition: background 0.2s;
}

.contact-form-side button:hover {
  background-color: #094bb5;
}

/* =========================
   SIDEBAR TOGGLE (MOBILE)
========================= */
.sidebar-toggle {
  display: none;
  background: #0c5fdc;
  color: white;
  padding: 10px;
  text-align: center;
  border-radius: 6px;
  cursor: pointer;
  margin-bottom: 10px;
}

/* =========================
   FOOTER
========================= */
footer {
  text-align: center;
  padding: 10px;
  background: rgba(0,0,0,0.7);
  position: fixed;
  bottom: 0;
  width: 100%;
}

/* =========================
   MEDIA QUERIES MOBILE
========================= */
@media (max-width: 768px) {

  /* Layout mobile vertical */
  .content {
    flex-direction: column;
  }

  main {
    order: 1;
    padding: 10px;
  }

  /* Sidebar mobile */
  .sidebar {
    display: none; /* caché par défaut */
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    background: rgba(159, 190, 222, 0.95);
    z-index: 100;
    padding: 20px;
  }

  .sidebar.active {
    display: block;
  }

  .sidebar-toggle {
    display: block;
  }

  /* Logo mobile à côté du burger */
  .mobile-logo {
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
  }

  .mobile-logo img {
    max-width: 80px;
    display: inline-block;
    vertical-align: middle;
  }

  nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .burger {
    display: inline-block;
  }

  nav ul {
    display: none;
    flex-direction: column;
    background: rgba(0,0,0,0.9);
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    padding: 10px;
    gap: 0;
  }

  nav ul li {
    width: 100%;
  }
  
  nav ul li a {
    display: block;
    width: 100%;
    padding: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
  }
  
  nav ul.active {
    display: flex;
  }

  /* Typography */
  .title-box {
    width: 100%;
    font-size: 1.4em;
  }

  .text-box {
    max-width: 100%;
  }

  .concert-poster,
  .video-wrapper {
    width: 100%;
    max-width: 100%;
  }

  /* Contact page mobile */
  .contact-container {
    flex-direction: column;
  }

  .contact-form-side, .contact-infos {
    width: 100%;
  }

}