/* 全局样式与变量 */
:root {
	--primary-color: #2c3e50;
	--secondary-color: #3498db;
	--accent-color: #e74c3c;
	--light-color: #ecf0f1;
	--dark-color: #2c3e50;
	--text-color: #333;
	--border-radius: 8px;
	--box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	--transition: all 0.3s ease;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: "Microsoft YaHei", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
	line-height: 1.6;
	color: var(--text-color);
	background-color: #f9f9f9;
}

.container {
	width: 90%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 15px;
}

/* 导航栏样式 */
header {
	background-color: var(--primary-color);
	color: white;
	padding: 1rem 0;
	position: sticky;
	top: 0;
	z-index: 100;
	box-shadow: var(--box-shadow);
}

.navbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo {
	font-size: 1.5rem;
	font-weight: bold;
	color: white;
	text-decoration: none;
	display: flex;
	align-items: center;
}

.logo-icon {
	display: inline-block;
	width: 30px;
	height: 30px;
	background-color: var(--secondary-color);
	border-radius: 4px;
	margin-right: 10px;
	position: relative;
}

.logo-icon::before {
	content: "企";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: white;
	font-weight: bold;
}

.nav-links {
	display: flex;
	list-style: none;
}

.nav-links li {
	margin-left: 1.5rem;
}

.nav-links a {
	color: white;
	text-decoration: none;
	font-weight: 500;
	transition: var(--transition);
	padding: 0.5rem 1rem;
	border-radius: 4px;
}

.nav-links a:hover {
	color: var(--secondary-color);
	background-color: rgba(255, 255, 255, 0.1);
}

.hamburger {
	display: none;
	cursor: pointer;
	font-size: 1.5rem;
}

/* 按钮样式 */
.btn {
	display: inline-block;
	background-color: var(--secondary-color);
	color: white;
	padding: 0.8rem 1.5rem;
	border-radius: var(--border-radius);
	text-decoration: none;
	font-weight: 600;
	transition: var(--transition);
	border: none;
	cursor: pointer;
	text-align: center;
}

.btn:hover {
	background-color: var(--primary-color);
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* 响应式设计 */
@media (max-width: 768px) {
	.nav-links {
		display: none;
		flex-direction: column;
		position: absolute;
		top: 100%;
		left: 0;
		width: 100%;
		background-color: var(--primary-color);
		padding: 1rem 0;
		box-shadow: var(--box-shadow);
	}

	.nav-links.active {
		display: flex;
	}

	.nav-links li {
		margin: 0;
		text-align: center;
		padding: 0.8rem 0;
	}

	.hamburger {
		display: block;
	}
}

/* 页面内容样式 */
.page-content {
	padding: 2rem 0;
	min-height: 70vh;
}

/* 企业注册入库页面 - 时间线设计 */
#enterprise-registration {
	background-color: #f8f9fa;
}

.enterprise-header {
	background: linear-gradient(135deg, #2c3e50, #4a6491);
	color: white;
	padding: 3rem 0;
	text-align: center;
	margin-bottom: 3rem;
	border-radius: 0 0 var(--border-radius) var(--border-radius);
}

.enterprise-header h1 {
	font-size: 2.5rem;
	margin-bottom: 1rem;
}

.timeline {
	position: relative;
	max-width: 1200px;
	margin: 0 auto 3rem;
}

.timeline::after {
	content: '';
	position: absolute;
	width: 6px;
	background-color: var(--secondary-color);
	top: 0;
	bottom: 0;
	left: 50%;
	margin-left: -3px;
}

.timeline-item {
	padding: 10px 40px;
	position: relative;
	width: 50%;
	box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
	left: 0;
}

.timeline-item:nth-child(even) {
	left: 50%;
}

.timeline-content {
	padding: 20px 30px;
	background-color: white;
	position: relative;
	border-radius: var(--border-radius);
	box-shadow: var(--box-shadow);
}

.timeline-item:nth-child(odd) .timeline-content::after {
	content: '';
	position: absolute;
	width: 20px;
	height: 20px;
	right: -10px;
	background-color: white;
	top: 20px;
	border-radius: 50%;
	z-index: 1;
}

.timeline-item:nth-child(even) .timeline-content::after {
	content: '';
	position: absolute;
	width: 20px;
	height: 20px;
	left: -10px;
	background-color: white;
	top: 20px;
	border-radius: 50%;
	z-index: 1;
}

.timeline-content h3 {
	margin-bottom: 0.5rem;
	color: var(--primary-color);
}

.stats-section {
	background-color: white;
	padding: 2rem;
	border-radius: var(--border-radius);
	box-shadow: var(--box-shadow);
	margin-bottom: 2rem;
}

.stats-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1.5rem;
	margin-top: 1.5rem;
}

