/* 联系我们页面样式 */
.contact-page {
	background-color: #f8f9fa;
}

/* 页面横幅 */
.contact-page-banner {
	background-image: url('/template/default/images/banner/content.jpg');
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	padding: 120px 0 80px;
	position: relative;
	overflow: hidden;
}

.contact-banner-overlay {
	position: relative;
	z-index: 2;
}

.contact-banner-content {
	text-align: center;
	color: white;
}

.contact-banner-content h1 {
	font-size: 48px;
	font-weight: bold;
	margin-bottom: 10px;
	text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.contact-banner-content p {
	font-size: 24px;
	margin-bottom: 30px;
	opacity: 0.9;
}

/* 面包屑导航 */
.contact-breadcrumb-nav {
	background: white;
	padding: 15px 0;
	border-bottom: 1px solid #eee;
}

.contact-breadcrumb-nav .index-container {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
}

.contact-breadcrumb-nav a {
	color: #666;
	text-decoration: none;
	transition: color 0.3s;
}

.contact-breadcrumb-nav a:hover {
	color: #4CAF50;
}

.contact-breadcrumb-nav .contact-separator {
	color: #ccc;
}

.contact-breadcrumb-nav .contact-current {
	color: #333;
	font-weight: 500;
}

/* 联系信息 */
.contact-info-section {
	padding: 60px 0;
	background: white;
}

.contact-info-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 30px;
}

.contact-info-item {
	display: flex;
	align-items: center;
	padding: 30px;
	background: #f8f9fa;
	border-radius: 10px;
	transition: transform 0.3s, box-shadow 0.3s;
	cursor: pointer;
}

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

.contact-info-icon {
	margin-right: 10px;
}

.contact-info-icon img {
	filter: grayscale(100%);
	color: #4CAF50;
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;

}

.contact-info-content h4 {
	font-size: 18px;
	color: #333;
	margin-bottom: 8px;
	font-weight: bold;
}

.contact-info-content p {
	font-size: 14px;
	color: #666;
	margin: 0;
	line-height: 1.5;
}

/* 主要联系内容 */
.contact-main-section {
	padding: 80px 0;
	background: #f8f9fa;
}

.contact-main-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: start;
}

.contact-company-info h2 {
	font-size: 28px;
	color: #333;
	margin-bottom: 30px;
	font-weight: bold;
}

.company-details {
	display: flex;
	flex-direction: column;
	gap: 25px;
}

.company-detail-item h4 {
	font-size: 20px;
	color: #4CAF50;
	margin-bottom: 10px;
	font-weight: bold;
}

.company-detail-item p {
	font-size: 16px;
	color: #666;
	line-height: 1.6;
	margin: 0;
}

/* 联系表单 */
.contact-form-section {
	background: white;
	padding: 40px;
	border-radius: 10px;
	box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.contact-form-section h3 {
	font-size: 24px;
	color: #333;
	margin-bottom: 10px;
	font-weight: bold;
}

.contact-form-section p {
	color: #666;
	margin-bottom: 30px;
	line-height: 1.6;
}

.contact-form {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.form-group {
	display: flex;
	flex-direction: column;
}

.form-group label {
	font-size: 14px;
	color: #333;
	margin-bottom: 8px;
	font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
	padding: 12px 15px;
	border: 1px solid #ddd;
	border-radius: 5px;
	font-size: 14px;
	transition: border-color 0.3s;
	background: white;
	width: 100%;
	box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
	outline: none;
	border-color: #4CAF50;
	box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.1);
}

.form-group textarea {
	resize: vertical;
	min-height: 100px;
}

.form-captcha-row {
	display: flex;
	align-items: flex-end;
	gap: 10px;
	flex-wrap: wrap;
}

.form-captcha-row label {
	margin-bottom: 0;
	white-space: nowrap;
	min-width: 60px;
}

.form-captcha-row input {
	flex: 1;
	min-width: 160px;
}

.contact-codeimg {
	cursor: pointer;
	height: 40px;
	border: 1px solid #ddd;
	border-radius: 4px;
	flex-shrink: 0;
	width: auto;
	max-width: 180px;
}

.form-captcha-row .contact-submit-btn {
	margin: 0;
	flex-shrink: 0;
	padding: 12px 24px;
	align-self: stretch;
}

.contact-submit-btn {
	background: #4CAF50;
	color: white;
	padding: 10px 15px;
	border: none;
	border-radius: 5px;
	font-size: 16px;
	font-weight: bold;
	cursor: pointer;
	transition: background 0.3s;
	display: flex;
	align-items: center;
	justify-content: center;
	align-self: center;
	margin: 0 auto;
}

.contact-submit-btn:hover {
	background: #45a049;
}

.contact-submit-btn i {
	font-size: 16px;
}

/* 地图位置 */
.contact-map-section {
	padding: 80px 0;
	background: white;
}

.contact-map-container {
	margin-top: 40px;
}

.contact-map-placeholder {
	height: 400px;
	background: #f8f9fa;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
}

.map-info {
	text-align: center;
	color: #666;
}

.map-info i {
	font-size: 48px;
	color: #4CAF50;
	margin-bottom: 20px;
}

.map-info h4 {
	font-size: 20px;
	color: #333;
	margin-bottom: 10px;
	font-weight: bold;
}

.map-info p {
	font-size: 16px;
	margin-bottom: 30px;
}

.map-actions {
	display: flex;
	gap: 15px;
	justify-content: center;
}

.map-action-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 20px;
	background: #4CAF50;
	color: white;
	text-decoration: none;
	border-radius: 25px;
	font-size: 14px;
	font-weight: 500;
	transition: all 0.3s;
}

