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

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #222;
  color: #fff;
  line-height: 1.6;
}

/* Header avec images retouchées */
.header {
  position: relative;
  text-align: center;
  width: 100%;
}
.left, .right {
  position: absolute;
  top: 0;
  width: 50%;
}
.left {
  left: 0;
}
.right {
  right: 0;
}
.left img, .right img {
  width: 100%;
  height: auto;
}
.header h1 {
  position: relative;
  top: 130px;
  font-size: 2.5em;
  color: #AAAAAA;
  text-shadow: 2px 2px 2px black;
}

/* Navigation sous le header */
nav {
  background-color: #111;
  padding: 10px 0;
  margin-top: 260px;
}
nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
}
nav ul li {
  margin: 0 15px;
}
nav ul li:hover{
  border: 1px solid white;
  padding: 5px 5px 5px 5px;
  border-radius: 5px;
}
nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

/* Sections */
section {
  padding: 40px 20px;
  max-width: 1000px;
  margin: auto;
}
.about p, .contact p {
  font-size: 1.1em;
  margin-top: 10px;
}

/* galleries presentation */
.galleries {
  text-align: center;
}

.gallery-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 400px;
  margin: 0 auto;
}

.gallery-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.gallery-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.gallery-item h3 {
  margin-top: 0.5rem;
}


/* Footer en noir */
footer {
  background-color: #000;
  text-align: center;
  padding: 20px;
  border-top: 2px solid #aaa;
  font-size: 0.9em;
}

/* Responsive */
@media (max-width: 768px) {
  .header h1 {
    top: 200px;
    font-size: 2em;
  }
  nav ul {
    flex-direction: column;
    align-items: center;
  }
  nav ul li {
    margin: 10px 0;
  }
}
