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

html {
  scroll-behavior: smooth;
}

.handlee-regular {
  font-family: "Handlee", cursive;
  font-weight: 400;
  font-style: normal;
  font-weight: bold;
}

.bold {
    font-weight: 600;
}

.color {
    color: #e0a641;
}

p {
  font-size: 19px;
}

.size {
  font-size: 25px;
}

body {
  background: radial-gradient(circle, #fff5e5 0%, #ffeacc 100%);
  text-align: center;
  margin: auto;
  font-family: "Handlee", cursive;
}

/* Skin Barre */

.title-barre {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 40px;
}

.title-barre::before,
.title-barre::after {
  content: "";
  width: 250px;  /* ⬅ FIXE ET IDENTIQUE PARTOUT */
  height: 2px;
  background-color: #000;
}


/* Menu horizontal */

#menu-container {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 2px solid #000;
  width: 100%;
}

#menu {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 15px 0;
}

/* Liens du menu */

#menu a {
  text-decoration: none;      /* retire le soulignement */
  color: #000000;             /* couleur du texte */
  font-family: "Handlee", cursive;
  font-size: 18px;
  font-weight: bold;
  transition: color 0.3s ease, transform 0.3s ease;
}

/* Effet au survol */

#menu a:hover {
  color: #e0a641;            /* couleur or au survol */
  transform: scale(1.1);     /* léger zoom */
}

/* Retire le style violet au clic / focus */

#menu a:focus,
#menu a:active {
  outline: none;
  color: #000000;
}


/* Header */

.carousel {
  position: relative;
  width: 100%;
  max-width: 1400px;
  height: 500px;
  margin: 25px auto;
  overflow: hidden;
  border-radius: 20px;
  border: solid 3px black;
}

.carousel-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;

  /* Empêche les images de prendre la hauteur chacune */
  pointer-events: none;
}

.carousel-item.active {
  opacity: 1;
  pointer-events: auto;
}

/* Flèches */

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: #fff;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 28px;
  border-radius: 50%;
  cursor: pointer;
  user-select: none;
  z-index: 10;
  transition: 0.3s;
}

.carousel-arrow:hover {
  background: rgba(0,0,0,0.7);
}

.carousel-arrow.left {
  left: 15px;
}

.carousel-arrow.right {
  right: 15px;
}

/* Pagination */
.carousel-pagination {
  position: absolute;
  bottom: 20px;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.carousel-pagination div {
  width: 35px;
  height: 5px;
  background: rgba(255,255,255,0.5);
  transition: 0.3s;
  border-radius: 3px;
}

.carousel-pagination .active {
  background: #e0a641;
}

/* Section Packs */

section#packs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 28px;
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

.pack {
  border: solid 3px #000000;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 28px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.6s ease;
}

.pack.visible {
  opacity: 1;
  transform: translateY(0);
}

.pack:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.pack-image {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin-bottom: 16px;
}

.pack h3 {
  font-size: 28px;
  margin-bottom: 10px;
  color: #e0a641;
  letter-spacing: 0.5px;
}

.pack h2 {
  font-size: 28px;
  margin-bottom: 10px;
  color: #e0a641;
  letter-spacing: 0.5px;
}

.pack p {
  font-size: 17px;
  color: black;
  max-width: 260px;
  font-weight: bold;
}

/* Présentation */

.img-about-me {
  width: 120px;
  height: 120px;
  border-radius: 50%; /* rend l'image ronde */
  object-fit: cover;  /* recadre l'image correctement */
  display: block;
  margin: 10px auto 35px; /* centre l'image et ajoute un espace en bas */
  border: solid 3px #000000;
}

.about-me {
  width: 80%;        /* largeur avec marge auto */
  max-width: 1200px;  /* limite sur grands écrans */
  margin: 60px auto; /* centre + espace haut/bas */
  text-align: center;
}

/* Tarif et Contact */

.pack-logo {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.pack-logo div {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 300px;
  justify-content: flex-start; /* force logo à gauche */
  text-align: left;
}

.logo-image {
  width: 24px;  /* logo petit */
  height: 24px;
  object-fit: contain;
}

/* Footer */

.footer {
  margin-top: 6px;
  margin-bottom: 4px;
}

hr {
  border: none;
  background-color: black;
  height: 2px;
}

/* RESPONSIVE */

/* Menu toggle - caché sur grand écran */

#menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
  position: absolute;
  right: 10px;
  top: 18px;
  z-index: 1002;
}

/* Media query pour petits écrans */

@media screen and (max-width: 480px) {
  #menu {
    flex-direction: column;
    gap: 10px;
    position: absolute;
    top: 60px;
    left: 10px;
    right: 10px;
    background: #ffffff;
    padding: 10px 15px;
    border: 1px solid #000;
    border-radius: 8px;
    display: none;
    z-index: 1001;
  }

  #menu a {
    font-size: 15px;
  }

  #menu-toggle {
    display: block;
  }

  #menu-container.active #menu {
    display: flex;
  }

  .responsive {
    margin-bottom: 0.5em;
  }

  header {
    padding: 0px;
    margin-left: 3%;
    margin-right: 3%;
  }

  #service {
  margin: 5%;
  }

  .title-barre {
    gap: 10px;

}

  .title-barre::before,
  .title-barre::after {
  content: "";
  width: 30px;  /* ⬅ FIXE ET IDENTIQUE PARTOUT */
  height: 2px;
  background-color: #000;
  }
}