
/* Reset & base */
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #000;
  color: #eee;
  line-height: 1.4;
  overflow-x: hidden;
}
a {
  color: #0ff;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* HEADER */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 60px;
  background: #111;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 25px;
  z-index: 10000;
  box-shadow: 0 2px 6px rgba(0,0,0,0.7);
}
.logo {
  font-weight: 900;
  font-size: 26px;
  color: #0ff;
  user-select: none;
}
.logo .dev {
  background: #0ff;
  color: #000;
  font-family: 'Courier New', monospace;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 8px;
  font-weight: 700;
}

/* Menu hamburger */
.hamburger {
  font-size: 28px;
  cursor: pointer;
  color: #0ff;
  display: none;
  user-select: none;
}

nav {
  display: flex;
  gap: 24px;
}
nav a {
  font-size: 18px;
  padding: 8px;
  transition: color 0.3s ease;
}
nav a:hover {
  color: #0fa;
}


/* Responsive menu */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
  nav {
    position: fixed;
    top: 60px;
    right: 0;
    background: #111;
    flex-direction: column;
    width: 200px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    border-left: 2px solid #0ff;
    box-shadow: -2px 0 6px rgba(0,255,255,0.2);
  }
  nav.open {
    max-height: 300px;
  }
  nav a {
    padding: 12px 16px;
    border-bottom: 1px solid #222;
  }
}

/* HERO */
.hero {
  margin-top: 60px;
  height: 100vh;
  background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.75)),
    url('https://images.unsplash.com/photo-1504384308090-c894fdcc538d?auto=format&fit=crop&w=1470&q=80') center center/cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  animation: fadeInDown 1s ease forwards;
  color: #0ff;
}
.hero h1 {
  font-size: 3rem;
  margin-bottom: 24px;
  text-shadow: 0 0 10px #0ff;
  letter-spacing: 2px;
}
.hero button {
  font-size: 1.3rem;
  background: #0ff;
  border: none;
  padding: 14px 30px;
  border-radius: 6px;
  color: #000;
  cursor: pointer;
  box-shadow: 0 0 15px #0ff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hero button:hover {
  transform: scale(1.1);
  box-shadow: 0 0 30px #0fa;
}

/* INTRO */
.intro {
  max-width: 700px;
  margin: 40px auto 60px;
  text-align: center;
  font-size: 1.2rem;
  padding: 0 20px;
  color: #ddd;
  animation: fadeInUp 1s ease forwards;
}

/* SERVICES */
#services {
  max-width: 900px;
  margin: auto;
  padding: 0 20px 60px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  animation: fadeInUp 1.2s ease forwards;
}
.service {
  background: #111;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0,255,255,0.2);
  padding: 25px 30px;
  width: 380px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #0ff;
  transition: box-shadow 0.3s ease;
}
.service:hover {
  box-shadow: 0 0 35px #0ff;
}
.service h3 {
  margin-top: 0;
  font-size: 1.7rem;
  margin-bottom: 15px;
  color: #0ff;
  border-bottom: 2px solid #0ff;
  padding-bottom: 8px;
}
.service ul {
  margin: 0 0 20px 20px;
  color: #aad8e6;
  font-size: 1rem;
}
.service ul li {
  margin-bottom: 6px;
}
.service button {
  align-self: flex-start;
  background: #0ff;
  border: none;
  padding: 10px 22px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 700;
  color: #000;
  box-shadow: 0 0 15px #0ff;
  transition: background 0.3s ease;
}
.service button:hover {
  background: #0aa;
  color: #fff;
  box-shadow: 0 0 25px #0aa;
}

/* FORMULAIRE MODAL */
.modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index:
}
/* Modal affichage */
.modal.show {
  opacity: 1;
  pointer-events: auto;
}

/* Contenu modal */
.modal-content {
  background: #111;
  padding: 30px 25px;
  border-radius: 12px;
  width: 90%;
  max-width: 450px;
  box-shadow: 0 0 25px #0ff;
  position: relative;
  color: #0ff;
}

/* Bouton fermer modal */
.close-btn {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 26px;
  cursor: pointer;
  color: #0ff;
  user-select: none;
  transition: color 0.3s ease;
}
.close-btn:hover {
  color: #0aa;
}

/* Formulaire */
form {
  display: flex;
  flex-direction: column;
}
form label {
  margin: 15px 0 6px;
  font-weight: 700;
  font-size: 0.9rem;
  color: #a0f0ff;
}
form input {
  padding: 10px 12px;
  border-radius: 6px;
  border: none;
  font-size: 1rem;
  background: #222;
  color: #eee;
  box-shadow: inset 0 0 6px #0ff3;
  transition: box-shadow 0.3s ease;
}
form input:focus {
  outline: none;
  box-shadow: inset 0 0 12px #0ff;
}

/* Bouton envoyer */
.submit-btn {
  margin-top: 25px;
  background: #0ff;
  border: none;
  color: #000;
  font-weight: 700;
  font-size: 1.2rem;
  padding: 12px 0;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 0 15px #0ff;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.submit-btn:hover {
  background: #0aa;
  color: #fff;
  box-shadow: 0 0 30px #0aa;
}

/* SECTION CONTACT */
#contact {
  max-width: 600px;
  margin: 60px auto 40px;
  padding: 0 20px;
  text-align: center;
  color: #0ff;
  font-size: 1.1rem;
}
#contact h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  text-shadow: 0 0 10px #0ff;
}
#contact a {
  font-weight: 700;
  color: #0ff;
}
#contact a:hover {
  color: #0aa;
  text-decoration: underline;
}

/* Animations */
@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

