/* 锋擎科技自定义样式 */
/* 全局字体设置 */
html {
	font-size: 16px;
}

body {
	font-size: 1rem;
	line-height: 1.8;
	overflow-y: scroll;
	background: linear-gradient(to right, #dbeafe 0%, #eff6ff 10%, #ffffff 20%, #ffffff 80%, #eff6ff 90%, #dbeafe 100%);
}

html {
	overflow-y: scroll;
	scroll-behavior: smooth;
}

/* 模态框关闭按钮样式 - 右上角 */
.modal .close {
	position: absolute;
	right: 20px;
	top: 15px;
	z-index: 10;
}

/* Lightbox2 查看原图关闭按钮 - 图片容器外部右上角 */
.lb-outerContainer {
	position: relative;
}

/* 关闭按钮 - 使用 Lightbox 默认位置（数据栏右侧） */
.lb-data .lb-close {
	position: relative;
	float: right;
	width: 30px;
	height: 30px;
	background: url(vendor/lightbox2/images/close.png) top right no-repeat !important;
	z-index: 99999;
	outline: none;
}

.lb-data .lb-close:hover {
	opacity: 1;
	filter: alpha(Opacity=100);
}

/* =====================
   整页滚动设置
   ===================== */
.main {
	height: 100vh;
	overflow-y: scroll;
	scroll-snap-type: y mandatory;
	scroll-behavior: smooth;
	position: relative;
	z-index: 2;
	background: transparent;
}

.main .section {
	height: 100vh;
	min-height: 100vh;
	scroll-snap-align: start;
	scroll-snap-stop: always;
}

/* 隐藏滚动条 */
.main::-webkit-scrollbar {
	display: none;
}

.main {
	-ms-overflow-style: none;
	scrollbar-width: none;
}

/* =====================
   导航栏
   ===================== */
.navbar {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	padding: 1rem 0;
	background-color: rgba(255, 255, 255, 0.85) !important;
	backdrop-filter: blur(10px);
	transition: all 0.3s ease;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* 导航栏在首页轮播区域透明 */
#home .navbar {
	background-color: transparent !important;
	box-shadow: none;
}

.navbar-brand {
	padding: 0;
}

.navbar-brand .logo-icon {
	height: 80px;
	width: auto;
	object-fit: contain;
	object-position: left center;
}

.navbar-nav .nav-link {
	font-size: 1.1rem;
	padding: 0.6rem 1.2rem !important;
	transition: all 0.3s ease;
	font-weight: 500;
	color: #495057 !important;
}

.navbar-nav .nav-link:hover {
	color: #007bff !important;
}

/* 导航栏下拉菜单样式 */
.navbar .dropdown-menu {
	border-radius: 10px;
	border: none;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
	padding: 12px 0;
	margin-top: 15px;
}

.navbar .dropdown-item {
	padding: 12px 24px;
	font-size: 1rem;
	transition: all 0.2s ease;
	font-weight: 500;
}

.navbar .dropdown-item:hover {
	background-color: #f8f9fa;
	color: #007bff;
	padding-left: 30px;
}

/* =====================
   首页轮播
   ===================== */
#home.hero-carousel-section {
	height: 100vh !important;
	min-height: 100vh !important;
	padding: 0 !important;
	margin: 0 !important;
	overflow: hidden !important;
	background: linear-gradient(to right, #dbeafe 0%, #bfdbfe 10%, #eff6ff 20%, #ffffff 30%, #ffffff 70%, #eff6ff 80%, #bfdbfe 90%, #dbeafe 100%);
	scroll-snap-align: start;
	scroll-snap-stop: always;
}

.hero-carousel-wrapper {
	position: absolute;
	top: 100px;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: calc(100vh - 100px);
	display: flex;
	align-items: center;
	justify-content: center;
}

.hero-carousel-wrapper .carousel-slide {
	display: none;
	width: 100%;
	height: 100%;
	position: relative;
	opacity: 0;
	transition: opacity 0.8s ease-in-out;
}

.hero-carousel-wrapper .carousel-slide.active {
	display: block;
	opacity: 1;
}

.hero-carousel-wrapper .carousel-slide img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	object-position: top center;
	display: block;
	background-color: transparent;
}

