/* Variables */
:root {
  --spacing-small: clamp(0.5rem, 1vw, 1rem);
  --spacing-medium: clamp(1rem, 2vw, 2rem);
  --spacing-large: clamp(2rem, 4vw, 4rem);
  --spacing-xlarge: clamp(4rem, 8vw, 8rem);
}

/* Fonts */
@font-face {
  font-family: "BrooklynHeavy";
  src: url("../fonts/Brooklyn/Brooklyn Heavy 1.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "BrooklynNormal";
  src: url("../fonts/Brooklyn/Brooklyn Normal 1.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Futura BT";
  src: url("../fonts/Futura/futura-bt.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "KunstlerScript";
  src: url("../fonts/Kunstler-script/kunstler-script.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat-SemiBold";
  src: url("../fonts/Montserrat/Montserrat-SemiBold.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat-Medium";
  src: url("../fonts/Montserrat/Montserrat-Medium.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Keyframes */
/* 
@keyframes fadeIn {
  from {
    background-color: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0);
  }

  to {
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
  }
}

@keyframes fadeOut {
  from {
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
  }

  to {
    background-color: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0);
  }
}

@keyframes slideInUp {
  from {
    transform: translateY(100%);
  }

  to {
    transform: translateY(0);
  }
}

@keyframes slideOutDown {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(100%);
  }
} */

@keyframes continuousZoom {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05); /* Zoom léger */
  }
  100% {
    transform: scale(1);
  }
}

.modal {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  display: none;
  background-color: rgba(0, 0, 0, 0.8);
}

/* Appliquer les animations à l'ouverture */
/* .modal.fade-in {
  animation: fadeIn 0.5s forwards;
} */

/* .modal-content.slide-in {
  animation: slideInUp 0.5s forwards;
} */

/* Appliquer les animations à la fermeture */
.modal.fade-out {
  animation: fadeOut 0.5s forwards;
}

.modal-content.slide-out {
  animation: slideOutDown 0.5s forwards;
}

.invisible {
  opacity: 0;
  transition: opacity 0.2s ease-in;
}

@keyframes fadeInNavbarLinks {
  from {
    opacity: 0;
    transform: translateY(10px);
    /* Part du bas */
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-navbar .navbar-links-container a,
.animate-navbar #languageSwitcher {
  opacity: 0;
  animation: fadeInNavbarLinks 0.5s forwards ease;
}

/* Animation de gauche à droite, de bas en haut */
.animate-navbar .nlc-left #languageSwitcher {
  animation-delay: 0.4s;
  /* Le sélecteur de langue apparaît en premier */
}

.animate-navbar .nlc-left a:nth-child(2) {
  /* "À propos" */
  animation-delay: 0.6s;
}

.animate-navbar .nlc-left a:nth-child(3) {
  /* "Adhésion" */
  animation-delay: 0.8s;
}

.animate-navbar .nlc-right a:nth-child(1) {
  /* "Réservation" */
  animation-delay: 1s;
}

.animate-navbar .nlc-right a:nth-child(2) {
  /* "Galerie" */
  animation-delay: 1.2s;
}

.animate-navbar .nlc-right a:nth-child(3) {
  /* "Contact" */
  animation-delay: 1.4s;
}

body,
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: #000;
  background-image: url(../medias/img/BACKGROUND\ BLURY\ HALO.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  line-height: 1.6;

  overflow-y: scroll;
}

.no-scroll {
  overflow: hidden;
}

/* Style de la scrollbar pour Webkit (Chrome, Safari) */
body::-webkit-scrollbar {
  width: 4px;
}

body::-webkit-scrollbar-track {
  background: transparent;
}

body::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.3);
  /* border-radius: 10px; */
  cursor: pointer;
}

/* Ombre linéaire sur tout le site */
.shadow-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  pointer-events: none;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0) 20%,
    rgba(0, 0, 0, 0) 80%,
    rgba(0, 0, 0, 1) 100%
  );
  opacity: 0.75;
  z-index: 2;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  z-index: 1001;
  display: flex;
  justify-content: center;
  align-items: center;
}

.overlay-content {
  background-color: rgba(255, 255, 255, 0.85);
  padding: var(--spacing-medium);
  text-align: center;
  padding: var(--spacing-large);
  margin: var(--spacing-large);
}

.overlay-content #overlay-img {
  width: 100%;
  max-height: 300px;
  object-fit: contain;
  height: auto;
  margin: 0 auto;
}

