/* Styles de base */
*,
::before,
::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Abel", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

.header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  background-color: #1a237e;
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  color: #fff;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--light-text);
}

.nav-logo {
  width: 40px;
  height: 40px;
  margin-right: 1rem;
}

.nav-brand h1 {
  font-size: 1.5rem;
  font-weight: 600;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  color: var(--light-text);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--accent-color);
  transition: var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--light-text);
  font-size: 1.5rem;
  cursor: pointer;
}

.back-arrow img {
  width: 40px;
  height: 40px;
  position: absolute;
  left: 1rem;
  top: 1rem;
}

/* Section Description */
.hero {
  padding: 2rem;
  background: #f5f5f5;
}

.description-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.8;
}

.side-by-side-images {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.side-by-side-images img {
  width: 45%;
  max-width: 500px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Section Contact */
#contact {
  padding: 3rem 1rem;
  background: #f1f1f1;
}

.section-title {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
}

.btn-reseau-contact {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.btn-home img {
  width: 40px;
  height: 40px;
  transition: transform 0.3s ease;
}

.btn-home:hover img {
  transform: scale(1.1);
}

.contact-info {
  text-align: center;
  margin-bottom: 2rem;
}

.contact-form {
  max-width: 500px;
  margin: 0 auto;
  padding: 0 1rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.contact-form button {
  width: 100%;
  padding: 1rem;
  background: #4CAF50;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: #45a049;
}

/* Media Queries */
@media screen and (max-width: 768px) {
  nav h3 {
    font-size: 1.8rem;
    flex-direction: column;
  }

  .logo {
    width: 60px;
    height: 60px;
  }

  nav ul {
    flex-direction: column;
  }

  nav a {
    font-size: 1rem;
  }

  .side-by-side-images img {
    width: 90%;
  }

  .description-content {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.5rem;
  }
}

@media screen and (max-width: 480px) {
  nav h3 {
    font-size: 1.4rem;
  }

  .back-arrow img {
    width: 30px;
    height: 30px;
  }

  .description-content {
    padding: 1rem;
  }

  .btn-reseau-contact {
    gap: 0.5rem;
  }

  .btn-home img {
    width: 35px;
    height: 35px;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.description-content {
  animation: fadeIn 0.8s ease-out;
}

.side-by-side-images img {
  transition: transform 0.3s ease;
}

.side-by-side-images img:hover {
  transform: scale(1.05);
}