@import url("https://fonts.googleapis.com/css2?family=Goldman:wght@400;700&family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

/* ROOT VARIABLES */
:root {
  --body-font: "Kanit", sans-serif;
  --title-font: "Goldman", sans-serif;
  --colore-verde: #00c265;
  --colore-azzurro: #3984ae;
  --colore-nero: black;
  --colore-bianco: white;
  --colore-panna: #fafafa;
  --body-size: 18px;
  --h1-font-size: 60px;
  --h2-font-size: 40px;
  --h3-font-size: 25px;
  --h5-font-size: 22px;

  --h1-font-size-responsive: 40px;
  --h2-font-size-responsive: 30px;
  --h3-font-size-responsive: 20px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* BODY */
body {
  font-family: var(--body-font) !important;
  color: var(--colore-black) !important;
  margin: 0;
  padding: 0;
}

/* MAIN */
main {
  padding-top: 0;
  position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 400 !important;
  font-family: var(--title-font);
}

strong {
  font-weight: 500;
}

p {
  font-size: var(--body-size) !important;
  font-weight: 300;
  line-height: 1.5rem;
}

h1 {
  color: white;
  font-size: var(--h1-font-size) !important;
  font-weight: 500 !important;
  text-transform: uppercase;
  line-height: 3.5rem;
}

h2 {
  color: var(--colore-nero) !important;
  font-weight: 500 !important;
  font-size: var(--h2-font-size) !important;
  text-transform: uppercase;
  line-height: 2.5rem;
}

h3 {
  color: var(--colore-nero);
  font-size: var(--h3-font-size) !important;
  text-transform: uppercase;
}

h4 {
  text-transform: uppercase;
}

h5 {
  text-transform: uppercase;
  font-size: var(--h5-font-size);
}

@media (max-width: 620px) {
  h1 {
    font-size: var(--h1-font-size-responsive) !important;
    line-height: 2.5rem;
  }

  h2 {
    font-size: var(--h2-font-size-responsive) !important;
    line-height: 2rem;
  }
  h3 {
    font-size: var(--h3-font-size-responsive) !important;
  }
}

@media (min-width: 2400px) {
  html {
    font-size: 150% !important;
  }
  .container {
    max-width: 2200px !important;
  }
}

@media (min-width: 1800px) and (max-width: 2400px) {
  html {
    font-size: 120%;
  }
  .container {
    max-width: 1600px !important;
  }
}

/******************** NAVBAR ********************/
.navbar {
  margin: 0 !important;
}

.navbar-custom {
  padding: 1rem;
  background-color: var(--colore-bianco) !important;
  z-index: 1000;
}

.navbar-default {
  margin: 0 5rem;
}

.navbar-custom .nav-link,
.navbar-custom .navbar-brand,
.navbar-custom .navbar-toggler {
  color: var(--colore-nero) !important;
}

.navbar-scrolled {
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.4);
  border-bottom: none;
  margin: 0 !important;
}

.button-menu {
  border-radius: 5rem !important;
  border: 1px solid black;
  padding: 0.3rem 1rem !important;
  transition: transform 0.5s ease, background-color 0.5s ease;
}

@media (max-width: 576px) {
  .navbar-brand img {
    width: 200px;
    height: auto;
  }
}

.navbar-nav .nav-link {
  margin-left: 1.5rem;
  margin-right: 1.5rem;
  position: relative;
  transition: color 0.3s ease;
  text-transform: uppercase;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 1px;
  bottom: 0;
  left: 0;
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}

.navbar-toggler {
  border: 0 !important;
}

.offcanvas-start {
  transition: transform 0.3s ease-in-out;
}

.menu-logo {
  text-align: center;
}

.menu-logo img {
  max-width: 100px;
  height: auto;
  display: block;
}

@media (max-width: 980px) and (min-width: 541px) {
  .offcanvas-start {
    width: 60vw !important;
  }

  .offcanvas-body .nav-link {
    font-size: 4.5vh;
    text-align: center;
  }

  .lingua {
    font-size: 4.5vh;
    color: var(--colore-nero);
  }

  .img-lingua {
    width: 50px;
  }

  .navbar-default {
    margin: 0 2rem;
  }
}

@media (max-width: 540px) {
  .offcanvas-start {
    width: 100vw;
  }

  .offcanvas-body .nav-link {
    font-size: 4.5vh;
    text-align: center;
    font-weight: 500 !important;
  }

  .navbar-default {
    margin: 0 0.3rem;
  }

  .lingua {
    font-size: 4.5vh;
    color: var(--colore-nero);
  }

  .img-lingua {
    width: 30px;
  }
}

@media (max-width: 980px) {
  *:focus {
    outline: none !important;
    box-shadow: none !important;
  }

  .offcanvas-body {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    height: 100%;
  }

  .offcanvas-body .navbar-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    border-bottom: 1px solid var(--colore-blu) !important;
  }

  .offcanvas-body .nav-link::after {
    left: 0;
    right: 0;
    margin: 0 auto;
  }

  .navbar-toggler {
    border: 0 !important;
  }
}

