@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;600;700&display=swap');

/* RESET ET BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Rajdhani', sans-serif;
  background-color: #000;
  color: #d4af37;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* HEADER FIXE */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 50px;
  background-color: rgba(0, 0, 0, 0.95);
  border-bottom: 1px solid #333;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.logo img {
  height: 60px;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05);
}

.nav {
  display: flex;
  gap: 30px;
}

.nav a {
  color: #d4af37;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  padding: 5px 0;
}

.nav a:hover {
  color: #fff;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #d4af37;
  transition: width 0.3s ease;
}

.nav a:hover::after {
  width: 100%;
}

.burger {
  display: none;
  font-size: 2rem;
  color: #d4af37;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.burger:hover {
  transform: scale(1.1);
}

/* CORRECTION VIDEO FIXE */
#hero-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

/* HERO SECTION */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  overflow: hidden;
  background: transparent; /* Pas de fond supplémentaire */
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(0,0,0,0.8) 0%, rgba(212,175,55,0.1) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero img {
  max-width: 450px;
  height: auto;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.5));
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.hero .subtitle {
  font-size: 1.5rem;
  color: #fff;
  margin: 10px 0 30px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.hero .intro {
  max-width: 700px;
  margin: 0 auto 30px;
  line-height: 1.6;
  color: #ccc;
  font-size: 1.1rem;
}

/* CORRECTION BOUTON CTA */
.cta-button {
  display: inline-block;
  margin-top: 20px;
  padding: 15px 40px;
  background: transparent;
  color: #d4af37;
  border: 2px solid #d4af37;
  text-decoration: none;
  font-weight: 600;
  border-radius: 5px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  cursor: pointer; 
   z-index: 10;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #d4af37;
  transition: left 0.3s ease;
  z-index: -1;
  
}

.cta-button:hover {
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.cta-button:hover::before {
  left: 0;
}

/* SECTIONS AVEC FOND SEMI-TRANSPARENT */
.services, .why, .contact, .footer {
  position: relative;
  z-index: 1;
  background: rgba(0, 0, 0, 0.85); /* Fond semi-transparent pour lisibilité */
}

.services {
  padding: 100px 20px;
   background: rgba(0, 0, 0, 0.3); /* Fond noir semi-transparent */
}

.service-item {
  display: flex;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto 80px;
  gap: 50px;
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease;
}

.service-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.service-item:nth-child(even) {
  flex-direction: row-reverse;
  transform: translateX(50px);
}

.service-item:nth-child(even).visible {
  transform: translateX(0);
}

.service-image {
  flex: 1;
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  min-height: 300px;
}

.service-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(212,175,55,0.1) 0%, transparent 100%);
  z-index: 1;
}

.service-image-placeholder {
  width: 100%;
  height: 300px;
  background: linear-gradient(135deg, #111 0%, #333 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: #d4af37;
}

.service-content {
  flex: 1;
  padding: 30px;
}

.service-content h3 {
  color: #d4af37;
  font-size: 2rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.feature {
  background: rgba(212, 175, 55, 0.1);
  padding: 15px 20px;
  border-radius: 8px;
  color: #fff;
  font-size: 1.1rem;
  border-left: 4px solid #d4af37;
  transition: all 0.3s ease;
}

.feature:hover {
  background: rgba(212, 175, 55, 0.2);
  transform: translateX(10px);
}

/* POURQUOI CHOISIR */
.why {
  background: linear-gradient(135deg, rgba(17,17,17,0.95) 0%, rgba(0,0,0,0.95) 100%);
  text-align: center;
  padding: 100px 20px;
  border-top: 1px solid #333;
  border-bottom: 1px solid #333;
}

.why ul {
  list-style: none;
  padding: 0;
  max-width: 700px;
  margin: 40px auto 0;
  text-align: left;
}

.why li {
  color: #fff;
  padding: 20px;
  border-bottom: 1px solid #333;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.why li::before {
  content: '✔';
  color: #d4af37;
  font-weight: bold;
  margin-right: 15px;
  font-size: 1.2rem;
}

.why li:hover {
  color: #d4af37;
  padding-left: 30px;
  background: rgba(212, 175, 55, 0.05);
}

.why li:last-child {
  border-bottom: none;
}

/* CONTACT */
.contact {
  text-align: center;
  padding: 100px 20px;
}

.contact p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: #fff;
}

form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 500px;
  margin: 40px auto;
}

input, textarea {
  padding: 15px;
  border: 1px solid #444;
  background: #111;
  color: #fff;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: 'Rajdhani', sans-serif;
}

input:focus, textarea:focus {
  outline: none;
  border-color: #d4af37;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

button {
  background: linear-gradient(45deg, #c7a22b, #d4af37);
  color: #000;
  border: none;
  padding: 15px;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
}

/* FOOTER */
.footer {
  text-align: center;
  padding: 40px 20px;
  border-top: 1px solid #333;
  color: #888;
}

.footer p {
  margin: 10px 0;
}

/* EFFET DE BRILLANCE DORÉE */
.shine {
  background: linear-gradient(90deg, #d4af37, #fff, #d4af37);
  background-size: 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shine 3s infinite linear;
}

@keyframes shine {
  from { background-position: 200%; }
  to { background-position: -200%; }
}

/* --------- RESPONSIVE --------- */
@media (max-width: 768px) {
  .header {
    padding: 12px 20px;
  }

  .burger {
    display: block;
  }

  .nav {
    position: fixed;
    top: 80px;
    right: -100%;
    background: rgba(0, 0, 0, 0.98);
    flex-direction: column;
    width: 100%;
    height: calc(100vh - 80px);
    transition: right 0.3s ease;
    padding: 50px 20px;
  }

  .nav.active {
    right: 0;
  }

  .nav a {
    padding: 20px 0;
    border-bottom: 1px solid #222;
    text-align: center;
    font-size: 1.2rem;
  }

  .hero img {
    max-width: 120px;
  }

  .hero .subtitle {
    font-size: 1.2rem;
  }

  .service-item {
    flex-direction: column;
    gap: 30px;
    margin-bottom: 60px;
  }

  .service-item:nth-child(even) {
    flex-direction: column;
  }

  .service-image {
    min-height: 200px;
  }

  .service-image-placeholder {
    height: 200px;
    font-size: 3rem;
  }

  .logo img {
    height: 50px;
  }

  .service-content h3 {
    font-size: 1.5rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero .intro {
    font-size: 1rem;
  }
  
  .cta-button {
    padding: 12px 30px;
    font-size: 0.9rem;
  }
  
  .services, .why, .contact {
    padding: 60px 20px;
  }
  
  .feature {
    padding: 12px 15px;
    font-size: 1rem;
  }
}