.hero-carousel-section .carousel-nav {
	position: absolute;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 12px;
	z-index: 10;
}

.hero-carousel-section .carousel-dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.5);
	cursor: pointer;
	transition: all 0.3s ease;
}

.hero-carousel-section .carousel-dot.active,
.hero-carousel-section .carousel-dot:hover {
	background-color: #fff;
	transform: scale(1.2);
}

.hero-carousel-section .scroll-btn {
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	border: 2px solid #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 0.8rem;
	position: absolute;
	bottom: 80px;
	left: 50%;
	transform: translateX(-50%);
	animation: float 2s linear infinite;
	animation-direction: alternate;
	z-index: 10;
	cursor: pointer;
}

.hero-carousel-section .scroll-btn:hover {
	color: #fff;
	background-color: rgba(255, 255, 255, 0.2);
}

/* =====================
   通用 Section 样式
   ===================== */
.about-section,
.advantages-section,
.service-section {
	padding: 80px 0 60px;
	display: flex;
	align-items: center;
}

/* 章节标题样式 */
.lined {
	position: relative;
	margin-bottom: 3rem;
	font-size: 2rem;
	letter-spacing: 2px;
	text-align: center;
}

.lined::after {
	content: '';
	display: block;
	width: 80px;
	height: 5px;
	background: linear-gradient(90deg, #007bff 0%, #00c6fb 100%);
	margin: 1.5rem auto 0;
}

/* =====================
   关于我们
   ===================== */
#about {
	height: 100vh;
	min-height: 100vh;
	scroll-snap-align: start;
	scroll-snap-stop: always;
	background: linear-gradient(to right, #dbeafe 0%, #bfdbfe 10%, #eff6ff 20%, #ffffff 30%, #ffffff 70%, #eff6ff 80%, #bfdbfe 90%, #dbeafe 100%);
}

#about img {
	max-height: 350px;
	width: 100%;
	object-fit: contain;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
	border-radius: 10px;
}

#about .lead {
	color: #333;
	font-weight: 500;
	font-size: 1.15rem;
	line-height: 1.8;
}

#about p:not(.lead) {
	margin-bottom: 1.2rem;
	color: #555;
	line-height: 1.9;
	font-size: 1rem;
}

/* =====================
   核心优势
   ===================== */
#advantages {
	height: 100vh;
	min-height: 100vh;
	scroll-snap-align: start;
	scroll-snap-stop: always;
	background: linear-gradient(to right, #dbeafe 0%, #bfdbfe 10%, #eff6ff 20%, #ffffff 30%, #ffffff 70%, #eff6ff 80%, #bfdbfe 90%, #dbeafe 100%) !important;
	display: flex;
	align-items: center;
	padding: 80px 0 60px;
}

#advantages .container {
	padding-left: 15px;
	padding-right: 15px;
}

#advantages .row {
	margin-left: 0;
	margin-right: 0;
}

#advantages .feature-box {
	padding: 2.5rem 1.5rem;
	height: 500px;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	transition: all 0.3s ease;
	border-radius: 15px;
	background: #fff;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

#advantages .feature-box:hover {
	transform: translateY(-10px);
	box-shadow: 0 15px 35px rgba(0, 123, 255, 0.15);
}

#advantages .icon-box {
	width: 80px;
	height: 80px;
	margin: 0 auto 1.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #007bff 0%, #00c6fb 100%);
	border-radius: 50%;
	color: #fff;
	font-size: 2rem;
	transition: all 0.3s ease;
}

#advantages .feature-box:hover .icon-box {
	transform: scale(1.1);
}

#advantages h5 {
	font-size: 1.2rem;
	font-weight: 600;
	margin-bottom: 1rem;
	color: #333;
	text-align: center;
}

