/* 首页专用样式 */

/* 横幅区域 */
.hero-section {
	height: 100vh;
	position: relative;
	overflow: hidden;
}

.hero-slider {
	width: 100%;
	height: 100%;
	-webkit-user-select: none;
	user-select: none;
	position: relative;
	z-index: 1;
}

.hero-slider .swiper-wrapper {
	-webkit-user-select: none;
	user-select: none;
	position: relative;
	z-index: 1;
}

.hero-slider .swiper-slide {
	-webkit-user-select: none;
	user-select: none;
}

.hero-slider .swiper-slide {
	display: flex;
	align-items: center;
	justify-content: center;
	background-size: cover;
	background-position: center;
	background: url('/App/Tpl/Home/skr/Public/images/banner6.jpg') center/cover;
}

.hero-content {
	text-align: center;
	color: white;
	z-index: 2;
	pointer-events: none;
}

.hero-title {
	font-size: 30px;
	font-weight: bold;
	margin-bottom: 20px;
	letter-spacing: 0;
	text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
	pointer-events: none;
	text-transform: uppercase;
}

/* 轮播指示器 - 右侧竖向 */
.hero-pagination {
	position: absolute !important;
	right: 5% !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	z-index: 10;
	display: flex !important;
	flex-direction: column !important;
	justify-content: center !important;
	gap: 15px;
	align-items: stretch;
	width: auto !important;
	left: auto !important;
	height: auto !important;
}

.hero-pagination .swiper-pagination-bullet {
	width: 8px;
	height: 8px;
	background: rgba(255, 255, 255, 0.5);
	border-radius: 50%;
	cursor: pointer;
	transition: all 0.4s ease;
	border: 1px solid rgba(255, 255, 255, 0.7);
	opacity: 1 !important;
	margin: 0 !important;
	display: block;
}

.hero-pagination .swiper-pagination-bullet:hover {
	background: rgba(255, 255, 255, 0.8);
	transform: scale(1.2);
}

.hero-pagination .swiper-pagination-bullet-active {
	background: white !important;
	width: 8px !important;
	height: 45px !important;
	border-radius: 4px;
	border: 1px solid rgba(255, 255, 255, 0.9);
}

/* 关于我们区域 */
.about-section {
	padding: 100px 40px;
	background: #f8f9fa url('/App/Tpl/Home/skr/Public/images/aboutus_bg.png') right top no-repeat;
}

.section-title {
	text-align: center;
	margin-bottom: 60px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
}

.section-title h2 {
	font-size: 36px;
	color: #333;
	margin-bottom: 0;
	font-weight: 300;
}

.section-title .en-title {
	font-size: 24px;
	color: #999;
	font-weight: 300;
	letter-spacing: 2px;
	position: relative;
	padding-left: 20px;
}

.section-title .en-title::before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 1px;
	height: 30px;
	background: #ddd;
}

.about-container {
	max-width: 1600px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 60px;
	align-items: stretch;
}

/* 全宽统计栏 */
.about-stats-fullwidth {
	max-width: 1600px;
	margin: 20px auto 0;
	display: flex;
	border: 1px solid #e0e0e0;
	width: 100%;
}

.about-image {
	position: relative;
	width: 100%;
	min-height: 468px;
	background: url('/App/Tpl/Home/skr/Public/images/company_v5.jpg') bottom/cover;
	border-radius: 0;
	box-shadow: none;
}

.about-stats {
	background: white;
	display: flex;
	border: 1px solid #e0e0e0;
}

.stat-item {
	flex: 1;
	text-align: center;
	padding: 20px 0;
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: center;
}

.stat-item:not(:last-child)::after {
	content: '';
	position: absolute;
	right: 0;
	top: 0;
	bottom: 0;
	width: 1px;
	background: #e0e0e0;
}

.stat-number {
	font-size: 26px;
	font-weight: bold;
	color: #FF8C00;
	display: block;
	line-height: 1;
	margin-bottom: 15px;
}