.menu-responsive {
  height: 100%;
  background-color: var(--colore-blu);
  border-radius: 3rem;
}

/******************** BUTTON ********************/

.btn-verde {
  background-color: var(--colore-verde) !important;
  border-radius: 5rem !important;
  text-transform: uppercase;
  font-size: 0.9rem !important;
  color: var(--colore-bianco) !important;
  font-weight: 500 !important;
  padding: 0.5rem 2rem !important;
  transition: transform 0.5s ease, background-color 0.5s ease;
}

.btn-verde:hover {
  transform: scale(1.08);
}

.btn-trasparente {
  background-color: white !important;
  border-radius: 5rem !important;
  text-transform: uppercase;
  font-size: 0.9rem !important;
  color: var(--colore-nero) !important;
  font-weight: 500 !important;
  padding: 0.7rem 1rem !important;
  border: 1px solid white !important;
  transition: transform 0.5s ease, background-color 0.5s ease;
}

.btn-trasparente:hover {
  transform: scale(1.08);
}

/******************** HOMEPAGE ********************/

.hero-image {
  position: relative;
  height: 80vh;
  padding: 0;
  margin: 5rem 3rem 4rem 3rem;
  background-image: url("ebike-ledro-img/hero-di-cortesia.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  border-radius: 1.5rem;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.4);
}

@media (min-width: 2400px) {
  .hero-image {
    height: 50vh;
  }

  .hero-left {
    justify-content: start !important;
    padding-top: 15rem !important;
  }
}

@media (min-width: 1800px) and (max-width: 2400px) {
  .hero-image {
    height: 50vh;
  }

  .hero-left {
    justify-content: start !important;
    padding-top: 15rem !important;
  }
}

.hero-image .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.1);
}

@media (max-width: 540px) {
  .hero-image {
    position: relative;
    height: 90vh;
    padding: 0;
    margin: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
  }

  .hero-image .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1); /* cambia opacità se vuoi */
    z-index: 1;
  }
}

.hero-content {
  z-index: 2;
}

.hero-left {
  position: relative;
  z-index: 2;
  color: white;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 90vh;
  padding: 2rem;
}

.hero-right {
  position: relative;
  z-index: 2;
  height: 90vh;
  /* Vuoto, solo spazio */
}

.box-hero {
  max-width: 500px;
}

@media (min-width: 1200px) {
  .box-hero {
    max-width: 100%;
  }
}

