﻿* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Helvetica Neue', Arial, sans-serif;
}

body {
	background-color: #f8f9fa;
	color: #333;
	line-height: 1.6;
}
a{text-decoration: none;}
/* 顶部导航栏 - 修改为黑色背景并增加高度 */
.arcpic{ text-align:center;}
.header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 80px; /* 增加高度 */
	background-color: #000; /* 改为黑色背景 */
	display: flex;
	align-items: center;
	padding: 0 10px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
	z-index: 1000;
}

/* 菜单按钮浮动在左边 */
.menu-toggle {
	position: absolute;
	left: 30px;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100%;
	cursor: pointer;
	transition: transform 0.3s ease;
	z-index: 1001;
}

.menu-toggle:hover {
	transform: scale(1.1);
}

.menu-icon, .close-icon {
	font-size: 24px;
	color: #fff; /* 确保文字颜色为白色 */
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.close-icon {
	display: none;
}

/* Logo容器居中 */
.logo-container {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100%;
	z-index: 1000; /* 确保logo在最上层 */
}

.logo {
	max-height: 50px; /* 稍微增加Logo高度 */
	max-width: 100%;
	object-fit: contain;
}

/* 全屏菜单 - 确保覆盖顶部logo，背景改为黑色 */
.fullscreen-menu {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #000; /* 改为黑色背景 */
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
	padding-top: 100px; /* 增加顶部内边距以适配更高的导航栏 */
	transform: translateY(-100%);
	opacity: 0;
	transition: transform 0.5s ease, opacity 0.5s ease;
	z-index: 999; /* 降低z-index确保logo在菜单之上 */
	overflow-y: auto;
}

.fullscreen-menu.active {
	transform: translateY(0);
	opacity: 1;
}

.typeboxcen {
	list-style: none;
	width: 90%;
	max-width: 500px;
	margin: 0 auto;
}

.typeboxcen > li {
	margin-bottom: 10px;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 3px 10px rgba(255, 255, 255, 0.1); /* 调整阴影颜色适应黑色背景 */
}

/* 统一菜单项样式 - 文字改为白色 */
.typeboxcen > li > a,
.typeboxcen > li > span {
	display: block;
	padding: 15px 20px;
	background-color: rgba(50, 50, 50, 0.9); /* 调整背景色适应黑色主题 */
	color: #fff; /* 文字改为白色 */
	text-decoration: none;
	font-weight: 600;
	font-size: 18px;
	transition: all 0.3s ease;
	position: relative;
	min-height: 54px; /* 确保统一高度 */
	display: flex;
	align-items: center;
	border-radius: 8px; /* 确保圆角在内部元素上 */
}

/* 修复悬停时的圆角问题 */
.typeboxcen > li > a:hover,
.typeboxcen > li > span:hover {
	background-color: #444; /* 调整悬停背景色 */
	/* 移除transform，避免超出父元素边界 */
	box-shadow: 0 0 0 2px #3498db; /* 使用边框阴影替代移动效果 */
}

/* 只为有子分类的菜单项添加箭头 */
.typeboxcen > li.has-submenu > a:after,
.typeboxcen > li.has-submenu > span:after {
	content: '›';
	position: absolute;
	right: 20px;
	font-size: 24px;
	color: #3498db; /* 保持蓝色箭头以增加对比度 */
	transition: transform 0.3s ease;
}

/* 有子分类的菜单项悬停时箭头旋转 */
.typeboxcen > li.has-submenu > a:hover:after,
.typeboxcen > li.has-submenu > span:hover:after {
	transform: rotate(90deg);
}

.typeboxcen ul {
	list-style: none;
	background-color: rgba(40, 40, 40, 0.9); /* 调整子菜单背景色 */
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.5s ease;
	border-bottom-left-radius: 8px;
	border-bottom-right-radius: 8px;
}

.typeboxcen li.active ul {
	max-height: 1000px;
}

.typeboxcen ul li {
	border-bottom: 1px solid #555; /* 调整边框颜色适应黑色背景 */
}

.typeboxcen ul li:last-child {
	border-bottom: none;
}

.typeboxcen ul li a {
	display: block;
	padding: 12px 20px 12px 40px;
	color: #fff; /* 子菜单文字改为白色 */
	text-decoration: none;
	font-size: 16px;
	transition: all 0.2s ease;
}

.typeboxcen ul li a:hover {
	background-color: #3498db;
	color: white;
	padding-left: 45px;
}



/* 面包屑导航 - 移除固定定位，改为正常文档流 */
.breadcrumb {
	background-color: #e0e0e0; /* 浅灰色背景 */
	padding: 12px 15px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	margin-top:-8px;
}

.breadcrumb a {
	color: #555; /* 深灰色文字 */
	text-decoration: none;
	font-size: 14px;
	transition: color 0.3s ease;
}

.breadcrumb a:hover {
	color: #3498db; /* 悬停时变为蓝色 */
}




/* 页脚 - 修改布局和样式 */
.footbox {
	background-color: #1a1a1a;
	color: #ccc;
	padding: 25px 15px 15px;
	margin-top: 20px; padding-bottom:30px;
	
	
}
.footbox a:link,.footbox a:active,.footbox a:visited{color:#fff;} .footbox{color:#fff;} .footbox a:hover {color:#ff7800;}/* 白*/

.footer-top {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between; /* 均匀分布三个部分 */
	margin-bottom: 20px;
	padding-bottom: 20px;
	border-bottom: 1px solid #333;
}

.footer-section {
	flex: 1;
	min-width: 120px;
	margin-bottom: 15px;
	padding: 0 10px;
	text-align: center;
}

.footer-section h3 {
	color: #ecf0f1;
	font-size: 16px;
	margin-bottom: 8px;
	position: relative;
	padding-bottom: 10px; /* 为装饰线留出空间 */
}

/* 修改装饰线位置 - 移动到文字下方 */
.footer-section h3:before {
	content: '';
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	bottom: 0; /* 移动到文字下方 */
	width: 30px;
	height: 2px;
	background-color: #3498db;
}

.footer-section p {
	font-size: 14px;
	line-height: 1.5;
}

.footer-bottom {
	text-align: center;
	font-size: 12px;
	color: #999;
}

.footer-bottom p {
	margin-bottom: 10px;
}

.footer-links {
	margin-top: 15px;
}

.footer-links a {
	color: #999;
	text-decoration: none;
	margin: 0 5px;
	transition: color 0.3s ease;
}

.footer-links a:hover {
	color: #3498db;
}

/* 响应式调整 */
@media (min-width: 768px) {
	.breadcrumb {
		padding: 15px 30px;
	}
	
	.canpinarcbox {
		margin: 0 auto 30px;
		max-width: 700px;
		padding: 30px;
	}
	
	.footer-section {
		padding: 0 20px;
	}
	
	.footer-bottom {
		max-width: 700px;
		margin: 0 auto;
	}
}


/* 修改手机端页脚布局 */
@media (max-width: 480px) {
	.typeboxcen > li > a,
	.typeboxcen > li > span {
		font-size: 16px;
		padding: 12px 15px;
		min-height: 48px; /* 响应式调整高度 */
	}
	
	.typeboxcen ul li a {
		padding: 10px 15px 10px 30px;
		font-size: 14px;
	}
	
	.canpinarcheader h1 {
		font-size: 22px;
	}
	
	.content p {
		font-size: 17px; line-height:30px;
	}
	
	/* 修改页脚布局 - 使三个部分并排显示 */
	.footer-top {
		flex-wrap: nowrap; /* 防止换行 */
		justify-content: space-between;
	}
	
	.footer-section {
		flex: 1;
		margin-bottom: 0; /* 移除底部边距 */
		padding: 0 5px; /* 减少内边距以节省空间 */
		min-width: auto; /* 移除最小宽度限制 */
	}
	
	.footer-section h3 {
		font-size: 14px; /* 缩小标题字体 */
		margin-bottom: 5px;
		padding-bottom: 8px; /* 调整装饰线位置 */
	}
	
	.footer-section p {
		font-size: 12px; /* 缩小内容字体 */
	}
}

/* 针对极小屏幕的额外调整 */
@media (max-width: 360px) {
	.footer-section h3 {
		font-size: 13px;
	}
	
	.footer-section p {
		font-size: 11px;
	}
}


/* 重新设计的浮动导航栏 */
.float-nav {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	max-width: 700px;
	left: 50%;
	transform: translateX(-50%);
	background-color: #333;
	box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.2);
	display: flex;
	z-index: 9999; /* 大幅提高z-index确保在最上层 */
	overflow: visible; /* 允许子元素超出容器 */
	transition: all 0.3s ease;
	border-radius: 0;
}

.float-nav-item {
	flex: 1;
	text-align: center;
	padding: 15px 0;
	cursor: pointer;
	transition: all 0.3s ease;
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	color: #fff;
}

.float-nav-item:hover {
	background-color: #444;
}

.float-nav-item.active {
	background-color: #3498db;
	color: white;
}

.float-nav-icon {
	font-size: 20px;
	margin-bottom: 5px;
}

.float-nav-text {
	font-size: 14px;
	font-weight: 500;
}


/* 优化后的浮动导航栏样式 */
.float-nav {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	max-width: 700px;
	left: 50%;
	transform: translateX(-50%);
	background-color: #333;
	box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.2);
	display: flex;
	z-index: 9999;
	overflow: visible;
	transition: all 0.3s ease;
	border-radius: 0;
	height: 60px; /* 缩短高度 */
}

