/************************************/
/***        04. Hero css	      ***/
/************************************/

.hero{
	position: relative;
	background-image: url('../images/struttura/hero-bg-shape.svg');
	background-repeat: no-repeat;
	background-position: top center;
	background-size: 100% auto;
	padding: 180px 0;
	overflow: clip;
}

.hero.hero-bg-image{
	position: relative;
	background: url('../images/struttura/hero-bg') no-repeat;
	background-position: center center;
	background-size: cover;
	/* Prima padding: 200px 0; */
	padding: 150px 0 170px; /* Qui tengo aria sopra e stringo sotto per far entrare le review */
}

.hero.hero-bg-image::before{
	content: '';
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
	background: var(--primary-color);
    opacity: 60%;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero.hero-video .hero-bg-video{
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
}

.hero.hero-video .hero-bg-video video{
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero.hero-bg-image.hero-slider-layout{
	background: none;
	padding: 0;
}

/* Qui allineo lo spessore anche per il layout slider, se presente */
.hero.hero-bg-image.hero-slider-layout .hero-slide{
	/* Prima: padding: 200px 0; */
	padding: 150px 0 84px; /* Qui uniformo ai valori dell’hero */
}

.hero.hero-bg-image.hero-slider-layout .hero-slide::before{
	content: '';
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-color);
	opacity: 60%;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero.hero-bg-image.hero-slider-layout .hero-slide .hero-slider-image{
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	bottom: 0;
}

.hero.hero-bg-image.hero-slider-layout .hero-slide .hero-slider-image img{
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero.hero-bg-image.hero-slider-layout .hero-pagination{
	position: absolute;
    bottom: 50px;
	text-align: left;
	left: calc(((1800px - 1300px) / 2) + 15px);
	z-index: 2;
}

.hero.hero-bg-image.hero-slider-layout .hero-pagination .swiper-pagination-bullet{
    width: 12px;
    height: 12px;
    background: var(--dark-divider-color);
    opacity: 1;
    transition: all 0.3s ease-in-out;
    margin: 0 5px;
}

.hero.hero-bg-image.hero-slider-layout .hero-pagination .swiper-pagination-bullet-active{
    background-color: var(--accent-color);
}

.hero-content{
	align-content: center;
	position: relative;
	z-index: 2;
}

.hero-body{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 40px;
}

.hero-body .video-play-button{
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.hero-body .video-play-button p{
	font-weight: 500;
	text-transform: capitalize;
	color: var(--white-color);
	margin: 0;
}

.video-play-button a{
	height: 50px;
	width: 50px;
	border: 2px solid var(--white-color);
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: none;
	transition: all 0.3s ease-in-out;
}

.video-play-button:hover a{
	border-color: var(--accent-color);
}

.video-play-button a i{
	font-size: 18px;
	color: var(--white-color);
	transition: all 0.3s ease-in-out;
}

.video-play-button:hover a i{
	color: var(--accent-color);
}

.hero-review-box {
  margin-top: 40px;   
  line-height: 1;     /* importante per evitare “spinta” verticale */  
}

.hero-review-box ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;   /* tiene tutto in linea e compatto */
  gap: 8px;              /* spaziatura uniforme */
}

.hero-review-box ul li {
  display: inline-flex;
  align-items: center;
  color: var(--secondary-color);
  margin: 0; /* non serve più margin-right se usi gap */
}

.hero-review-box ul li:last-child{
	margin: 0;
}

.hero-review-box ul li img {
  max-width: 20px;
}

.hero-review-box ul li i {
  color: var(--star-google-color);
}

.hero-image{
	background: url('../images/struttura/hero-image-bg-star.svg') no-repeat;
	background-position: center bottom;
	background-size: contain;
	height: 100%;
	align-content: end;
	text-align: center;
}

.hero-image img{
	margin-bottom: -180px;
    margin-top: -120px;
    max-width: initial;
}