#acceptAudio {
  background-color: #333;
  color: #fff;
  margin: 0 auto;
}

/* Conteneur pour les labels et les switches */
.switch-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: var(--spacing-small) 0;
  padding: var(--spacing-small);
}

/* Style du switch */
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #444;
  border-radius: 24px;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: #000;
  transition: 0.4s;
  border-radius: 50%;
}

/* Conteneur pour les labels et les switches */
.switch-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: var(--spacing-medium) 0;
  padding-top: var(--spacing-medium);
  padding-bottom: var(--spacing-medium);
  padding-left: 0;
  padding-right: 0;
  gap: var(--spacing-medium);
  border-top: 1px solid rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

/* Style du switch */
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #888;
  border-radius: 24px;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: #fff;
  transition: 0.4s;
  border-radius: 50%;
}

/* Styles du switch lorsqu'il est coché */
input:checked + .slider {
  background-color: #333;
}

input:checked + .slider:before {
  transform: translateX(26px);
  background-color: #fff;
}

/* Ajout de texte ON / OFF */
input:checked + .slider:after {
  color: #ffffff;
  position: absolute;
  right: 10px;
  top: 3px;
  font-size: 12px;
  font-weight: bold;
}

input:not(:checked) + .slider:after {
  color: #ffffff;
  position: absolute;
  left: 10px;
  top: 3px;
  font-size: 12px;
  font-weight: bold;
}

/* Style du texte des labels */
.switch-container label {
  font-family: "Futura BT", Arial, sans-serif;
  text-transform: uppercase;
  font-size: 1em;
  color: #444;
}

.navbar.scrolled {
  backdrop-filter: blur(10px);
  background-color: rgba(0, 0, 0, 0.8);
  /* Exemple de couleur de fond */
  transition: background-color 0.3s ease;
  /* Transition douce */
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-medium);
  color: white;
  z-index: 1000;

  background-color: transparent;
}

.navbar-links-container {
  display: flex;
  gap: var(--spacing-medium);
}

/* Logo centré */
.navbar-brand {
  width: 130.47px;
  height: 45px;
  background-image: url("../medias/icons/logo-gold.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-left: var(--spacing-large);
  margin-right: var(--spacing-large);
}

.navbar-links-container {
  display: flex;
  gap: var(--spacing-large);
  flex: 1;
  /* Donne de l'espace égal aux containers de liens */
  justify-content: center;
  font-family: "Montserrat-Medium", Arial, sans-serif;
  font-weight: 400;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.nlc-left {
  justify-content: flex-end;
}

.nlc-right {
  justify-content: flex-start;
}

#languageSwitcher {
  font-family: "BrooklynNormal", Arial, sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  color: #fff;
  background-color: transparent;
  border: none;
  text-transform: uppercase;
  cursor: pointer;
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  background-size: 1rem;
}

/* Style de la liste déroulante */
#languageSwitcher option {
  background-color: #000;
  color: #fff;
  padding: 0.5rem;
}

.language-switcher {
  display: flex;
  gap: 10px; /* Espace entre les drapeaux */
  cursor: pointer;
}

.flag-icon {
  width: 24px;
  height: auto;
  opacity: 0.3; /* Opacité réduite pour les drapeaux non-sélectionnés */
  transition: opacity 0.3s;
}

.flag-icon.selected {
  opacity: 1; /* Opacité pleine pour le drapeau sélectionné */
}

/* Toggle button (pour le menu mobile) */
.navbar-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;

  opacity: 0;
  animation: fadeInNavbarLinks 0.5s forwards ease;
}

.navbar-toggle span {
  width: 24px;
  height: 2px;
  background-color: white;
  margin: 3px 0;
}

/* Modal navigation */
.modal-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 1);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--spacing-large);
  padding: var(--spacing-large);
}

.modal-nav.show {
  display: flex;
}

.modal-links {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.modal-links li {
  margin-bottom: var(--spacing-medium);
}

.modal-links a {
  color: #ffffffc0;
  font-family: "Montserrat-Semibold", Arial, sans-serif;
  font-weight: 400;
  font-size: 1.5rem;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.3s;
}

.modal-links a:hover {
  color: #fff;
}

.close-modal {
  position: absolute;
  top: var(--spacing-large);
  right: var(--spacing-large);
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
}

/* Effet d'ouverture pour les grandes tailles d'écran (PC) */
@keyframes openCurtainsLeftPC {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}

@keyframes openCurtainsRightPC {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(100%);
  }
}

