@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    min-height: 100vh;
    background: url("images/fond.jpg") no-repeat;
    background-size: cover;
    background-position: center;
    padding-top: 40px; /* espace pour le menu fixe */
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    backdrop-filter: blur(15px);
    background-color: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar {
    max-width: 1700px;
    margin: 0 auto;
    padding: 10px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.logo {
    color: #fff;
    font-size: 24px;
    font-weight: bold;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 0px;
    position: relative;
}

.nav-links li a {
    color: #fff;
    text-decoration: none;
    padding: 8px 12px;
    transition: background 0.0s;
    border-radius: 4px;
}

.nav-links li a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 80px);
    text-align: center;
    padding: 40px 20px;
}

.wrapper {
    width: 1220px;
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    color: #fff;
    border-radius: 10px;
    padding: 30px 40px;
    margin-bottom: 10px;
}

.wrapper h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.wrapper2 {
  width: 300px;
  background-color: transparent;
  border: 2px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(15px);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  color: #fff;
  border-radius: 10px;
  padding: 30px 40px;
  margin-bottom: 10px;
}

.wrapper2 h1 {
  font-size: 36px;
  margin-bottom: 10px;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 125%;
    left: 0;
    background-color: rgba(0, 0, 0, 0.3); /* même fond que le header */
    backdrop-filter: blur(15px); /* même effet flou */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    min-width: 160px;
    z-index: 1000;
    padding: 5px 0;
}

.dropdown-content li {
    display: block;
}

.dropdown-content li a {
    color: #fff; /* texte blanc comme le menu principal */
    text-decoration: none;
    padding: 8px 16px;
    display: block;
    transition: background 0.3s;
    border-radius: 4px;
}

.dropdown-content li a:hover {
    background-color: rgba(255, 255, 255, 0.2); /* effet de survol similaire */
}

.dropdown:hover .dropdown-content {
    display: block;
}
/* Pour le sous-menu dans le menu déroulant */
.dropdown-content-sub {
    display: none;
    position: absolute;
    left: 100%; /* position à droite */
    top: 0;
    background-color: rgba(0, 0, 0, 0.3);
    min-width: 160px;
    z-index: 1;
}

  /* Affiche le sous-menu au survol */
.dropdown-submenu:hover .dropdown-content-sub {
    display: block;
}

  /* Facultatif : ajustements esthétiques */
.dropdown-submenu {
    position: relative;
}


.btn{
    width: 15%;
    height: 30px;
    background: #fff;
    border: none;
    outline: none;
    border-radius: 30px;
    box-shadow: 0 0 10px rgba(0, 0, 0,.1);
    cursor: pointer;
    font-size: 16px;
    color: #333;
    font-weight: 600;
}


.salle {
    position: relative;
    width: 1000px; /* adapte à ton image */
  }
  
  .salle img {
    width: 100%;
    display: block;
  }
  
  .pc-field {
    position: absolute;
    width: 69px;
    padding: 4px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: rgba(255,255,255,0.9);
  }

  #infosForm {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px; /* espacement vertical entre les champs */
  justify-content: center;
}

#infosForm .form-group input,
#infosForm .form-group select {
  width: 100%;
  padding: 10px 15px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background-color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  font-weight: 500;
  color: #333;
  outline: none;
  transition: border-color 0.3s ease;
}

#infosForm .form-group input::placeholder,
#infosForm .form-group select {
  color: #666;
}

#infosForm .form-group input:focus,
#infosForm .form-group select:focus {
  border-color: #2e8bff;
  box-shadow: 0 0 5px #2e8bff;
}


/* Bouton */
button[type="submit"] {
  padding: 12px 25px;
  font-size: 1.1rem;
  border-radius: 8px;
  border: none;
  background-color: #4285f4;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 10px;
}

button[type="submit"]:hover {
  background-color: #3367d6;
  margin-top: 10px;
}

.home-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 50px;
}

.home-buttons .btn {
  width: 250px;
  height: 50px;
  background: #fff;
  color: #333;
  font-size: 18px;
  font-weight: 600;
  border: none;
  border-radius: 40px;
  box-shadow: 0 0 10px rgba(0, 0, 0, .1);
  text-align: center;
  text-decoration: none;
  line-height: 50px;
  transition: background 0.3s ease, transform 0.2s ease;
}

.home-buttons .btn:hover {
  background-color: #f0f0f0;
  transform: scale(1.05);
}

.full-width-table-container {
  width: 100%;
  padding: 0 20px;
  overflow-x: auto;
}

.full-width-table {
  width: 100%;
  border-collapse: collapse;
  background-color: rgba(255,255,255,0.9);
  color: #333;
  border-radius: 10px;
}

.full-width-table thead {
  background-color: #4285f4;
  color: white;
}

.full-width-table th,
.full-width-table td {
  padding: 10px;
  border-bottom: 1px solid #ccc;
  text-align: center;
}
