@media (max-width: 600px) and (max-height: 500px) {
  .hero-bg, .hero-bg-gallerie {
    min-height: 18vh;
    padding: 0;
  }
  .logo {
    font-size: 1.3rem;
    margin: 0 auto 0 auto;
  }
  .logo span {
    font-size: 0.8rem;
  }
  .hero-content h1 {
    font-size: 1rem;
    margin-bottom: 6px;
  }
  .hero-content p {
    font-size: 0.9rem;
    margin-bottom: 10px;
  }
  .cta-btn {
    font-size: 0.95rem;
    padding: 8px 6px;
    border-radius: 18px;
    margin: 0 auto 8px auto;
  }
  header {
    gap: 4px;
    padding: 8px 2vw 0 2vw;
  }
  nav a {
    font-size: 0.95rem;
    margin: 0 0 4px 0;
    padding: 1px 0;
  }
  .galerie-item {
    max-width: 220px;
    padding: 6px 2px 2px 2px;
  }
  .galerie-item img {
    max-width: 200px;
    height: 90px;
  }
  .contact form {
    gap: 8px;
  }
  .contact input, .contact textarea {
    font-size: 0.95rem;
    padding: 7px;
    border-radius: 7px;
  }
  .contact button {
    font-size: 0.95rem;
    padding: 8px 0;
    border-radius: 18px;
  }
}
@media (max-width: 600px), (orientation: portrait) {
  .hero-bg, .hero-bg-gallerie {
    min-height: 30vh;
    padding: 0;
  }
  header {
    flex-direction: column;
    align-items: center;
    padding: 18px 4vw 0 4vw;
    gap: 10px;
  }
  .logo {
    font-size: 2.1rem;
    text-align: center;
    margin: 0 auto 0 auto;
    word-break: break-word;
  }
  .logo span {
    display: block;
    font-size: 0.95rem;
    margin-left: 0;
    margin-top: 2px;
    text-align: center;
  }
  .menuitem, nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    margin-left: 0;
    width: 100%;
    text-align: center;
  }
  nav a {
    margin: 0 0 8px 0;
    font-size: 1.05rem;
    padding: 2px 0;
    border-bottom-width: 1.5px;
    display: block;
    width: 100%;
    text-align: center;
  }
  .hero-content {
    margin-top: 2vh;
    padding: 0 2vw;
  }
  .hero-content h1 {
    font-size: 1.3rem;
    margin-bottom: 10px;
  }
  .hero-content p {
    font-size: 1.05rem;
    margin-bottom: 18px;
  }
  .cta-btn {
    font-size: 1rem;
    padding: 12px 10px;
    border-radius: 22px;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0 auto 12px auto;
    display: block;
  }
  .galerie-overlay, .galerie-bg, .services, .contact {
    padding: 18px 2vw 18px 2vw;
  }
  .galerie-grid {
    gap: 18px;
  }
  .galerie-item {
    width: 98vw;
    max-width: 340px;
    margin: 0 auto;
    padding: 10px 6px 6px 6px;
  }
  .galerie-item img {
    width: 90vw;
    max-width: 320px;
    height: 150px;
  }
  .contact form {
    max-width: 98vw;
    gap: 12px;
  }
  .contact input, .contact textarea {
    font-size: 1rem;
    padding: 10px;
    border-radius: 8px;
  }
  .contact button {
    font-size: 1rem;
    padding: 12px 0;
    border-radius: 22px;
  }
}
/* Galerie */
.galerie {
  padding: 64px 7vw 32px 7vw;
  background: #fff;
  text-align: center;
}

.galerie h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: #d16d6d;
  margin-bottom: 40px;
}

.galerie-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
}

.galerie-item {
  background: #fff6e7;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(209, 109, 109, 0.07);
  padding: 18px 18px 10px 18px;
  width: 260px;
  min-width: 220px;
  max-width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.galerie-item:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 32px rgba(209, 109, 109, 0.13);
}

.galerie-item img {
  width: 220px;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 12px;
  background: #eee;
}

/* .caption {
  color: #a14e4e;
  font-size: 1.05rem;
  margin-top: 2px;
} */

/* .caption {
  font-family: Arial, sans-serif;
  font-size: 1rem;
  color: #7a6a5a !important;
  margin-top: 4px;
  font-weight: 900;
} */

@media (max-width: 900px) {
  .galerie-grid {
    flex-direction: column;
    align-items: center;
  }

  .galerie-item img {
    width: 90vw;
    max-width: 320px;
    height: 180px;
  }
}