@media (max-width: 1024px) {
  .hero-left {
    margin: 0 auto;
    text-align: center;
    padding: 2rem 1rem;
  }

  .hero-right {
    display: none;
  }

  .hero-image {
    height: auto;
    min-height: 80vh;
  }

  .box-hero {
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 1024px) and (min-width: 540px) {
  .hero-image {
    height: 70vh;
  }
}

@media (max-width: 499px) {
  .hero-image {
    height: 80vh;
  }

  .hero-left {
    margin: 0 auto;
    max-width: 380px !important;
  }
}

@media (max-width: 380px) {
  .hero-image {
    height: 95vh;
    padding-top: 3rem;
  }

  .hero-left {
    margin: 0 auto;
    max-width: 370px !important;
  }
}

/******************** SEZIONE 1 ********************/
/* Riduci altezza immagini */
.custom-carousel img {
  max-height: 400px; /* o quanto vuoi */
  object-fit: cover;
}

.carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}

.carousel {
  touch-action: pan-y;
}

.carousel-control-next {
  right: -1rem;
}

.carousel-control-prev {
  left: -1rem;
}

@media (max-width: 768px) {
  .carousel-control-next {
    right: -1rem;
  }

  .carousel-control-prev {
    left: -1rem;
  }
}

.left-section {
  transform: translateX(-100vw);
}
.right-section {
  transform: translateX(100vw);
}
/******************** SEZIONE 2 ********************/
.box-titolo {
  max-width: 990px;
}

.parent {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(4, 1fr);
  grid-column-gap: 10px;
  grid-row-gap: 10px;
  height: 600px;
}

.div1 {
  grid-area: 1 / 1 / 3 / 3;
  overflow: hidden;
  border-radius: 1.5rem;
}
.div2 {
  grid-area: 1 / 3 / 3 / 6;
  overflow: hidden;
  border-radius: 1.5rem;
}
.div3 {
  grid-area: 3 / 1 / 5 / 4;
  overflow: hidden;
  border-radius: 1.5rem;
}
.div4 {
  grid-area: 3 / 4 / 5 / 6;
  overflow: hidden;
  border-radius: 1.5rem;
}

.parent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 1.5rem;
  transition: transform 0.4s ease;
}

.parent img:hover {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .parent {
    display: flex;
    flex-direction: column;
    height: auto; /* lascia altezza automatica */
  }

  .parent > div {
    width: 100%; /* ogni div prende tutta la larghezza */
    height: 300px; /* altezza fissa uguale per tutte */
    margin-bottom: 10px; /* distanza tra le immagini */
  }

  .parent img {
    height: 100%;
    width: 100%;
    border-radius: 1.5rem;
    object-position: center;
  }
}

/******************** SEZIONE 3 ********************/
.skils {
  background-color: var(--colore-azzurro);
  border-radius: 1.5rem;
  height: auto;
  background-image: url("ebike-ledro-img/percorsi-sfondo-card.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.4);
}

.img-skill {
  width: 100px;
  height: 100px;
}

@media (max-width: 768px) {
  .img-skill {
    width: 80px;
    height: 80px;
  }
}

.left-section-1 {
  opacity: 0;
  transform: translateX(-100vw);
}

/******************** SEZIONE 4 ********************/
.swiper {
  margin: 50px auto;
  padding-bottom: 40px;
  user-select: none;
  width: 100%;
}

.swiper-slide {
  position: relative;
  height: 320px;
  border-radius: 1.5rem;
  overflow: hidden;
  will-change: transform;
  pointer-events: auto;
  border: 1px solid black;
}

.card {
  height: 320px;
  border: none;
  box-shadow: none;
}

.swiper-slide .front {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 1.5rem;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

@media (max-width: 540px) {
  .swiper {
    padding-bottom: 30px;
    max-width: 100%;
  }

  .card {
    height: 350px;
  }
}

.icona-stelle {
  width: 120px !important;
  height: auto !important;
}

.recensione {
  font-weight: 200;
}

.text-small {
  font-size: 0.8rem;
  font-weight: 200;
}

@media (max-width: 540px) {
  .icona-stelle {
    width: 90px !important;
    height: auto !important;
  }
}

/******************** SEZIONE 5 ********************/

.percorsi {
  height: auto;
  background-image: url("ebike-ledro-img/percorsi-sfondo-card.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  border-radius: 1.5rem;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.4);
}

.parent1 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 1fr);
  grid-column-gap: 10px;
  grid-row-gap: 40px;
  background-color: var(--colore-panna);
  padding: 2rem 1rem 0 1rem;
  border-radius: 1rem;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.4);
  height: 350px;
}