.stat-number sub {
	font-size: 16px;
	font-weight: normal;
	color: #666;
	vertical-align: baseline;
	margin-left: 2px;
}

.stat-label {
	font-size: 13px;
	color: #666;
	line-height: 1.6;
	display: block;
	text-transform: uppercase;
}

.about-content {
	padding: 0;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 0;
}

.about-content p {
	color: #666;
	line-height: 2;
	margin-bottom: 20px;
	text-align: justify;
	font-size: 14px;
}

.about-certifications {
	display: flex;
	justify-content: flex-start;
	gap: 20px;
	margin-top: auto;
	width: 100%;
}

.cert-item {
	width: 100px;
	height: 100px;
	background: white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
	border: 2px solid #f0f0f0;
	transition: all 0.3s ease;
	cursor: pointer;
	position: relative;
	flex-shrink: 0;
	overflow: hidden;
}

.cert-item img {
	width: 70px;
	height: 70px;
	object-fit: contain;
	transition: transform 0.3s ease;
	filter: grayscale(0);
}

.cert-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 4px 15px rgba(0,0,0,0.15);
	border-color: #FF8C00;
}

.cert-item:hover img {
	transform: scale(1.1);
}

.btn-more {
	display: inline-block;
	align-self: flex-start;
	padding: 12px 50px 12px 68px;
	background: #FF8C00;
	color: white;
	text-decoration: none;
	margin-top: 40px;
	transition: all 0.3s;
	font-size: 16px;
	letter-spacing: 2px;
	position: relative;
	overflow: hidden;
	font-weight: 500;
}

.btn-more::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 0;
	border-left: 60px solid #D3D3D3;
	border-top: 0px solid transparent;
	border-bottom: 138px solid transparent;
	transition: all 0.3s;
}

.btn-more:hover {
	transform: translateX(3px);
	box-shadow: 0 5px 15px rgba(255,140,0,0.3);
}

.btn-more:hover::after {
	right: 20px;
}

/* 产品中心区域 */
.products-section {
	padding: 100px 40px;
	background: url('/App/Tpl/Home/skr/Public/images/product_indexbg.jpg') center/cover no-repeat;
	position: relative;
	overflow: hidden;
}

/* 产品轮播样式 */
.products-carousel-wrapper{
	position: relative;
	max-width: 1350px;
	margin: 0 auto;
	will-change: transform;
	transform: translateZ(0);
	touch-action: pan-y;
}

.products-carousel-wrapper .swiper-wrapper {
	align-items: flex-end;
}

.products-carousel .swiper-slide {
	width: var(--slide-width, 620px);
	height: var(--slide-height, 395px);
	border-radius: 4px;
	overflow: hidden;
	background: #fff;
	transform-origin: center bottom;
	-webkit-box-reflect: below 0px linear-gradient(transparent 60%, rgba(0,0,0,0.08) 100%);
}

.products-carousel .swiper-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.products-carousel .swiper-slide a {
	display: block;
	width: 100%;
	height: 100%;
}

@media (max-width: 1024px) {
	.products-carousel .swiper-slide { width: 620px; height: 400px; }
}

@media (max-width: 768px) {
	.products-carousel .swiper-slide {
		width: 300px;
		height: 200px;
		-webkit-box-reflect: none;
	}
}


.swiper-products-prev,
.swiper-products-next {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	box-shadow: 0 2px 8px rgba(0,0,0,0.15);
	transition: all 0.3s ease;
	z-index: 100;
}

.swiper-products-prev:after,
.swiper-products-next:after {
	font-size: 16px;
	font-weight: 700;
}

.swiper-products-prev {
	background-color: #ffffff;
	color: #999999;
	left: 20px;
}

.swiper-products-prev:hover {
	background-color: #ff9800;
	color: #ffffff;
}

.swiper-products-next {
	background-color: #ffffff;
	color: #999999;
	right: 20px;
}

.swiper-products-next:hover {
	background-color: #ff9800;
	color: #ffffff;
}

/* 新闻资讯区域 */
.news-section {
	padding: 100px 40px;
	background: #f8f9fa;
	position: relative;
	min-height: 100vh;
	overflow: hidden;
}