body {
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  background: url('wedding-bg.jpg') center/cover no-repeat, linear-gradient(120deg, #ece9e2 0%, #f6f5f2 100%);
  background-attachment: fixed;
  color: #232323;
}

.hero-bg {
  position: relative;
  min-height: 45vh;
  /* plus de background ici, il est sur body */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.hero-bg-gallerie {
  position: relative;
  min-height: 35vh;
  /* plus de background ici, il est sur body */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.82);
  z-index: 1;
}

header {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 7vw 0 7vw;
}


.logo {
  font-family: 'Mr De Haviland', cursive;
  font-size: 3.7rem;
  color: #bfa76a;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 1;
}

.logo span {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  color: #7c7156;
  margin-left: 8px;
}

.menuitem {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  color: #7c7156;
  /* margin-left: 8px; */
  margin-top: 20px;
}

nav a {
  color: #232323;
  text-decoration: none;
  font-weight: 600;
  /* margin-left: 32px; */
  font-size: 1.1rem;
  transition: color 0.2s;
  border-bottom: 2px solid transparent;
}

nav a.active {
  color: #bfa76a;
  border-bottom: 2px solid #bfa76a;
}
nav a:hover {
  color: #bfa76a;
  border-bottom: 2px solid #bfa76a33;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-top: 7vh;
}

.hero-content h1 {
  /* font-family: 'Playfair Display', serif; */
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  color: #232323;
  margin-bottom: 18px;
}

.hero-content p {
  font-size: 1.3rem;
  color: #7c7156;
  margin-bottom: 32px;
}

.cta-btn {
  background: linear-gradient(90deg, #bfa76a, #ece9e2);
  color: #232323;
  border: none;
  border-radius: 32px;
  padding: 16px 48px;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(191, 167, 106, 0.10);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.cta-btn:hover {
  transform: scale(1.06);
  box-shadow: 0 8px 32px rgba(191, 167, 106, 0.18);
}

.services {
  padding: 64px 7vw 32px 7vw;
  background: #f6f5f2;
  text-align: center;
}

.services h2 {
  /* font-family: 'Playfair Display', serif; */
  font-family: 'Montserrat', sans-serif;
  font-size: 2.2rem;
  color: #bfa76a;
  margin-bottom: 40px;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
}

.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(191, 167, 106, 0.07);
  padding: 32px 28px;
  width: 260px;
  min-width: 220px;
  max-width: 100%;
  box-sizing: border-box;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
@media (orientation: landscape) and (min-width: 601px) {
  .galerie-grid, .cards {
    gap: 40px;
  }
  .galerie-item, .card {
    min-width: 220px;
    max-width: 320px;
  }
}

.card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 32px rgba(191, 167, 106, 0.13);
}

.card h3 {
  color: #232323;
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.card p {
  color: #7c7156;
  font-size: 1rem;
}

.contact {
  padding: 64px 7vw 32px 7vw;
  background: #fff;
  text-align: center;
}

.contact h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  color: #bfa76a;
  margin-bottom: 32px;
}

.contact form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 420px;
  margin: 0 auto 18px auto;
}

.contact input, .contact textarea {
  padding: 14px;
  border-radius: 12px;
  border: 1.5px solid #d6c3a6;
  font-size: 1.15rem;
  font-family: 'Montserrat', Arial, sans-serif;
  background: #fff;
  color: #6a5a3a;
  box-shadow: 0 2px 8px #e7dccb33;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contact textarea {
  resize: vertical;
  min-height: 80px;
  max-height: 350px;
  line-height: 1.5;
}
.contact textarea {
  line-height: 1.5;
}
.contact input:focus, .contact textarea:focus {
  border-color: #bfa76a;
  outline: none;
  box-shadow: 0 4px 16px #bfa76a22;
}

.contact button {
  background: linear-gradient(90deg, #bfa76a, #ece9e2);
  color: #232323;
  border: none;
  border-radius: 32px;
  padding: 14px 0;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.contact button:hover {
  transform: scale(1.04);
  box-shadow: 0 4px 16px rgba(191, 167, 106, 0.13);
}

.contact .info {
  color: #7c7156;
  font-size: 0.95rem;
}

footer {
  background: #ece9e2;
  color: #7c7156;
  text-align: center;
  padding: 18px 0 10px 0;
  font-size: 1rem;
  letter-spacing: 0.5px;
  margin-top: 0;
}

@media (max-width: 900px) {
  .cards {
    flex-direction: column;
    align-items: center;
  }

  .hero-content h1 {
    font-size: 2.1rem;
  }
}