/* ========================================
   VARIABILI CSS
======================================== */
:root {
	/* Colori */
	--text-color: #333333;
	--primary-color: #b61733;
	--secondary-color: #192b4a;
	
	/* Font */
	--main-font: 'Roboto Condensed', sans-serif;
	--base-font-size: 18px;
	--line-height: 1.3;
	
	/* Breakpoints */
	--mobile: 768px;
}

/* ========================================
   RESET E BASE
======================================== */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: var(--main-font);
	font-size: var(--base-font-size);
	line-height: var(--line-height);
	color: var(--text-color);
	background-color: #ffffff;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* ========================================
   TIPOGRAFIA
======================================== */
h1, h2, h3, h4, h5, h6 {
	font-family: var(--main-font);
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 1rem;
	color: var(--text-color);
}

/* Desktop */
h1 { font-size: 45px; }
h2 { font-size: 38px; }
h3 { font-size: 32px; }
h4 { font-size: 26px; }
h5 { font-size: 22px; }
h6 { font-size: 20px; }

/* Mobile */
@media (max-width: 768px) {
	h1 { font-size: 32px; }
	h2 { font-size: 28px; }
	h3 { font-size: 24px; }
	h4 { font-size: 22px; }
	h5 { font-size: 20px; }
	h6 { font-size: 18px; }
}

p {
	font-size: var(--base-font-size);
	line-height: var(--line-height);
	margin-bottom: 1rem;
}

a {
	color: var(--primary-color);
	text-decoration: none;
	transition: color 0.3s ease;
}

a:hover {
	color: var(--secondary-color);
}

/* ========================================
   PULSANTE ROSSO
======================================== */
.btn-primary {
	display: inline-block;
	background-color: var(--primary-color);
	color: #ffffff;
	padding: 12px 30px;
	font-size: vavar(--base-font-size);
	font-weight: 600;
	text-decoration: none;
	border-radius: 6px;
	transition: all 0.3s ease;
	border: none;
	cursor: pointer;
	text-align: center;
	line-height: 1.5;
	text-transform: uppercase;
}

.btn-primary:hover {
	background-color: #8e1228;
	color: #ffffff;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(182, 23, 51, 0.3);
}

/* ========================================
   HEADER E NAVIGAZIONE
======================================== */
.site-header {
	background-color: #ffffff;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
	position: sticky;
	top: 0;
	z-index: 1000;
}

.navbar {
	padding: 1rem 0;
}

.navbar .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.nav-brand a {
	font-size: 24px;
	font-weight: 700;
	color: var(--primary-color);
}

.nav-menu ul {
	display: flex;
	list-style: none;
	gap: 2rem;
}

.nav-menu a {
	color: var(--text-color);
	font-weight: 500;
	transition: color 0.3s ease;
	text-transform: uppercase;
}

.nav-menu a:hover,
.nav-menu a.active {
	color: var(--primary-color);
}

.nav-toggle {
	display: none;
	flex-direction: column;
	cursor: pointer;
}

.nav-toggle span {
	width: 25px;
	height: 3px;
	background-color: var(--text-color);
	margin: 3px 0;
	transition: 0.3s;
}

/* Mobile Navigation */
@media (max-width: 768px) {
	.logo {
		max-width: 180px;
	}
	
	.nav-menu {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		width: 100%;
		background-color: #ffffff;
		box-shadow: 0 2px 10px rgba(0,0,0,0.1);
	}
	
	.nav-menu.active {
		display: block;
	}
	
	.nav-menu ul {
		flex-direction: column;
		padding: 1rem;
		gap: 1rem;
	}
	
	.nav-toggle {
		display: flex;
	}
}

/* ========================================
   MAIN CONTENT
======================================== */
main {
	min-height: 60vh;
}

.hero {
	background-color: var(--secondary-color);
	color: #ffffff;
	padding: 4rem 0;
	text-align: center;
}

.hero h1 {
	color: #ffffff;
	margin-bottom: 1rem;
	text-transform: uppercase;
}