#news-demo-canvas {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
}

.news-container {
	max-width: 1600px;
	margin: 0 auto;
	position: relative;
	z-index: 1;
}

.news-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 25px;
	margin-top: 50px;
}

.news-card {
	background: white;
	border-radius: 4px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
	transition: all 0.3s;
	display: flex;
	flex-direction: column;
	position: relative;
}

.news-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url('/App/Tpl/Home/skr/Public/images/newsitembg.jpg') center/cover;
	opacity: 0;
	transition: opacity 0.3s;
	z-index: 0;
}

.news-card:hover::before {
	opacity: 1;
}

.news-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 4px 15px rgba(0,0,0,0.12);
}

.news-card:hover .news-content {
	position: relative;
	z-index: 1;
}

.news-card:hover .news-year,
.news-card:hover .news-date,
.news-card:hover .news-title,
.news-card:hover .news-excerpt {
	color: white;
}

.news-card:hover .news-link {
	color: white;
}

.news-content {
	padding: 95px 30px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.news-year {
	font-size: 13px;
	color: #999;
	margin-bottom: 5px;
	font-weight: 300;
}

.news-date {
	font-size: 28px;
	font-weight: bold;
	color: #333;
	margin-bottom: 20px;
	line-height: 1;
}

.news-title {
	font-size: 17px;
	font-weight: bold;
	margin-bottom: 15px;
	line-height: 1.4;
	color: #333;
	text-transform: uppercase;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.news-excerpt {
	font-size: 13px;
	color: #666;
	line-height: 1.8;
	margin-bottom: 61px;
	flex: 1;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.news-link {
	color: #FF8C00;
	text-decoration: none;
	font-size: 13px;
	display: inline-flex;
	align-items: stretch;
	gap: 8px;
	font-weight: 500;
	letter-spacing: 0.5px;
	margin-top: auto;
}

.news-link::after {
	content: '›';
	transition: transform 0.3s;
}

.news-link:hover::after {
	transform: translateX(3px);
}

.btn-more-news {
	text-align: center;
	margin-top: 60px;
}

/* 响应式设计 */
@media (max-width: 1024px) {
	.hero-pagination {
		right: 3% !important;
		gap: 12px;
	}
	
	.hero-pagination .swiper-pagination-bullet-active {
		height: 35px !important;
	}

	.about-container {
		grid-template-columns: 1fr;
	}

	.about-stats-fullwidth {
		width: 100%;
	}

	.news-grid {
		grid-template-columns: 1fr;
	}

	.about-section {
		padding: 60px 20px;
	}

	.about-image {
		height: 300px;
	}

	.about-stats {
		flex-wrap: nowrap;
	}

	.stat-item {
		flex: 1 1 25%;
		min-width: 0;
		padding: 15px 5px;
	}

	.about-certifications {
		gap: 15px;
		flex-wrap: nowrap;
		justify-content: space-between;
	}

	.cert-item {
		width: 80px;
		height: 80px;
	}

	.cert-item img {
		width: 56px;
		height: 56px;
	}
}

@media (max-width: 768px) {
	.hero-title {
		font-size: 36px;
	}

	.hero-pagination {
		right: 20px !important;
		gap: 10px;
	}

	.hero-pagination .swiper-pagination-bullet {
		width: 6px;
		height: 6px;
	}

	.hero-pagination .swiper-pagination-bullet-active {
		width: 6px !important;
		height: 30px !important;
	}

	.section-title {
		flex-direction: column;
		gap: 10px;
		margin-bottom: 0;
	}

	.section-title .en-title::before {
		display: none;
	}

	.section-title .en-title {
		padding-left: 0;
	}

	.about-section {
		padding: 40px 15px;
	}

	.about-image {
		height: 250px;
	}

	.stat-item {
		flex: 1 1 25%;
		min-width: 0;
		padding: 12px 4px;
	}

	.stat-number {
		font-size: 16px;
	}

	.stat-number sub {
		font-size: 11px;
	}

	.stat-label {
		font-size: 10px;
	}

	.about-content p {
		font-size: 13px;
		line-height: 1.8;
	}

	.about-certifications {
		gap: 10px;
		margin-top: 30px;
		flex-wrap: nowrap;
		justify-content: space-between;
		overflow-x: auto;
	}

	.cert-item {
		width: 65px;
		height: 65px;
		flex-shrink: 0;
	}

	.cert-item img {
		width: 46px;
		height: 46px;
	}

	.btn-more {
		padding: 10px 40px 10px 55px;
		font-size: 14px;
	}

	.section-title h2 {
		font-size: 28px;
	}

	.section-title .en-title {
		font-size: 18px;
	}

	/* Banner优化 */
	.hero-title {
		font-size: 28px;
		letter-spacing: 4px;
		padding: 0 20px;
	}

	/* 关于我们优化 */
	.about-section {
		background-size: 150px;
	}

	.about-image {
		height: 220px;
	}

	.stat-number {
		font-size: 22px;
	}

	.stat-number sub {
		font-size: 14px;
	}

	.stat-label {
		font-size: 12px;
	}

	.about-content p {
		text-align: left;
	}

	.about-certifications {
		-webkit-overflow-scrolling: touch;
	}

	/* 按钮优化 */
	.btn-more {
		padding: 10px 35px 10px 50px;
		font-size: 13px;
		letter-spacing: 1px;
	}

	.btn-more::before {
		border-left-width: 50px;
	}

	.btn-more::after {
		right: 20px;
		font-size: 12px;
	}

	/* 产品区域优化 */
	.products-section {
		padding: 40px 15px;
	}

	.products-carousel {
		margin: 40px auto 0;
	}

	.products-section .btn-prev,
	.products-section .btn-next {
		width: 35px;
		height: 35px;
	}

	.products-section .btn-prev {
		left: 5px;
	}

	.products-section .btn-next {
		right: 5px;
	}

	.products-section .btn-prev::after,
	.products-section .btn-next::after {
		font-size: 24px;
	}

	.products-carousel .tit {
		font-size: 16px;
		line-height: 24px;
	}

	.products-carousel .text {
		font-size: 13px;
		line-height: 20px;
		height: 40px;
	}

	/* 新闻区域优化 */
	.news-section {
		padding: 40px 15px;
		min-height: auto;
	}

	.news-grid {
		grid-template-columns: 1fr;
		gap: 15px;
		margin-top: 30px;
	}

	.news-content {
		padding: 50px 20px;
	}

	.news-year {
		font-size: 12px;
	}

	.news-date {
		font-size: 24px;
		margin-bottom: 15px;
	}

	.news-title {
		font-size: 15px;
		margin-bottom: 12px;
	}

	.news-excerpt {
		font-size: 12px;
		line-height: 1.6;
		margin-bottom: 40px;
	}

	.news-link {
		font-size: 12px;
	}

	.btn-more-news {
		margin-top: 40px;
	}
}

/* 1024px平板优化 */
@media (max-width: 1024px) and (min-width: 769px) {
	.news-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}

	.news-content {
		padding: 60px 20px;
	}

	.products-section .btn-prev,
	.products-section .btn-next {
		width: 40px;
		height: 40px;
	}

	.products-section .btn-prev {
		left: 10px;
	}

	.products-section .btn-next {
		right: 10px;
	}

	.products-section .btn-prev::after,
	.products-section .btn-next::after {
		font-size: 28px;
	}

	.news-section {
		padding: 60px 20px;
		min-height: auto;
	}
}

/* 超小屏幕优化 */
@media (max-width: 480px) {
	.hero-title {
		font-size: 22px;
		letter-spacing: 0;
	}

	.stat-number {
		font-size: 20px;
	}

	.about-certifications {
		gap: 8px;
	}

	.cert-item {
		width: 60px;
		height: 60px;
	}

	.cert-item img {
		width: 42px;
		height: 42px;
	}

	.section-title h2 {
		font-size: 24px;
	}

	.section-title .en-title {
		font-size: 14px;
	}
}

@media (max-width: 768px) {
	.products-section {
		padding: 60px 20px;
	}
}

/* 视频播放按钮 */
.about-video-btn {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 70px;
	height: 70px;
	border-radius: 50%;
	background: rgba(255,255,255,0.92);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 10;
	transition: transform 0.3s, background 0.3s;
	box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.about-video-btn:hover {
	transform: translate(-50%, -50%) scale(1.1);
	background: #F27000;
}
.about-video-btn:hover svg { fill: #fff; }
.about-video-btn svg {
	width: 38px;
	height: 38px;
	fill: #F27000;
	margin-left: 4px;
	transition: fill 0.3s;
}
.about-video-ripple {
	position: absolute;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	border: 2px solid rgba(242,112,0,0.4);
	animation: ripple 2s ease-out infinite;
}
.about-video-ripple.delay { animation-delay: 1s; }
@keyframes ripple {
	0% { transform: scale(1); opacity: 1; }
	100% { transform: scale(2); opacity: 0; }
}
/* 视频弹窗 */
.about-video-modal {
	display: none;
	position: fixed;
	top: 0; left: 0; right: 0; bottom: 0;
	z-index: 9999;
	align-items: center;
	justify-content: center;
}
.about-video-modal.active { display: flex; }
.about-video-mask {
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	background: rgba(0,0,0,0.8);
}
.about-video-box {
	position: relative;
	z-index: 1;
	width: 80%;
	max-width: 900px;
	background: #000;
	border-radius: 4px;
	overflow: hidden;
}
.about-video-close {
	position: absolute;
	top: 10px; right: 15px;
	z-index: 2;
	background: none;
	border: none;
	color: #fff;
	font-size: 28px;
	cursor: pointer;
	line-height: 1;
	padding: 0;
}

/* 首页Banner手机端高度适配 */
@media (max-width: 768px) {
	.hero-section {
		height: 55vw;
		min-height: 240px;
		max-height: 420px;
	}

	.hero-title {
		font-size: 22px;
		letter-spacing: 3px;
		padding: 0 16px;
	}

	.hero-pagination {
		right: 3% !important;
		gap: 10px;
	}

	.hero-pagination .swiper-pagination-bullet-active {
		height: 30px !important;
	}
}

@media (max-width: 480px) {
	.hero-section {
		height: 56vw;
		min-height: 200px;
		max-height: 320px;
	}

	.hero-title {
		font-size: 15px;
		letter-spacing: 0;
	}
}

/* 关于我们区域手机端适配 */
@media (max-width: 768px) {
	.about-section {
		padding: 50px 16px 40px;
	}

	.section-title {
		margin-bottom: 30px;
	}

	.about-container {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.about-image {
		min-height: 220px;
	}

	.about-content p {
		font-size: 13px;
		line-height: 1.8;
		margin-bottom: 12px;
	}

	.about-content .btn-more {
		margin-top: 20px;
		align-self: center;
	}

	.about-stats-fullwidth {
		display: grid;
		grid-template-columns: 1fr 1fr;
		margin-top: 16px;
		border: 1px solid #e0e0e0;
	}

	.stat-item {
		padding: 18px 8px;
		border: none;
	}

	.stat-item:not(:last-child)::after {
		display: none;
	}

	.stat-item:nth-child(1),
	.stat-item:nth-child(2) {
		border-bottom: 1px solid #e0e0e0;
	}

	.stat-item:nth-child(1),
	.stat-item:nth-child(3) {
		border-right: 1px solid #e0e0e0;
	}

	.stat-number {
		font-size: 22px;
	\}

	.stat-label {
		font-size: 12px;
	}
}

@media (max-width: 480px) {
	.about-section {
		padding: 40px 12px 30px;
	}

	.about-image {
		min-height: 180px;
	}

	.stat-number {
		font-size: 18px;
	}

	.stat-number sub {
		font-size: 12px;
	}

	.stat-label {
		font-size: 11px;
	}
}
