

/* Header */
header {
  background: #111;
  color: #fff;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header nav a {
  color: #fff;
  margin: 0 10px;
  text-decoration: none;
}
header nav a:hover {
  text-decoration: underline;
}

/* Section accueil */
.hero {
  text-align: center;
  padding: 50px 20px;
  background: linear-gradient(to right, #ff6f61, #d63384);
  color: #fff;
}

/* Galerie */
#galerie {
  padding: 40px;
  text-align: center;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}
.gallery img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.gallery img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.gallery img:hover {
  transform: scale(1.4);
}

/* À propos & contact */
section {
  padding: 40px 20px;
}

/* Footer */
footer {
  background: #111;
  color: #fff;
  text-align: center;
  padding: 15px;
}
form {
  max-width: 500px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

form label {
  font-weight: bold;
  text-align: left;
}

form input, form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
}

form input:focus, form textarea:focus {
  outline: none;
  border-color: #d63384;
  box-shadow: 0 0 5px rgba(214, 51, 132, 0.5);
}

form button {
  padding: 12px;
  background: #d63384;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s ease;
}

form button:hover {
  background: #ff6f61;
}

#form-status {
  margin-top: 10px;
  font-weight: bold;
}

#mode-toggle {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #fff;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

#mode-toggle:hover {
  transform: scale(1.2);
}

/* Mode sombre */
.dark-mode {
  background: #121212;
  color: #eaeaea;
}

.dark-mode header {
  background: #222;
}

.dark-mode footer {
  background: #222;
}

.dark-mode a {
  color: #ffd43b;
}

.dark-mode .gallery img {
  box-shadow: 0 4px 8px rgba(255,255,255,0.2);
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background: #f8f9fa;
  color: #333;
}