@font-face {
  font-family: 'proclamate';
  src: url('./proclamate heavy.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'proclamate-light';
  src: url('./proclamate light.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

body {
  margin:0;
    width: 100%;
    height: 100%;
    position: absolute;
    background: linear-gradient(45deg,#080607, #161529, #941e1f , #718c96,#b84c2b, #2e3952);
    background-size: 600% 100%;
    animation: gradient 16s linear infinite;
    animation-direction: alternate;
}
@keyframes gradient {
    0% {background-position: 0%}
    100% {background-position: 100%}
}

/* HEADER */
.header {
    position: relative;
    height: 70px;
    
    display: flex;
    align-items: center;
    justify-content: center;
}

/* LOGO */
.logo {
    display: flex;
    justify-content: center; /* centre horizontalement */
    align-items: center; 
    height: 40px;
    position: relative;

}
#logo-justine {
    
position: relative;
    width: 40%;
    filter: drop-shadow(0 0 6px rgba(255, 200, 255, 0.6));
    animation: glow 2s infinite alternate;
    color:red;
}
#logo-justine d {
    
position: relative;
    width: 40%;
    filter: drop-shadow(0 0 6px rgba(255, 200, 255, 0.6));
    animation: glow 2s infinite alternate;
    color:red;
}
/* Glow animation existante */
@keyframes glow {
    0% {
        filter: drop-shadow(0 0 4px rgba(255, 200, 255, 0.4));
    }
    100% {
        filter: drop-shadow(0 0 14px rgba(255, 200, 255, 0.9));
    }
}

/* Reflet animé */
#logo-justine::after {
    content: "";
    position: absolute;
    top: 0;
    left: -50%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0.2) 100%);
    transform: skewX(-20deg);
    animation: shine 2s infinite;
    pointer-events: none;
}

@keyframes shine {
    0% { left: -50%; }
    100% { left: 100%; }
}

/* Reflet animé via pseudo-élément sur le container */
#logo-container::after {
    content: "";
    position: absolute;
    top: 0;
    left: -150%;
    width: 150%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.6) 50%,
        rgba(255,255,255,0) 100%
    );
    transform: skewX(-20deg);
    animation: shine 2s infinite;
    pointer-events: none;
}

/* Animation du reflet */
@keyframes shine {
    0% { left: -150%; }
    100% { left: 150%; }
}



/* MENU BURGER */
#menu-toggle {
    display: none;
}

.burger {
    position: absolute;
    left: 20px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
}

.burger span {
    width: 28px;
    height: 3px;
    background: white;
    transition: 0.3s;
}

/* NAV */
.nav {
    position: fixed;
    inset: 0;
    background: #111;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateX(-100%);
    transition: transform 0.4s ease;
}

.nav ul {
    list-style: none;
    text-align: center;
}

.nav li {
    margin: 20px 0;
}

.nav a {
    color: white;
    text-decoration: none;
    font-size: 1.8rem;
}

/* OUVERTURE DU MENU */
#menu-toggle:checked ~ .nav {
    transform: translateX(0);
}

/* ANIMATION BURGER */
#menu-toggle:checked + .burger span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

#menu-toggle:checked + .burger span:nth-child(2) {
    opacity: 0;
}

#menu-toggle:checked + .burger span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}



.video-fullscreen {
    position: relative;
    width: 100%;
    height: 100vh; /* toujours la hauteur de la fenêtre */
    overflow: hidden; /* coupe les bords qui dépassent */


   
}

.video-fullscreen video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;  /* prend au moins toute la largeur */
    min-height: 100%; /* prend toute la hauteur */
    transform: translate(-50%, -50%); /* centre la vidéo */
    object-fit: cover; /* coupe les bords si nécessaire */
    object-fit: cover; /* vidéo couvre tout en centrant */
    display: block;

    background:
  linear-gradient(to left,#ccc , transparent 20%),
  linear-gradient(to right,#ccc , transparent 20%);

}





/* COVER FULLSCREEN */
#cover {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 9999;

  background: linear-gradient(45deg,#080607, #161529, #941e1f , #718c96,#b84c2b, #2e3952);
  background-size: 600% 100%;
  animation: gradient 16s linear infinite alternate;

  opacity: 1;
  transition: opacity 1s ease; /* <-- fondu */
}

#cover.hidden {
  opacity: 0;
  pointer-events: none;
}

/* ANIMATION DEGRADE */
@keyframes gradient {
  0% { background-position: 0% 0%; }
  100% { background-position: 100% 0%; }
}

    #cover button {
      padding: 20px 40px;
      font-size: 24px;
      cursor: pointer;
      border: none;
      background: #ffffffcc;
      color: #000;
      border-radius: 10px;
      transition: background 0.3s;
    }

    #cover button:hover {
      background: #ffffff;
    }

    /* Video full screen */
    video#heroVideo {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

/* Bouton mute sur la vidéo */
    #muteBtn {
      position: fixed;
      bottom: 30px;
      right: 30px;
      z-index: 10000;
      padding: 15px 20px;
      font-size: 16px;
      background: #ffffffcc;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      transition: background 0.3s;
    }

    #muteBtn:hover {
      background: #ffffff;
    }










/* MOBILE : empilés */
@media (max-width: 768px) {
  .buttons-section {
    flex-direction: column;
    align-items: center;
  }

  .btn-action {
    width: 80%;
    text-align: center;
    letter-spacing: 0;
  }
}


.btn-action:hover,
.btn-2:active {
  letter-spacing: 5px;
}

.btn-action:after,
.btn-action:before {
  backface-visibility: hidden;
  /*border: 1px solid rgba(255, 255, 255, 0);*/
  bottom: 0px;
  content: " ";
  display: block;
  margin: 0 auto;
  position: relative;
  transition: all 280ms ease-in-out;
  width: 0;
}

.btn-action:hover:after,
.btn-action:hover:before {
  backface-visibility: hidden;
  border-color: #fff;
  transition: width 350ms ease-in-out;
  width: 70%;
}

.btn-action:hover:before {
  bottom: auto;
  top: 0;
  width: 70%;
}
