* {
	box-sizing: border-box;
}

/* Custom text selection color */
::selection {
	background-color: #af181a;
	color: white;
}

::-moz-selection {
	background-color: #af181a;
	color: white;
}

html,
body {
	padding: 0;
	margin: 0;
	scroll-behavior: smooth;
}

body {
	min-height: 100svh;
	font-family: 'Outfit', sans-serif;
	position: relative;
	display: flex;
	flex-direction: column;
	background-color: #131313;
}

/* Loading overlay */
.loading-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #131313;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9999;
	transition: opacity 0.5s ease-in-out;
}

.loading-spinner {
	width: 50px;
	height: 50px;
	border: 3px solid rgba(255, 255, 255, 0.3);
	border-top: 3px solid #af181a;
	border-radius: 50%;
	animation: spin 1s linear infinite;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

/* Fade-in animations */
.fade-in {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
	opacity: 1;
	transform: translateY(0);
}

.container {
	width: 1524px;
	max-width: calc(100% - 24px);
	margin: 0 auto;
	padding: 0 12px;

	@media (max-width: 768px) {
		max-width: calc(100% - 32px);
		padding: 0 16px;
	}
}

.page-main {
	display: flex;
	align-items: center;
	flex-direction: column;
	justify-content: center;
	flex: 1 0 calc(100svh - 80px - 64px);
	padding: 32px 0;
	.header {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 32px;
		margin-bottom: 48px;

		@media (max-width: 768px) {
			gap: 24px;
			margin-bottom: 32px;
		}

		.logo {
			display: block;
			margin: auto;
			height: 45px;
			width: auto;

			@media (min-width: 768px) {
				height: 56px;
			}

			@media (min-width: 1024px) {
				height: 64px;
			}
		}

		.title {
			text-align: center;
			color: #fff;
			font-size: 18px;
			font-weight: 500;
			line-height: 1.4;
			margin: 0;
			max-width: 600px;
			text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);

			@media (min-width: 768px) {
				font-size: 18px;
			}
		}
	}

	.photo-showcase {
		width: 100%;
		max-width: 768px;
		margin: 32px auto;
		position: relative;

		.vehicles-photo {
			width: 100%;
			height: auto;
			display: block;
			transition: transform 0.5s ease;
		}
	}

	.row {
		display: flex;
		flex-direction: column;
		justify-content: center;
		gap: 24px;
		@media (min-width: 1024px) {
			flex-direction: row;
		}
		.column {
			width: 100%;

			@media (min-width: 1024px) {
				flex: 1;
			}

			.box {
				background: #131313;
				background: linear-gradient(135deg, #1a1a1a 0%, #131313 100%);
				padding: 28px;
				border-radius: 12px;
				border: 1px solid rgba(255, 255, 255, 0.05);
				box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
				transition: all 0.3s ease;
				height: 100%;

				@media (max-width: 768px) {
					padding: 24px;
					border-radius: 8px;
				}

				&:hover {
					border-color: rgba(175, 24, 26, 0.3);
					box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4), 0 0 20px rgba(175, 24, 26, 0.1);
				}

				.box-header {
					display: flex;
					flex-direction: row;
					align-items: center;
					justify-content: space-between;
					margin-bottom: 20px;

					.title {
						font-size: 21px;
						font-weight: 600;
						line-height: 1.3;
						color: #fff;
						margin: 0;

						@media (max-width: 768px) {
							font-size: 19px;
						}
					}

					.icon {
						color: #af181a;
						transition: transform 0.3s ease;
						filter: drop-shadow(0 2px 4px rgba(175, 24, 26, 0.3));
					}
				}

				&:hover .icon {
					transform: scale(1.05);
				}

				.links {
					display: flex;
					flex-direction: column;
					gap: 16px;
				}
				.link {
					display: flex;
					flex-direction: row;
					align-items: center;
					gap: 12px;
					width: fit-content;
					text-decoration: none;
					color: #fff;
					opacity: 0.75;
					transition: all 0.3s ease;
					padding: 8px 12px;
					border-radius: 6px;
					margin: -8px -12px;

					&:hover {
						opacity: 1;
						background-color: rgba(175, 24, 26, 0.1);
						transform: translateX(4px);
					}

					.label {
						font-weight: 500;
						font-size: 15px;
					}

					svg {
						transition: transform 0.3s ease;
					}

					&:hover svg {
						transform: scale(1.1);
					}
				}
			}
		}
	}
	.line {
		width: 180px;
		height: 2px;
		background: linear-gradient(90deg, transparent 0%, rgba(175, 24, 26, 0.6) 50%, transparent 100%);
		margin: 48px auto;
		border-radius: 1px;

		@media (max-width: 768px) {
			margin: 32px auto;
			width: 120px;
		}
	}
	.end-box {
		text-align: center;
		width: fit-content;
		margin: 0 auto;
		background: linear-gradient(135deg, #1a1a1a 0%, #131313 100%);
		padding: 24px 32px;
		border-radius: 12px;
		border: 1px solid rgba(255, 255, 255, 0.05);
		box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
		transition: all 0.3s ease;

		@media (max-width: 768px) {
			padding: 20px 24px;
		}

		&:hover {
			border-color: rgba(175, 24, 26, 0.3);
			box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4), 0 0 20px rgba(175, 24, 26, 0.1);
		}

		.title {
			font-size: 22px;
			font-weight: 600;
			line-height: 1.3;
			color: #fff;
			margin: 0 0 16px 0;

			@media (max-width: 768px) {
				font-size: 20px;
				margin-bottom: 12px;
			}
		}

		.link {
			display: inline-flex;
			flex-direction: row;
			align-items: center;
			gap: 12px;
			text-decoration: none;
			color: #fff;
			opacity: 0.75;
			transition: all 0.3s ease;
			padding: 8px 12px;
			border-radius: 6px;
			margin: -8px -12px;

			&:hover {
				opacity: 1;
				background-color: rgba(175, 24, 26, 0.1);
				transform: scale(1.05);
			}

			.label {
				font-weight: 500;
				font-size: 16px;
			}

			svg {
				transition: transform 0.3s ease;
			}

			&:hover svg {
				transform: scale(1.1);
			}
		}
	}
}

