@charset "UTF-8";
/* CSS Document */


@font-face {
  font-family: "Switzer";
  src: url("font/Switzer-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Switzer";
  src: url("font/Switzer-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
body {
  margin: 0;
  overflow: hidden;
   font-family: "Switzer", sans-serif;
}


.navbar-custom {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 16px 24px;
  display: flex;              /* OBLIGATOIRE */
  align-items: center;
  gap: 50px;                  /* 👈 espace entre clo et about */
  z-index: 100;
font-size: 18px;
}

.navbar-custom .nav-links {
  display: flex;              /* OBLIGATOIRE */
}

.navbar-custom a {
  display: inline-block;
  text-decoration:none;
  color: black;
}
.navbar-custom a:hover{
  display: inline-block;
  text-decoration:underline;
transition: 0.2s;
}


/* SCENE 3D */
.scene {
  width: 100vw;
  height: 100vh;
  perspective: 1600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* CAROUSEL */
.carousel {
  position: relative;
  width: 600px;
  height: 400px;
  transform-style: preserve-3d;
}



/* CARD */
.card {
  position: absolute;
  width: 280px;
  height: 180px;
  left: 50%;
  top: 50%;
  transform-style: preserve-3d;
  transform-origin: center center;
  cursor: pointer;
  overflow: hidden;
border-radius: 0 !important;
background: none;
 
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* MODAL */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.0);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-content {
  width: 80%;
  max-width: 900px;
  position: relative;
}

.modal iframe {
  width: 100%;
  height: 500px;
  border: none;
}

.close {
  position: absolute;
  top: -35px;
  right: 0;
  font-size: 32px;
  cursor: pointer;
}
	
.card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none; /* permet le drag sans bloquer */
}



  .carousel {
    transform: none;
  }
@media (max-width: 768px) {
  .scene {
    width: 100vw;
    height: 90vh;
    perspective: 1200px; /* garder assez pour voir la profondeur */
  }

  .carousel {
    width: 90%;       /* plein écran horizontalement */
    height: 600px;     /* 🔥 important : plus de hauteur pour la roue verticale */
    transform-style: preserve-3d;
  }

}

.footer {
  position: absolute;   /* ou relative selon ton layout */
  bottom: 20px;
  left: 1%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  font-size: 18px;
  color: black;
}
.footer a {
  text-decoration: none;
  color: black;
  transition: color 0.2s;
 
}

.footer a:hover {
  color: black;
}

  .about-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 60px 15px;
  }
  .about-image img {
    max-width: 100%;
    border-radius: 8px; /* optionnel : coins arrondis */
  }
  .about-text h1 {
    font-size: 2rem;
    margin-bottom: 20px;
  }
  .about-text p {
    font-size: 1rem;
    line-height: 1.6;
  }

.about-image img {
  border-radius: 0 !important;
}
