@font-face {
  font-family: 'GTVCS';
  src: url('../fonts/GTVCS-Medium.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

body {
  margin: 0;
  background: #0a0000;
  font-family: 'GTVCS', sans-serif;
  color: #f1f1f1;
  overflow: hidden;
}
.bakbak-link {
  font-family: 'Bakbak One', sans-serif !important;
  font-size: inherit;
}

p {
  color: wheat;
  text-align: center;
  font-size: 30px;
  font-family: 'Bakbak One', sans-serif;
}

.navbar {
  font-family: 'Akira Expanded', sans-serif;
  color: #841a1a;
  background: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  min-height: 20px;
  font-size: 35px;
  letter-spacing: 2px;
  position: relative;
  z-index: 10;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 1.6);
}

.navbar a {
  color: #841a1a;
  text-decoration: none;
  transition: color 0.3s ease;
}

.navbar a:hover {
  color: white;
}

.navbar a.active,
.mobile-menu a.active {
  color: white;
  pointer-events: none;
  cursor: default;
  text-shadow: none;
}

.burger {
  display: none;
  font-size: 2.2rem;
  cursor: pointer;
  color: #841a1a;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  align-items: center;
  width: 100%;
  background-color: #1e1d1d;
  border-top: 2px solid #841a1a;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.5s ease;
}

.mobile-menu.show {
  display: flex;
  max-height: 500px; /* assez grand pour tous les liens */
}

.mobile-menu a {
  font-family: 'Akira', sans-serif;
  font-size: 1.4rem;
  padding: 12px 0;
  text-align: center;
  width: 100%;
  color: #841a1a;
  text-decoration: none;
  border-bottom: 1px solid #333;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.mobile-menu a:hover {
  background-color: #333;
  color: white;
}

@media (max-width: 800px) {
  .nav-left,
  .nav-center,
  .nav-right {
    display: none;
  }

  .burger {
    display: block;
  }

  .mobile-menu.show {
    display: flex;
  }
}

.carousel {
  position: relative;
  width: 90%;
  max-width: 1000px;
  height: 400px;
  margin: 40px auto;
  overflow: hidden;
  border: 2px solid #841a1a;
  border-radius: 12px;
  background: #1e1d1d;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  animation: slideShow 16s infinite;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.slide:nth-child(1) { animation-delay: 0s; }
.slide:nth-child(2) { animation-delay: 3s; }
.slide:nth-child(3) { animation-delay: 6s; }
.slide:nth-child(4) { animation-delay: 9s; }

@keyframes slideShow {
  0%    { opacity: 0; }
  4%    { opacity: 1; }
  25%   { opacity: 1; }
  29%   { opacity: 0; }
  100%  { opacity: 0; }
}

.contact {
  font-family: 'Akira Expanded', sans-serif;
  text-align: center;
  color: white;
}

.contact h2 {
  font-size: 20px;
  margin-bottom: 35px;
}

.contact-links a {
  display: inline-block;
  margin: 0 15px;
  font-size: 1rem;
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-links a i {
  margin-right: 8px;
  font-size: 1.2rem;
}

.contact-links a:hover {
  color: #841a1a;
}

@media (max-width: 800px) {
  .carousel {
    height: 250px;
  }
}

.welcome {
  font-family: 'Bakbak One', sans-serif;
  color: white;
  font-size: 35px;
}

.dropdown-container {
  position: relative;
  display: inline-block;
}

.dropdown-toggle {
  cursor: pointer;
}

.dropdown-menu {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  background-color: #2c2b2b;
  border: 1px solid #841a1a;
  border-radius: 5px;
  padding: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  z-index: 10;
}

.dropdown-menu a {
  color: white;
  text-decoration: none;
  display: block;
  padding: 5px 10px;
  font-size: 20px;
  font-family: 'Bakbak One', sans-serif;
}

.dropdown-menu a:hover {
  background-color: #841a1a;
}

#graphiste-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
}

#floating-words {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -1;
}

.word {
  position: absolute;
  font-size: 1.2rem;
  font-weight: bold;
  color: #ff2e51;
  opacity: 0;
  animation: fadeWord 6s ease-in-out forwards;
  text-shadow: 0 0 10px rgba(255, 46, 81, 0.3);
}

@keyframes fadeWord {
  0%   { opacity: 0; transform: translateY(0); }
  10%  { opacity: 0.2; }
  40%  { opacity: 0.8; transform: translateY(-10px); }
  60%  { opacity: 0.4; }
  100% { opacity: 0; transform: translateY(-20px); }
}

