/* =======================================
   🔧 RESET DE BASE
======================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden; /* filet de sécurité anti-débordement horizontal */
}

img {
  max-width: 100%;
  height: auto; /* aucune image ne dépasse son conteneur par défaut */
}

/* =======================================
   🧠 TYPOGRAPHIE GLOBALE
======================================= */

/* Titres */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  letter-spacing: 0px;
  text-transform: uppercase; /* Look cinéma */
}

/* Paragraphes et texte normal */
body, p, li, a, span {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 400;
}

/* Titre principal */
h1 {
  font-size: 3em;
  text-align: center;
  margin: 0;
  letter-spacing: 0px; /* Espacement façon affiche de film */
  text-transform: uppercase; /* Look cinéma */
}

/* =======================================
   🎬 HEADER (LOGO CENTRÉ + NAV GAUCHE)
======================================= */
.logo-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.logo-center img {
  height: 70px;
  width: auto;
  display: block;
}
/* ==========================
   HEADER FIXE + LOGO
========================== */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: rgba(0,0,0,0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(6px);
  padding: 0 20px;
}

/* Nav gauche */
.nav-left {
  position: absolute;
  left: 20px;
}

.nav-left ul {
  display: flex;
  gap: 25px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-left a {
  text-decoration: none;
  color: white;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1em;
  transition: color 0.3s ease;
}

.nav-left a:hover {
  color: #ead39e;
}

/* Burger menu */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.burger span {
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Nav droite : réseaux sociaux */

.nav-right ul {
  display: flex;
  gap: 25px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-right a {
  text-decoration: none;
  color: white;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1em;
  transition: color 0.3s ease;
}


.nav-right {
  position: absolute;
  right: 20px;
  display: flex;
  gap: 20px;
  align-items: center;
  z-index: 2;
}

.nav-right .social-icon img {
  height: 25px;
  width: auto;
  filter: brightness(1);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.nav-right .social-icon:hover img {
  transform: scale(1.2);
  filter: brightness(0.85);
}


/* --------------------------
   RESPONSIVE MOBILE
-------------------------- */
@media (max-width: 768px) {
  /* Cacher le menu desktop */
  .nav-left ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 50px;
    left: 10px;
    width: 160px;
    background: rgba(0, 0, 0, 0.75);
    padding: 15px;
    border-radius: 8px;
  }

  .nav-left ul.show {
    display: flex;
  }

  .nav-left ul li {
    padding: 10px 0;
    border-bottom: none;
  }

  .burger {
    display: flex;
  }
}

/* Header encore plus compact sur très petits écrans */
@media (max-width: 480px) {
  .logo-center img {
    height: 45px;
  }

  .nav-right {
    right: 10px;
    gap: 10px;
  }

  .nav-right .social-icon img {
    height: 18px;
  }
}

/* Logo hero */
.hero-logo {
  position: absolute;
  top: 120px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  opacity: 0;
  animation: fadeIn 2s forwards 0.5s; /* fondu après 0.5s */
}

.hero-logo img {
  height: 300px;
  width: auto;
  max-width: 80vw; /* évite tout débordement horizontal */
}

@media (max-width: 768px) {
  .hero-logo {
    top: 95px;
  }
  .hero-logo img {
    height: 150px;
  }
}

@media (max-width: 480px) {
  .hero-logo {
    top: 85px;
  }
  .hero-logo img {
    height: 110px;
  }
}

/* Animation fondu */
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Texte au-dessus de la vidéo */
.video-overlay {
  position: relative;
  z-index: 1;
  color: white;
  text-align: center;
  top: 40%;
  transform: translateY(-50%);
  font-family: 'Tanker', sans-serif;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.6); /* rend le texte lisible */
}

/* =======================================
   🎥 SECTION A PROPOS
======================================= */


.intro img {
  width: 100%;
  position: relative;
}

.float-right {
  float: right; /* image à droite */
  margin-left: 5px;
  margin-top: -5%;
  width: 400px;
  max-width: 100%; /* ne dépasse jamais son conteneur */
}

@media (max-width: 768px) {
  .float-right {
    float: none;      /* on empile au lieu de faire flotter */
    display: block;
    width: 100%;
    max-width: 280px;
    margin: 0 auto 20px;
  }
}

/* =======================================
   🎥 SECTION VIDÉO
======================================= */
.video-section {
  position: relative;
  height: 60vh; /* 🔸 Ajuste ici la hauteur de la vidéo */
  overflow: hidden;
  --fade-amount: 15%;
  mask-composite:linearGradient(to bottom transparent, black var(--fade-amount), black calc(100%-var(--fade-amount)), transparent);
}

/* Vidéo d'arrière-plan */
.background-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%) scale(1);
  object-fit: cover;
  z-index: 0;
}

/* Texte au-dessus de la vidéo */
.video-overlay {
  position: relative;
  z-index: 1;
  color: white;
  text-align: center;
  top: 40%;
  transform: translateY(-50%);
  font-family: 'Tanker', sans-serif;
}

/* =======================================
   🖼️ SECTION HÉRO (image + titre)
======================================= */

.hero-content {
  position: relative;
  top: -150px; /* 🔸 Ajuste selon ton besoin */
  z-index: 1;
  display: flex;
  flex-direction: column; /* empile image + texte */
  align-items: center;
  justify-content: center;
  height: 100vh; /* occupe tout l’écran */
  text-align: center;
  color: white;
}

