@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  background: #fff;
  color: #111;
  overflow-x: hidden;
}

strong {
  font-weight: 500;
}

.hero {
  position: relative;
  width: 100%;
  height: 450px;
  display: flex;
  align-items: flex-end;
  justify-content: left;
  color: #fff;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: top center !important;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  z-index: 1;
}

.hero-text {
  position: relative;
  z-index: 2;
  width: 80%;
  padding: 40px;
}

.hero-text h1 {
  font-size: 35px;
  line-height: 1.2;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
  margin: 0;
  font-weight: 600;
}

.content {
  padding: 40px 20px;
  max-width: 800px;
  margin: auto;
}

.content h2 {
  font-size: 26px;
  margin-top: 40px;
  font-weight: bold;
}

.content p {
  font-size: 22px;
  line-height: 1.6;
  margin: 20px 0;
}

.content ul {
  font-size: 22px;
  line-height: 1.6;
  margin: 20px 0;
  padding-left: 20px;
}

.content li {
  margin-bottom: 10px;
}

/* Blocca lo scroll quando necessario */
body.stop-scroll {
  overflow: hidden;
}

/* Popup Overlay */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Popup Box */
.popup {
  background: #181818;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  max-width: 90%;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  font-family: "Montserrat", sans-serif;
  color: white;
  border: 2px solid #225e9e;
  background-image: url("img/sfondo-sfumato.webp");
  background-size: cover;
  background-position: center;
}

.popup h2 {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  margin-bottom: 50px;
  font-size: 18px;
}

.popup a {
  display: inline-block;
  background: #328bff;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 3px;
  font-weight: bold;
  border: 3px solid #86c8ff;
  cursor: pointer;
}
.logo-img img {
  width: 70px;
}

/*
bloccco per visualizzazione su sito, toigliere quando va vcisualizzazione 3d
*/

figure.wp-block-image {
  overflow: hidden;
}