/* Effet d'ouverture pour les petites tailles d'écran (mobile ou superposition) */
@keyframes openCurtainsLeftMobile {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}

@keyframes openCurtainsRightMobile {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(100%);
  }
}

/* Curtains */
.curtain {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  max-width: 500px;
  z-index: 1;
}

/* Rideau de gauche */
.curtain-left {
  left: 0;
  background-image: url("../medias/img/hero/CURTAINS/LEFT.png");
}

/* Rideau de droite */
.curtain-right {
  right: 0;
  background-image: url("../medias/img/hero/CURTAINS/RIGHT.png");
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-medium);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.hero-content.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Icônes - Hero */
.hero-content img {
  opacity: 0.5;
  transition: opacity 0.3s;
}

.hero-content img.active {
  opacity: 1;
}

/* Animation pour faire apparaître les rideaux */
.show-curtains .curtain-left {
  transform: translate3d(0, 0, 0);
}

.show-curtains .curtain-right {
  transform: translate3d(0, 0, 0);
}

/* Header */
header {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: #000; /* Couleur de secours */
  background-size: cover;
  background-position: center;
  padding: var(--spacing-large);
  overflow: hidden;
}

header.animate-image::before {
  opacity: 1;
  transform: scale(1); /* Scale down to normal size */
}

header h1 {
  font-family: "KunstlerScript", cursive;
  font-size: clamp(3.24rem, 10vw, 7.5rem);
  font-weight: initial;
  line-height: 1;
  left: -4px;
  position: relative;
  z-index: 1;
}

header span {
  font-family: "Montserrat-Semibold", Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

header p {
  font-family: "Montserrat-Semibold", Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

.discover-btn {
  font-family: "Montserrat-Semibold", Arial, sans-serif;
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 2px;
  line-height: 1;

  display: inline-block;
  width: fit-content;
  padding: var(--spacing-small);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 0.3s, color 0.3s;
  position: relative;
  z-index: 1;
}

.btn-home-group {
  margin-top: 100px;
  display: flex;
  flex-direction: row;
  margin: 0 auto;
  gap: 20px;
}

.discover-btn:hover {
  transform: scale(1.025);
  background-color: rgba(255, 255, 255, 0.1);
  /* Optionnel : Changez la couleur de fond au survol */
}

/* Main content */
main {
  max-width: 1000px;
  margin: 0 auto;
  padding-top: var(--spacing-xlarge);
  padding-bottom: var(--spacing-xlarge);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xlarge);
}

/* Sections */
section {
  padding: var(--spacing-medium);
  background-color: rgba(255, 255, 255, 0.015);
  z-index: 3;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-medium);
}

header {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: var(--spacing-large);
  overflow: hidden;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: #000;
  transition: background-image 0.5s ease-in-out;
}

header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out, transform 1s ease-in-out;
  transform: scale(1.3); /* Initial scale for zoom effect */
  z-index: -1;
}

header.animate-image::before {
  opacity: 1;
  transform: scale(1); /* Scale down to normal size */
}

.hero-content img {
  opacity: 0.5;
  transition: opacity 0.3s;
}

.hero-content img.active-logo {
  opacity: 1; /* Le logo actif sera plus visible */
}

section h2 {
  font-family: "Montserrat-Semibold", Arial, sans-serif;
  font-weight: 400;
  font-size: 1rem;
  text-transform: uppercase;
  line-height: 1.2;
}

section p {
  font-family: "Futura BT", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #ffffffc0;
}

button {
  font-family: "Montserrat-Semibold", Arial, sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;

  display: block;
  width: fit-content;
  padding: var(--spacing-small);
  background-color: #fff;
  color: #000;
  border: none;

  transition: background-color 0.3s;
  transition: transform 0.3s;

  cursor: pointer;
}

button:hover {
  background-color: #ccc;
  transform: scale(1.025);
}

.section-with-image .section-content {
  display: flex;
  gap: var(--spacing-medium);
  align-items: flex-start;
}

.section-with-image .text-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-medium);
}

.section-with-image img {
  width: 50%;
  object-fit: cover;
  max-height: 100vh;
}

.section-with-image .text-content #text-membership {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-medium);
}

/* Style de la modal Charte */
#modalCharte {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  /* Fond sombre semi-transparent */
  backdrop-filter: blur(5px);
  /* Effet de flou */
  animation: fadeIn 0.5s ease forwards;
  /* Applique l'animation */
  overflow: auto;
}