.hero p {
	font-size: 20px;
	opacity: 0.9;
}

.content {
	padding: 3rem 0;
}

/* ========================================
   FOOTER
======================================== */
.site-footer {
	background-color: var(--secondary-color);
	color: #ffffff;
	padding: 3rem 0 1rem;
}

.footer-content {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
	margin-bottom: 2rem;
}

.footer-section h4 {
	color: #ffffff;
	margin-bottom: 1rem;
	text-transform: uppercase;
}

.footer-section ul {
	list-style: none;
}

.footer-section ul li {
	margin-bottom: 0.5rem;
}

.footer-section a {
	color: rgba(255,255,255,0.8);
}

.footer-section a[href^="tel:"] {
	color: rgba(255,255,255,0.9);
	font-weight: 500;
}

.footer-section a[href^="tel:"]:hover,
.footer-section a[href^="mailto:"]:hover {
	color: #ffffff;
}

.footer-bottom {
	text-align: center;
	padding-top: 2rem;
	border-top: 1px solid rgba(255,255,255,0.2);
}

.footer-bottom p {
	color: rgba(255,255,255,0.7);
}

/* ========================================
   GRID SYSTEM
======================================== */
/* Full Width */
.full-width {
	width: 100%;
	display: block;
}

/* Two Columns */
.grid-2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
	align-items: start;
}

/* Three Columns */
.grid-3 {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
	align-items: start;
}

/* Four Columns */
.grid-4 {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2rem;
	align-items: start;
}

/* Mobile Responsive Grid */
@media (max-width: 768px) {
	.grid-2,
	.grid-3 {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}
	
	.grid-4 {
		grid-template-columns: 1fr 1fr;
		gap: 1.5rem;
	}
}

/* Grid Items */
.grid-item {
	width: 100%;
}

/* ========================================
   UTILITIES
======================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 768px) {
	.container {
		padding: 0 15px;
	}
	
	.hero {
		padding: 2rem 0;
	}
	
	.hero p {
		font-size: var(--base-font-size);
	}
	
	.content {
		padding: 2rem 0;
	}
	
	.site-footer {
		padding: 2rem 0 1rem;
	}
}
/* ========================================
   SLIDER
======================================== */
.hero-slider {
	position: relative;
	height: 600px;
	overflow: hidden;
}

.slider-container {
	position: relative;
	width: 100%;
	height: 100%;
}

.slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	opacity: 0;
	animation: slideShow 9s infinite;
}

.slide::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.4);
	z-index: 1;
}

.slide:nth-child(1) {
	background-image: url('../img/slider-01.jpg');
	animation-delay: 0s;
}

.slide:nth-child(2) {
	background-image: url('../img/slider-02.jpg');
	animation-delay: 3s;
}

.slide:nth-child(3) {
	background-image: url('../img/slider-03.jpg');
	animation-delay: 6s;
}

.slider-content {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	color: #ffffff;
	z-index: 2;
	max-width: 800px;
	padding: 0 20px;
}

.slider-content h1 {
	font-size: 60px;
	font-weight: 700;
	margin-bottom: 1rem;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
	color: #ffffff;
	text-transform: uppercase;
}

.slider-content .payoff {
	font-size: 24px;
	font-weight: 400;
	opacity: 0.95;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
	line-height: 1.4;
}

@keyframes slideShow {
	0% { opacity: 0; }
	11.11% { opacity: 1; }
	33.33% { opacity: 1; }
	44.44% { opacity: 0; }
	100% { opacity: 0; }
}

/* Responsive */
@media (max-width: 768px) {
	.hero-slider {
		height: 450px;
	}
	
	.slider-content h1 {
		font-size: 42px;
	}
	
	.slider-content .payoff {
		font-size: 20px;
	}
}

@media (max-width: 480px) {
	.hero-slider {
		height: 400px;
	}
	
	.slider-content h1 {
		font-size: 36px;
	}
	
	.slider-content .payoff {
		font-size: 18px;
	}
}
/* ========================================
   BRANDS SECTION
======================================== */
.brands-section {
	padding: 4rem 0;
	background-color: #ffffff;
}