.div5 {
  grid-area: 1 / 1 / 3 / 3;
}

.div5 img {
  width: 250px;
  border-radius: 1.5rem;
}

.div6 {
  grid-area: 1 / 3 / 3 / 5;
}
.div7 {
  grid-area: 3 / 1 / 4 / 3;
}
.div8 {
  grid-area: 3 / 3 / 4 / 5;
}

@media (max-width: 1024.98px) {
  .parent1 {
    display: flex;
    flex-direction: column;
    max-width: 520px;
    margin: 0 auto;
    padding: 2rem;
    grid-row-gap: 20px;
    height: auto;
  }

  .div5 {
    order: 1;
  }
  .div6 {
    order: 2;
  }
  .div8 {
    order: 3;
  }
  .div7 {
    order: 4;
  }

  .div5 img {
    width: 440px;
  }
}

@media (max-width: 575.98px) {
  .parent1 {
    display: flex;
    flex-direction: column;
    max-width: 330px;
    padding: 1rem;
    grid-row-gap: 15px;
  }

  .div5 {
    order: 1;
  }
  .div6 {
    order: 2;
  }
  .div8 {
    order: 3;
  }
  .div7 {
    order: 4;
  }

  /* (opzionale) resetta larghezza e altezza */
  .parent1 > div {
    width: 100%;
    height: auto;
  }

  .div5 img {
    width: 280px;
  }
}

.right-section-5 {
  transform: translateX(100vw);
}

/******************** SEZIONE LOGHI ********************/
.logo-bar {
  overflow: hidden;
  width: 100%;
  background: #fff;
  padding: 20px 0;
}

.logo-track {
  display: flex;
  width: fit-content;
  animation: scrollLogos 8s linear infinite;
}

.logo-track img {
  height: 60px;
  margin: 0 30px;
  object-fit: contain;
}

@keyframes scrollLogos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 575.98px) {
  .logo-track img {
    height: 70px;
    margin: 0 30px;
    object-fit: contain;
  }

  .logo-track {
    animation: scrollLogos 7s linear infinite;
  }
}

/******************** SEZIONE 6 ********************/

.contattaci {
  height: auto;
  border: 1px solid black;
  border-radius: 1.5rem;
  max-width: 1024px;
  margin: 0 auto;
}

.box img.img-contatti {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 1.5rem;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.4);
}

/******************** FOOTER ********************/
iframe {
  display: block;
  margin-bottom: 0;
}

footer {
  margin-top: 0;
  padding-top: 0;
}

footer {
  height: auto;
  background-image: url("ebike-ledro-img/footer-noleggio-ebike-ledro.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  color: white;
}

footer a {
  color: white;
  text-decoration: none;
}

.footer {
  max-width: 1024px;
  margin: 0 auto;
}

/***************************** PAGINA NOLEGGIO ***********************************/

/******************** HERO ********************/
.hero-image-noleggio {
  position: relative;
  height: 70vh;
  padding: 0;
  margin: 5rem 3rem 0 3rem;
  background-image: url("ebike-ledro-img/listino-prezzi-ebike-ledro-hero.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  border-radius: 1.5rem;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.4);
}

@media (min-width: 1800px) {
  .hero-image-noleggio {
    height: 40vh;
  }
}

@media (max-width: 1024px) and (min-width: 768px) {
  .hero-image-noleggio {
    height: 30vh;
  }
}

@media (max-width: 767px) {
  .hero-image-noleggio {
    background: none; /* rimuove background sotto 768px */
  }

  .hero-image-noleggio {
    height: 100%;
    padding: 0;
    margin: 3.5rem 0 0 0;
    overflow: hidden;
    border-radius: 1.5rem;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.4);
  }

  .hero-image-noleggio img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* tutta l’immagine visibile */
  }
}

