/* --- Banner --- */

.hero-section {
	height: 100vh;

	position: relative;
	display: flex;
	align-items: center;
	margin-top: var(--nav-height);
	height: 550px;
	overflow: hidden;
}

.container {
	width: 1400px;

	margin: 0 auto;
	padding: 0 15px;


}

.container_x {
	height: 390px;
	margin-top: -380px;
}

@media (max-width: 1400px) {
	.container {
		width: 100%;
	}
}

.dinb_x2 {
	max-width: 100%;
	width: 450px;
	/* position: absolute;
	width: 450px;
	left: 15%;
	top: 170px;
	z-index: 10; */

}

.hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.2));
}

.hero-content {
	position: relative;
	z-index: 2;
	color: #fff;
}

.hero-title {
	font-size: 60px;
	font-weight: bold;
	line-height: 1.2;
	margin-bottom: 20px;
	opacity: 0;
	transform: translateY(30px);
	animation: fadeUp 1s forwards 0.5s;
}

.hero-subtitle {
	font-size: 20px;
	font-weight: 300;
	letter-spacing: 2px;
	opacity: 0;
	transform: translateY(30px);
	animation: fadeUp 1s forwards 1s;
}

.hero-line {
	width: 60px;
	height: 3px;
	background: var(--primary-red);
	margin-bottom: 30px;
	opacity: 0;
	animation: fadeRight 1s forwards 0.8s;
}

@keyframes fadeUp {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeRight {
	to {
		opacity: 1;
		width: 100px;
	}
}

/* --- 关于我们 --- */
.about-section {
	padding: 80px 0;
	background: #fff;
	position: relative;
	padding-bottom: 100px;
	background: url('../img/img5.jpg') no-repeat;
	background-size: 100% auto;
	/* 宽度拉满，高度自适应 */
	background-position: center bottom;
	/* 死死贴在底部 */
}

.about-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.about-left {
	flex: 1;
	padding-right: 50px;
}

.about-title-group {
	margin-bottom: 20px;
}

.about-en {
	font-size: 24px;
	font-weight: bold;
	color: var(--primary-red);
}

.about-cn {
	font-size: 24px;
	font-weight: bold;
	color: #333;
	margin-top: 5px;
}

.about-text {
	font-size: 14px;
	color: var(--text-gray);
	text-align: justify;
	line-height: 2.2;
	margin-bottom: 15px;
	text-indent: 2em;
}

.about-btn {
	display: inline-block;
	width: 140px;
	height: 45px;
	background: var(--primary-red);
	color: #fff;
	text-align: center;
	line-height: 45px;
	font-size: 14px;
	letter-spacing: 1px;
}

.about-right {
	flex: 1;
	position: relative;
	margin-top: 100px;
}

.video-wrapper {
	width: 100%;
	min-width: 820px;
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
	position: relative;
}

.video-wrapper img {
	width: 100%;
	border-radius: 4px;
}

.play-icon {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 70px;
	height: 70px;
	background: rgba(255, 255, 255, 0.2);
	border: 2px solid #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 24px;
	cursor: pointer;
	transition: 0.3s;
}

.play-icon:hover {
	background: var(--primary-red);
	border-color: var(--primary-red);
}

/* --- 悬浮栏 --- */
.side-bar {
	position: fixed;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	z-index: 999;
}

.side-item {
	width: 60px;
	height: 60px;
	background: var(--primary-red);
	color: #fff;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	cursor: pointer;
	/* margin-bottom: 2px; */
	transition: 0.3s;
	position: relative;
}

.side-item i {
	font-size: 20px;
	margin-bottom: 5px;
}

.side-item:hover {
	background: #b01216;

}
.side-item.qr{
	border-top-left-radius: 13px;
	padding-top: 10px;
	height: 70px;
}
.side-item.qr4{
	border-bottom-left-radius: 13px;
	padding-bottom: 10px;
	height: 70px;
}
.side-item.qr:hover::after {
	content: '';
	position: absolute;
	right: 62px;
	top: 0;
	width: 100px;
	height: 100px;

	background: url('../img/ren_1.png') no-repeat;
	background-size: 100% 100%;
}
.side-item.qr2:hover::after {
	content: '';
	position: absolute;
	right: 62px;
	top: 0;
	width: 100px;
	height: 100px;
	
	background: url('../img/ren_2.png') no-repeat;
	background-size: 100% 100%;
}
.side-item.qr3:hover::after {
	content: '';
	position: absolute;
	right: 62px;
	top: 0;
	width: 100px;
	height: 100px;
	
	background: url('../img/ren_3.png') no-repeat;
	background-size: 100% 100%;
}

/* --- 产品系列 --- */
.series-section {
	padding: 130px 0;
	background: url('../img/img1.jpg') no-repeat;
	background-size: 100% auto;
	/* 宽度拉满，高度自适应 */
	background-position: center center;
	/* 死死贴在底部 */
	color: #fff;
	text-align: center;
}

.section-header {
	text-align: center;
	margin-bottom: 60px;
}

.section-title {
	font-size: 32px;
	margin-bottom: 15px;
}

.section-desc {
	font-size: 14px;
	color: #fff;
	max-width: 1000px;
	margin: 0 auto;
}

.series-grid {
	display: flex;
	justify-content: center;
	gap: 30px;
	flex-wrap: wrap;
}

.series-card {
	width: 160px;
	height: 200px;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 10px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: 0.3s;
	position: relative;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.05);
	/* 正值 (6deg) 会让图形呈现 \ 状（左上-右下倾斜） */
	transform: skewX(-6deg);
}

