html {
  height: 100%;
  width: 100%;
}

.scroll-gallery {
  display: flex;
  overflow-x: auto;
  gap: 1rem;
  padding: 1rem 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.scroll-gallery img {
  flex: 0 0 auto;
  max-width: 100%;
  width: auto;
  height: 250px;
  border-radius: 8px;
  scroll-snap-align: start;
  object-fit: cover;
  transition: transform 0.3s ease;
}



}

.three-photo-gallery {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.three-photo-gallery img {
  flex: 1 1 calc(33.333% - 1rem);
  max-width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.three-photo-gallery img:hover {
  transform: scale(1.03);
}

.button-gold i {
  margin-right: 0.5rem;
  font-size: 1.1em;
}

.contact-box {
  background-color: rgba(139, 69, 19, 0.2);
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.contact-title {
  font-size: 2rem;
  color: goldenrod;
  margin-bottom: 0.5rem;
}

.contact-sub {
  font-size: 1rem;
  color: #111;
  margin-bottom: 1.5rem;
}

.contact-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.button-gold {
  background-color: #dcaa2e;
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.button-gold:hover {
  background-color: #d4af37;
  transform: scale(1.05);
}

.button-transparent {
  background-color: rgba(139, 69, 19, 0.2);
  color: #111;
  border: 1px solid goldenrod;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: bold;
  transition: all 0.3s ease;
  text-decoration: none;
}

.button-transparent:hover {
  background-color: rgba(139, 69, 19, 0.4);
  transform: scale(1.05);
}

.logo-wrapper {
  display: inline-block;
  padding: 0.4rem;
  background-color: rgba(139, 69, 19, 0.1);
  border-radius: 50%;
  border: 2px solid goldenrod;
  box-shadow: 0 0 4px rgba(218, 165, 32, 0.3);
  transition: transform 0.3s ease;
}

.logo-wrapper:hover {
  transform: scale(1.05);
}

.logo {
  height: 60px;
  width: 60px;
  object-fit: cover;
  border-radius: 50%;
}

main.container,
section.container,
footer.container,
nav.container-fluid {
  padding-left: 1rem;
  padding-right: 1rem;
}

/* 🔽 Responsive - mobile fix */
@media screen and (max-width: 600px) {
  .three-photo-gallery img {
    flex: 1 1 100%;
    height: 180px;
  }

  .contact-buttons {
    flex-direction: column;
  }

  .logo {
    height: 48px;
  }

  @media screen and (max-width: 600px) {
    .three-photo-gallery img {
      flex: 1 1 100%;
      height: 180px;
    }

    .contact-buttons {
      flex-direction: column;
    }

    .logo {
      height: 48px;
    }

    nav.container-fluid {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.5rem;
    }

    nav.container-fluid ul {
      display: flex;
      flex-direction: row;
      justify-content: center;
      align-items: center;
      gap: 0.8rem;
      padding: 0;
    }

    nav.container-fluid ul:first-child {
      order: -1;
    }

    nav.container-fluid ul li a {
      font-size: 0.9rem;
      padding: 0.3rem 0.6rem;
    }
  }

}

.scroll-gallery img {
  height: 160px;
}
}

/* Applica Poiret One al testo normale */
body {
  font-family: 'Poiret One', sans-serif;
}

/* Mantieni font esistenti per titoli */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: inherit;
  /* oppure specifica il font precedente, se necessario */
}

.social-link {
  text-align: center;
  margin-top: 2rem;
}

.social-link a {
  text-decoration: none;
  color: inherit;
  font-weight: bold;
  font-size: 1.2rem;
}

.social-link img {
  vertical-align: middle;
}

/* Rende i titoli <h3> dorati */
h3 {
  color: gold;
}

/* Forza il colore nero per <strong> dentro <p> */
p strong {
  color: black;
}

.three-photo-gallery {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  /* 🔥 AGGIUNGI QUESTO */
}

.intro-section {
  text-align: center;
}

.intro-section h2,
.intro-section h3 {
  margin-left: auto;
  margin-right: auto;
  max-width: 90%;
}

.intro-section p {
  text-align: center;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.three-photo-gallery {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  /* 🔥 aggiunto per allineare le 3 immagini */
}

/* Modal per ingrandimento immagini */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 5vh;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.85);
  text-align: center;
}

.modal-content {
  margin: auto;
  max-width: 90%;
  max-height: 80vh;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
  animation: zoom 0.3s ease;
}

@keyframes zoom {
  from {
    transform: scale(0.7);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.modal {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 5vh;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.85);
  text-align: center;
}

.modal-content {
  margin: auto;
  max-width: 90%;
  max-height: 80vh;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
  animation: zoom 0.3s ease;
}

@keyframes zoom {
  from {
    transform: scale(0.7);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Poiret+One&display=swap');

#galleria-gioielli {
  font-family: 'Poiret One', sans-serif;
  background-color: #fffaf0;
  padding: 2rem;
  margin: 3rem 1rem;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  color: #111;
}

/* BORDO ANIMATO */
#galleria-gioielli::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 18px;
  z-index: -1;
  background: linear-gradient(120deg, goldenrod, #fff8e7, goldenrod);
  background-size: 300% 300%;
  animation: goldBorder 6s linear infinite;
}

@keyframes goldBorder {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

#galleria-gioielli h2,
#galleria-gioielli h3 {
  font-family: 'Cinzel', serif;
  text-align: center;
  color: goldenrod;
  margin-bottom: 1rem;
}
/* Modal per ingrandimento immagini */
#galleria-gioielli p {
  font-family: 'Poiret One', sans-serif;
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #000;
  margin-bottom: 1rem;
}

/* Galleria immagini */
.jewelry-gallery {
  display: flex;
  overflow-x: auto;
  gap: 1rem;
  margin-top: 1.5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.jewelry-gallery img {
  flex: 0 0 auto;
  width: 220px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  scroll-snap-align: start;
  transition: transform 0.3s ease;
}

.jewelry-gallery img:hover {
  transform: scale(1.05);
}