/******************** SEZIONE 1 ********************/
.box-noleggio {
  background-color: var(--colore-azzurro);
  border-radius: 1.5rem;
  height: auto;
  background-image: url("ebike-ledro-img/percorsi-sfondo-card.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.4);
  color: var(--colore-bianco) !important;
}

.icona-noleggio-1 {
  width: 50px;
  height: 50px;
}

.title-noleggio {
  color: var(--colore-nero) !important;
  font-weight: 500 !important;
  font-size: var(--h2-font-size) !important;
  text-transform: uppercase;
  line-height: 2.5rem;
  max-width: 1025px;
}

@media (max-width: 620px) {
  .title-noleggio {
    font-size: var(--h2-font-size-responsive) !important;
    line-height: 2rem;
  }
}

/******************** SEZIONE 2 ********************/

.bike-card {
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.4);
  border-radius: 1.5rem;
  padding: 20px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  max-width: 350px;
  grid-column: 1rem;
  margin: 0 auto;
}

.bike-card img {
  max-width: 100%;
  height: auto;
  margin: 15px 0;
}

.price-table {
  display: flex;
  justify-content: space-around;
  margin: 15px 0;
  padding-top: 10px;
  font-weight: bold;
}

.price-table div {
  text-align: center;
}

.price-table small {
  display: block;
  font-weight: normal;
  color: #555;
}

.bike-card a {
  text-decoration: none;
}

/******************** SEZIONE 3 ********************/

.box-noleggio1 {
  border-radius: 1.5rem;
  height: auto;
  border: 1px solid black;
}

.card-1 {
  border-radius: 1.5rem;
  height: auto;
  background-image: url("ebike-ledro-img/card-noleggio-ebike-ledro.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.4);
  color: var(--colore-bianco) !important;
  max-width: 450px;
  margin: 0 auto;
}

.card-2 {
  border-radius: 1.5rem;
  height: auto;
  background-image: url("ebike-ledro-img/card-vendita-ebike-ledro.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.4);
  color: var(--colore-bianco) !important;
  max-width: 450px;
  margin: 0 auto;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .card-1 {
    max-width: 300px;
    margin: 0 auto;
  }

  .card-2 {
    max-width: 300px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .box-noleggio1 {
    border: none;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.4);
  }

  .card-1 {
    max-width: 370px;
    margin: 0 auto;
  }

  .card-2 {
    max-width: 370px;
    margin: 0 auto;
  }
}

@media (max-width: 399px) {
  .box-noleggio1 {
    border: none;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.4);
  }

  .card-1 {
    max-width: 300px;
    margin: 0 auto;
  }

  .card-2 {
    max-width: 300px;
    margin: 0 auto;
  }
}

/***************************** PAGINA CONTATTI ***********************************/

/******************** HERO ********************/
.hero-image-contatti {
  position: relative;
  height: 70vh;
  padding: 0;
  margin: 5rem 3rem 0 3rem;
  background-image: url("ebike-ledro-img/hero-contatti-ebike-ledro.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  border-radius: 1.5rem;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.4);
}

@media (min-width: 1800px) {
  .hero-image-contatti {
    height: 40vh;
  }
}

@media (max-width: 1024px) and (min-width: 768px) {
  .hero-image-contatti {
    height: 30vh;
  }
}

@media (max-width: 767px) {
  .hero-image-contatti {
    background: none;
  }

  .hero-image-contatti {
    height: 100%;
    padding: 0;
    margin: 3.5rem 0 0 0;
    overflow: hidden;
    border-radius: 1.5rem;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.4);
  }

  .hero-image-contatti img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}

/******************** SEZIONE 2 ********************/
.box-faq {
  max-width: 1024px;
  margin: 0 auto;
}

.accordion-button {
  line-height: 1.5rem;
  font-size: var(--h3-font-size);
  font-weight: 400;
}

.accordion-collapse {
  font-size: var(--body-size);
  font-weight: 300;
}

.accordion-button:focus {
  box-shadow: none !important;
  outline: none !important;
}

.accordion-button:not(.collapsed) {
  box-shadow: none !important;
  outline: none !important;
}

@media (max-width: 767px) {
  .accordion-button {
    line-height: 1.5rem;
    font-size: var(--h3-font-size-responsive);
  }
}

/******************** BICI USATE ********************/

.hero-image-usate {
  position: relative;
  height: 80vh;
  padding: 0;
  margin: 5rem 3rem 4rem 3rem;
  background-image: url("ebike-ledro-img/hero-desktop-vendita.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  border-radius: 1.5rem;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.4);
}

@media (min-width: 2400px) {
  .hero-image-usate {
    height: 50vh;
  }

  .hero-left {
    justify-content: start !important;
    padding-top: 15rem !important;
  }
}

@media (min-width: 1800px) and (max-width: 2400px) {
  .hero-image-usate {
    height: 50vh;
  }

  .hero-left {
    justify-content: start !important;
    padding-top: 15rem !important;
  }
}

.hero-image-usate .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.2);
}

