/* Sections de services */

.services-container {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.service-section {
  display: flex;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

.service-section:last-child {
  margin-bottom: 0;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Délais d'animation progressifs */
.service-section:nth-child(1) { animation-delay: 0.1s; }
.service-section:nth-child(2) { animation-delay: 0.15s; }
.service-section:nth-child(3) { animation-delay: 0.2s; }
.service-section:nth-child(4) { animation-delay: 0.25s; }
.service-section:nth-child(5) { animation-delay: 0.3s; }
.service-section:nth-child(6) { animation-delay: 0.35s; }
.service-section:nth-child(7) { animation-delay: 0.4s; }
.service-section:nth-child(8) { animation-delay: 0.45s; }
.service-section:nth-child(9) { animation-delay: 0.5s; }
.service-section:nth-child(10) { animation-delay: 0.55s; }
.service-section:nth-child(11) { animation-delay: 0.6s; }
.service-section:nth-child(12) { animation-delay: 0.65s; }
.service-section:nth-child(13) { animation-delay: 0.7s; }

/* Alternance gauche-droite */
.service-section.reverse {
  flex-direction: row-reverse;
}

.service-image {
  flex: 0 0 45%;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  transition: all 0.4s ease;
}

.service-image:hover {
  transform: scale(1.05) translateY(-5px);
  box-shadow: 0 15px 50px rgba(127, 111, 75, 0.25);
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.service-image:hover img {
  transform: scale(1.1);
}

.service-content {
  flex: 1;
}

.service-content h2 {
  font-family: var(--font-script);
  font-size: 2.2rem;
  color: var(--color-gold);
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.service-content h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold), transparent);
}

.service-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-text-dark);
  margin-bottom: 1rem;
}

.service-content ul {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0;
}

.service-content ul li {
  padding: 0.5rem 0 0.5rem 1.8rem;
  position: relative;
  color: #444;
  font-size: 1rem;
}

.service-content ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-gold);
  font-weight: bold;
  font-size: 1.2rem;
}

/* Liste des prestations sur 2 colonnes */
#prestationsList {
  columns: 2;
  column-gap: 2rem;
}

#prestationsList li {
  break-inside: avoid;
}

/* Barre de filtres par type d'événement */
.event-type-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  padding: 1.5rem 0;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(127, 111, 75, 0.15);
}

.filter-tag {
  font-size: 0.85rem;
  padding: 0.4rem 1rem;
  background: rgba(127, 111, 75, 0.08);
  color: var(--color-text-dark);
  border: 1px solid rgba(127, 111, 75, 0.2);
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
}

.filter-tag:hover {
  background: rgba(127, 111, 75, 0.15);
  border-color: rgba(127, 111, 75, 0.4);
}

.filter-tag.active {
  background: var(--color-gold);
  color: #fff;
  border-color: var(--color-gold);
}

/* Labels types d'événement sous le titre de chaque service */
.service-content .prestation-types {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.prestation-type-tag {
  font-size: 0.7rem;
  padding: 0.15rem 0.6rem;
  background: rgba(127, 111, 75, 0.1);
  color: var(--color-gold);
  border: 1px solid rgba(127, 111, 75, 0.2);
  border-radius: 10px;
  white-space: nowrap;
}

@media (max-width: 768px) {
  #prestationsList {
    columns: 1;
  }
}