#advantages .text-muted {
	color: #666 !important;
	font-size: 0.95rem;
	line-height: 1.7;
	text-align: center;
	flex-grow: 1;
}

/* =====================
   服务与支持
   ===================== */
#service {
	min-height: 100vh;
	height: 100vh;
	scroll-snap-align: start;
	scroll-snap-stop: always;
	padding: 100px 0 60px;
	background: linear-gradient(to right, #dbeafe 0%, #bfdbfe 10%, #eff6ff 20%, #ffffff 30%, #ffffff 70%, #eff6ff 80%, #bfdbfe 90%, #dbeafe 100%);
	display: flex;
	align-items: center;
}

#service header {
	margin-bottom: 2.5rem !important;
}

#service header p.lead {
	text-align: center;
	color: #666;
	font-size: 1rem;
	margin-top: 0.5rem;
}

#service .service-box {
	padding: 1.5rem 1rem;
	height: 100%;
	transition: all 0.3s ease;
	border-radius: 15px;
	background: #fff;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
	border: 1px solid #e9ecef;
}

#service .service-box:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 30px rgba(0, 123, 255, 0.1);
	border-color: #007bff;
}

#service .icon-box {
	width: 70px;
	height: 70px;
	margin: 0 auto 1.2rem;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #007bff 0%, #00c6fb 100%);
	border-radius: 50%;
	color: #fff;
	font-size: 1.8rem;
	transition: all 0.3s ease;
}

#service .service-box:hover .icon-box {
	transform: scale(1.1);
}

#service h5 {
	font-size: 1.1rem;
	font-weight: 600;
	margin-bottom: 0.6rem;
	color: #333;
	text-align: center;
}

#service .text-muted {
	color: #666 !important;
	font-size: 0.85rem;
	line-height: 1.6;
	text-align: center;
}

/* =====================
   页脚
   ===================== */
#footer {
	min-height: 100vh;
	height: 100vh;
	padding: 0;
	background: linear-gradient(135deg, #2d3436 0%, #434a54 100%);
	scroll-snap-align: start;
	scroll-snap-stop: always;
	display: flex;
	align-items: center;
	justify-content: center;
}

#footer .footer-content {
	width: 100%;
	padding: 50px 0;
}

#footer .footer-logo {
	height: 50px;
	width: auto;
	margin-bottom: 1rem;
}

#footer h5 {
	font-size: 1.1rem;
	font-weight: 600;
	letter-spacing: 1px;
	color: #fff;
}

#footer .text-gray-400 {
	color: #aaa !important;
}

#footer .contact-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

#footer .contact-list li {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
	margin-bottom: 12px;
}

#footer .contact-list li:last-child {
	margin-bottom: 0;
}

#footer .contact-list li i {
	font-size: 1rem;
	color: #007bff;
	width: 20px;
	text-align: center;
}

#footer .contact-list li span {
	font-size: 0.9rem;
	line-height: 1.6;
}

#footer .qrcode-wrapper {
	display: inline-block;
}

#footer .footer-qrcode {
	width: 100px;
	height: 100px;
	object-fit: contain;
	border: 3px solid rgba(255,255,255,0.1);
	border-radius: 8px;
	background: #fff;
	padding: 5px;
}

#footer .border-top {
	border-color: rgba(255,255,255,0.2) !important;
}

#footer a:hover {
	color: #fff !important;
}

/* Lightbox 二维码放大样式 */
.lb-data .lb-caption {
	display: none !important;
}

.lb-dataContainer {
	text-align: center;
}

/* 右侧圆点导航样式 */
.onepage-pagination {
	position: fixed;
	right: 20px;
	top: 50%;
	z-index: 999;
	list-style: none;
	margin: 0;
	padding: 0;
	transform: translateY(-50%);
}

.onepage-pagination li {
	padding: 0;
	text-align: center;
}

.onepage-pagination li a {
	padding: 10px;
	width: 10px;
	height: 10px;
	display: block;
	position: relative;
}

