* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Orbitron", sans-serif;
  background-color: #121212;
  color: #fff;
  background: url("images/logo.jpeg") no-repeat center center fixed;
  background-size: cover;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: -1;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.8);
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: #ff4500;
}

nav ul {
  list-style: none;
  display: flex;
}

nav ul li {
  margin: 0 15px;
}

nav ul li a {
  text-decoration: none;
  color: #fff;
  transition: 0.3s;
}

nav ul li a:hover {
  color: #ff4500;
}

.hero {
  padding: 40px 20px;
  text-align: center;
}

.preamble {
  position: static;
  transform: none;
  margin: 20px auto;
  font-size: 18px;
  padding: 10px;
  border-radius: 8px;
  width: 90%;
  max-width: 800px;
  line-height: 1.5;
  text-align: center;
}

.preamble strong {
  font-size: 22px;
  display: block;
  margin-bottom: 15px;
  color: #ff4500;
}

.about-me {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 60px;
}

.about-text,
.about-image {
  flex: 1 1 300px;
  max-width: 600px;
  padding: 20px;
}

.about-text h2 {
  font-size: 26px;
  margin-bottom: 15px;
  color: #ff4500;
}

.about-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

.categories {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin: 60px 20px;
}

.category {
  flex: 1 1 250px;
  max-width: 300px;
  text-align: center;
}

.category img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
}

.category h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

footer {
  text-align: center;
  padding: 20px;
  background-color: #000;
  margin-top: 20px;
}

@media (max-width: 768px) {
  .about-text,
  .about-image {
    padding: 10px;
    text-align: center;
  }

  .about-text h2 {
    font-size: 22px;
  }

  .preamble strong {
    font-size: 20px;
  }

  .preamble {
    font-size: 16px;
  }

  .category img {
    height: auto;
  }
}
/* ===== PAGE CONTACT (style global) ===== */
.contact-form {
  width: 60%;
  margin: 50px auto;
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-form h2 {
  font-size: 24px;
  color: #ff4500;
  margin-bottom: 20px;
  text-align: center;
}

.contact-form label {
  width: 100%;
  text-align: left;
  font-size: 16px;
  margin-top: 10px;
  color: #ff4500;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  background: #f8f8f8;
  color: black;
  font-size: 16px;
  outline: none;
}

.contact-form textarea {
  height: 120px;
}

.consent {
  display: flex;
  align-items: flex-start;
  margin-top: 15px;
  text-align: left;
  width: 100%;
  gap: 10px;
}

.consent input[type="checkbox"] {
  margin-top: 4px;
  width: 18px;
  height: 18px;
}

.consent label {
  font-size: 14px;
  color: black;
}

.contact-form button {
  width: 100%;
  margin-top: 20px;
  padding: 12px;
  background: #ff4500;
  color: white;
  font-size: 18px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.2);
}

.contact-form button:hover {
  background: #d43f00;
  box-shadow: 3px 3px 15px rgba(0, 0, 0, 0.4);
}

/* ===== Responsive (petits écrans) ===== */
@media (max-width: 768px) {
  .contact-form {
    width: 90%;
  }

  .contact-form h2 {
    font-size: 20px;
  }

  .contact-form label {
    font-size: 15px;
  }

  .contact-form button {
    font-size: 16px;
  }
}
