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

body {
  background: #000000 ;
  color: #ffffff;
  padding: 20px;
  line-height: 1.6;
}


header {
  text-align: center;
  padding: 200px 20px;
  background-image: url("assets/image/dessins.png"); 
  background-size: cover;    
  background-position: center; 
  background-repeat: no-repeat; 
  color: #fff;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  position: relative;
}

header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  z-index: 1;
}

header > * {
  position: relative;
  z-index: 2;
}
header .logo {
  width: 400px;
  margin-bottom: 10px;
}

header h1 {
  font-size: 2.5rem;
  margin-bottom: 5px;
}

header h2 {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 10px;
  backdrop-filter: blur(2px); /* flou du fond */
  
  padding: 10px 20px;
  border-radius: 12px;

  /* 🔥 Contour flou */
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.4);
  
  color: white;
  display: inline-block;
}

header p.slogan {
  font-size: 1rem;
  font-style: italic;
  color: #e0e0e0;
}

.page-subtitle {
  backdrop-filter: blur(2px); /* flou du fond */
  
  padding: 10px 20px;
  border-radius: 12px;

  /* 🔥 Contour flou */
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.4);
  
  color: white;
  display: inline-block;
}

.header-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px; 
  margin-top: 20px;
  align-items: center;
}

.header-nav .btn {
  background-color: #d38f11; 
  color: #fff;
  padding: 10px 18px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.header-nav .btn:hover {
  background-color: #b3780f; 
}


.reseaux-container {
  position: relative;
  display: inline-block; 
}

.reseaux-menu {
  position: absolute;
  top: 110%;  
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  overflow: hidden;
  max-height: 0; 
  transition: max-height 0.4s ease;
  z-index: 100;
}

.reseaux-menu a {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  color: #111;
  font-weight: 500;
}

.reseaux-menu a:hover {
  background-color: #f0f0f0;
}

.reseaux-menu.open {
  max-height: 150px; 
}




.bio-section {
  padding: 80px;
  display: flex;
  justify-content: center;
}

.bio-wrapper {

  position: relative;
  width: 100%;
  max-width: 2000px;
  padding: 80px 60px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1px;

  background-image: url("assets/image/papier.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 2100px 800px; 
  

  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  overflow: visible;
  color: #111;
  font-family: "Pacifico", cursive;
}

.bio-section {
  color: #111 !important;
  font-family: "Pacifico", cursive;
}


.bio-photo {
  width: 350px;
  height: 380px;
  flex-shrink: 0; 
  border-radius: 15px;
  overflow: hidden;
}

.bio-photo img {
  width: 80%;
  height: 80%;
  object-fit: cover;
  object-position: center 30%;
  min-height: 380px;
  border-radius: 10px;
}

.bio-text {

  max-width: 450px; 
  flex-shrink: 0;
  text-align: left;
  overflow: hidden;
}

.bio-text h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.bio-text p {
  font-size: 1.2rem;
  line-height: 1.6;
  
}

.highlight {
  display: inline-block;
  background: linear-gradient(120deg, rgba(209, 12, 12, 0.7) 0%, rgba(242, 76, 21, 0.3) 30%, rgba(255, 190, 60, 0.5) 70%, rgba(220, 13, 9, 0.2) 100%);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
  transform: rotate(-2deg); 
  box-shadow: 1px 1px 1px rgba(0,0,0,0.1); 
}

.bio-quote {
  margin-top: 15px;
  font-style: italic;
  font-weight: 600;
  opacity: .85;
  font-family: "Pacifico", cursive;
}

.bio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  text-align: left;
  margin-top: 20px;
}

.bio-grid p {
  color: #000000;
}

@media (max-width: 700px) {
  .bio-grid {
    grid-template-columns: 1fr;
  }
}


.categories {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  max-width: 800px;
  margin: 60px auto;
}



.category-card {
  width: 100%;
  max-width: 600px;
  margin: 20px auto;
  height: 400px;
  position: relative;
  border: 2px solid #ccc;
  border-radius: 15px;
  text-decoration: none;
  color: #fff; 
  overflow: hidden;
  background-color: #000; 
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 20px rgba(0,0,0,0.1);
}


.category-card .card-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  color: #fff;
  pointer-events: auto;
}

.category-card .card-content h3 {
  font-size: 2rem;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
  margin: 0;
}


.category-card.video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  z-index: 1;
}

.category-card.video-card:hover video {
  transform: scale(1.1);
}
.category-card.video-card {
  position: relative; 
  overflow: hidden;
}


.category-card.video-card .card-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2; 
  color: #fff; 
  text-align: center;
  pointer-events: none; 
}

.category-card.video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.artworks-section {
  padding: 50px 20px;
  background-color: #000000;
}

.artworks-section h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #4a7cd4;
}

.artworks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}


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

.artwork-card .card-content {
  padding: 3px;
  text-align: center;
  color: #ffffff;
}

