/* ========================================
   MOTO CAROUSEL SECTION
======================================== */
.moto-carousel-section {
	padding: 4rem 0;
	background-color: #ffffff;
}

.moto-carousel-section h2 {
	text-align: left;
	margin-bottom: 1rem;
	color: var(--text-color);
}

.carousel-container {
	position: relative;
	overflow: hidden;
}

.carousel-container .moto-list-section {
	padding: 0;
	background: transparent;
}

.carousel-container .moto-list-section .container {
	max-width: none;
	padding: 0;
	display: flex;
	transition: transform 0.5s ease-in-out;
	width: 500%; /* 5 elementi = 500% */
}

.carousel-container .moto-item {
	flex: 0 0 20%; /* Ogni item occupa 1/5 della larghezza totale */
	margin-bottom: 0;
}

/* Indicatori */
.carousel-indicators {
	display: flex;
	justify-content: center;
	gap: 1rem;
	margin-top: 2rem;
}

.indicator {
	width: 15px;
	height: 15px;
	background-color: #cccccc;
	cursor: pointer;
	transition: all 0.3s ease;
}

.indicator.active {
	background-color: var(--primary-color);
	transform: scale(1.2);
}

.indicator:hover {
	background-color: var(--secondary-color);
}

.btn-white {
	display: inline-block;
	background-color: #ffffff;
	color: var(--text-color);
	padding: 10px 25px;
	font-size: 16px;
	font-weight: 500;
	text-decoration: none;
	border-radius: 4px;
	transition: all 0.3s ease;
	border: 2px solid #ffffff;
	cursor: pointer;
	text-align: center;
	line-height: 1.5;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	flex-shrink: 0;
	align-self: flex-start;
	margin-top: 2rem;
}
.btn-white:hover {
	background-color: var(--primary-color);
	color: #ffffff;
	border-color: var(--primary-color);
	transform: translateY(-2px);
	box-shadow: 0 4px 15px rgba(182, 23, 51, 0.2);
}

/* Responsive Carousel */
@media (max-width: 768px) {
	.carousel-container .moto-item {
		flex: 0 0 20%; /* Mantiene stesso comportamento */
	}
	
	.indicator {
		width: 12px;
		height: 12px;
	}
}