/* STILI ORIGINALI DEL SITO */

html, body {
  overflow-x: hidden;
  height: 100%;
  overflow-y: auto;
  scroll-behavior: smooth;
}
body {
  font-family: 'Inter', sans-serif;
  color: #1a1a1a;
  background-color: #e0e0e0;
}
h1, h2, h3 {
  font-family: 'Playfair Display', serif;
}
.section {
  padding: 100px 20px 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  position: relative;
}
h1 {
  font-size: 64px;
  margin-bottom: 30px;
}
h2 {
  font-size: 36px;
  margin-bottom: 20px;
}
p, input, textarea, li {
  font-size: 18px;
  line-height: 1.6;
}
.hero .image-box {
  width: 45%;
}

.cta-btn {
  background: gold;
  color: black;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease-in-out;
  font-size: 18px;
}
.cta-btn:hover {
  background: darkgoldenrod;
}

/* -------------------------
   NUOVI STILI PER IL RIQUADRO HERO
------------------------- */
.container.custom-hero-container {
  position: relative; /* NECESSARIO per z-index */
  z-index: 2; /* STA SOPRA la carpa */
  display: inline-block;
  white-space: nowrap;
  background-color: rgba(242,242,242,0.7);
  border: 2px solid #add8e6;
  border-radius: 15px;
  padding: 40px 20px 40px;
  box-sizing: border-box;
  text-align: left;
  width: 95%;
  margin: 5vh auto;
}
.container.custom-hero-container .title-wrapper {
  white-space: nowrap;
}
.container.custom-hero-container .title-line-first,
.container.custom-hero-container .title-line-second {
  font-family: 'Inter', sans-serif;
  font-size: 34px;
  font-weight: bold;
  background: #00008B;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  line-height: 1.1;
  margin: 0 0 2px 0;
  text-align: left;
}
.container.custom-hero-container .description {
  font-size: 16px;
  color: #000;
  line-height: 1.5;
  margin: 20px 0 0 0;
  white-space: normal;
  width: 100%;
  text-align: left;
}
.container.custom-hero-container .blue-text {
  color: #00008b;
  display: block;
}
.container.custom-hero-container .cta-wrapper {
  text-align: center;
  margin-top: 20px;
}
.container.custom-hero-container .cta {
  display: inline-block;
  background-color: #004e7c;
  color: white;
  padding: 22px 28px;
  border-radius: 30px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
}

/* Dropdown Menu */
.dropdown {
  position: relative;
  display: inline-block;
}
.dropbtn {
  background: white;
  border: none;
  border-radius: 30px;
  font-weight: 500;
  padding: 8px 20px;
  font-family: 'Inter', sans-serif;
  color: black;
  cursor: pointer;
  font-size: 16px;
}
.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 180px;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
  border-radius: 12px;
  z-index: 1;
  top: 45px;
  left: 0;
}
.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  border-bottom: 1px solid #eee;
}
.dropdown-content a:last-child {
  border-bottom: none;
}
.dropdown-content a:hover {
  background-color: #004e7c;
}
.dropdown:hover .dropdown-content {
  display: block;
}

@media (min-width: 993px) {
  .title-line-first {
    text-align: left !important;
    display: block !important;
  }
  .container.custom-hero-container .title-wrapper {
    margin-bottom: 20px !important;
  }
  .container.custom-hero-container .description {
    margin-top: 8px !important;
  }
  .mobile-only {
    display: none !important;
  }
}