/* Contenu de la modal */
#modalCharte .modal-content {
  position: relative;
  background-color: #000;
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin: var(--spacing-large) auto;
  padding: var(--spacing-large);
  width: 100%;
  max-width: 800px;
  color: #fff;
  line-height: 2;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-medium);
  font-family: "Montserrat-Semibold", Arial, sans-serif;
  animation: slideInUp 0.8s ease-out forwards;
}

.modal.fade-out {
  animation: fadeOut 0.5s forwards;
}

.modal-content.slide-out {
  animation: slideOutDown 0.5s forwards;
}

/* Logo dans la modal Charte */
#modalCharte .logo-container {
  display: flex;
  width: 130.47px;
  height: 45px;
  margin: 0 auto;
  justify-content: center;
}

/* Paragraphes dans la modal Charte */
#modalCharte .modal-content p {
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  text-align: center;
  line-height: 1.5;
  letter-spacing: 0.5px;
}

/* Bouton de fermeture pour la modal Charte */
#modalCharte .close-modal {
  color: #aaa;
  position: absolute;
  top: var(--spacing-medium);
  right: var(--spacing-medium);
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

#modalCharte .close-modal:hover,
#modalCharte .close-modal:focus {
  color: #fff;
  text-decoration: none;
}

/* Styles de la modal d'adhésion */
#modalAdhesion {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  animation: fadeIn 0.5s ease forwards;
  /* Applique l'animation */
  background-color: rgba(0, 0, 0, 0.8);
  /* Fond sombre semi-transparent */
  backdrop-filter: blur(5px);
  /* Effet de flou */
  overflow: auto;
  padding: var(--spacing-large);
  box-shadow: inset 0px 0px 20px rgba(0, 0, 0, 0.5);
}

/* Contenu de la modal */
#modalAdhesion .modal-content {
  background-color: rgba(255, 255, 255, 0.85);
  /* Fond blanc semi-transparent */
  margin: auto;
  padding: var(--spacing-medium);
  border: 1px solid #ddd;
  width: 90%;
  max-width: 600px;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.2);
  color: #333;
  backdrop-filter: blur(5px);
  /* Effet de flou sur le contenu */
  position: relative;
  font-family: "Arial", sans-serif;
  animation: slideInUp 0.8s ease-out forwards;
}

/* Logo dans la modal */
#modalAdhesion .logo-container {
  display: flex;
  justify-content: center;
  margin: var(--spacing-medium) 0;
}

/* Titre principal */
#modalAdhesion h2 {
  font-family: "Montserrat-Semibold", Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 400;
  text-transform: uppercase;
  color: #444;
  text-align: center;
  font-weight: bold;
}

/* Sous-titre (section Social Club) */
#modalAdhesion h3 {
  font-family: "KunstlerScript", cursive;
  font-size: 4rem;
  color: #444;
  font-weight: normal;
  text-align: center;
}

/* Styles pour le formulaire */
#adhesionForm {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-medium);
}

/* Groupe de formulaire */
#adhesionForm .form-group {
  display: flex;
  flex-direction: column;
}

/* Labels */
#adhesionForm .form-group label {
  color: #000;
  font-family: "Futura BT", Arial, sans-serif;
  font-size: 1rem;
}

/* Groupe de parrainage */

.form-group {
  display: flex;
}

.form-group .row {
  padding: var(--spacing-medium);
  border: 1px solid #00000025;
  display: inline-flex;
  gap: var(--spacing-medium);
  align-items: center;
}

/* Champs de texte */
#adhesionForm .form-group input[type="text"],
#adhesionForm .form-group input[type="email"],
#adhesionForm .form-group input[type="tel"],
#adhesionForm .form-group input[type="url"],
#adhesionForm .form-group input[type="date"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  font-size: 1rem;
  color: #333;
  background-color: #f9f9f9;
  box-sizing: border-box;
}

/* Bouton de soumission */
#adhesionForm button[type="submit"] {
  font-family: "Montserrat-Semibold", Arial, sans-serif;
  font-size: 0.75rem;
  display: block;
  width: fit-content;
  padding: var(--spacing-small);
  background-color: #444;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#adhesionForm button[type="submit"]:hover {
  background-color: #333;
}

/* Bouton de fermeture */
#modalAdhesion .close-modal {
  color: #aaa;
  position: absolute;
  top: var(--spacing-medium);
  right: var(--spacing-medium);
  font-size: 24px;
  cursor: pointer;
}

