@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap');
.anton-regular {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.roboto-condensed-uniquifier {
  font-family: "Roboto Condensed", sans-serif;
  font-optical-sizing: auto;
  font-weight: weight;
  font-style: normal;
}


/*animation de départ*/ 

.fullscreen {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: transparent;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

/*texte*/

body {
  margin: 0;
  font-family: 'Roboto Condensed', sans-serif;
  background-color: black;
  color: white;
}

.episode-info h3 {
  font-size: 22px;
  margin: 0;
}

.episode-info p {
  font-style: italic;
  margin: 0;
}

.episode-info span {
  font-size: 16px;
  line-height: 1.5;
}

/*header*/ 
.site-header {
  background-color: #000;
  color: white;
  padding: 20px 40px;
  position: relative;
}

.header-info {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  font-family: Arial, sans-serif;
}

.header-info p {
  margin: 0 0 12px;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 20px;
  line-height: 1.4;
  color: #ffffff;
}

.header-info strong {
  display: block;
  font-size: 18px;
  font-family: "Anton", sans-serif;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 2px;
}

.logo-top-left {
  width: 80px;
  filter: invert(1);
}

.top-bar {
  display: flex;
  font-family: "Anton";
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  position: relative;
}


/*logo*/ 

.logo-link {
  display: inline-block;
}

.logo-link img {
  display: block;
}

.logo-link:link,
.logo-link:visited {
  text-decoration: none;
  color: inherit;
}

/*burger*/ 

/* 🔹 Menu caché par défaut */
#menu {
  display: none;
  transition: all 0.3s ease;
}

#menu.menu-visible {
  display: block;
}

/* 🔹 Style commun aux liens */
#menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#menu li a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  font-family: "Anton", sans-serif;
  transition: color 0.3s;
}

#menu li a:hover {
  color: red;
}

/* 🔹 Burger toujours visible */
.burger {
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.burger span {
  width: 25px;
  height: 3px;
  background-color: white;
  display: block;
}

/* 🖥️ Desktop : menu horizontal quand visible */
@media (min-width: 769px) {
  #menu.menu-visible ul {
    display: flex;
    gap: 30px;
    justify-content: center;
    padding: 20px;
    background-color: #000;
  }

  .burger {
    display: flex;
  }
}

/* 📱 Mobile : menu plein écran centré */
@media (max-width: 768px) {
  #menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.95);
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
  }

  #menu.menu-visible {
    display: flex;
  }

  #menu ul {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  #menu li a {
    font-size: 24px;
    padding: 10px 20px;
  }
}

/*profil CV*/

@media (max-width: 768px) {
  .page-content {
    padding: 0 20px;
  }
}

.page-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.profile {
  padding: 2rem;
  text-align: center;
}

.start-button {
  background: #e50914;
  color: white;
  padding: 1rem 2rem;
  border: none;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.left-info,
.right-info {
  display: flex;
  flex-direction: column;
  gap: 4px; 
}

.left-info p,
.right-info p {
  margin: 2px 0;
  font-size: 14px;
}

.cv-line {
  display: flex;
  align-items: center;
  gap: 8px; 
}

/*episodes*/

@media (max-width: 768px) {
  .episode-card {
    flex-direction: column;
    align-items: center;
  }

  .episode-number {
    font-size: 60px;
    text-align: center;
  }

  .episode-info {
    text-align: center;
  }
}


.episode-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 40px;
  background-color: black;
  color: white;
}

.episode-card {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  position: relative;
  padding: 20px;
  border: 1px solid #2a2a2a; /* cadre gris clair */
  border-radius: 8px;
  background-color: #1c1c1c;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3); /* ombre subtile */
}


.episode-number {
  font-size: 100px;
  font-family: "Anton";
  opacity: 0.1;
  flex-shrink: 0;
  line-height: 1;
}

.episode-thumbnail {
  width: 100%;
  max-width: 400px;
  flex-shrink: 0;
}

.episode-video {
  width: 100%;
  height: auto;
}

.episode-info {
  flex: 1;
  display: flex;
  font-family: "Roboto Condensed", sans-serif;
  flex-direction: column;
  gap: 10px;
}

.red-timeline {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 6px;
  width: 100%;
  background-color: red;
  border-radius: 0 0 5px 5px;
}

/*image*/

.episode-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 5px;
  display: block;
}

.header-banner {
  width: 100%;
  margin: 20px 0;
  display: flex;
  justify-content: center;
}

.banner-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

/*bouton*/

.button-row {
  display: flex;
  gap: 30px;
  margin-top: 40px 0;
  justify-content: flex-start; 
}

.netflix-play-button,
.netflix-list-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  font-size: 1.em;
  font-family: "Roboto Condensed", sans-serif;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  transition: background-color 0.3s, transform 0.2s;
  margin-bottom: 40px; 
}

.netflix-play-button {
  background-color: red;
  color: white;
}

.netflix-play-button:hover {
  background-color: #b30000;
  transform: scale(1.05);
}