.artwork-card:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 25px rgba(0,0,0,0.1);
}


.videos-section {
  padding: 50px 20px;
  background-color: #000000; 
}

.videos-section h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #4a7cd4;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

.video-card {
  position: relative;
  border: 1px solid #ccc;
  border-radius: 10px;
  overflow: hidden;
  background-color: #fff;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 25px rgba(0,0,0,0.1);
}

.video-card video {
  width: 100%;
  height: auto;
  display: block;
}

.video-card .card-content {
  padding: 15px;
  text-align: center;
  color: #111;
}

.category-card.artworks-card img,
.category-card.photo-card img {
  width: 100%;
  height: 100%;      
  object-fit: cover;  
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
  
}


.category-card.artworks-card:hover img,
.category-card.photo-card:hover img {
  transform: scale(1.5); 
}


.albums {
  padding: 50px 20px;
  text-align: center;
}

.album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 0px;
  max-width: 1000px;
  margin: 0 auto;
}

.album-card {
  background: #fff; 
  border: 1px solid #ccc;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.album-card img {
  width: 100%;
  height: auto;   /* remplacer height:200px */
  object-fit: cover;
  transition: transform 0.4s ease;
}

.album-card h3 {
  padding: 15px;
  font-size: 18px;
  color: #111;
}

.album-card:hover img {
  transform: scale(1.05);  /* zoom léger comme artworks */
}

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 999;
}

.lightbox.active {
  display: flex;
}

.lightbox-img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: 10px;
}

.close {
  position: absolute;
  top: 25px;
  right: 35px;
  color: white;
  font-size: 40px;
  cursor: pointer;
}

.nav-btn {
  position: absolute;
  top: 50%;
  color: white;
  font-size: 50px;
  background: transparent;
  border: none;
  cursor: pointer;
  user-select: none;
}

.prev {
  left: 50px;
}

.next {
  right: 50px;
}


footer {
  text-align: center;
  padding: 40px 20px;
  background-color: #4a7cd4; 
  color: #fff;
  margin-top: 60px;
}

.preview-video {
  transition: transform 0.4s ease;
  transform-origin: center;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-card {
  overflow: hidden;
}

.footer {
  text-align: center;
  padding: 40px 10px;
  margin-top: 60px;
  font-size: 14px;
  color: #fff;

  
  background-image: url("assets/image/pieddepage.jpg"); 
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  position: relative;
  overflow: hidden;
}


.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45); 
  backdrop-filter: blur(0.9px);
  z-index: 0;
}

.footer p {
  margin: 5px 0;
  position: relative;
  z-index: 1; 
}
.back-link {
  background-color: #d38f11;
  color: #fff;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.back-link:hover {
  background-color: #b3780f;
}

#loader.fade-out {
  opacity: 0;
  transition: opacity 0.6s ease;
}
.loader-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: white;      /* fond blanc */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 9999;
}

/* La vidéo prend tout l'écran */
.loader-container video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 1;
}

.artworks-grid { display: flex; flex-wrap: wrap; gap: 20px; }
.artwork { cursor: pointer; overflow: hidden; }
.artwork img.thumb { width: 200px; height: auto; transition: transform 0.3s; }
.artwork img.thumb:hover { transform: scale(1.05); }

/* Carrousel overlay */
.carousel-overlay {
  display: none; /* caché par défaut */
  position: fixed; top:0; left:0; width:100%; height:100%;
  background: rgba(0,0,0,0.9);
  justify-content: center; align-items: center;
  flex-direction: column;
  z-index: 9999;
}

.carousel-img { max-width: 90%; max-height: 80%; display: block; margin: 0 auto; }

.carousel-overlay .close {
  position: absolute; top:20px; right:30px; font-size:2rem; color:white; cursor:pointer;
}

.carousel-overlay button.prev, .carousel-overlay button.next {
  position: absolute; top:50%; font-size:2rem; color:white; background:none; border:none; cursor:pointer;
  user-select: none;
}

.carousel-overlay button.prev { left:20px; }
.carousel-overlay button.next { right:20px; }


.project-lightbox img {
  max-width: 90%;
  max-height: 80%;
}

.album-card {
  background: #fff; 
  border: 1px solid #ccc;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.album-card img {
  width: 100%;
  height: 200px; /* toutes les images auront la même hauteur */
  object-fit: cover; 
}

.photo-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.3s;
}

.photo-card:hover img {
  transform: scale(1.05);
}

.project-lightbox {
  display: none;
  position: fixed;
  top:0; left:0;
  width:100%; height:100%;
  background: rgba(0,0,0,0.9);
  justify-content: center; align-items: center;
  z-index: 9999;
}

.project-lightbox img {
  max-width: 90%;
  max-height: 80%;
}

.project-lightbox .close {
  position: absolute;
  top:20px; right:30px;
  font-size:2rem; color:white; cursor:pointer;
}