.float-nav-item {
	flex: 1;
	text-align: center;
	padding: 8px 0; /* 减少上下内边距 */
	cursor: pointer;
	transition: all 0.3s ease;
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	color: #fff;
}

.float-nav-item:hover {
	background-color: #444;
}

.float-nav-item.active {
	background-color: #3498db;
	color: white;
}

.float-nav-icon {
	font-size: 18px; /* 稍微减小图标大小 */
	margin-bottom: 2px; /* 减少图标与文字间距 */
}

.float-nav-text {
	font-size: 12px; /* 减小文字大小 */
	font-weight: 500;
}

/* 优化链接样式 - 无下划线，白色文字 */
.float-nav-text a,
.float-nav-icon a {
	color: #fff !important;
	text-decoration: none !important;
}

/* 优化浮动面板样式 */
.float-panel {
	position: absolute;
	bottom: 100%;
	left: 50%;
	transform: translateX(-50%) translateY(20px);
	background-color: white;
	border-radius: 12px;
	box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
	padding: 15px; /* 减少内边距 */
	width: 220px;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
	z-index: 10000;
}

.float-panel.active {
	opacity: 1;
	visibility: visible;
	transform: translateX(-50%) translateY(-10px);
}

.float-panel:after {
	content: '';
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 0;
	border-left: 10px solid transparent;
	border-right: 10px solid transparent;
	border-bottom: 10px solid white;
}

