/* Reset & Body */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: #000;
  color: #fff;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Header/Navbar */
.header {
  background-color: #000;
  padding: 0;
  margin: 0;
  width: 100%;
}

/* Logo styling */
.navbar-brand img {
  width: 60px;
  height: auto;
  max-height: none;
  object-fit: contain;
}

.header {
  border-bottom: 1px solid #333;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
}
.logo {
  display: flex;
  align-items: center;
  padding: 10px 0;
  gap: 8px;
  white-space: nowrap;
}
.logo-orange {
  color: #ff7900;
  font-size: 20px;
  font-weight: bold;
}
.logo-text {
  color: white;
  font-weight: bold;
}
.navigation {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
  padding: 0;
}
@media (min-width: 768px) {
  .navigation {
    gap: 10px;
    padding: 0;
  }
}
@media (min-width: 992px) {
  .navigation {
    gap: 15px;
  }
}
.nav-link {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  padding: 5px 0;
  white-space: nowrap;
}
.nav-link:hover {
  color: #ff7900;
}
.separator-Menu {
  color: #ff7900;
  margin: 0 5px;
}
.vote-btn {
  background-color: #ff7900;
  color: white;
  border: none;
  padding: 8px 24px;
  border-radius: 9999px;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.3s;
  text-decoration: none;
}
.vote-btn:hover {
  background-color: #ff7900;
}

/* Responsive Navbar */
@media (max-width: 767px) {
  .header-container {
    flex-direction: column;
    align-items: left;
    padding: 10px;
  }
  .logo {
    margin-bottom: 15px;
  }
  .navigation {
    justify-content: flex-start;
    padding: 0 0 10px;
  }
  .nav-link {
    padding: 5px;
  }
  .vote-btn {
    margin-top: 10px;
  }
}
@media (max-width: 992px) {
  .header-container {
    padding: 10px;
  }
  .navigation {
    margin-top: 20px;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .nav-link {
    margin: 5px;
  }
}



/* SOLUTION SIMPLE - Ajoutez uniquement ces règles à votre CSS existant */

/* Rendre l'iframe responsive sans casser la mise en page */
.video-responsive-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  border-radius: 8px;
  overflow: hidden;
}

/* Pour les navigateurs qui ne supportent pas aspect-ratio */
@supports not (aspect-ratio: 16 / 9) {
  .video-responsive-wrapper {
    position: relative;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 ratio */
    display: block;
  }

  .video-responsive-wrapper iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centrage parfait */
    width: 100% !important;
    height: 100% !important;
  }
}

/* Ajustements spécifiques pour tablette */
@media (min-width: 768px) and (max-width: 992px) {
  .video-responsive-wrapper {
    max-width: 350px;
    margin: 0 auto;
    width: 100% !important;
    border-radius: 8px;
    display: flex;
    align-items: left;
    justify-content: left;
  }

  .video-responsive-wrapper iframe {
    max-height: 197px;
    margin: 0 auto;
    display: block;
  }
}

/* Ajustements spécifiques pour mobile - MÊMES RÉGLAGES */
@media (max-width: 767px) {
  .video-responsive-wrapper {
    max-width: 300px;
    margin: 0 auto;
    width: 100% !important;
    border-radius: 8px;
    display: flex;
    align-items: center !important;
    justify-content: center !important;
  }

  .video-responsive-wrapper iframe {
    max-height: 169px;
    margin: 0 auto;
    display: block;
  }
}