.page-footer {
	position: relative;
	background: linear-gradient(135deg, #af181a 0%, #8b1315 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 -4px 20px rgba(175, 24, 26, 0.3);
	padding: 16px 12px;
	color: #fff;
	font-size: 14px;
	text-align: center;
	font-weight: 400;
	line-height: 1.4;

	@media (min-width: 768px) {
		padding: 20px 12px;
		font-size: 15px;
	}

	@media (min-width: 1024px) {
		flex: 0 0 80px;
		padding: 0 12px;
		font-size: 14px;
	}

	.footer-content {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 12px;
		width: 100%;

		@media (min-width: 768px) {
			flex-direction: row;
			justify-content: space-between;
			gap: 20px;
		}
	}

	p {
		margin: 0;
		opacity: 0.95;
		flex: 1;

		@media (max-width: 767px) {
			font-size: 13px;
		}
	}

	.social-links {
		display: flex;
		align-items: center;
		gap: 16px;
	}

	.social-link {
		display: flex;
		align-items: center;
		gap: 8px;
		text-decoration: none;
		color: white;
		opacity: 0.9;
		transition: all 0.3s ease;
		padding: 6px 10px;
		border-radius: 6px;
		font-size: 13px;
		font-weight: 500;

		&:hover {
			opacity: 1;
			background-color: rgba(255, 255, 255, 0.1);
			transform: translateY(-2px);
		}

		svg {
			width: 20px;
			height: 20px;
			transition: transform 0.3s ease;
		}

		&:hover svg {
			transform: scale(1.1);
		}

		span {
			@media (max-width: 480px) {
				display: none;
			}
		}

		@media (min-width: 481px) {
			font-size: 14px;
		}
	}
}
