/* Réinitialisation des marges et des paddings */
body, html {
  margin: 0;
  padding: 0;
  height: 100%;
}

/* Fond principal */
html {
  height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: 'Cinzel', serif;
  background-color: #121212;
  color: #e0e0e0;
  margin: 0;
  padding: 0;
  background-image: url('../images/background.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Conteneur principal */
main {
  flex: 1;
  padding: 2rem;
}

/* Pied de page */
footer {
  flex-shrink: 0;
  background-color: #121212;
  padding: 1rem;
  text-align: center;
  border-top: 1px solid #000099;
  background-image: url('../images/footer-bg.jpg');
  background-size: cover;
  background-position: center;
}

/* Haut de page */
header {
  background-color: #121212;
  padding: 1rem;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #000099;
  background-image: url('../images/header-bg.jpg');
  background-size: cover;
  background-position: center;
}

/* Style pour l'icône du menu */
.menu-icon {
  width: 20px;
  height: 20px;
  margin-right: 0.5rem;
  vertical-align: middle;
}

nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap; /* Permet aux éléments de passer à la ligne sur les petits écrans */
}

nav ul li {
  margin: 0 1rem;
}

nav ul li a {
  color: #3399cc; /* bleu spatial */
  text-decoration: none;
  font-size: 1.2rem;
  transition: color 0.3s ease;
  text-shadow: 0 0 6px rgba(58,134,255,0.6);
}

nav ul li a:hover {
  color: #6EA8FF;
  text-shadow: 0 0 10px rgba(110,168,255,0.8);
}

/* Adaptation pour les petits écrans */
@media (max-width: 768px) {
  nav ul li {
    margin: 0.5rem;
  }

  nav ul li a {
    font-size: 1rem;
  }

  main {
    padding: 3rem 1rem 1rem;
  }
}

section {
  padding: 2rem;
  margin-top: 4rem;
  border-radius: 5px;
  margin-bottom: 2rem;
}

footer {
  background-color: #121212;
  padding: 1rem;
  text-align: center;
  border-top: 1px solid #000099;
  margin-top: 2rem;
}

/* Section de contact */
.contact-section {
  display: flex;
  flex-wrap: nowrap; /* Empêche les éléments de passer à la ligne */
  align-items: flex-start;
  padding: 2rem;
  margin-top: 4rem;
}

.contact-form {
  flex: 1;
  min-width: 300px;
  padding: 1rem;
}

.contact-image {
  flex: 1;
  min-width: 300px;
  padding: 1rem;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-image img {
  max-width: 50%;
  height: auto;
  user-drag: none;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  pointer-events: none; /* Désactive les interactions avec l'image */
}

/* Responsive design */
@media (max-width: 768px) {
  .contact-section {
    flex-direction: column;
  }
}
