/* 面包屑 */
.breadcrumb {
	margin-top: 100px;
	padding: 20px 0;
	background: #f0f0f0
}

.breadcrumb ol {
	list-style: none;
	display: flex;
	gap: 10px;
	font-size: 14px
}

.breadcrumb a {
	color: #666
}

.breadcrumb a:hover {
	color: #e74c3c
}

.breadcrumb li:last-child {
	color: #333;
	font-weight: 500
}

/* 页面标题 */
.page-header {
	background: linear-gradient(135deg, #2c3e50, #34495e);
	color: #fff;
	padding: 60px 0;
	text-align: center
}

.page-header h1 {
	font-size: 42px;
	margin-bottom: 15px
}

.page-header p {
	font-size: 18px;
	opacity: .9
}



/* 案例卡片网格 - 一行4个 */
.cases-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
	padding: 60px 0
}

.case-card {
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0, 0, 0, .08);
	transition: all .3s ease
}

.case-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 15px 30px rgba(0, 0, 0, .15)
}

.case-img {
	height: 200px;
	overflow: hidden;
	position: relative;
}

.case-img i {
	display: inline-block;
	width: 60px;
	height: 60px;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	background: url(https://www.fc0633.com/static/mobile/img/vr_ico.png) no-repeat;
	background-size: 100% 100%;
	z-index: 50;
}

.case-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s ease
}

.case-card:hover .case-img img {
	transform: scale(1.1)
}

.case-content {
	padding: 20px
}

.case-title {
	font-size: 18px;
	color: #2c3e50;
	margin-bottom: 8px
}

.case-meta {
	display: flex;
	gap: 15px;
	font-size: 14px;
	color: #666;
	margin-bottom: 10px
}

.case-desc {
	font-size: 14px;
	color: #666;
	line-height: 1.6;
	margin-bottom: 15px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden
}

.case-footer {
	display: flex;
	justify-content: space-between;
	align-items: center
}

.case-price {
	color: #e74c3c;
	font-size: 20px;
	font-weight: bold
}

.case-link {
	color: #e74c3c;
	font-size: 14px;
	font-weight: 500;
	transition: color .3s ease
}

.case-link:hover {
	color: #c0392b
}

/* 分页 */
.pagination {
	display: flex;
	justify-content: center;
	gap: 10px;
	padding: 40px 0
}

.page-btn {
	padding: 10px 15px;
	border: 1px solid #ddd;
	background: #fff;
	color: #666;
	border-radius: 5px;
	cursor: pointer;
	transition: all .3s ease;
	text-decoration: none
}

.page-btn:hover,
.page-btn.active {
	background: #e74c3c;
	color: #fff;
	border-color: #e74c3c
}

.page-btn:disabled {
	opacity: .5;
	cursor: not-allowed
}




/* ====== 案例标题 ====== */
.case-header {
	background: #fff;
	padding: 40px 0;
	text-align: center
}

.case-header h1 {
	font-size: 42px;
	color: #2c3e50;
	margin-bottom: 10px
}

.case-meta {
	display: flex;
	justify-content: center;
	gap: 25px;
	margin-top: 15px;
	font-size: 16px;
	color: #666
}

.case-meta span {
	display: flex;
	align-items: center;
	gap: 5px
}

/* ====== 主内容区 ====== */
.case-detail {
	padding: 60px 0
}

.detail-grid {
	display: grid;
	grid-template-columns: 1fr 380px;
	gap: 40px;
	align-items: start
}

/* 图片画廊 */
.gallery {
	margin-bottom: 40px
}

.main-img {
	height: 500px;
	border-radius: 10px;
	overflow: hidden;
	margin-bottom: 20px
}

.vr {
	height: 800px;
	border-radius: 10px;
	overflow: hidden;
	width: 1200px;
	margin: 20px auto;
}

.main-img img {
	width: 100%;
	height: 100%;
	object-fit: cover
}

.thumb-list {
	display: flex;
	gap: 10px;
	flex-wrap: wrap
}

.thumb-item {
	width: 90px;
	height: 90px;
	border-radius: 6px;
	overflow: hidden;
	cursor: pointer;
	opacity: .7;
	transition: opacity .3s ease
}

.thumb-item.active,
.thumb-item:hover {
	opacity: 1;
	border: 2px solid #e74c3c
}

/* 案例信息 */
.info-card {
	background: #fff;
	padding: 30px;
	border-radius: 10px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, .08)
}

.info-card h3 {
	font-size: 24px;
	color: #2c3e50;
	margin-bottom: 20px
}

.info-row {
	display: flex;
	justify-content: space-between;
	padding: 12px 0;
	border-bottom: 1px solid #eee;
	font-size: 15px
}