.project-lightbox .nav-btn.prev { left:20px; top:50%; font-size:2rem; position:absolute; color:white; background:none; border:none; cursor:pointer; }
.project-lightbox .nav-btn.next { right:20px; top:50%; font-size:2rem; position:absolute; color:white; background:none; border:none; cursor:pointer; }
.photo-card {
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.photo-card img {
  width: 100%;
  height: 250px; /* fixe la hauteur comme artworks */
  object-fit: cover;
  transition: transform 0.3s ease;
}

.photo-card:hover img {
  transform: scale(1.05);
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 40px auto;
}

.photo-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: #111;
}

.photo-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.photo-card:hover img {
  transform: scale(1.05);
}

/* Lightbox identique à artworks */
.project-lightbox {
  display: none;
  position: fixed;
  top:0; left:0;
  width:100%; height:100%;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 9999;
}

.project-lightbox.active {
  display: flex;
}

.project-lightbox img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
}

.project-lightbox .close {
  position: absolute;
  top:20px; right:30px;
  font-size:2rem;
  color:white;
  cursor:pointer;
}

.project-lightbox .nav-btn.prev,
.project-lightbox .nav-btn.next {
  position: absolute;
  top:50%;
  font-size:2rem;
  color:white;
  background:none;
  border:none;
  cursor:pointer;
  user-select: none;
}

.project-lightbox .nav-btn.prev { left:20px; }
.project-lightbox .nav-btn.next { right:20px; }

@media (max-width: 700px) {
  .photo-grid {
    grid-template-columns: 1fr;
  }
}
/* --- Grille pour vignettes photo et artworks --- */
.photo-grid, .artworks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

/* --- Carte (photo ou artwork) --- */
.photo-card, .artwork-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.photo-card img, .artwork-card img {
  width: 100%;
  display: block;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.photo-card:hover img, .artwork-card:hover img {
  transform: scale(1.05);
}

.card-content {
position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; 
  
  background: rgba(0, 0, 0, 0.45); 
  display: flex;
  justify-content: center;
  align-items: center; 
  border-radius: 10px;

  color: #fff;
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;

  opacity: 0; 
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 3;
}



.category-card:hover .card-content {
  opacity: 1;
}

.card-content h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.card-content p {
  margin: 2px 0 0;
  font-size: 0.9rem;
}

/* --- Lightbox commun --- */
.project-lightbox {
  display: none;
  position: fixed;
  top:0;
  left:0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.project-lightbox.active {
  display: flex;
}

.project-lightbox img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 12px;
}

.project-lightbox .close,
.project-lightbox .nav-btn {
  position: absolute;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

.project-lightbox .close {
  top: 20px;
  right: 30px;
}

.project-lightbox .nav-btn.prev {
  left: 20px;
}

.project-lightbox .nav-btn.next {
  right: 20px;
}

/* Bouton "Retour à l'accueil" sur index.html */
.back-link {
  position: relative; /* pas fixed, juste dans le flux normal */
  background-color: #d38f11;
  color: #fff;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.back-link:hover {
  background-color: #b3780f;
}

/* Container des boutons de navigation projets */
.page-buttons {
  position: fixed;
  top: 50%;          /* centré verticalement */
  right: 0;           /* collé à droite */
  display: flex;
  flex-direction: column;
  gap: 10px;
  transform: translateY(-50%);
  z-index: 999;
}

/* Style des boutons */
.page-buttons a {
  background-color: rgba(0,0,0,0.7);
  color: #fff;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 50px 0 0 50px; /* arrondi côté gauche */
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease, background-color 0.3s ease;

  /* Déplacement partiel vers la droite (caché) */
  transform: translateX(60%);
}

.page-buttons a:hover {
  transform: translateX(0);
  background-color: #d38f11;
}

.back-loader {
  display: inline-block;
  background-color: #d38f11;
  color: #fff;
  padding: 12px 25px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: background-color 0.3s ease, transform 0.2s ease;


  margin: 20px auto 0 auto;
  display: block; 
}

.back-loader:hover {
  background-color: #b3780f;
  transform: scale(1.05);
}

.page-photo header {
  background-image: url("assets/image/salome.png");
  background-size: cover;
  background-position: center 20%;

}

/* ----- VIDEOS ----- */
.page-video header {
  background-image: url("assets/image/ele.png");
  background-size: cover;
  background-position: center 20%;
}

/* ----- ARTWORKS (optionnel) ----- */
.page-artworks header {
  background-image: url("assets/image/guerriere.JPG");
  
}

/* ---- SLIDE-UP REVEAL ---- */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: transform 0.6s cubic-bezier(.17,.67,.83,.67), opacity 0.6s ease;
  will-change: transform, opacity;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* option : si tu veux un léger delay par défaut */
.reveal[data-delay] {
  transition-delay: 0ms;
}