.stat-item {
	text-align: center;
	padding: 1.5rem;
	border-radius: var(--border-radius);
	background-color: var(--light-color);
}

.stat-number {
	font-size: 2.5rem;
	font-weight: bold;
	color: var(--secondary-color);
	margin-bottom: 0.5rem;
}

.stat-label {
	font-size: 1rem;
	color: var(--dark-color);
}

/* 分供商入库页面 - 卡片网格设计 */
#sub-supplier {
	background-color: #edf2f7;
}

.subsupplier-header {
	background: linear-gradient(135deg, #3498db, #2c3e50);
	color: white;
	padding: 3rem 0;
	text-align: center;
	margin-bottom: 3rem;
	border-radius: 0 0 var(--border-radius) var(--border-radius);
}

.subsupplier-header h1 {
	font-size: 2.5rem;
	margin-bottom: 1rem;
}

.card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 2rem;
	margin-bottom: 3rem;
}

.grid-card {
	background: white;
	border-radius: var(--border-radius);
	overflow: hidden;
	box-shadow: var(--box-shadow);
	transition: var(--transition);
}

.grid-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.grid-card-header {
	background-color: var(--secondary-color);
	color: white;
	padding: 1.5rem;
	text-align: center;
}

.grid-card-body {
	padding: 1.5rem;
}

.grid-card-body ul {
	list-style-position: inside;
	margin-bottom: 1.5rem;
}

.grid-card-body li {
	margin-bottom: 0.5rem;
}

.supplier-table {
	background-color: white;
	border-radius: var(--border-radius);
	overflow: hidden;
	box-shadow: var(--box-shadow);
	margin-bottom: 2rem;
}

.table-header {
	background-color: var(--primary-color);
	color: white;
	padding: 1rem 1.5rem;
}

.table-content {
	padding: 1.5rem;
}

table {
	width: 100%;
	border-collapse: collapse;
}

th, td {
	padding: 0.8rem 1rem;
	text-align: left;
	border-bottom: 1px solid #eee;
}

th {
	background-color: var(--light-color);
	font-weight: 600;
}

tr:hover {
	background-color: #f5f5f5;
}

/* 物资经销页面 - 产品展示设计 */
#material-distribution {
	background-color: #f1f8e9;
}

.distribution-header {
	background: linear-gradient(135deg, #27ae60, #2c3e50);
	color: white;
	padding: 3rem 0;
	text-align: center;
	margin-bottom: 3rem;
	border-radius: 0 0 var(--border-radius) var(--border-radius);
}

.distribution-header h1 {
	font-size: 2.5rem;
	margin-bottom: 1rem;
}

.product-showcase {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 6rem;
	margin-bottom: 3rem;
}

.product-card {
	background: white;
	border-radius: var(--border-radius);
	overflow: hidden;
	box-shadow: var(--box-shadow);
	transition: var(--transition);
}

.product-card:hover {
	transform: scale(1.03);
}

.product-image {
	height: 180px;
	background-color: #e0e0e0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #666;
	font-size: 1.2rem;
	position: relative;
}

.product-image::before {
	content: "📦";
	font-size: 3rem;
}

.product-info {
	padding: 1.5rem;
}

.product-info h3 {
	margin-bottom: 0.5rem;
	color: var(--primary-color);
}

.product-features {
	list-style-type: none;
	margin: 1rem 0;
}

.product-features li {
	margin-bottom: 0.5rem;
	display: flex;
	align-items: center;
}

.product-features li::before {
	content: "✓";
	color: var(--secondary-color);
	margin-right: 0.5rem;
	font-weight: bold;
}

.brands-section {
	background-color: white;
	padding: 2rem;
	border-radius: var(--border-radius);
	box-shadow: var(--box-shadow);
	margin-bottom: 2rem;
}

.brands-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 1.5rem;
	margin-top: 1.5rem;
}