#modalAdhesion .close-modal:hover {
  color: #333;
}

/* Scrollbar styling for modals */
#modalCharte::-webkit-scrollbar,
#modalAdhesion::-webkit-scrollbar,
#modalReservation::-webkit-scrollbar,
#modalComedianEvent::-webkit-scrollbar {
  width: 4px;
  /* Largeur de la scrollbar */
}

#modalCharte::-webkit-scrollbar-track,
#modalAdhesion::-webkit-scrollbar-track,
#modalReservation::-webkit-scrollbar-track,
#modalComedianEvent::-webkit-scrollbar-track {
  background: transparent;
  /* Fond transparent pour discrétion */
}

#modalCharte::-webkit-scrollbar-thumb,
#modalAdhesion::-webkit-scrollbar-thumb,
#modalReservation::-webkit-scrollbar-thumb,
#modalComedianEvent::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.3);
  cursor: pointer;
}

/* Style de la modal Reservation */
#modalReservation,
#modalComedianEvent {
  display: none;
  /* Masquée par défaut */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  /* Fond sombre semi-transparent */
  backdrop-filter: blur(5px);
  /* Effet de flou */
  animation: fadeIn 0.5s ease forwards;
  /* Applique l'animation */
  overflow: auto;
  padding: var(--spacing-large);
  box-shadow: inset 0px 0px 20px rgba(0, 0, 0, 0.5);
}

/* Contenu de la modal */
#modalReservation .modal-content,
#modalComedianEvent .modal-content {
  background-color: rgba(255, 255, 255, 0.85);
  /* Fond blanc semi-transparent */
  margin: auto;
  padding: var(--spacing-medium);
  border: 1px solid #ddd;
  width: 90%;
  max-width: 600px;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.2);
  color: #333;
  backdrop-filter: blur(5px);
  /* Effet de flou sur le contenu */
  position: relative;
  font-family: "Arial", sans-serif;
  animation: slideInUp 0.8s ease-out forwards;
}

/* Logo dans la modal */
#modalReservation .logo-container,
#modalComedianEvent .logo-container {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

/* Titre principal */
#modalReservation h2,
#modalComedianEvent h2 {
  font-family: "Montserrat-Semibold", Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 400;
  text-transform: uppercase;
  color: #444;
  text-align: center;
  font-weight: bold;
  margin-bottom: var(--spacing-medium);
}

/* Groupe de formulaire */
#modalReservation .form-group,
#modalComedianEvent .form-group {
  display: flex;
  flex-direction: column;
}

/* Labels */
#modalReservation .form-group label,
#modalComedianEvent .form-group label {
  color: #000;
  font-family: "Futura BT", Arial, sans-serif;
  font-size: 1rem;
}

/* Styles pour le formulaire */
#modalReservation form,
#modalComedianEvent form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-medium);
}

/* Champs de formulaire */
#modalReservation .form-group input[type="text"],
#modalComedianEvent .form-group input[type="text"],
#modalReservation .form-group input[type="email"],
#modalComedianEvent .form-group input[type="email"],
#modalReservation .form-group input[type="tel"],
#modalComedianEvent .form-group input[type="tel"],
#modalReservation .form-group input[type="date"],
#modalComedianEvent .form-group input[type="date"],
#modalReservation .form-group input[type="time"],
#modalComedianEvent .form-group input[type="time"],
#modalReservation .form-group input[type="number"],
#modalComedianEvent .form-group input[type="number"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  font-size: 1rem;
  color: #333;
  background-color: #f9f9f9;
  box-sizing: border-box;
}

#modalReservation .form-group select,
#modalComedianEvent .form-group select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  font-size: 1rem;
  color: #333;
  background-color: #f9f9f9;
  box-sizing: border-box;
}

/* Bouton de soumission */
#modalReservation button[type="submit"],
#modalComedianEvent button[type="submit"] {
  display: block;
  width: 100%;
  padding: var(--spacing-small);
  background-color: #444;
  color: #fff;
  border: none;
  font-family: "Montserrat-Semibold", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#modalReservation button[type="submit"]:hover,
#modalComedianEvent button[type="submit"]:hover {
  background-color: #333;
}

/* Bouton de fermeture pour la modal */
#modalReservation .close-modal,
#modalComedianEvent .close-modal {
  color: #aaa;
  position: absolute;
  top: var(--spacing-medium);
  right: var(--spacing-medium);
  font-size: 24px;
  cursor: pointer;
}

