@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700;900&display=swap');

:root {
	--primary-color: #0B3C5D;
	--secondary-color: #FF7A00;
	--accent-color: #FFD700;
	--dark-bg: #1D2B36;
	--light-text: #F4F4F4;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: 'Noto Sans SC', sans-serif;
	color: #333;
	overflow-x: hidden;
}

.text-shadow {
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.bg-gradient-primary {
	background: linear-gradient(135deg, var(--primary-color), #003366);
}

.bg-gradient-dark {
	background: linear-gradient(135deg, var(--dark-bg), #2D3E4E);
}

.service-card {
	transition: all 0.3s ease;
}

.service-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.car-card {
	transition: all 0.3s ease;
}

.car-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 15px -5px rgba(0, 0, 0, 0.1), 0 5px 5px -5px rgba(0, 0, 0, 0.04);
}

.banner-slide {
	transition: transform 0.5s ease-in-out;
}

.mobile-menu {
	transition: transform 0.3s ease-in-out;
}

.mobile-menu.hidden {
	transform: translateX(-100%);
}

/* 轮播指示器 */
.carousel-dots {
	display: flex;
	justify-content: center;
	margin-top: 1rem;
}

.carousel-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.5);
	margin: 0 5px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.carousel-dot.active {
	background-color: white;
	width: 20px;
	border-radius: 5px;
}

/* 车型展示轮播 */
.car-carousel-container {
	overflow: hidden;
	position: relative;
}

.car-carousel-track {
	display: flex;
	transition: transform 0.5s ease;
}

.car-carousel-item {
	flex: 0 0 33.333%;
	padding: 0 10px;
}

@media (max-width: 768px) {
	.car-carousel-item {
		flex: 0 0 50%;
	}
}

@media (max-width: 640px) {
	.car-carousel-item {
		flex: 0 0 100%;
	}
}

.car-carousel-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	background-color: rgba(255, 255, 255, 0.8);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 10;
	transition: all 0.3s ease;
}

.car-carousel-btn:hover {
	background-color: white;
}

.car-carousel-btn.prev {
	left: 10px;
}

.car-carousel-btn.next {
	right: 10px;
}

/* 视频容器 */
.video-container {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	max-width: 100%;
}

.video-container iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* 滚动指示器 */
.scroll-indicator {
	animation: bounce 2s infinite;
}

@keyframes bounce {
	0%, 20%, 50%, 80%, 100% {
		transform: translateY(0);
	}
	40% {
		transform: translateY(-20px);
	}
	60% {
		transform: translateY(-10px);
	}
}