.brand-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 1rem;
	border-radius: var(--border-radius);
	background-color: var(--light-color);
	transition: var(--transition);
}

.brand-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.brand-icon {
	font-size: 2rem;
	margin-bottom: 0.5rem;
	color: var(--secondary-color);
}

/* 专业分包页面 - 服务流程设计 */
#professional-subcontract {
	background-color: #fff3e0;
}

.subcontract-header {
	background: linear-gradient(135deg, #e67e22, #2c3e50);
	color: white;
	padding: 3rem 0;
	text-align: center;
	margin-bottom: 3rem;
	border-radius: 0 0 var(--border-radius) var(--border-radius);
}

.subcontract-header h1 {
	font-size: 2.5rem;
	margin-bottom: 1rem;
}

.process-steps {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem;
	margin-bottom: 3rem;
}

.process-step {
	flex: 1;
	text-align: center;
	padding: 3rem 0.2rem;
	background: white;
	border-radius: var(--border-radius);
	box-shadow: var(--box-shadow);
	transition: var(--transition);
	position: relative;
	width: 215px;
}

.process-step:hover {
	transform: translateY(-10px);
}

.step-icon {
	width: 80px;
	height: 80px;
	background-color: var(--secondary-color);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 1.5rem;
	color: white;
	font-size: 2rem;
}

.step-number {
	position: absolute;
	top: -10px;
	right: -10px;
	background-color: var(--accent-color);
	color: white;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
}

.process-step h3 {
	margin-bottom: 1rem;
	color: var(--primary-color);
}

.case-studies {
	background-color: white;
	padding: 2rem;
	border-radius: var(--border-radius);
	box-shadow: var(--box-shadow);
	margin-bottom: 3rem;
}

.case-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
	margin-top: 1.5rem;
}

.case-item {
	border-radius: var(--border-radius);
	overflow: hidden;
	box-shadow: var(--box-shadow);
	transition: var(--transition);
}

.case-item:hover {
	transform: translateY(-5px);
}

.case-image {
	height: 180px;
	background-color: #e0e0e0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #666;
}

.case-content {
	padding: 1.5rem;
}

.case-content h3 {
	margin-bottom: 0.5rem;
	color: var(--primary-color);
}

/* 劳务分包页面 - 团队展示设计 */
#labor-subcontract {
	background-color: #e8f4f8;
}

.labor-header {
	background: linear-gradient(135deg, #3498db, #2c3e50);
	color: white;
	padding: 3rem 0;
	text-align: center;
	margin-bottom: 3rem;
	border-radius: 0 0 var(--border-radius) var(--border-radius);
}

.labor-header h1 {
	font-size: 2.5rem;
	margin-bottom: 1rem;
}

.team-showcase {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 2rem;
	margin-bottom: 3rem;
}

.team-member {
	background: white;
	border-radius: var(--border-radius);
	overflow: hidden;
	box-shadow: var(--box-shadow);
	transition: var(--transition);
}

.team-member:hover {
	transform: translateY(-5px);
}

.member-photo {
	height: 200px;
	background-color: #e0e0e0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #666;
}

.member-info {
	padding: 1.5rem;
	text-align: center;
}

.member-info h3 {
	margin-bottom: 0.5rem;
	color: var(--primary-color);
}

.member-role {
	color: var(--secondary-color);
	font-weight: 600;
	margin-bottom: 1rem;
}

.member-skills {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
	margin-top: 1rem;
}

.skill-tag {
	background-color: var(--light-color);
	padding: 0.3rem 0.8rem;
	border-radius: 20px;
	font-size: 0.8rem;
}

.service-packages {
	background-color: white;
	padding: 2rem;
	border-radius: var(--border-radius);
	box-shadow: var(--box-shadow);
}

.package-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
	margin-top: 1.5rem;
}