/* Animation pour les sections */
@keyframes fadeInSection {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeOutSection {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateY(10px);
  }
}

.hidden-section {
  opacity: 0;
}

.animate-section {
  opacity: 1;
  animation: fadeInSection 0.8s forwards ease;
}

.animate-section-exit {
  animation: fadeOutSection 0.8s forwards ease;
}

/* About */
#about {
  background-image: url("../medias/img/RED VELVET.png");
  z-index: 1;
  position: relative;
  padding: var(--spacing-medium);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-medium);
  box-shadow: 0px -55px 93.1px rgba(0, 0, 0, 1);
}

#about h2 {
  font-family: "Montserrat-Semibold", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.2;
}

#about p {
  font-family: "Futura BT", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 1000px;
  margin: 0 auto;
  color: #ffffffc0;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-medium);
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.gallery-grid img:hover {
  transform: scale(1.05);
  cursor: pointer;
}

/* Effet de survol avec rotation inversée */
.gallery-grid img:nth-child(odd):hover {
  transform: scale(1.05) rotate(-1deg);
}

.gallery-grid img:nth-child(even):hover {
  transform: scale(1.05) rotate(1deg);
}

/* Contact form */
.contact-container {
  display: flex;
  gap: var(--spacing-large);
}

.contact-details {
  max-width: 90%;
  margin: 0 auto;
  text-align: right;
  background-color: transparent;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-medium);
}

.contact-item {
  display: flex;
  gap: var(--spacing-medium);
  flex-direction: column;
}

.contact-title {
  font-family: "BrooklynHeavy", Arial, sans-serif;
  font-size: 1rem;
  color: #981c26;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1;
}

.contact-item p {
  font-family: "Montserrat-Semibold", Arial, sans-serif;
  font-weight: 400;
  font-size: 1rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1;

  word-break: break-word;
  overflow-wrap: break-word;
}

hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  /* Couleur discrète pour le séparateur */
  width: 80%;
  /* Ajuste la largeur du hr */
  margin: 0 auto;
  /* Centre le hr */
}

.contact-info,
#contactForm {
  flex: 1;
  gap: var(--spacing-medium);
  display: flex;
  flex-direction: column;
}

#contactForm button {
  align-self: flex-end;
}

.form-row {
  display: flex;
  gap: var(--spacing-medium);
}

input,
textarea {
  width: 100%;
  padding: var(--spacing-small);
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-family: "BrooklynNormal", Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
}

textarea {
  height: 150px;
  resize: vertical;
}

#schedule {
  display: flex;
  justify-content: right;
  gap: var(--spacing-small);
  flex-direction: initial;
}

.button-group {
  display: flex;
  gap: var(--spacing-medium);
  justify-content: flex-start;
  /* Ajustez à 'center' ou 'flex-end' si nécessaire */
}

.button-group button {
  flex: 1;
  /* Optionnel : chaque bouton prend la même largeur */
  width: fit-content;
  /* Ajuste la largeur du bouton au contenu */
}

.button-group #btnCharte {
  font-family: "Montserrat-Semibold", Arial, sans-serif;
  font-size: 0.75rem;
  letter-spacing: 2px;
  background-color: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Boutons du formulaire pour les modals */
.form-buttons {
  display: flex;
  gap: var(--spacing-medium);
  justify-content: flex-end;
  /* Aligne les boutons à droite */
}

.form-buttons button[type="button"] {
  background-color: #333;
  /* Couleur de fond du bouton Annuler */
  color: #fff;
  touch-action: manipulation;
}

/* Bouton pour fermer la modal 'Charte' */
.close-button-container {
  display: flex;
  justify-content: center;
  touch-action: manipulation;
}

.close-button-container button {
  padding: var(--spacing-small);
  font-family: "BrooklynNormal", Arial, sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  background-color: #fff;
  /* Couleur de fond du bouton */
  color: #000;
  border: none;
  cursor: pointer;
  touch-action: manipulation;
}

/* Footer */
footer {
  position: relative;
  text-align: center;
  padding: var(--spacing-medium);
  background-color: rgba(255, 255, 255, 0.025);
}

footer p {
  font-family: "BrooklynNormal", Arial, sans-serif;
  font-weight: 400;
  font-size: 0.65rem;

  text-transform: uppercase;

  color: #ffffffc0;
  opacity: 1;
  transition: none;
}