.series-card i {
	font-size: 32px;
	margin-bottom: 15px;
	color: #fff;
}

.series-card span {
	font-size: 14px;
	color: #eee;
	transform: skewX(6deg);
}

.series-card.active,
.series-card:hover {
	background: var(--primary-red);
	border-color: var(--primary-red);
	transform: translateY(-10px);
	box-shadow: 0 10px 20px rgba(215, 31, 36, 0.4);
	/* 正值 (6deg) 会让图形呈现 \ 状（左上-右下倾斜） */
	transform: skewX(-6deg);
}

/* --- 产品中心 (修复版轮播) --- */
.center-section {
	padding: 100px 0;
	background: #f9f9f9;
	text-align: center;
	overflow: hidden;
}

.product-slider-wrap {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 50px;
	position: relative;
	height: 550px;
	perspective: 1000px;
}

.prod-item {
	width: 380px;
	height: 380px;
	position: absolute;
	left: 50%;
	transform-origin: center center;
	transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	cursor: pointer;



}

.prod-item img {
	border-radius: 10px;
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
	width: 100%;
	pointer-events: none;
	height: 100%;
	object-fit: contain;
}

.prod-item.mid {
	z-index: 10;
	opacity: 1;
	transform: translateX(-50%) scale(1.15);
}

.prod-item.prev {
	z-index: 2;
	opacity: 0.6;

	transform: translateX(-160%) scale(0.85) rotateY(15deg);
}

.prod-item.next {
	z-index: 5;
	opacity: 0.6;
	transform: translateX(60%) scale(0.85) rotateY(-15deg);
}

.prod-item.hidden {
	opacity: 0;
	pointer-events: none;
	transform: translateX(-50%) scale(0.5);
}

.prod-name-tag {
	position: absolute;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
	background: #fff;
	padding: 12px 20px;
	border-radius: 8px;
	font-size: 14px;
	white-space: nowrap;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	transition: 0.3s;
	text-align: center;
	width: 80%;
	opacity: 0.8;
}

.mid .prod-name-tag {
	bottom: 30px;
	font-weight: bold;
	color: var(--primary-red);
}

.slider-controls {
	position: absolute;
	top: 50%;
	width: 100%;
	display: flex;
	justify-content: space-between;
	transform: translateY(-50%);
	pointer-events: none;
	padding: 0 0px;
	z-index: 50;
}

