/* 成功案例页面样式 */

/* 顶部红色背景区域 */
.cases-hero {
	position: relative;
	width: 100%;
	height: 463px;
	overflow: hidden;
	background: #d32f2f;
}

.cases-hero-bg {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 0;
}

.cases-hero-bg .hero-bg-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.cases-hero-content {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1;
	max-width: 100%;
	margin: 0 auto;
	padding: 0 50px;
}

.hero-left {
	flex: 0 0 200px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 30px;
}

.hero-logo img {
	height: 80px;
	width: auto;
}

.hero-stats {
	text-align: center;
}

.stat-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	color: white;
}

.stat-number {
	font-size: 36px;
	font-weight: bold;
	margin-bottom: 8px;
}

.stat-label {
	font-size: 16px;
}

.hero-center {
	width: 689px;
	height: 223px;
	display: flex;
	border: 3px solid #FFF6C7;
	align-items: center;
	justify-content: center;
	gap: 30px;
}

.hero-title {
	font-weight: 600;
	font-size: 96px;
	background: linear-gradient(90deg, #FFF170 0%, #FFF6CA 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	text-stroke: 3px #683000;
	text-align: center;
	font-style: normal;
	text-transform: none;
	-webkit-text-stroke: 3px #683000;
	margin: 0;
}

.hero-cases-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	max-width: 600px;
}

.hero-case-item {
	width: 120px;
	height: 120px;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-case-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-right {
	flex: 0 0 200px;
	display: flex;
	justify-content: center;
}

.hero-info {
	display: flex;
	flex-direction: column;
	gap: 20px;
	color: white;
}

.info-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.info-label {
	font-size: 14px;
	margin-bottom: 5px;
	opacity: 0.9;
}

.info-value {
	font-size: 24px;
	font-weight: bold;
}

/* 案例列表区域 */
.cases-list {
	padding: 60px 0;
	background: #fef5f5;
	min-height: calc(100vh - 400px);
}

.breadcrumb {
	margin-bottom: 40px;
	font-size: 14px;
	color: #666;
	margin-left: 376px;
}

.breadcrumb a {
	color: #e74c3c;
	text-decoration: none;
}

.breadcrumb span {
	margin: 0 10px;
}

.cases-grid {
	display: grid;
	margin-top: 102px;
	grid-template-columns: repeat(3, 0fr);
	grid-row-gap: 84px;
	grid-column-gap: 102px;
	justify-content: center;
	margin-bottom: 60px;
}

.case-card {
	background: #fff;
	border-radius: 25px;
	width: 467px;
	height: 476px;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	transition: all 0.3s ease;
}

.case-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.case-image {
	width: 100%;
	height: 286px;
	overflow: hidden;
}

.case-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.case-card:hover .case-image img {
	transform: scale(1.05);
}

.case-info {
	padding: 20px;
}

.case-info h3 {
	font-size: 28px;
	color: #545454;
	margin-bottom: 8px;
	font-weight: normal;
}

.case-location {
	font-size: 28px;
	color: #545454;
	margin-bottom: 12px;
}

.case-result {
	font-size: 32px;
	color: #585858;
}

.case-result .highlight {
	color: #EB3D00;
	font-weight: bold;
}

.more-cases {
	text-align: center;
	padding: 40px 0;
}

.more-cases p {
	font-size: 18px;
	color: #666;
}

/* 响应式设计 */
@media (max-width: 1200px) {
	.cases-hero-content {
		padding: 0 30px;
	}

	.hero-cases-grid {
		grid-template-columns: repeat(2, 1fr);
		max-width: 400px;
	}

	.hero-case-item {
		width: 100px;
		height: 100px;
	}
}

@media (max-width: 992px) {
	.cases-hero {
		height: 300px;
	}

	.cases-hero-content {
		flex-direction: column;
		text-align: center;
		gap: 20px;
		padding: 20px;
	}

	.hero-left,
	.hero-right {
		flex: none;
	}

	.hero-title {
		font-size: 36px;
	}

	.hero-cases-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 15px;
	}

	.hero-case-item {
		width: 80px;
		height: 80px;
	}

	.cases-grid {
		grid-template-columns: repeat(2, 0fr);
		grid-column-gap: 50px;
		grid-row-gap: 50px;
	}
	
	.case-card {
		width: 350px;
		height: 380px;
	}
	
	.case-image {
		height: 220px;
	}
}

@media (max-width: 768px) {
	.cases-hero {
		height: 250px;
	}

	.hero-title {
		font-size: 28px;
	}

	.hero-cases-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}

	.hero-case-item {
		width: 70px;
		height: 70px;
	}

	.cases-grid {
		grid-template-columns: 1fr;
		grid-column-gap: 0;
		grid-row-gap: 30px;
		justify-items: center;
	}
	
	.case-card {
		width: 300px;
		height: 350px;
	}
	
	.case-image {
		height: 200px;
	}
	
	.case-info h3 {
		font-size: 20px;
	}
	
	.case-location {
		font-size: 18px;
	}
	
	.case-result {
		font-size: 20px;
	}

	.stat-number {
		font-size: 24px;
	}

	.info-value {
		font-size: 18px;
	}
}

@media (max-width: 480px) {
	.cases-hero-content {
		padding: 15px;
	}

	.hero-title {
		font-size: 24px;
	}

	.hero-case-item {
		width: 60px;
		height: 60px;
	}

	.case-info {
		padding: 15px;
	}

	.case-info h3 {
		font-size: 14px;
	}
}