.brands-section h2 {
	text-align: center;
	margin-bottom: 3rem;
	color: var(--text-color);
}

.brands-grid {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 2rem;
}

.brand-item {
	flex: 0 0 auto;
}

.brand-circle {
	width: 200px;
	height: 200px;
	border-radius: 50%;
	overflow: hidden;
	box-shadow: 
		0 10px 30px rgba(0, 0, 0, 0.15),
		0 4px 15px rgba(0, 0, 0, 0.1),
		0 2px 8px rgba(0, 0, 0, 0.05);
	transition: all 0.3s ease;
	position: relative;
	background-color: #ffffff;
	border: 3px solid #ffffff;
}

.brand-circle:hover {
	transform: translateY(-8px);
	box-shadow: 
		0 20px 40px rgba(0, 0, 0, 0.2),
		0 8px 25px rgba(0, 0, 0, 0.15),
		0 4px 12px rgba(0, 0, 0, 0.1);
}

.brand-circle img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform 0.3s ease;
}

.brand-circle:hover img {
	transform: scale(1.05);
}

/* Responsive */
@media (max-width: 1200px) {
	.brands-grid {
		gap: 1.5rem;
	}
	
	.brand-circle {
		width: 180px;
		height: 180px;
	}
}

@media (max-width: 992px) {
	.brand-circle {
		width: 160px;
		height: 160px;
	}
}

@media (max-width: 768px) {
	.brands-section {
		padding: 3rem 0;
	}
	
	.brands-grid {
		flex-direction: column;
		gap: 2rem;
	}
	
	.brand-circle {
		width: 180px;
		height: 180px;
	}
}

@media (max-width: 480px) {
	.brand-circle {
		width: 160px;
		height: 160px;
	}
}
/* ========================================
   MOTO LIST SECTION
======================================== */
.moto-list-section {
	padding: 4rem 0;
	background-color: #ffffff;
}

.moto-item {
	display: grid;
	grid-template-columns: 1fr auto 50%;
	align-items: center;
	gap: 0;
	margin-bottom: 3rem;
	position: relative;
	min-height: 450px;
}

.moto-item:last-child {
	margin-bottom: 0;
}

/* Immagine moto */
.moto-image {
	position: relative;
	min-height: 450px;
	overflow: hidden;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
}

/* Logo centrale */
.moto-logo {
	position: relative;
	z-index: 3;
	margin: 0 -85px; /* Metà della larghezza del cerchio per sovrapporsi */
}

.logo-circle {
	width: 170px;
	height: 170px;
	border-radius: 50%;
	overflow: hidden;
	background-color: #ffffff;
	border: 5px solid #ffffff;
	box-shadow: 
		0 8px 25px rgba(0, 0, 0, 0.15),
		0 4px 12px rgba(0, 0, 0, 0.1);
}

.logo-circle img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

/* Riquadro informazioni */
.moto-info {
	background-color: #6c757d;
	color: #ffffff;
	padding: 2.5rem 2.5rem 2.5rem 7rem;
	min-height: 450px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	position: relative;
}

.moto-info h3 {
	color: #ffffff;
	font-size: 28px;
	font-weight: 700;
	margin-bottom: 0.5rem;
	line-height: 1.2;
}

.moto-info p {
	font-size: 16px;
	line-height: 1.4;
	margin: 0;
	opacity: 0.95;
}

/* Responsive */
@media (max-width: 1200px) {
	.moto-item {
		grid-template-columns: 1fr auto 350px;
	}
	
	.moto-info {
		padding: 2rem;
	}
	
	.moto-info h3 {
		font-size: 24px;
	}
}

@media (max-width: 992px) {
	.moto-item {
		grid-template-columns: 1fr auto 300px;
		min-height: 250px;
	}
	
	.moto-image {
		height: 250px;
	}
	
	.moto-info {
		height: 250px;
		padding: 1.5rem;
	}
	
	.logo-circle {
		width: 140px;
		height: 140px;
	}
	
	.moto-logo {
		margin: 0 -70px;
	}
}

