/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Orbitron', sans-serif;
    scroll-behavior: smooth;
  }
  body {
    background: linear-gradient(135deg, #141e30, #243b55);
    color: #fff;
    padding: 20px;
  }
  .hero {
    position: relative;
    z-index: 1;
    overflow: hidden;
    background-image: url('image/codage1.jpg');
    background-size: cover;
    background-position: center;
    background-blend-mode: unset;
    background-repeat: no-repeat;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 20px;
    animation: gradientShift 20s ease infinite;
  }
  @keyframes gradientShift {
    0% {background-position:0% 50%;}
    50% {background-position:100% 50%;}
    100% {background-position:0% 50%;}
  }

/*   .hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('https://cdn.pixabay.com/photo/2017/01/06/19/15/space-1951336_960_720.jpg') no-repeat center center/cover;
    opacity: 0.08;
    z-index: -1;
    filter: blur(8px);
  } */
  .hero h1 {
    position: relative;
    color: #00acee;
    animation: glitch 2s infinite;
    font-size: 3rem;
    margin-bottom: 20px;
    opacity: 1 !important;
    visibility: visible !important;
  }
  .hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    animation: fadeIn 2s ease;
  }
  .btn {
    background: #00acee;
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1rem;
    text-decoration: none;
    transition: background 0.3s ease;
  }
  .btn:hover {
    background: #007bb5;
  }
  button#btn-explorer {
    background-color: #00acee;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
  }
  button#btn-explorer:hover {
    background-color: #007bb5;
  }
  
  main section {
    margin-bottom: 60px;
    padding: 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 10px rgba(0, 172, 238, 0.5);
  }
  main section h2 {
    margin-bottom: 15px;
    font-size: 2rem;
    border-bottom: 2px solid #00acee;
    padding-bottom: 8px;
  }
  
  main section ul {
    list-style: inside disc;
    margin-top: 10px;
    margin-bottom: 10px;
  }
  
  .slider {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }
  .slider img {
    width: 300px;
    height: 200px;
    border-radius: 10px;
    object-fit: cover;
    scroll-snap-align: start;
    box-shadow: 0 0 10px #00acee;
  }
  
  blockquote {
    font-style: italic;
    color: #00acee;
    margin-top: 10px;
    font-size: 1.1rem;
  }
  
  .gallery {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 15px;
  }
  .gallery img {
    width: 200px;
    height: 120px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 0 10px #00acee;
    transition: transform 0.3s ease;
  }
  .gallery img:hover {
    transform: scale(1.1);
  }
  
  #contact-form {
    display: flex;
    flex-direction: column;
    max-width: 400px;
    margin: 0 auto;
    gap: 15px;
  }
  #contact-form input,
  #contact-form textarea {
    padding: 10px;
    border-radius: 6px;
    border: none;
    font-size: 1rem;
  }
  #contact-form textarea {
    resize: vertical;
    min-height: 100px;
  }
  #contact-form button {
    background-color: #00acee;
    color: white;
    border: none;
    padding: 12px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
  }
  #contact-form button:hover {
    background-color: #007bb5;
  }
  
footer {
  background-color: rgba(0, 172, 238, 0.85);
  padding: 20px 0;
  text-align: center;
  color: white;
  font-size: 0.9rem;
}

.footer-content {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 25px;
}

.social-links a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #007bb5;
}
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.85);
    padding: 10px 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
  }

  .navbar ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 0;
    padding: 0;
  }

  .navbar li a {
    color: #00acee;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
  }

  .navbar li a:hover {
    color: #ffffff;
  }

  body {
    padding-top: 60px;
  }
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Effets survol futuristes */
h2:hover, h3:hover {
    color: #00acee;
    text-shadow: 0 0 10px #00acee;
    transition: all 0.3s ease;
  }
  
  .btn:hover, button:hover {
    box-shadow: 0 0 15px #00acee;
    transform: scale(1.05);
  }
  
  /* Apparition fluide */
  .slider img,
  .gallery img,
  #boxe img {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }
  
  .slider img.reveal,
  .gallery img.reveal,
  #boxe img.reveal {
    opacity: 1;
    transform: translateY(0);
  }
  #tsparticles {
    position: fixed;
    z-index: -1;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
  }
@keyframes glitch {
    0% {
      text-shadow: 2px 0 #00ffea, -2px 0 #ff00c8;
    }
    50% {
      text-shadow: -2px 0 #00ffea, 2px 0 #ff00c8;
    }
    100% {
      text-shadow: 2px 0 #00ffea, -2px 0 #ff00c8;
    }
  }