@font-face {
  font-family: "MidnightTerror";
  src: url("../assets/fonts/MidnightTerror.ttf") format("truetype");
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  background: black;
  color: white;
  font-family: "MidnightTerror", sans-serif;
}

/* --- HEADER --- */
header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background: black;
}

header nav a {
  text-decoration: none;
  color: white;
  font-size: 1.2em;
  transition: color 0.3s ease;
}

header nav a:hover {
  color: crimson;
}

/* Effet Tom Colas */
.nav-center .tom {
  color: crimson;
  transition: color 0.3s ease;
}

.nav-center .colas {
  color: white;
  transition: color 0.3s ease;
}

.nav-center:hover .tom {
  color: white;
}

.nav-center:hover .colas {
  color: crimson;
}

/* --- HERO --- */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

#bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -1;
  transform: translate(-50%, -50%);
  object-fit: cover; /* ✅ couvre tout l’écran */
}

.roles {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 1;
}

#role-text {
  font-size: 2.5em;
  letter-spacing: 2px;
  color: white;
  position: relative;
}

/* Curseur clignotant */
#role-text::after {
  content: "|";
  margin-left: 5px;
  animation: blink 0.8s infinite;
  color: white;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* --- FOOTER --- */
footer {
  background: black;
  padding: 80px 40px;
}

.footer-inner {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 30px;
}

footer h2 {
  font-size: 2em;
  font-weight: bold;
  color: #666;
  margin: 0;
}

.social-links {
  display: flex;
  gap: 20px;
}

.social-links a {
  text-decoration: none;
  font-size: 1em;
  color: #555;
  transition: color 0.4s ease;
}

/* Couleurs officielles au hover */
.social-links a[href*="instagram.com"]:hover {
  color: #E4405F;
}

.social-links a[href*="youtube.com"]:hover {
  color: #FF0000;
}