/* Styles pour le bouton de mise en sourdine */
#buttonToMute {
  position: fixed;
  bottom: calc(
    var(--spacing-medium) + 60px
  ); /* Juste au-dessus du bouton To Top */
  right: var(--spacing-medium);
  padding: var(--spacing-small);
  background-color: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  transition: opacity 0.3s ease;
}

/* Scroll to top button */
#buttonToTop {
  position: fixed;
  bottom: var(--spacing-medium);
  right: var(--spacing-medium);

  padding: var(--spacing-small);

  background-color: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);

  align-items: center;
  justify-content: center;

  cursor: pointer;

  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 3;
}

#buttonToTop.visible {
  opacity: 1;
}

/* Media queries - Responsive */

@media (max-width: 1024px) {
  .discover-btn {
    font-size: 0.75rem;
    font-weight: 500;
    padding: var(--spacing-small);
    margin: 0 auto;
  }

  header p {
    font-size: 0.75rem;
    letter-spacing: 3px;
  }

  header span {
    font-size: 0.75rem;
    letter-spacing: 3px;
  }

  main {
    padding-top: var(--spacing-xlarge);
    padding-bottom: var(--spacing-xlarge);

    padding-left: var(--spacing-large);
    padding-right: var(--spacing-large);

    gap: var(--spacing-xlarge);
  }

  section {
    padding: var(--spacing-large);
    gap: var(--spacing-large);
  }

  button,
  input,
  textarea {
    padding: var(--spacing-small);
  }

  /* Navbar */
  .navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-large);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .navbar-brand {
    margin: 0;
    padding: 0;
  }

  .navbar-links-container {
    display: none;
  }

  .navbar-toggle {
    display: flex;
  }

  /* About */
  #about {
    padding: var(--spacing-large);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-large);
  }

  .section-with-image .section-content {
    display: flex;
    align-items: stretch;
    gap: var(--spacing-large);
  }

  .button-group {
    gap: var(--spacing-large);
  }

  /* Gallery */
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-large);
  }

  /* Contact */
  .contact-container {
    flex-direction: column;
  }

  .form-row {
    gap: var(--spacing-large);
  }

  .contact-info,
  #contactForm {
    flex: 1;
    gap: var(--spacing-large);
    display: flex;
    flex-direction: column;
  }

  .curtain {
    width: 100%;
  }

  /* Groupe de parrainage */

  .form-group .row {
    display: flex;
    gap: var(--spacing-medium);
  }

  .form-group .row label {
    width: 100%;
    text-align: left;
  }
  .language-switcher {
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 850px) {
  .modal {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
    padding: 0;
  }

  .modal-content {
    flex-grow: 1;
    padding: var(--spacing-large);
    overflow-y: auto;
  }

  .bottom-close {
    background-color: #444;
    color: #fff;
    font-size: 1rem;
    padding: 10px;
    width: 100%;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    font-family: "BrooklynNormal", Arial, sans-serif;
  }

  .bottom-close:hover {
    background-color: #333;
  }

  .section-with-image .section-content {
    display: flex;
    align-items: stretch;
    flex-direction: column;
  }

  .section-with-image .text-content {
    gap: var(--spacing-large);
  }

  .section-with-image img {
    width: 100%;
    order: -1;
  }

  main {
    padding-top: var(--spacing-xlarge);
    padding-bottom: var(--spacing-xlarge);
    gap: var(--spacing-xlarge);
  }

  section {
    padding: var(--spacing-large);
    gap: var(--spacing-large);
  }

  .form-row {
    flex-direction: column;
    gap: var(--spacing-large);
  }

  .contact-info,
  #contactForm {
    flex: 1;
    gap: var(--spacing-large);
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  body,
  p,
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    -webkit-font-smoothing: auto;
    -moz-osx-font-smoothing: auto;
  }

  #modalCharte .modal-content,
  #modalAdhesion .modal-content,
  #modalReservation .modal-content,
  #modalComedianEvent .modal-content {
    width: 100%;
    padding: var(--spacing-large);
    margin: 0;
  }

  #modalAdhesion form,
  #modalReservation form,
  #modalComedianEvent form {
    gap: var(--spacing-large);
  }

  .modal-links a {
    font-size: 1.75rem;
  }

  .form-buttons {
    gap: var(--spacing-xlarge);
  }

  .form-buttons button {
    width: 100%;
    margin: var(--spacing-medium) 0; 
  }

  .modal-content {
    padding-bottom: 100px; /* Espace en bas pour que le bouton ne soit pas masqué par clavier */
  }

  .close-modal {
    font-size: 2.5rem;
  }

  .btn-home-group {
    margin-top: 100px;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  /* Contact */
  .contact-item #contactOpeningHoursText {
    margin-bottom: var(--spacing-medium);
  }

  #schedule {
    display: block;
    gap: var(--spacing-small);
  }
}