.map-action-btn:hover {
	background: #45a049;
	transform: translateY(-2px);
}

.map-action-btn i {
	font-size: 14px;
}

/* 工作时间 */
.contact-hours-section {
	padding: 80px 0;
	background: #f8f9fa;
}

.contact-hours-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
}

.hours-info h3,
.contact-tips h3 {
	font-size: 24px;
	color: #333;
	margin-bottom: 25px;
	font-weight: bold;
}

.hours-list {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.hours-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px 20px;
	background: white;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.hours-day {
	font-weight: 500;
	color: #333;
}

.hours-time {
	color: #4CAF50;
	font-weight: bold;
}

.tips-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.tips-list li {
	padding: 12px 0;
	border-bottom: 1px solid #eee;
	color: #666;
	line-height: 1.6;
	position: relative;
	padding-left: 25px;
}

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

.tips-list li::before {
	content: '•';
	color: #4CAF50;
	font-weight: bold;
	position: absolute;
	left: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
	.contact-banner-content h1 {
		font-size: 32px;
	}
	
	.contact-banner-content p {
		font-size: 18px;
	}
	
	.contact-info-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 15px;
	}
	
	.contact-info-item {
		padding: 20px;
		min-width: 0;
	}
	
	.contact-info-content {
		min-width: 0;
		flex: 1;
	}
	
	.contact-info-content p {
		word-break: break-all;
		font-size: 14px;
		line-height: 1.4;
	}
	
	.contact-main-content {
		grid-template-columns: 1fr;
		gap: 40px;
	}
	
	.contact-company-info h2 {
		font-size: 24px;
	}
	
	.company-detail-item h4 {
		font-size: 18px;
	}
	
	.company-detail-item p {
		font-size: 14px;
	}
	
	.form-row {
		grid-template-columns: 1fr;
		gap: 15px;
	}
	
	.form-captcha-row {
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
	}
	
	.form-captcha-row label {
		min-width: 0;
	}
	
	.form-captcha-row input,
	.form-captcha-row .contact-submit-btn {
		width: 100%;
	}
	
	.form-captcha-row .contact-codeimg {
		max-width: 180px;
		width: auto;
		align-self: flex-start;
	}
	
	.contact-hours-content {
		grid-template-columns: 1fr;
		gap: 40px;
	}
	
	.map-actions {
		flex-direction: column;
		align-items: center;
	}
	
	.map-action-btn {
		width: 200px;
		justify-content: center;
	}
}

@media (max-width: 480px) {
	.contact-page-banner {
		padding: 80px 0 60px;
	}
	
	.contact-banner-content h1 {
		font-size: 28px;
	}
	
	.contact-info-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}
	
	.contact-info-item {
		padding: 15px;
		flex-direction: column;
		text-align: center;
		min-width: 0;
	}
	
	.contact-info-content {
		min-width: 0;
		width: 100%;
	}
	
	.contact-info-content p {
		word-break: break-all;
		font-size: 12px;
		line-height: 1.4;
	}
	
	.contact-info-icon {
		margin-right: 0;
		margin-bottom: 15px;
	}
	
	.contact-form-section {
		padding: 25px;
	}
	
	.contact-company-info h2 {
		font-size: 22px;
	}
	
	.company-detail-item h4 {
		font-size: 16px;
	}
	
	.company-detail-item p {
		font-size: 13px;
		line-height: 1.5;
	}
	
	.form-captcha-row .contact-codeimg {
		max-width: 180px;
	}
	
	.form-captcha-row .contact-submit-btn {
		padding: 12px;
	}
	
	.contact-map-placeholder {
		height: 300px;
	}
	
	.hours-item {
		flex-direction: column;
		gap: 10px;
		text-align: center;
	}
}