.onepage-pagination li a:before {
	content: '';
	position: absolute;
	width: 4px;
	height: 4px;
	background: rgba(0, 0, 0, 0.85);
	border-radius: 10px;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.onepage-pagination li a.active:before {
	width: 10px;
	height: 10px;
	background: none;
	border: 1px solid black;
	margin-top: 0;
	left: 50%;
	transform: translate(-50%, -50%);
}

@keyframes float {
	0% {
		transform: translateX(-50%) translateY(0.5rem);
	}
	100% {
		transform: translateX(-50%) none;
	}
}

/* =====================
   响应式 - 平板/手机
   ===================== */
@media (max-width: 991px) {
	/* 手机端取消整页滚动，改为平滑滚动 */
	.main {
		height: auto;
		overflow-y: auto;
		scroll-snap-type: none;
	}

	.main .section {
		height: auto;
		min-height: auto;
		scroll-snap-align: none;
		scroll-snap-stop: normal;
	}

	#about,
	#advantages,
	#service,
	#footer,
	#home.hero-carousel-section {
		height: auto;
		min-height: auto;
	}

	.navbar {
		padding: 0.8rem 0;
	}

	.navbar-brand .logo-icon {
		height: 50px;
	}

	/* 隐藏右侧圆点导航 */
	.onepage-pagination {
		display: none !important;
	}

	/* 手机端轮播图适配 - 5 张图片全部垂直排列显示 */
	#home.hero-carousel-section {
		height: auto !important;
		min-height: auto !important;
		max-height: none !important;
		padding: 55px 0 0 !important;
		margin: 0 !important;
		overflow: visible !important;
		background: none !important;
		scroll-snap-align: none !important;
		scroll-snap-stop: normal !important;
		display: block !important;
	}

	.hero-carousel-wrapper {
		position: relative !important;
		top: 0 !important;
		left: 0;
		right: 0;
		width: 100%;
		height: auto !important;
		min-height: auto !important;
		max-height: none !important;
		display: block !important;
	}

	.hero-carousel-wrapper .carousel-slide {
		position: relative !important;
		width: 100% !important;
		height: auto !important;
		opacity: 1 !important;
		display: block !important;
		visibility: visible !important;
		margin-bottom: 0 !important;
	}

	.hero-carousel-wrapper .carousel-slide.active {
		display: block !important;
		opacity: 1 !important;
	}

	.hero-carousel-wrapper .carousel-slide img {
		width: 100% !important;
		height: auto;
		display: block;
		object-fit: contain;
		object-position: top center;
		visibility: visible !important;
	}

	/* 关于我们部分 - 清除可能的绝对定位 */
	#about.about-section {
		position: relative !important;
		top: 0 !important;
		margin-top: 0 !important;
		padding-top: 20px;
		clear: both;
	}

	/* 手机端隐藏轮播图导航和滚动按钮 */
	.hero-carousel-section .carousel-nav {
		display: none;
	}

	.hero-carousel-section .scroll-btn {
		display: none;
	}

	/* 手机端隐藏轮播图导航和滚动按钮 */
	.hero-carousel-section .carousel-nav {
		display: none;
	}

	.hero-carousel-section .scroll-btn {
		display: none;
	}

	/* 手机端隐藏关于我们中的图片 */
	#about img {
		display: none;
	}

	#about .col-lg-5 {
		display: none;
	}

	#about .col-lg-7 {
		width: 100%;
	}

	.about-section,
	.advantages-section,
	.service-section {
		padding: 60px 0 40px;
		display: flex;
		align-items: center;
	}

	#about,
	#advantages {
		height: auto;
		min-height: auto;
	}

	#advantages .feature-box {
		height: 320px;
	}

	#service {
		padding: 80px 0 40px;
		height: auto;
		min-height: auto;
		display: block;
	}

	#about img {
		max-height: 280px;
	}

	#advantages .icon-box,
	#service .icon-box {
		width: 70px;
		height: 70px;
		font-size: 1.6rem;
	}

	#advantages h5,
	#service h5 {
		font-size: 1.1rem;
	}

	#footer {
		padding: 40px 0 25px;
		height: auto;
		min-height: auto;
	}

	#footer .footer-logo {
		height: 50px;
	}

	#footer .footer-qrcode {
		width: 100px;
		height: 100px;
	}

	#footer .contact-list li {
		justify-content: flex-start;
	}

	.lined {
		font-size: 1.6rem;
		margin-bottom: 2rem;
	}

	.lined::after {
		width: 60px;
		height: 4px;
		margin: 1.2rem auto 0;
	}

	#advantages .feature-box {
		height: 280px;
		padding: 2rem 1rem;
	}
}