.package-item {
	border: 1px solid #eee;
	border-radius: var(--border-radius);
	padding: 1.5rem;
	text-align: center;
	transition: var(--transition);
}

.package-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.package-header {
	margin-bottom: 1rem;
}

.package-price {
	font-size: 1.5rem;
	font-weight: bold;
	color: var(--accent-color);
	margin: 1rem 0;
}

/* 专业服务页面 - 服务分类设计 */
#professional-services {
	background-color: #f9f9f9;
}

.services-header {
	background: linear-gradient(135deg, #9b59b6, #2c3e50);
	color: white;
	padding: 3rem 0;
	text-align: center;
	margin-bottom: 3rem;
	border-radius: 0 0 var(--border-radius) var(--border-radius);
}

.services-header h1 {
	font-size: 2.5rem;
	margin-bottom: 1rem;
}

.service-categories {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 2rem;
	margin-bottom: 3rem;
}

.service-category {
	background: white;
	border-radius: var(--border-radius);
	overflow: hidden;
	box-shadow: var(--box-shadow);
	transition: var(--transition);
}

.service-category:hover {
	transform: scale(1.02);
}

.category-header {
	background-color: var(--primary-color);
	color: white;
	padding: 1.5rem;
	text-align: center;
}

.category-body {
	padding: 1.5rem;
}

.service-list {
	list-style-type: none;
}

.service-list li {
	padding: 0.8rem 0;
	border-bottom: 1px solid #eee;
	display: flex;
	align-items: center;
}

.service-list li:last-child {
	border-bottom: none;
}

.service-list li::before {
	content: "→";
	color: var(--secondary-color);
	margin-right: 0.8rem;
	font-weight: bold;
}

.consultation-process {
	background-color: white;
	padding: 2rem;
	border-radius: var(--border-radius);
	box-shadow: var(--box-shadow);
}

.process-tabs {
	display: flex;
	margin-bottom: 1.5rem;
	border-bottom: 1px solid #eee;
}

.process-tab {
	padding: 0.8rem 1.5rem;
	cursor: pointer;
	border-bottom: 3px solid transparent;
	transition: var(--transition);
}

.process-tab.active {
	border-bottom: 3px solid var(--secondary-color);
	color: var(--secondary-color);
	font-weight: 600;
}

.tab-content {
	padding: 1rem 0;
}

.tab-pane {
	display: none;
}

.tab-pane.active {
	display: block;
}

/* 设备租赁页面 - 设备展示设计 */
#equipment-rental {
	background-color: #e8f5e9;
}