@media (max-width: 600px) {
  #modalAdhesion,
  #modalReservation,
  #modalComedianEvent {
    padding: 0;
  }

  main {
    padding-top: var(--spacing-xlarge);
    padding-bottom: var(--spacing-xlarge);
    gap: var(--spacing-xlarge);
  }

  section {
    padding: var(--spacing-large);
    gap: var(--spacing-large);
  }

  button {
    padding: var(--spacing-medium);
  }

  /* Gallery */
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-large);
  }

  .form-row {
    flex-direction: column;
    gap: var(--spacing-large);
  }
}

@media (max-width: 480px) {
  .modal-links a {
    font-size: 1.25rem;
  }

  .close-modal {
    font-size: 2rem;
  }

  /* Gallery */
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  }

  .contact-item p {
    font-family: "Montserrat-Semibold", Arial, sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1;
  }

  .button-group {
    flex-direction: column;
    gap: var(--spacing-medium);
  }

  .button-group button {
    width: 100%;
  }

  /* Groupe de parrainage */
  .form-group .row {
    flex-direction: column;
    gap: var(--spacing-medium);
  }

  #reservation button {
    width: 100%;
  }
}

.special-event .section-content {
  padding: var(--spacing-medium) var(--spacing-large);
  position: relative;
  z-index: 1;
}

.special-event .text-content {
  color: #fff;
}

.special-event h2 {
  color: #d4af37;
  font-family: "BrooklynHeavy", Arial, sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin-bottom: var(--spacing-small);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  letter-spacing: 1px;
}

.event-date {
  margin-bottom: var(--spacing-small);
  font-family: "Montserrat-SemiBold", Arial, sans-serif;
}

.event-date strong {
  color: #d4af37;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
}

.special-event p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: var(--spacing-small);
  font-size: 0.95rem;
}

.event-details {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 6px;
  padding: var(--spacing-small);
  margin: var(--spacing-small) 0;
}

.detail-item {
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  font-size: 0.95rem;
}

.detail-item:last-child {
  margin-bottom: 0;
}

.detail-label {
  color: #d4af37;
  font-weight: bold;
  min-width: 90px;
  margin-right: 10px;
  font-family: "Montserrat-SemiBold", Arial, sans-serif;
}

#modalComedianEvent h2 {
  color: #d4af37;
  text-align: center;
  margin-bottom: 10px;
  font-family: "BrooklynHeavy", Arial, sans-serif;
}

#modalComedianEvent h3 {
  color: #666;
  text-align: center;
  font-style: italic;
  margin-bottom: 30px;
  font-size: 1rem;
}

.pricing-display {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 6px;
  border: 1px solid #ddd;
}

.pricing-display label {
  color: #333;
  font-weight: bold;
  margin-bottom: 10px;
  display: block;
}

.pricing-list p {
  margin: 5px 0;
  color: #555;
  font-size: 0.9rem;
}

.pricing-list strong {
  color: #d4af37;
}

.pricing-list small {
  color: #666;
  font-style: italic;
  display: block;
  margin-top: 10px;
}

/* Navigation - Lien événement discret */
.special-event-link {
  position: relative;
  background: rgba(212, 175, 55, 0.1) !important;
  color: #d4af37 !important;
  font-weight: bold !important;
  padding: 6px 12px !important;
  border: 1px solid rgba(212, 175, 55, 0.3) !important;
  border-radius: 4px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  font-size: 0.8rem !important;
  transition: all 0.3s ease !important;
  white-space: nowrap !important;
  margin: 0 3px !important;
}

.special-event-link:hover {
  background: rgba(212, 175, 55, 0.2) !important;
  border-color: rgba(212, 175, 55, 0.5) !important;
  transform: translateY(-1px) !important;
}

/* Responsive pour la section événement */
@media (max-width: 768px) {
  .special-event {
    margin: var(--spacing-medium) 0;
  }

  .special-event h2 {
    font-size: 1.8rem;
  }

  .detail-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .detail-label {
    min-width: auto;
    margin-right: 0;
    margin-bottom: 3px;
  }

  .special-event-link {
    font-size: 0.75rem !important;
    padding: 5px 10px !important;
  }
}