.hero-img {
  width: 200px; /* 🔸 Ajuste selon ton image */
  height: auto;
  margin-bottom: 80px; /* espace entre image et texte */
}

/* Texte descriptif sous le titre */
.hero p {
  font-size: 1.2em;
  margin-bottom: 1.5em;

}

/* =======================================
   🔘 BOUTONS
======================================= */
.btn {
  background: transparent;
  color: #000000;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 0px;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #ead39e;
}

/* =======================================
   📄 SECTIONS GÉNÉRALES
======================================= */
section {
  padding: 80px 10%;
  background: #fff;
  color: #333;
}

.content {
  padding: 80px 20px;
  background-color: #fff;
  color: #333;
  text-align: center;
  font-family: 'Space Grotesk', sans-serif;
  
}

/* ==========================
   ABOUT GALLERY (2X2 GRID)
========================== */
.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* ✅ Forcé en 2 colonnes */
  gap: 30px;
  padding: 60px 10%;
  background-color: #fff;
  text-align: center;
}

.about-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-item img {
  width: 90%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.about-item img:hover {
  transform: scale(1.03);
}

.text-block {
  margin-top: 15px;
}

.text-block h4 {
  font-family: 'Playfair Display', serif;
  text-transform: uppercase;
  font-size: 1.1em;
  color: #000;
  margin-bottom: 8px;
}

.text-block p {
  font-family: 'Space Grotesk', sans-serif;
  color: #444;
  font-size: 0.95em;
  line-height: 1.5;
}

/* ✅ Responsive : une seule colonne sur mobile */
@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}


/* ==========================
   REELS VIDEO
========================== */
.reels-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  padding: 40px 20px;
  background-color: #ffffff;
  
}

@media (max-width: 768px) {
  .reels-showcase {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 30px 15px;
  }
}

@media (max-width: 480px) {
  .reels-showcase {
    grid-template-columns: 1fr;
  }
}

.reel {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.7);
  cursor: pointer;
  height: auto;      /* adapte à la hauteur du contenu */
  aspect-ratio: 9/16; /* ou 9/16 selon ton format vidéo */
   
  
}

.film {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.7);
  cursor: pointer;
  aspect-ratio: 16/9; /* tu peux changer selon le format de tes vidéos */
  height: auto;
  
}

.film:hover .bg-video {
  transform: scale(1.05); /* léger zoom au hover */
}

.film:hover .reel-overlay {
  opacity: 1;
}

.bg-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.5s ease;
  background-color: #000; /* noir derrière les bandes si elles apparaissent */

}

.reel:hover .bg-video {
  transform: scale(1.05);
}

.reel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.reel:hover .reel-overlay {
  opacity: 1;
}

.reel-title {
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 1.3em;
  margin-bottom: 15px;
  text-align: center;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
}

.play-reel {
  background-color: #ead39e;
  border: none;
  padding: 10px 20px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1em;
  cursor: pointer;
  border-radius: 5px;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.play-reel:hover {
  transform: scale(1.05);
  background-color: #d1b87a;
}


/* =======================================
   PHOTOS SCROLL GALLERY
======================================= */
div.scroll-container {
  background-color: #ffffff;
  overflow: auto;
  white-space: nowrap;
  padding: 10px;
}

div.scroll-container-vert {
  background-color: #ffffff;
  overflow: auto;
  white-space: nowrap;
  padding: 10px;
}

div.scroll-container img {
  padding: 5px;
  height: 20%;
  width: 40%;  
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}


div.scroll-container img:hover {
  transform: scale(1.03);
}


div.scroll-container-vert img {
  padding: 5px;
  height: 20%;
  width: 25%;  
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}


div.scroll-container-vert img:hover {
  transform: scale(1.03);
}

/* =======================================
   CONTACT FORM
======================================= */
.contact-section {
  padding: 80px 10%;
  background-color: #fff;
  text-align: center;
}

.contact-section h2 {
  font-family: 'Playfair Display', serif;
  text-transform: uppercase;
  margin-bottom: 30px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  max-width: 500px;
  margin: 0 auto;
  gap: 15px;
}

.contact-form label {
  font-weight: bold;
  text-align: left;
  color: #333;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1em;
}

.contact-form button {
  background-color: #ead39e;
  border: none;
  padding: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1em;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.contact-form button:hover {
  background-color: #d1b87a;
  transform: scale(1.05);
}




/* =======================================
   💻 PARAMÈTRES GLOBAUX
======================================= */
body {
  font-size: 18px;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

/* =======================================
   📱 RESPONSIVE DESIGN
======================================= */

/* Tablettes */
@media (max-width: 1024px) {
  body {
    font-size: 16px;
  }

  .hero-content {
    flex-direction: column;
    padding: 20px;
  }

  h1 {
    font-size: 2em;
  }

  .hero-img {
    width: 120px;
  }
}

/* Mobiles */
@media (max-width: 768px) {
  body {
    font-size: 14px;
  }

  h1 {
    font-size: 1.8em;
    text-align: center;
  }

  .hero-content {
    padding: 10px;
  }

  .hero-img {
    width: 100px;
    margin-bottom: 15px;
  }

  p {
    text-align: center;
    padding: 0 10px;
  }
}

/* Très petits écrans */
@media (max-width: 480px) {
  h1 {
    font-size: 1.5em;
  }

  .hero-img {
    width: 80px;
  }
}


footer {
  text-align: center;
  padding: 20px 0;
  color: #999;
  font-size: 0.9em;
}