.netflix-list-button {
  background-color: #1c1c1c;
  color: white;
  border: none;
  padding: 6px 16px;
  font-size: 13px;
  font-family: "Roboto Condensed", sans-serif;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  transition: background-color 0.3s, transform 0.2s;
}

.netflix-list-button:hover {
  background-color: #333;
  transform: scale(1.05);
}


.netflix-icons {
  display: flex;
  gap: 20px;
  margin-bottom: 40px; 
}

.circle-button {
  background-color: #1c1c1c;
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.circle-button:hover {
  background-color: #333;
  transform: scale(1.1);
}

/*footer*/

footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
  font-family: "Roboto Condensed", sans-serif;
  color: #fff81f;
}

/*biographie*/ 
.masthead {
  background:#fff;
  border-bottom:2px solid var(--border);
  padding:12px 0;
}
.container {
  max-width:1000px;
  margin:0 auto;
  padding:0 20px;
}
.brand-row {
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.brand {
  font-family:"anton", sans-serif;
  font-size:28px;
  font-weight:700;
}
.rubrique {
  font-weight:600;
  color:var(--accent);
  text-transform:uppercase;
  font-size:13px;
}

.headline {
  font-family:"anton", sans-serif;
  font-size:40px;
  margin:24px 0 10px;
}
.deck {
  font-size:18px;
  color:var(--muted);
  border-left:4px solid var(--accent);
  padding-left:12px;
  margin:12px 0 24px;
}

.layout {
  display:grid;
  grid-template-columns:2fr 1fr;
  gap:28px;
}
@media (max-width:900px) {
  .layout { grid-template-columns:1fr; }
}

figure { 
margin:0; 
border:1px solid var(--border);
}

.hero { 
width:100%; 
aspect-ratio:16/9; 
object-fit:cover; 
}

figcaption {
  font-size:13px;
  color:var(--muted);
  padding:10px 12px;
  border-top:1px solid var(--border);
}

.article {
  background:#1f1f1f;
  border:1px solid var(--border);
  padding:20px;
}
.columns {
  column-count:2;
  column-gap:24px;
}
@media (max-width:900px) {
  .columns { column-count:1; }
}
.section-title {
  font-family:"anton", sans-serif;
  font-size:22px;
  margin:18px 0 6px;
  border-bottom:1px solid var(--border);
}
p { margin:10px 0; }

blockquote {
  margin:12px 0;
  padding:12px 16px;
  background:#353535;
  border-left:4px solid var(--accent);
  font-family:"roboto-condensed-uniquifier", sans-serif;
  font-style:italic;
}

.sidebar {
  background:#353535;
  border:1px solid var(--border);
  padding:18px;
}
.sidebar h3 {
  font-family:"anton", sans-serif;
  font-size:18px;
  margin:0 0 10px;
  border-bottom:1px solid var(--border);
}
.list {
  list-style:none;
  padding:0;
  margin:0;
}
.list li {
  padding:8px 0;
  border-bottom:1px dashed var(--border);
}
.label { 
  font-weight:700; 
  font-family: "roboto-condensed-uniquifier", sans-serif;
}

.tools-section {
  margin: 40px 0;
}

.tools-image {
  margin-top: 15px;
  text-align: center; /* centre l’image */
}

.tools-image img {
  display: block;      /* évite certains bugs d’affichage */
  margin: 0 auto;      /* centre l’image horizontalement */
  width: 80%;          /* agrandis ou réduis selon ton besoin */
  max-width: 600px;    /* limite la taille max */
  height: auto;        /* garde les proportions */
  border-radius: 20px; /* coins arrondis */
}



/* mes projets */ 
.project-card {
  aspect-ratio: 16 / 9;
  width: 80%;
  max-width: 800px;
  margin: 60px auto;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(255,255,255,0.2);
}

.project-layer {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.project-layer.active {
  opacity: 1;
  pointer-events: auto;
}


.thumbnail-layer img,
.video-layer video {
  width: 100%;
  height: 100%;
  object-fit: contain;
} 

.text-layer {
  width: 100%;
  height: 100%;
  overflow-y: auto; /* permet de scroller si le texte est trop long */
  display: flex;
  justify-content: center;
  font-family: "roboto-condensed-uniquifier", sans-serif;
  align-items: flex-start; /* le texte commence en haut */
  padding: 20px;
  box-sizing: border-box;
}

.text-layer .project-text h2 {
  font-family:"anton", sans-serif;
  font-size: 1.8em; /* tu peux ajuster la taille */
  font-weight: 700; /* gras pour bien ressortir */
  margin-bottom: 15px;
}

.text-layer .project-text {
  color: white;
  text-align: left; /* plus lisible pour de longs paragraphes */
  background-color: rgba(0,0,0,0.6);
  padding: 20px;
  border-radius: 15px;
  max-width: 600px;
}


.video-layer video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

/*navigation*/ 
.timeline-wrapper {
  position: fixed;
  top: 100px;
  left: 30px; /* au lieu de right */
  height: calc(100vh - 100px);
  display: flex;
  align-items: center;
  z-index: 1000;
}


.timeline-line {
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background-color: #e50914;
}
 
.timeline-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 40px; 
  margin-left: 20px; 
  z-index: 1;
}

.timeline-items li a {
  color: #fff;
  text-decoration: none;
  font-size: 1em;
  font-family: "Anton", sans-serif;
  padding: 8px 16px;
  border-radius: 4px;
  background-color: transparent;
  transition: all 0.3s ease;
  font-weight: 500;
}

.timeline-items li a:hover {
  background-color: #e50914;
  color: #fff;
}

.timeline-items li a.active {
  background-color: #e50914;
  color: #fff;
}


html {
  scroll-behavior: smooth;
}

@media (max-width: 768px) {
  .timeline-wrapper {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    flex-direction: row;
    justify-content: center;
    background-color: rgba(0,0,0,0.8);
    padding: 10px 0;
  }

  .timeline-line {
    display: none;
  }

  .timeline-items {
    flex-direction: row;
    gap: 15px;
    justify-content: center;
  }

  .timeline-items li a {
    font-size: 0.8em;
    padding: 6px 10px;
  }
}

/*option mobile*/ 
@media (max-width: 768px) {
  .timeline-wrapper {
    position: static;
    width: 100%;
    flex-direction: row;
    justify-content: center;
    margin: 20px 0;
    height: auto;
  }

  .timeline-line {
    display: none;
  }

  .timeline-items {
    flex-direction: row;
    gap: 15px;
    justify-content: center;
  }

  .timeline-items li a {
    font-size: 0.8em;
    padding: 4px 8px;
  }
}

/*personnes inspiration*/
body {
  background: #000000;
  font-family: "roboto-condensed-uniquifier", sans-serif;
}

.personnes h2 {
  text-align: center;
  color: white;
  margin-bottom: 20px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
}

.card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
  text-align: center;
  min-height: 400px;
}