.wechat-panel {
	text-align: center;
	padding-bottom: 10px; /* 减少底部内边距 */
}

/* 优化微信二维码图片样式 */
.wechat-qrcode {
	width: 160px; /* 调整宽度 */
	height: 160px; /* 调整高度 */
	margin: 0 auto 5px; /* 减少底部外边距 */
	background-color: #f5f5f5;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

/* 调整微信二维码图片大小 */
.wechat-qrcode img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

.phone-panel {
	text-align: center;
	padding: 15px 20px; /* 调整内边距 */
}

.phone-number {
	font-size: 18px; /* 调整字体大小 */
	font-weight: 600;
	color: #3498db;
	margin: 8px 0; /* 调整外边距 */
	text-align: center; /* 确保文字居中 */
	width: 100%; /* 确保宽度100% */
}

.phone-number a {
	color: inherit;
	text-decoration: none;
	display: block; /* 使链接占满整个区域 */
	text-align: center; /* 确保文字居中 */
}

.phone-desc {
	font-size: 12px; /* 减小字体大小 */
	color: #666;
	margin-top: 5px; /* 减少顶部外边距 */
}

        
@media (max-width: 480px) {

	.float-nav-text {
		font-size: 11px;
	}

	.float-panel {
		width: 200px;
	}

	/* 在小屏幕上调整二维码图片大小 */
	.wechat-qrcode {
		width: 140px;
		height: 140px;
	}
	
	.phone-panel {
		padding: 12px 15px;
	}
}