/* ------------------- */
/* ACCUEIL */
/* ------------------- */
body.accueil {
  margin: 0;
  padding: 0;
  font-family: 'Georgia', sans-serif;
  color: #ffffff;
  background: url('images/accueil.jpg') no-repeat center center fixed;
  background-size: cover;
}

/* ------------------- */
/* NAVIGATION */
/* ------------------- */
nav {
  position: relative;
  margin-top: 20px;
  display: flex;
  justify-content: center;
}


nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

nav ul li a {
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  padding: 5px 10px;
  transition: color 0.3s;
}

nav ul li a:hover,
nav ul li a.actif {
  color: #6dd5ed;
}
.menu {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}


/* ------------------- */
/* HERO ACCUEIL */
/* ------------------- */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 150px 20px 50px;
  min-height: 100vh;
}


.titre-principal {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  margin-bottom: 30px;
  color: #ffffff;
}

.titre-principal span {
  font-size: 2rem;
  color: #ffffff; /* blanc au lieu du bleu */
  font-style: italic;
}


.invitation-texte {
  font-size: 1.2rem;
  line-height: 2;
  max-width: 600px;
  color: #ffffff;
  padding: 20px 30px;
}


.signatures {
  margin-top: 30px;
  margin-bottom: 30px;
}

/* --------------------------- */
/* STYLES COMMUNS */
/* --------------------------- */
.contenu-narrow {
  max-width: 1000px;
  margin: auto;
  padding: 0 20px 60px;
  text-align: center;
}

.titre-secondaire {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #ffffff;
}

.accroche {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 40px;
  line-height: 1.6;
}

/* --------------------------- */
/* GALERIE DRESS CODE */
/* --------------------------- */
.galerie-mosaic {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.galerie-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s;
}

.galerie-mosaic img:hover {
  transform: scale(1.04);
}

/* --------------------------- */
/* FOND PAGES SECONDAIRES */
/* --------------------------- */
body.page-secondaire {
  margin: 0;
  font-family: 'Georgia', serif;
  color: #ffffff;
  background: #021233;
}


body.page-secondaire:not(.page-reponse):not(.fond-photos) {
  background: url('images/fond_dresscode.jpg') no-repeat center center fixed;
  background-size: cover;
}
/* --------------------------- */
/* PAGE ADRESSE */
body.page-secondaire.fond-adresse {
  background-image: url('images/fond_adresse.jpg') !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-attachment: fixed !important;
  background-size: cover !important;
}



/* --------------------------- */
/* PAGE PHOTOS */
body.page-secondaire.fond-photos {
  background: url('images/fond_photos.jpg') no-repeat center center fixed !important;
  background-size: cover !important;
}


/* --------------------------- */
/* PAGE RÉPONSE */
body.page-reponse {
  background: transparent !important;
}

body.page-reponse,
body.page-reponse main,
body.page-reponse .contenu-narrow,
body.page-reponse .formulaire {
  background: transparent !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
}

/* FORMULAIRE GOOGLE EMBED */
.formulaire {
  max-width: 100%;
  margin-top: 30px;
  border-radius: 10px;
  overflow: hidden;
}

iframe {
  backdrop-filter: none !important;
  background: none !important;
  box-shadow: none !important;
  border: none !important;
}

.formulaire iframe {
  margin: 0 !important;
  padding: 0 !important;
}

/* --------------------------- */
/* VIDÉO DE FOND */
/* --------------------------- */
#bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -1;
  opacity: 1;
  pointer-events: none;
}


body {
  font-family: 'Georgia', serif;
  color: white !important;
}

.titre-principal {
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

@media (max-width: 600px) {
  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  nav {
    margin-top: 10px;
  }

  nav ul li a {
    font-size: 1.1rem;
    padding: 8px 12px;
  }
}

/* ---------- MENU BURGER ---------- */
.menu {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

.header {
  position: relative;
  width: 100%;
  z-index: 999;
  padding: 10px 20px;
}

.burger {
  font-size: 2rem;
  color: white;
  cursor: pointer;
  display: none;
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1000;
}

.menu ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.menu ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
}

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

  .menu {
    display: none;
    position: absolute;
    top: 60px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    padding: 10px 20px;
    border-radius: 10px;
  }

  .menu ul {
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
  }

  .menu.show {
    display: block;
  }
}
