:root {
  --emerald: #184C3D;
  --gold: #C7A144;
  --ivory: #F5F1E8;
  --dark: #1F2F56;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: var(--ivory);
  color: var(--dark);
  line-height: 1.6;
}

header {
  background-color: var(--emerald);
  color: white;
  padding: 2rem 1rem;
  text-align: center;
  position: relative;
}

header h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.2rem;
  margin: 0;
}

.burger {
  display: none;
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  background: none;
  color: white;
  border: none;
  cursor: pointer;
}

nav {
  background-color: var(--gold);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  padding: 1rem;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 600;
}

main {
  padding: 1rem;
}

section {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 1rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

section h2 {
  color: var(--emerald);
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
}

footer {
  text-align: center;
  padding: 1rem;
  background-color: var(--emerald);
  color: white;
  font-size: 0.9rem;
}

.project {
  margin-bottom: 1.5rem;
}

.btn {
  background-color: var(--gold);
  color: white;
  padding: 0.7rem 1.5rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  font-family: 'Montserrat', sans-serif;
}

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--gold);
  min-width: 200px;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.1);
  z-index: 1;
  border-radius: 5px;
  top: 100%;
}

.dropdown-content a {
  color: white;
  padding: 0.75rem 1rem;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: var(--emerald);
}

.dropdown:hover .dropdown-content {
  display: block;
}

@media (max-width: 768px) {
  .burger {
    display: block;
  }

  nav {
    flex-direction: column;
    display: none;
  }

  nav.active {
    display: flex;
  }

  .dropdown-content {
    position: static;
    width: 100%;
    box-shadow: none;
  }
}

/* Sous-menu */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--gold);
  min-width: 200px;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.1);
  z-index: 1;
  border-radius: 5px;
}

.dropdown-content a {
  color: white;
  padding: 0.75rem 1rem;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: var(--emerald);
}

.dropdown:hover .dropdown-content {
  display: block;
}

.btn-contact {
  display: inline-block;
  background-color: #C7A144;
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn-contact:hover {
  background-color: #A8862F;
}

.carousel img {
  width: 100%;
  display: none;
}
.carousel img.active {
  display: block;
}

.img-center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