/* =====================
   响应式 - 手机
   ===================== */
@media (max-width: 576px) {
	/* 手机端导航栏样式 */
	.mobile-navbar {
		background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
		box-shadow: 0 2px 15px rgba(102, 126, 234, 0.3);
		height: 55px;
		transition: all 0.3s ease;
	}

	.mobile-navbar .navbar-brand {
		padding: 0;
	}

	.mobile-navbar .logo-icon {
		height: 40px;
		width: auto;
		object-fit: contain;
		filter: brightness(0) invert(1);
	}

	.mobile-products-btn {
		font-size: 0.85rem;
		padding: 0.45rem 0.85rem;
		background-color: rgba(255, 255, 255, 0.25);
		border: 1px solid rgba(255, 255, 255, 0.5);
		color: #fff;
		font-weight: 500;
		border-radius: 20px;
		transition: all 0.3s ease;
		backdrop-filter: blur(5px);
	}

	.mobile-products-btn:hover {
		background-color: rgba(255, 255, 255, 0.35);
		border-color: #fff;
		transform: translateY(-1px);
		box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
	}

	/* 产品中心页面的返回首页按钮 */
	.mobile-home-btn {
		font-size: 0.85rem;
		padding: 0.45rem 0.85rem;
		background-color: rgba(255, 255, 255, 0.25);
		border: 1px solid rgba(255, 255, 255, 0.5);
		color: #fff;
		font-weight: 500;
		border-radius: 20px;
		transition: all 0.3s ease;
		backdrop-filter: blur(5px);
		text-decoration: none;
	}

	.mobile-home-btn:hover {
		background-color: rgba(255, 255, 255, 0.35);
		border-color: #fff;
		transform: translateY(-1px);
		box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
		color: #fff;
	}

	/* 隐藏右侧圆点导航 */
	.onepage-pagination {
		display: none !important;
	}

	/* 隐藏 PC 端导航栏 */
	.navbar-expand-lg {
		display: none !important;
	}

	.hero-carousel-wrapper {
		top: 55px;
		left: 0;
		right: 0;
		width: 100%;
		height: calc(100vh - 55px);
	}

	.hero-carousel-section .carousel-nav {
		bottom: 15px;
	}

	.hero-carousel-section .carousel-dot {
		width: 8px;
		height: 8px;
	}

	.hero-carousel-section .scroll-btn {
		bottom: 50px;
		width: 1.8rem;
		height: 1.8rem;
		font-size: 0.6rem;
	}

	.lined {
		font-size: 1.4rem;
	}

	.lined::after {
		width: 50px;
		height: 3px;
	}

	#advantages .feature-box {
		height: 280px;
		padding: 2rem 1rem;
	}

	#footer {
		height: auto;
		min-height: auto;
		padding: 40px 0 25px;
	}

	#footer .footer-logo {
		height: 45px;
	}

	#footer .footer-qrcode {
		width: 100px;
		height: 100px;
	}

	#footer .contact-list li {
		justify-content: center;
		flex-direction: column;
		gap: 5px;
	}

	#footer .contact-list li i {
		width: auto;
	}

	#footer h5 {
		font-size: 1rem;
	}

	#footer .contact-list li span {
		font-size: 0.85rem;
	}
}