.info-row:last-child {
	border-bottom: none
}

.info-label {
	color: #999
}

.info-value {
	color: #333;
	font-weight: 500
}

.price-tag {
	font-size: 28px;
	color: #e74c3c;
	font-weight: bold;
	margin-top: 10px
}

/* 描述内容 */
.desc-section {
	background: #fff;
	padding: 30px;
	border-radius: 10px;
	margin-bottom: 40px
}

.desc-section h3 {
	font-size: 24px;
	color: #2c3e50;
	margin-bottom: 15px
}

.desc-section p {
	color: #666;
	line-height: 1.8;
	margin-bottom: 15px
}

/* 效果图展示 */
.effect-imgs {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px
}

.effect-img {
	height: 220px;
	border-radius: 8px;
	overflow: hidden;
	cursor: pointer;
	transition: transform .4s ease
}

.effect-img img {
	height: 220px;
	width: 100%;
}

.effect-img:hover {
	transform: scale(1.03)
}

/* 侧边栏 */
.sidebar {
	background: #fff;
	padding: 30px;
	border-radius: 10px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, .08)
}

.sidebar h4 {
	font-size: 20px;
	color: #2c3e50;
	margin-bottom: 20px;
	text-align: center
}

.consult-form .form-group {
	margin-bottom: 20px
}

.consult-form label {
	display: block;
	margin-bottom: 8px;
	color: #2c3e50;
	font-weight: 500
}

.consult-form input,
.consult-form select,
.consult-form textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #ddd;
	border-radius: 6px;
	font-size: 14px;
	transition: all .3s ease
}

.consult-form input:focus,
.consult-form select:focus,
.consult-form textarea:focus {
	outline: none;
	border-color: #e74c3c;
	box-shadow: 0 0 0 3px rgba(231, 76, 60, .1)
}

.submit-btn {
	width: 100%;
	padding: 12px;
	background: linear-gradient(135deg, #e74c3c, #c0392b);
	color: #fff;
	border: none;
	border-radius: 6px;
	font-size: 16px;
	font-weight: bold;
	cursor: pointer;
	transition: all .3s ease
}

.submit-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(231, 76, 60, .3)
}

.form-note {
	font-size: 12px;
	color: #999;
	text-align: center;
	margin-top: 10px
}

/* 推荐案例 */
.recommend {
	margin-top: 40px
}

.recommend h4 {
	font-size: 18px;
	margin-bottom: 15px
}

.recommend-item {
	display: flex;
	gap: 12px;
	margin-bottom: 15px;
	cursor: pointer
}

.recommend-item img {
	width: 80px;
	height: 60px;
	border-radius: 4px;
	object-fit: cover
}

.recommend-info {
	flex: 1
}

.recommend-title {
	font-size: 14px;
	color: #333;
	margin-bottom: 4px
}

.recommend-meta {
	font-size: 12px;
	color: #999
}


/* ========== 新增：图片查看器样式 ========== */
.img-viewer {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.9);
	z-index: 9999;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.img-viewer.show {
	display: flex;
}

.viewer-content {
	position: relative;
	max-width: 90%;
	max-height: 90%;
}

.viewer-img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	border-radius: 8px;
}

.viewer-close {
	position: absolute;
	top: -40px;
	right: 0;
	color: #fff;
	font-size: 30px;
	cursor: pointer;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
}

.viewer-close:hover {
	color: #e74c3c;
	transform: rotate(90deg);
}

.viewer-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 50px;
	height: 50px;
	background: rgba(255, 255, 255, 0.2);
	color: #fff;
	border: none;
	border-radius: 50%;
	font-size: 24px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	z-index: 10;
}

.viewer-btn:hover {
	background: rgba(231, 76, 60, 0.8);
}

.viewer-prev {
	left: -60px;
}

.viewer-next {
	right: -60px;
}

.viewer-indicator {
	position: absolute;
	bottom: -40px;
	left: 50%;
	transform: translateX(-50%);
	color: #fff;
	font-size: 14px;
}

/* 响应式调整图片查看器 */
@media (max-width: 768px) {
	.viewer-btn {
		width: 40px;
		height: 40px;
		font-size: 18px;
	}

	.viewer-prev {
		left: -40px;
	}

	.viewer-next {
		right: -40px;
	}

	.viewer-close {
		top: -30px;
		font-size: 24px;
	}
}

/* 响应式 */
@media (max-width:768px) {
	.detail-grid {
		grid-template-columns: 1fr
	}

	.case-header h1 {
		font-size: 32px
	}

	.case-meta {
		flex-wrap: wrap;
		gap: 15px
	}

	.main-img {
		height: 300px
	}
}