.equipment-header {
	background: linear-gradient(135deg, #2ecc71, #2c3e50);
	color: white;
	padding: 3rem 0;
	text-align: center;
	margin-bottom: 3rem;
	border-radius: 0 0 var(--border-radius) var(--border-radius);
}

.equipment-header h1 {
	font-size: 2.5rem;
	margin-bottom: 1rem;
}

.equipment-showcase {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 2rem;
	margin-bottom: 3rem;
}

.equipment-item {
	background: white;
	border-radius: var(--border-radius);
	overflow: hidden;
	box-shadow: var(--box-shadow);
	transition: var(--transition);
}

.equipment-item:hover {
	transform: translateY(-5px);
}

.equipment-image {
	height: 180px;
	background-color: #e0e0e0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #666;
}

.equipment-details {
	padding: 1.5rem;
}

.equipment-details h3 {
	margin-bottom: 0.5rem;
	color: var(--primary-color);
}

.equipment-specs {
	margin: 1rem 0;
}

.spec-item {
	display: flex;
	justify-content: space-between;
	padding: 0.3rem 0;
	border-bottom: 1px solid #eee;
}

.spec-item:last-child {
	border-bottom: none;
}

.rental-price {
	font-size: 1.2rem;
	font-weight: bold;
	color: var(--accent-color);
	text-align: center;
	margin: 1rem 0;
}

.rental-process {
	background-color: white;
	padding: 2rem;
	border-radius: var(--border-radius);
	box-shadow: var(--box-shadow);
}

.process-steps-compact {
	display: flex;
	justify-content: space-between;
	margin-top: 1.5rem;
	position: relative;
}

.process-steps-compact::before {
	content: '';
	position: absolute;
	top: 20px;
	left: 0;
	right: 0;
	height: 2px;
	background-color: #eee;
	z-index: 1;
}

.process-step-compact {
	display: flex;
	flex-direction: column;
	align-items: center;
	position: relative;
	z-index: 2;
	background-color: white;
	padding: 0 1rem;
}

.step-icon-compact {
	width: 40px;
	height: 40px;
	background-color: var(--secondary-color);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	margin-bottom: 0.5rem;
}

.step-text {
	font-size: 0.9rem;
	text-align: center;
}

/* 物资回收页面 - 回收流程设计 */
#material-recycling {
	background-color: #fff8e1;
}

.recycling-header {
	background: linear-gradient(135deg, #f39c12, #2c3e50);
	color: white;
	padding: 3rem 0;
	text-align: center;
	margin-bottom: 3rem;
	border-radius: 0 0 var(--border-radius) var(--border-radius);
}

.recycling-header h1 {
	font-size: 2.5rem;
	margin-bottom: 1rem;
}

.recycling-process {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 2rem;
	margin-bottom: 3rem;
}

.process-card {
	flex: 1;
	min-width: 250px;
	max-width: 300px;
	background: white;
	border-radius: var(--border-radius);
	padding: 2rem;
	box-shadow: var(--box-shadow);
	text-align: center;
	transition: var(--transition);
	position: relative;
}

.process-card:hover {
	transform: translateY(-10px);
}

.process-icon {
	width: 70px;
	height: 70px;
	background-color: var(--secondary-color);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 1.5rem;
	color: white;
	font-size: 1.8rem;
}

.process-card h3 {
	margin-bottom: 1rem;
	color: var(--primary-color);
}

.process-connector {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 1rem 0;
	color: var(--secondary-color);
}

.materials-grid {
	background-color: white;
	padding: 2rem;
	border-radius: var(--border-radius);
	box-shadow: var(--box-shadow);
}

.materials-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1.5rem;
	margin-top: 1.5rem;
}

.material-item {
	display: flex;
	align-items: center;
	padding: 1rem;
	border-radius: var(--border-radius);
	background-color: var(--light-color);
	transition: var(--transition);
}

.material-item:hover {
	transform: translateY(-3px);
	box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.material-icon {
	font-size: 1.5rem;
	margin-right: 1rem;
	color: var(--secondary-color);
}

.material-info h4 {
	margin-bottom: 0.3rem;
	color: var(--primary-color);
}

.on-hand {
	cursor: pointer;
}

/* 响应式设计调整 */
@media (max-width: 768px) {
	.timeline::after {
		left: 31px;
	}

	.timeline-item {
		width: 100%;
		padding-left: 70px;
		padding-right: 25px;
	}

	.timeline-item:nth-child(even) {
		left: 0;
	}

	.process-steps, .recycling-process {
		flex-direction: column;
		align-items: center;
	}

	.process-step, .process-card {
		width: 100%;
		max-width: 100%;
	}

	.page-header h1 {
		font-size: 2rem;
	}

	.process-steps-compact {
		flex-direction: column;
		align-items: flex-start;
	}

	.process-steps-compact::before {
		display: none;
	}

	.process-step-compact {
		flex-direction: row;
		margin-bottom: 1rem;
		width: 100%;
	}

	.step-icon-compact {
		margin-right: 1rem;
		margin-bottom: 0;
	}
}