/* ENCART MARIAGE PRINCIER */
.wedding-highlight {
  position: relative;
  background: linear-gradient(135deg, #fdf8f0 0%, #fff9f0 50%, #fdf5e6 100%);
  border-radius: 20px;
  padding: 3rem 3.5rem;
  margin-bottom: 3rem;
  border: 2px solid transparent;
  background-clip: padding-box;
  box-shadow:
    0 15px 50px rgba(127, 111, 75, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  overflow: hidden;
}

.wedding-highlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 20px;
  padding: 2px;
  background: linear-gradient(135deg, #7f6f4b, #f4e4bc, #7f6f4b, #6b5d3f);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Ornements décoratifs */
.wedding-highlight::after {
  content: '💍';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  background: linear-gradient(135deg, #fdf8f0, #fff9f0);
  padding: 0.5rem 1.5rem;
  border-radius: 50%;
  z-index: 2;
}

.wedding-highlight-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.wedding-highlight-title {
  font-family: var(--font-script);
  font-size: 2.5rem;
  color: #8b6914;
  margin-bottom: 1.5rem;
  text-shadow: 1px 1px 2px rgba(127, 111, 75, 0.3);
}

.wedding-highlight-text {
  font-size: 1.15rem;
  line-height: 1.9;
  color: #5a4a2a;
  margin-bottom: 1rem;
  font-style: italic;
}

.wedding-highlight-text:last-of-type {
  margin-bottom: 2rem;
}

.wedding-highlight-cta-wrapper {
  position: relative;
  display: inline-block;
}

.wedding-highlight-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, #7f6f4b 0%, #6b5d3f 50%, #b8922a 100%);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  box-shadow:
    0 8px 25px rgba(127, 111, 75, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
}

.wedding-highlight-cta:hover {
  transform: translateY(-3px);
  box-shadow:
    0 12px 35px rgba(127, 111, 75, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  background: linear-gradient(135deg, #e0be4a 0%, #7f6f4b 50%, #6b5d3f 100%);
}

/* Étoiles/étincelles dorées */
.sparkle {
  position: absolute;
  pointer-events: none;
  opacity: 0;
  animation: sparkle-fade 2s ease-in-out infinite;
}

.sparkle::before {
  content: '✦';
  font-size: 1rem;
  color: #7f6f4b;
  text-shadow: 0 0 10px rgba(127, 111, 75, 0.8), 0 0 20px rgba(127, 111, 75, 0.4);
}

.sparkle:nth-child(1) {
  top: -15px;
  left: 10%;
  animation-delay: 0s;
}

.sparkle:nth-child(2) {
  top: -10px;
  right: 15%;
  animation-delay: 0.4s;
}

.sparkle:nth-child(2)::before {
  content: '★';
  font-size: 0.8rem;
}

.sparkle:nth-child(3) {
  bottom: -12px;
  left: 20%;
  animation-delay: 0.8s;
}

.sparkle:nth-child(3)::before {
  content: '✧';
  font-size: 1.1rem;
}

.sparkle:nth-child(4) {
  bottom: -8px;
  right: 10%;
  animation-delay: 1.2s;
}

.sparkle:nth-child(4)::before {
  content: '✦';
  font-size: 0.9rem;
}

.sparkle:nth-child(5) {
  top: 50%;
  left: -20px;
  transform: translateY(-50%);
  animation-delay: 0.6s;
}

.sparkle:nth-child(5)::before {
  content: '★';
  font-size: 0.7rem;
}

.sparkle:nth-child(6) {
  top: 50%;
  right: -20px;
  transform: translateY(-50%);
  animation-delay: 1s;
}

.sparkle:nth-child(6)::before {
  content: '✧';
  font-size: 0.85rem;
}

.sparkle:nth-child(7) {
  top: -5px;
  left: 35%;
  animation-delay: 1.4s;
}

.sparkle:nth-child(7)::before {
  content: '✦';
  font-size: 0.75rem;
}

.sparkle:nth-child(8) {
  bottom: -5px;
  right: 35%;
  animation-delay: 1.6s;
}

.sparkle:nth-child(8)::before {
  content: '★';
  font-size: 0.65rem;
}

.sparkle:nth-child(9) {
  top: 30%;
  left: -15px;
  animation-delay: 1.8s;
}

.sparkle:nth-child(9)::before {
  content: '✧';
  font-size: 0.8rem;
}

@keyframes sparkle-fade {
  0%, 100% {
    opacity: 0;
    transform: scale(0.5);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Ornements floraux aux coins */
.wedding-ornament {
  position: absolute;
  width: 80px;
  height: 80px;
  opacity: 0.15;
  pointer-events: none;
}

.wedding-ornament.top-left {
  top: 10px;
  left: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M10,50 Q10,10 50,10 Q30,30 50,50 Q30,30 10,50' fill='%23d4af37'/%3E%3Cpath d='M50,10 Q90,10 90,50 Q70,30 50,50 Q70,30 50,10' fill='%23d4af37'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
}

.wedding-ornament.top-right {
  top: 10px;
  right: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M10,50 Q10,10 50,10 Q30,30 50,50 Q30,30 10,50' fill='%23d4af37'/%3E%3Cpath d='M50,10 Q90,10 90,50 Q70,30 50,50 Q70,30 50,10' fill='%23d4af37'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
  transform: rotate(90deg);
}

.wedding-ornament.bottom-left {
  bottom: 10px;
  left: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M10,50 Q10,10 50,10 Q30,30 50,50 Q30,30 10,50' fill='%23d4af37'/%3E%3Cpath d='M50,10 Q90,10 90,50 Q70,30 50,50 Q70,30 50,10' fill='%23d4af37'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
  transform: rotate(-90deg);
}

.wedding-ornament.bottom-right {
  bottom: 10px;
  right: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M10,50 Q10,10 50,10 Q30,30 50,50 Q30,30 10,50' fill='%23d4af37'/%3E%3Cpath d='M50,10 Q90,10 90,50 Q70,30 50,50 Q70,30 50,10' fill='%23d4af37'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
  transform: rotate(180deg);
}

/* Animation d'entrée */
.wedding-highlight {
  opacity: 0;
  transform: translateY(20px);
  animation: weddingFadeIn 1s ease 0.3s forwards;
}

@keyframes weddingFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .wedding-highlight {
    padding: 2.5rem 1.5rem;
    margin-bottom: 2rem;
  }

  .wedding-highlight-title {
    font-size: 2rem;
  }

  .wedding-highlight-text {
    font-size: 1rem;
  }

  .wedding-ornament {
    width: 50px;
    height: 50px;
  }
}

/* Texte d'introduction */
.intro-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-text-dark);
  font-style: italic;
  font-weight: 600;
  margin: 2rem 0;
  text-align: center;
  width: 100%;
}

/* Texte pleine largeur (non gras, aligné gauche) */
.full-width-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-text-dark);
  margin: 1rem 0;
  text-align: left;
  width: 100%;
}

/* Conteneur vidéo */
.video-container {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
  width: 100%;
}

.mary-video {
  width: 35%;
  max-width: 400px;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
  .mary-video {
    width: 80%;
  }
}

/* Lien retour doré */
.services-container > p > a {
  color: var(--color-gold);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.services-container > p > a:hover {
  color: #b8922a;
  text-decoration: underline;
}
