/* 厦门开歌评估网站样式表 */
:root {
    --primary-color: #1e88e5;
    --secondary-color: #2196f3;
    --accent-color: #0d47a1;
    --text-color: #333;
    --light-gray: #f5f5f5;
    --border-color: #e0e0e0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

.section { padding: 60px 0; }
.section-light { background: #fafbfd; }
.section-title { text-align: center; margin-bottom: 36px; }
.section-title h2 { font-weight: 700; margin-bottom: 10px; }
.section-title p { color: #666; }

.navbar-kaige {
	background: #ffffff;
	box-shadow: 0 2px 8px rgba(0,0,0,0.06);
	min-height: 80px;
	padding: 0;
}

.navbar-kaige .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.navbar-sticky {
	position: sticky;
	top: 0;
	z-index: 1000;
}

.navbar-brand-kaige {
	font-weight: 700;
	color: var(--primary-color);
	display: flex;
	align-items: center;
	height: 80px;
	font-size: 20px;
}

.navbar-brand-kaige:hover,
.navbar-brand-kaige:focus {
	color: var(--accent-color);
	text-decoration: none;
}

.navbar-kaige .nav-link {
	color: #333333;
	padding: 16px 16px;
	font-size: 16px;
	font-weight: 500;
	transition: all 0.3s ease;
	border-radius: 6px;
	margin: 0 2px;
}

.navbar-kaige .nav-link:hover,
.navbar-kaige .nav-link:focus {
	color: var(--primary-color);
	background-color: rgba(30, 136, 229, 0.1);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(30, 136, 229, 0.2);
}

.navbar-main > li > a { 
	font-weight: 500; 
	display: flex;
	align-items: center;
	height: 80px;
}

.navbar-main {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
}
.navbar-cta .btn { 
	margin-left: 8px; 
	height: 50px;
	display: flex;
	align-items: center;
	font-size: 15px;
	font-weight: 600;
	white-space: nowrap;
	padding: 12px 20px;
	margin-top: 15px;
}

/* 响应式设计 */
@media (max-width: 1200px) {
	.navbar-kaige .nav-link {
		padding: 16px 12px;
		font-size: 15px;
	}
	
	.navbar-cta .btn {
		padding: 12px 16px;
		font-size: 14px;
		margin-top: 15px;
	}
}

@media (max-width: 992px) {
	.navbar-kaige .nav-link {
		padding: 16px 8px;
		font-size: 14px;
	}
	
	.navbar-cta .btn {
		padding: 10px 14px;
		font-size: 13px;
		margin-top: 15px;
	}
}

.float-widget {
	position: fixed;
	right: 16px;
	bottom: 24px;
	display: flex;
	flex-direction: column;
	gap: 16px; /* 增加间隔 */
	z-index: 999;
}
.float-widget.show { display: flex; }
.float-widget .float-item {
	background: #ffffff;
	border: 1px solid #eee;
	box-shadow: 0 6px 16px rgba(0,0,0,0.08);
	border-radius: 8px;
	padding: 12px 14px; /* 增加内边距 */
	color: #333;
	display: flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	transition: all 0.3s ease;
	position: relative;
	min-width: 100px;
}
.float-widget .float-item i {
	color: var(--primary-color);
	font-size: 16px;
}
.float-widget .float-item:hover {
	text-decoration: none;
	box-shadow: 0 8px 20px rgba(0,0,0,0.12);
	transform: translateX(-2px);
}

/* 微信咨询特殊样式 */
.float-widget .wechat-item {
	cursor: pointer;
	background: #07c160; /* 微信绿色背景 */
	color: white;
}

.float-widget .wechat-item:hover {
	background: #06ad56; /* 悬停时稍微深一点的绿色 */
	color: white;
}

.float-widget .wechat-item span {
	color: white;
	font-weight: 500;
}

/* 微信咨询浮动层 - 默认完全隐藏 */
.wechat-popup {
	position: absolute;
	right: 100%;
	top: -320px;
	margin-right: 12px;
	background: #ffffff;
	border: 1px solid #eee;
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(0,0,0,0.15);
	padding: 0;
	min-width: 220px;
	opacity: 0;
	visibility: hidden;
	transform: translateX(10px);
	transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
	z-index: 1000;
	pointer-events: none;
}

/* 浮动层显示状态由JavaScript控制 */
.wechat-popup.show {
	opacity: 1;
	visibility: visible;
	transform: translateX(0);
	pointer-events: auto;
}

.wechat-popup-content {
	padding: 18px;
}

.wechat-contact {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.contact-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px;
	border-radius: 8px;
	background: #f8f9fa;
	transition: background 0.2s ease;
}

.contact-item:hover {
	background: #e9ecef;
}

.contact-info {
	flex: 1;
}

.contact-info strong {
	display: block;
	color: #333;
	font-size: 14px;
	margin-bottom: 2px;
}

.contact-info p {
	margin: 0;
	color: #666;
	font-size: 12px;
}

.qr-code {
	width:100px;
	height: 100px;
	border-radius: 8px;
	overflow: hidden;
	border: 1px solid #e0e0e0;
}

.qr-code img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* 响应式设计 */
@media (max-width: 768px) {
	.float-widget {
		right: 12px;
		bottom: 20px;
		gap: 12px;
	}

	.float-widget .float-item {
		padding: 10px 12px;
		min-width: 80px;
	}

	.float-widget .float-item span {
		font-size: 12px;
	}

	.wechat-popup {
		min-width: 280px;
		margin-right: 8px;
	}

	.wechat-popup-content {
		padding: 12px;
	}

	.contact-item {
		gap: 8px;
		padding: 6px;
	}

	.qr-code {
		width: 70px;
		height: 70px;
	}

	.contact-info strong {
		font-size: 13px;
	}

	.contact-info p {
		font-size: 11px;
	}
}

@media (max-width: 480px) {
	.wechat-popup {
		min-width: 240px;
		right: 50%;
		transform: translateX(50%);
		margin-right: 0;
		top: auto;
		bottom: 100%;
		margin-bottom: 8px;
	}

	.wechat-item:hover .wechat-popup {
		transform: translateX(50%);
	}

	.float-widget .wechat-item {
		min-width: 70px; /* 移动端稍微窄一点 */
	}
}

.service-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    padding: 30px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.media-card { border: 1px solid #eee; box-shadow: none; border-radius: 8px; }
.media-card h4 { font-weight: 600; margin-bottom: 10px; }
.media-card .desc { color:#666; min-height: 44px; }

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.process-step {
    text-align: center;
    padding: 30px 20px;
}

.process-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 32px;
}

.price-table {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.feature-list { list-style: none; padding:0; margin:0; }
.feature-list li { display:flex; align-items:center; gap:10px; margin-bottom:10px; }
.feature-list i { color: var(--primary-color); }

.logo-wall { display:grid; grid-template-columns: repeat(5,1fr); gap:16px; }
.logo-wall img { width:100%; height:48px; object-fit: contain; filter: grayscale(100%); opacity:.8; background:#fff; border:1px solid #f0f0f0; border-radius:6px; }
.logo-wall img:hover { filter:none; opacity:1; }

.contact-form {
    background: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.footer-kaige {
    background: var(--accent-color);
    color: white;
    padding: 40px 0;
    margin-top: 60px;
}

.btn-kaige {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-kaige:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-2px);
}

/* 页面头部通用样式（参考一秒推风格） */
.page-header-kaige {
	padding: 80px 0;
	color: #ffffff;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.page-header-kaige h1,
.page-header-kaige p {
	color: #ffffff;
}

/* 页面内容通用样式 */
.container.my-5 {
	margin-top: 20px !important;
}

/* 页面内容区域通用间距 */
.section {
	padding: 60px 0;
}

.section:first-of-type {
	padding-top: 60px;
}

/* 页面标题下方内容区域 */
.page-header-kaige + .container,
.page-header-kaige + .section,
.page-header-kaige + div > .container {
	margin-top: 40px;
}

/* 确保页面内容不会紧贴顶部 */
main, .main-content, .page-content {
	padding-top: 15px;
}

/* Company页面专用样式 */
.card-kaige {
	border: none;
	border-radius: 10px;
	box-shadow: 0 4px 6px rgba(0,0,0,0.1);
	transition: all 0.3s ease;
}

.card-kaige:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.card-kaige .card-header {
	background: linear-gradient(135deg, #1e88e5, #0d47a1);
	color: white;
	border-radius: 10px 10px 0 0 !important;
	border: none;
	padding: 15px 20px;
}

.card-kaige .card-header h3,
.card-kaige .card-header h5 {
	margin: 0;
	font-weight: 600;
}

.card-kaige .card-body {
	padding: 25px;
}

.list-group-item-action:hover {
	background-color: rgba(30, 136, 229, 0.1);
	border-color: var(--primary-color);
}

.list-group-item-action i {
	color: var(--primary-color);
	transition: transform 0.3s ease;
}

.list-group-item-action:hover i {
	transform: translateX(3px);
}

/* Process页面专用样式 */
.process-timeline {
	position: relative;
	padding: 20px 0;
}

.process-timeline::before {
	content: '';
	position: absolute;
	left: 50px;
	top: 0;
	bottom: 0;
	width: 3px;
	background: linear-gradient(135deg, #1e88e5, #0d47a1);
	border-radius: 2px;
}

.process-step {
	position: relative;
	margin-bottom: 40px;
	display: flex;
	align-items: flex-start;
}

.process-step:last-child {
	margin-bottom: 0;
}

.step-number {
	width: 60px;
	height: 60px;
	background: linear-gradient(135deg, #1e88e5, #0d47a1);
	color: white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	font-weight: 700;
	margin-right: 30px;
	flex-shrink: 0;
	position: relative;
	z-index: 2;
	box-shadow: 0 4px 12px rgba(30, 136, 229, 0.3);
}

.step-content {
	flex: 1;
	background: white;
	padding: 25px;
	border-radius: 10px;
	box-shadow: 0 4px 6px rgba(0,0,0,0.1);
	transition: all 0.3s ease;
}

.step-content:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.step-content h4 {
	color: var(--primary-color);
	margin-bottom: 15px;
	font-weight: 600;
}

.step-content p {
	color: #666;
	margin-bottom: 15px;
	line-height: 1.6;
}

.step-content ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.step-content ul li {
	position: relative;
	padding-left: 20px;
	margin-bottom: 8px;
	color: #555;
}

.step-content ul li::before {
	content: '✓';
	position: absolute;
	left: 0;
	color: var(--primary-color);
	font-weight: bold;
}

/* 响应式设计 */
@media (max-width: 768px) {
	.process-timeline::before {
		left: 30px;
	}
	
	.step-number {
		width: 50px;
		height: 50px;
		font-size: 20px;
		margin-right: 20px;
	}
	
	.step-content {
		padding: 20px;
	}
}

/* 服务承诺卡片样式 */
.promise-card {
	background: white;
	padding: 40px 30px;
	border-radius: 15px;
	box-shadow: 0 6px 20px rgba(0,0,0,0.08);
	transition: all 0.4s ease;
	height: 100%;
	position: relative;
	overflow: hidden;
}

.promise-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(135deg, #1e88e5, #0d47a1);
}

.promise-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.promise-icon {
	width: 80px;
	height: 80px;
	background: linear-gradient(135deg, #1e88e5, #0d47a1);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 25px;
	color: white;
	font-size: 32px;
	transition: all 0.3s ease;
}

.promise-card:hover .promise-icon {
	transform: scale(1.1);
	box-shadow: 0 8px 25px rgba(30, 136, 229, 0.4);
}

.promise-card h4 {
	color: var(--primary-color);
	margin-bottom: 15px;
	font-weight: 600;
	font-size: 20px;
}

.promise-card p {
	color: #666;
	line-height: 1.6;
	margin: 0;
	font-size: 15px;
}

/* 响应式调整 */
@media (max-width: 768px) {
	.promise-card {
		padding: 30px 20px;
		margin-bottom: 20px;
	}
	
	.promise-icon {
		width: 60px;
		height: 60px;
		font-size: 24px;
		margin-bottom: 20px;
	}
	
	.promise-card h4 {
		font-size: 18px;
	}
	
	.promise-card p {
		font-size: 14px;
	}
}

/* 新闻系统样式 */
.news-list {
	margin-bottom: 30px;
}

.news-item {
	background: white;
	border-radius: 10px;
	box-shadow: 0 4px 6px rgba(0,0,0,0.1);
	margin-bottom: 25px;
	transition: all 0.3s ease;
	overflow: hidden;
}

.news-item:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.news-image {
	overflow: hidden;
	height: 200px;
}

.news-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.news-item:hover .news-image img {
	transform: scale(1.05);
}

.news-content {
	padding: 25px;
}

.news-title {
	margin-bottom: 15px;
	font-size: 20px;
	font-weight: 600;
}

.news-title a {
	color: var(--text-color);
	text-decoration: none;
	transition: color 0.3s ease;
}

.news-title a:hover {
	color: var(--primary-color);
}

.news-meta {
	margin-bottom: 15px;
	font-size: 14px;
	color: #666;
}

.news-meta span {
	margin-right: 20px;
}

.news-meta i {
	margin-right: 5px;
	color: var(--primary-color);
}

.news-summary {
	color: #666;
	line-height: 1.6;
	margin-bottom: 20px;
}

.news-more .btn {
	border-radius: 20px;
	padding: 8px 20px;
}

/* 热门新闻样式 */
.hot-news-item {
	margin-bottom: 15px;
	padding-bottom: 15px;
	border-bottom: 1px solid #eee;
}

.hot-news-item:last-child {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}

.hot-news-item a {
	text-decoration: none;
	color: inherit;
}

.hot-news-item a:hover {
	text-decoration: none;
}

.hot-news-image {
	width: 60px;
	height: 60px;
	margin-right: 15px;
	flex-shrink: 0;
	overflow: hidden;
	border-radius: 8px;
}

.hot-news-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hot-news-content h6 {
	font-size: 14px;
	margin-bottom: 5px;
	color: var(--text-color);
	line-height: 1.4;
}

.hot-news-content small {
	font-size: 12px;
}

/* 新闻详情页样式 */
.news-detail {
	background: white;
	border-radius: 10px;
	box-shadow: 0 4px 6px rgba(0,0,0,0.1);
	padding: 30px;
}

.news-header {
	margin-bottom: 25px;
	padding-bottom: 20px;
	border-bottom: 1px solid #eee;
}

.news-detail .news-title {
	font-size: 28px;
	font-weight: 700;
	margin-bottom: 15px;
	color: var(--text-color);
}

.news-detail .news-meta {
	font-size: 15px;
}

.news-detail .news-image {
	margin-bottom: 25px;
	border-radius: 10px;
	overflow: hidden;
}

.news-detail .news-content {
	font-size: 16px;
	line-height: 1.8;
	color: var(--text-color);
	margin-bottom: 30px;
}

.news-detail .news-content p {
	margin-bottom: 15px;
}

.news-navigation {
	margin-top: 30px;
	padding-top: 20px;
	border-top: 1px solid #eee;
}

.news-nav-item {
	display: flex;
	align-items: center;
	padding: 15px;
	border-radius: 8px;
	background: #f8f9fa;
	text-decoration: none;
	color: var(--text-color);
	transition: all 0.3s ease;
}

.news-nav-item:hover {
	background: var(--primary-color);
	color: white;
	text-decoration: none;
}

.news-nav-content {
	flex: 1;
}

.news-nav-label {
	display: block;
	font-size: 12px;
	color: inherit;
	opacity: 0.7;
	margin-bottom: 5px;
}

.news-nav-title {
	display: block;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
}

.news-prev {
	text-align: left;
}

.news-next {
	text-align: right;
	flex-direction: row-reverse;
}

.news-next .news-nav-content {
	text-align: right;
}

/* 分页样式 */
.pagination .page-link {
	color: var(--primary-color);
	border-color: #dee2e6;
}

.pagination .page-item.active .page-link {
	background-color: var(--primary-color);
	border-color: var(--primary-color);
}

.pagination .page-link:hover {
	color: var(--accent-color);
	background-color: #e9ecef;
	border-color: #dee2e6;
}

/* 响应式调整 */
@media (max-width: 768px) {
	.news-content {
		padding: 20px;
	}
	
	.news-detail {
		padding: 20px;
	}
	
	.news-detail .news-title {
		font-size: 22px;
	}
	
	.news-image {
		height: 150px;
	}
	
	.hot-news-image {
		width: 50px;
		height: 50px;
	}
}

/* 新闻详情页面增强样式 */
.breadcrumb-section {
    background: #f8f9fa;
    padding: 20px 0;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: #6c757d;
}

.breadcrumb-item a {
    color: #1e88e5;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: #0d47a1;
    text-decoration: underline;
}

/* 新闻详情页面样式增强 */
.news-detail .news-title {
    font-size: 28px !important;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.4;
}

.news-meta {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.meta-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.news-category {
    background: #1e88e5;
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.news-time {
    color: #666;
    font-size: 14px;
}

/* 社交分享按钮 */
.social-share {
    margin-top: 15px;
}

.share-btn {
    background: #666;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 5px;
}

.share-btn:hover {
    opacity: 0.8;
    transform: translateY(-1px);
}

/* 新闻摘要 */
.news-summary {
    background: #f8f9fa;
    padding: 20px;
    border-left: 4px solid #1e88e5;
    margin-bottom: 30px;
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

/* 新闻内容增强 */
.news-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.news-content p {
    margin-bottom: 16px;
}

.news-content img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: 4px;
}

/* 相关标签 */
.news-tags {
    margin: 40px 0;
    padding: 20px 0;
    border-top: 1px solid #eee;
}

.tag {
    background: #f0f0f0;
    color: #666;
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 12px;
    margin-left: 5px;
    display: inline-block;
    transition: all 0.3s ease;
}

.tag:hover {
    background: #1e88e5;
    color: white;
}

/* 导航链接增强 */
.news-navigation {
    margin-top: 40px;
    padding: 20px 0;
    border-top: 1px solid #eee;
}

.nav-prev, .nav-next {
    flex: 1;
}

.nav-next {
    text-align: right;
}

.news-navigation a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.news-navigation a:hover {
    color: #1e88e5;
    text-decoration: underline;
}