.menu-btn, .menu-icon {
  display: none;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
.service-image {
  width: 100%;
  height: auto;
  max-width: 400px;
}

/* Mostra solo su desktop */
.desktop-only {
  display: block;
}

/* Default: mobile hidden */
.mobile-only {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  z-index: 1;
}

.carpa-img,
.carpa-img-mobile {
  position: absolute;
  top: 0;
  left: 0;
  width: auto;
  max-width: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.9;
}

@media (min-width: 993px) {
  .carpa-img {
    height: 140vh;
  }
}

@media (max-width: 992px) {
  .desktop-only {
    display: none !important;
  }

  .mobile-only {
    display: block !important;
  }

  .custom-hero-container-wrapper {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    width: 100% !important;
    padding: 20px 20px 0 !important;
    margin-top: -20px !important;
  }

  .container.custom-hero-container {
    padding: 30px 16px 30px !important;
    width: 100% !important;
    margin: 0 auto !important;
  }

  .container.custom-hero-container .title-line-first,
  .container.custom-hero-container .title-line-second {
    font-size: 34px !important;
    text-align: left !important;
  }

  .container.custom-hero-container .description {
    font-size: 14px !important;
    text-align: left !important;
    margin-top: 10px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
    
  .carpa-img-mobile {
    width: 100%;
    height: 140vw;
    object-fit: cover;
    opacity: 0.5;
  }

  .title-line-mobile {
    white-space: normal !important;
    word-wrap: break-word !important;
    font-size: 24px !important;
    margin-bottom: 8px !important;
    font-weight: bold !important;
  }
}

.container.custom-hero-container .title-wrapper {
  margin-bottom: 20px; /* aggiunge spazio sotto al titolo */
}



.extras {
  padding-bottom: 40px; /* Spazio visivo sotto il footer */
}

@media (max-width: 992px) {
  .section .content-box,
  .section-servizi,
  .section-abbondanza {
    padding: 40px 20px !important;
    border-radius: 20px;
    margin: 20px 0;
    box-sizing: border-box;
  }

  .section .content-box h2 {
    font-size: 24px !important;
    line-height: 1.3;
    text-align: left !important;
  }

  .section .content-box p {
    font-size: 16px !important;
    line-height: 1.6;
    text-align: left !important;
  }

  .section img {
    max-width: 100%;
    height: auto;
    margin: 20px 0 !important;
    border-radius: 12px;
  }
}
  /* STILI DESKTOP DEFAULT */
.section-abbondanza-top {
  width: 100%;
  max-width: 1025px;
  margin-left: auto;
  margin-right: auto;
  background-color: #e6e6e6;
  padding: 80px 40px 60px;
  text-align: center;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: column;
  border-radius: 30px;
  position: relative;
  z-index: 10;
  box-sizing: border-box;
}

.section-abbondanza-bottom {
  width: 100%;
  max-width: 1025px;
  margin-left: auto;
  margin-right: auto;
  background-color: #d9d9d9;
  color: white;
  font-size: 18px;
  line-height: 1.8;
  padding: 80px 40px 60px;
  box-sizing: border-box;
  border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  position: relative;
  top: -25px;
  text-align: left;
}

.section-abbondanza-bottom a {
  display: block;
  margin: 0 auto;
  max-width: fit-content;
  background-color: #004e7c;
  color: white;
  padding: 14px 28px;
  border-radius: 30px;
  font-size: 18px;
  font-weight: 400;
  text-decoration: none;
}

/* STILI MOBILE OVERRIDE */


  .section-abbondanza-top img {
    width: 100% !important;
    max-width: 920px !important;
    height: auto !important;
    border-radius: 12px !important;
    margin: 20px auto !important;
    display: block;
  }

  .section-abbondanza-bottom p {
    font-size: 15px !important;
    line-height: 1.7 !important;
    text-align: left !important;
    margin-bottom: 24px !important;
  }

    .section-abbondanza-bottom a {
    display: block !important;
    margin: 0 auto !important;
    text-align: center !important;
    font-size: 16px !important;
    padding: 12px 24px !important;
  }
}

@media (max-width: 992px) {
  .section-abbondanza-top h2 {
    text-align: center !important;
    font-size: 26px !important;
    line-height: 1.4 !important;
  }
}

@media (min-width: 993px) {
  .section-abbondanza-top h2 {
    font-size: 48px !important;
    text-align: center !important;
    line-height: 1.3 !important;
    margin-top: 10px !important;
    margin-bottom: 30px !important;
  }
}

.cta-btn-servizi {
  background-color: #00BFFF;
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  transition: background 0.3s ease-in-out;
  margin-top: 20px;
}

.cta-attraction-wrapper {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

@media (min-width: 993px) {
  .section-abbondanza-bottom p {
    font-size: 20px !important;
    line-height: 1.6 !important;
  }
}

@media (max-width: 992px) {
  #SERVIZI p {
    font-size: 15px !important;
    line-height: 1.6 !important;
  }
}

.service-img-container {
  width: 200px;
  height: 150px;
  background-color: #004e7c;
  border-radius: 12px;
  margin-top: -40px;
}

@media (max-width: 992px) {
  .service-img-container {
    margin-top: 18px !important;
  }
}

@media (max-width: 992px) {
  /* Forza la disposizione a colonna e centra l'immagine per tutte le card servizi */
  .servizio-card > div[style*="display: flex"] {
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
  }
  /* Centra la .service-img-container */
  .service-img-container {
    margin-left: auto !important;
    margin-right: auto !important;
    display: block;
  }
}

@media (max-width: 992px) {
  .servizio-card-wrapper h2,
  .servizio-card-wrapper p {
    text-align: center !important;
  }
}

@media (max-width: 992px) {
  /* 1) Centra il titolo "I nostri servizi" */
  #SERVIZI > div:first-child > div > h2 {
    text-align: center !important;
  }
  /* 2) Centra il paragrafo sotto "I nostri servizi" */
  #SERVIZI > div:first-child > div > p {
    text-align: center !important;
  }
  /* 3) Centra i titoli dei riquadri YÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Âª ATTRACTION, YÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Âª FIDELIZATION e YÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Âª REPUTATION */
  .servizio-card-wrapper h2 {
    /* rende il <h2> un blocco centrabile */
    display: block !important;
    margin: 0 auto !important;
    text-align: center !important;
  }
}

ul.servizi-vetrina {
  font-size: 18px;
  color: white;
  text-align: left;
  max-width: 600px;
  margin: 20px auto;
}

@media (max-width: 992px) {
    ul.servizi-vetrina {
  font-size: 15px;
  color: white;
  text-align: center;
        }
}