@media (max-width: 540px) {
  .hero-image-usate {
    position: relative;
    height: 90vh;
    padding: 0;
    margin: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
  }

  .hero-image-usate .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.25); /* cambia opacità se vuoi */
    z-index: 1;
  }
}

.hero-content {
  z-index: 2;
}

.hero-left {
  position: relative;
  z-index: 2;
  color: white;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 90vh;
  padding: 2rem;
}

.hero-right {
  position: relative;
  z-index: 2;
  height: 90vh;
  /* Vuoto, solo spazio */
}

.box-hero {
  max-width: 500px;
}

@media (min-width: 1200px) {
  .box-hero {
    max-width: 100%;
  }
}

@media (max-width: 1024px) {
  .hero-left {
    margin: 0 auto;
    text-align: center;
    padding: 2rem 1rem;
  }

  .hero-right {
    display: none;
  }

  .hero-image-usate {
    background-position: right;
    height: auto;
    min-height: 80vh;
  }

  .box-hero {
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 1024px) and (min-width: 540px) {
  .hero-image-usate {
    height: 70vh;
  }
}

@media (max-width: 499px) {
  .hero-image-usate {
    background-image: url("ebike-ledro-img/hero-mobile-vendita.webp");
    height: 80vh;
  }

  .hero-left {
    margin: 0 auto;
    max-width: 380px !important;
  }
}

@media (max-width: 380px) {
  .hero-image-usate {
    height: 95vh;
    padding-top: 3rem;
  }

  .hero-left {
    margin: 0 auto;
    max-width: 370px !important;
  }
}

.glass-box {
  border-radius: 1rem;
  color: black; /* testo bianco */
  transition: all 0.3s ease;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.4);
}

.glass-box p {
  font-size: 18px !important;
  line-height: 1rem;
}

.glass-box:hover {
  transform: scale(1.02);
}

.img-vendita {
  width: 1.8rem;
}

/*********************SCROLLUP**********************/

.scrollup {
  position: fixed;
  left: 1rem;
  bottom: -110px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 100;
  transition: bottom 0.3s ease;
}

.cta-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 0.7rem;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
  text-decoration: none;
  color: var(--colore-verde);
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  font-family: var(--body-font);
}

.cta-btn:hover {
  transform: scale(1.05);
  box-shadow: rgba(0, 0, 0, 0.25) 0px 4px 8px;
}

.cta-btn img {
  width: 26px;
  height: 26px;
  border-radius: 0.4rem;
  padding: 0.2rem;
  background-color: #fff;
}

.show-scroll {
  bottom: 3rem;
}

/* Effetto battito */
.scrollup {
  animation: pulse 3s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