.control-btn {
	width: 50px;
	height: 50px;
	border: 1px solid #ddd;
	border-radius: 50%;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	pointer-events: auto;
	transition: 0.3s;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.control-btn:hover {
	background: var(--primary-red);
	color: #fff;
	border-color: var(--primary-red);
}

.control-btn.disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.more-link {
	margin-top: 80px;
	display: inline-block;
	border: 1px solid var(--primary-red);
	color: var(--primary-red);
	padding: 10px 40px;
	font-size: 13px;
	letter-spacing: 1px;
}

.more-link:hover {
	background: var(--primary-red);
	color: #fff;
}

/* --- 项目实例 --- */
.cases-section {
	padding: 100px 0;
	background: url('../img/img7.jpg') no-repeat;
	background-size: 100% auto;
	/* 宽度拉满，高度自适应 */
	background-position: center bottom;
	/* 死死贴在底部 */
	color: #fff;
	margin-bottom: -1px;
}

.cases-grid {
	display: grid;
	grid-template-columns: 1.2fr 1fr 0.8fr;
	gap: 20px;
	margin-top: 50px;
}

.case-card {
	border-radius: 10px;
	overflow: hidden;
	position: relative;
	height: 360px;
	/* background: #333; */
	transition: 0.3s;
}

.case-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: 0.5s;
}

.case-info {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	padding: 25px;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
}

.case-info p {
	overflow: hidden;

	text-overflow: ellipsis;

	display: -webkit-box;

	-webkit-box-orient: vertical;

	-webkit-line-clamp: 2;
}

.case-card:hover img {
	transform: scale(1.1);
}
.case-card:hover{
	/* border: 1px solid var(--primary-red); */
	background: var(--primary-red);
	color: #fff;
}

.case-card.highlight {
	border: px solid var(--primary-red);
	/* transform: translateY(-10px); */
}

.case-card:hover .case-info {
	background: var(--primary-red);
}

.case-card:hover h3,
.case-card:hover p {
	color: #fff;
}

.case-list-card {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 30px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.case-list-item {
	padding-bottom: 20px;
	margin-bottom: 20px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.case-list-item:last-child {
	border: none;
	margin: 0;
	padding: 0;
}

.case-list-item h4 {
	font-size: 16px;
	margin-bottom: 8px;
}

.case-list-item p {
	font-size: 13px;
	color: #fff;
	margin-bottom: 10px;

	overflow: hidden;

	text-overflow: ellipsis;

	display: -webkit-box;

	-webkit-box-orient: vertical;

	-webkit-line-clamp: 2;
}

.read-more {
	font-size: 12px;
	color: #fff;
	padding: 4px 0px;
	display: inline-block;
	border-radius: 2px;
}

.read-more:hover {

	color: #333;
}

.videobanner {
	width: 100%;
}

.mx_ing {
	width: 65px;
	margin-bottom: 20px;
	margin-left: -10px;
	transform: skewX(6deg);
}

.read-more {
	width: 50%;
	margin-top: 20px;
}

/* --- 响应式 --- */
@media (max-width: 992px) {


	.hero-title {
		font-size: 40px;
	}

	.about-content {
		flex-direction: column;
	}

	.about-left {
		padding-right: 0;
		margin-bottom: 40px;
	}

	.video-wrapper {
		max-width: 100%;
	}

	.cases-grid {
		grid-template-columns: 1fr;
	}

	.case-card {
		height: 250px;
	}



	.side-bar {
		display: none;
	}

	.series-grid {
		flex-direction: column;
		align-items: center;
	}

	.series-card {
		width: 100%;
		max-width: 300px;
		flex-direction: row;
		justify-content: flex-start;
		padding: 0 20px;
		height: 70px;
		transform: skewX(0deg);

	}

	.series-card i {
		margin-bottom: 0;
		margin-right: 20px;
		font-size: 24px;
	}

	.prod-item {
		width: 260px;
		height: 260px;
	}

	.prod-item.mid {
		transform: translateX(-50%) scale(1.05);
	}

	.prod-item.prev {
		transform: translateX(-130%) scale(0.8) rotateY(10deg);
	}

	.prod-item.next {
		transform: translateX(30%) scale(0.8) rotateY(-10deg);
	}

	.slider-controls {
		padding: 0 0px;
	}

	.about-right {
		margin-top: 20px;
	}

	.about-section {
		padding-bottom: 130px;
	}

	.about-section {
		padding-top: 80px;
	}

	.product-slider-wrap {
		height: 360px;
	}

	.cases-section {
		background-size: auto 100%;
	}

	.series-section {
		background-size: auto 100%;
	}

	.mx_ing {
		width: 30px;
		margin-bottom: 0;
		margin-right: 20px;
		transform: skewX(0deg);
	}

	.series-card span {
		transform: skewX(0deg);
	}

	.series-grid {
		gap: 25px;
	}
	.video-wrapper{
		min-width: 200px;
		max-width: 550px;
	}
}