@media (max-width: 768px) {
	.moto-list-section {
		padding: 3rem 0;
	}
	
	.moto-item {
		grid-template-columns: 1fr;
		grid-template-rows: 250px auto auto;
		gap: 0;
		min-height: auto;
		margin-bottom: 4rem;
	}
	
	.moto-image {
		height: 250px;
		grid-row: 1;
	}
	
	.moto-logo {
		grid-row: 2;
		margin: -85px auto 0;
		z-index: 3;
	}
	
	.logo-circle {
		width: 170px;
		height: 170px;
	}
	
	.moto-info {
		grid-row: 3;
		height: auto;
		padding: 4rem 2rem 2rem;
		margin-top: -85px;
		text-align: center;
		padding-top: 5rem;
	}
	
	.moto-info h3 {
		font-size: 26px;
	}
}

@media (max-width: 480px) {
	.moto-info {
		padding: 4rem 1.5rem 2rem;
	}
	
	.moto-info h3 {
		font-size: 22px;
	}
	
	.logo-circle {
		width: 150px;
		height: 150px;
	}
	
	.moto-logo {
		margin: -75px auto 0;
	}
	
	.moto-info {
		margin-top: -75px;
	}
}
/* ========================================
   CONTATTI PAGE
======================================== */

/* Mappa placeholder */
.map-placeholder {
	width: 100%;
	height: 400px;
	background-color: #f8f9fa;
	border: 2px dashed #dee2e6;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #6c757d;
	font-size: 18px;
	margin-top: 1rem;
}

.map-placeholder::before {
	content: "Mappa da inserire";
	font-style: italic;
}

/* Sezioni contatti */
.contact-section {
	margin-bottom: 2.5rem;
}

.contact-section h3 {
	color: var(--primary-color);
	text-transform: uppercase;
	margin-bottom: 1rem;
	font-size: 24px;
}

/* Link contatti */
.contact-link {
	display: block;
	font-size: 26px;
	font-weight: 700;
	color: var(--text-color);
	text-decoration: none;
	margin-bottom: 0.8rem;
	transition: color 0.3s ease;
	line-height: 1.3;
}

.contact-link:hover {
	color: var(--primary-color);
	text-decoration: none;
}

/* Indirizzo */
.address {
	font-size: 18px;
	line-height: 1.5;
	color: var(--text-color);
	margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
	.map-placeholder {
		height: 300px;
		font-size: 16px;
	}
	
	.contact-section {
		margin-bottom: 2rem;
	}
	
	.contact-link {
		font-size: 22px;
	}
	
	.address {
		font-size: 16px;
	}
}

@media (max-width: 480px) {
	.contact-link {
		font-size: 20px;
	}
}
/* ========================================
   SERVICES SECTION
======================================== */
.services-section {
	padding: 4rem 0;
	background-color: #ffffff;
}

.services-grid {
	margin-top: 3rem;
}

.service-item {
	background-color: #f8f9fa;
	padding: 2.5rem 2rem;
	border-radius: 8px;
	text-align: center;
	transition: all 0.3s ease;
	border: 1px solid #e9ecef;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}

.service-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
	border-color: var(--primary-color);
}

.service-item h3 {
	color: var(--primary-color);
	font-size: 22px;
	font-weight: 700;
	margin-bottom: 1rem;
	line-height: 1.3;
}

.service-item p {
	color: var(--text-color);
	font-size: 16px;
	line-height: 1.5;
	margin: 0;
	opacity: 0.9;
}

/* Responsive */
@media (max-width: 768px) {
	.services-section {
		padding: 3rem 0;
	}
	
	.services-intro {
		font-size: 18px;
		margin-bottom: 2rem;
	}
	
	.service-item {
		padding: 2rem 1.5rem;
	}
	
	.service-item h3 {
		font-size: 20px;
	}
}

/* Layout speciale per 5 elementi */
@media (min-width: 769px) {
	.services-grid {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: 2rem;
	}
	

}