.card-front {
  position: absolute;
  inset: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end; 
  align-items: center;
  transition: opacity 0.4s ease;
}

.card-front img {
  flex-grow: 1;
  width: 100%;
  height: 100%;          
  object-fit: cover; 
}

.card-front h3 {
  margin: 0 0 10px; 
  padding: 5px 10px;
  background: rgba(0,0,0,0.6);
  color: white;
  border-radius: 4px;
  font-family: "anton", sans-serif;
  position: relative;
  z-index: 1;
}

.card-back {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0,0,0,0.95);
  color: white;
  font-family: "roboto-condensed-uniquifier", sans-serif;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.4s ease;
  text-align: center;
  transform: translateY(100%);
  overflow-y: auto;   /* <-- permet de scroller si le texte dépasse */
  display: block;     /* <-- on enlève le flex qui écrasait le texte */
}

.card:hover .card-front {
  opacity: 0;
  z-index: 1;
}

.card:hover .card-back {
  opacity: 1;
  z-index: 2;
  transform: translateY(0);
}


/*films inspirations*/
.film-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); 
  gap: 30px;
  padding: 20px;
}

.film-card {
  text-align: center;
  color: white;
}

.film-card img {
  width: 100%;
  max-width: 160px;
  height: 220px;
  object-fit: cover;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.film-card p {
  margin-top: 10px;
  font-size: 0.9em;
  font-family: "roboto-condensed-uniquifier", sans-serif;
  color: white;
}

/* mes buts*/ 

   .section-title {
      margin: 40px 20px 20px;
      font-size: 24px;
      font-family: "anton", sans-serif;
      border-left: 6px solid #e50914;
      padding-left: 10px;
    }


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

    .card {
      background-color: #222;
      border-radius: 8px;
      overflow: hidden;
      transition: transform 0.3s;
    }

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

    .card img {
      width: 100%;
      height: 150px;
      object-fit: cover;
    }

    .card-content {
      padding: 15px;
    }

    .card-content h3 {
      margin: 0 0 10px;
      font-size:18px;
      font-family: "anton", sans-serif;
      text-align: center;
      color: #ffffff;
    }

    .card-content p {
      font-size: 14px;
      line-height: 1.4;
      font-family:"roboto-condensed-uniquifier", sans-serif;
      text-align: justify;
    }

/*social media*/

.social-section {
  text-align: center;
  padding: 40px 20px;
  background-color: #000;
}

.social-section h2 {
  color: #ffffff;
  margin-bottom: 30px;
  font-size: 24px;
  font-family: "anton", sans-serif;
}

.social-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.social-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #fff;
  font-family: "roboto-condensed-uniquifier", sans-serif;
  transition: transform 0.3s;
}

.social-card:hover {
  transform: scale(1.1);
}

.social-card img {
  width: 60px;
  height: 60px;
  margin-bottom: 10px;
}

.social-card p {
  font-size: 14px;
  font-family: "roboto-condensed-uniquifier", sans-serif;
  margin: 0;
}

@media (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr; /* une seule colonne sur mobile */
  }

  .project-card {
    width: 95%; /* occupe presque toute la largeur */
    margin: 20px auto;
  }

  .text-layer .project-text {
    font-size: 0.9rem; /* texte un peu plus petit */
    font-family: "roboto-condensed-uniquifier", sans-serif;
    padding: 15px;
  }
}
