/* 最终版 retrospective.css */

/* 1. 恢复 .wrap1 的背景图逻辑 */
.wrap1 {
	width: 100%;
	position: relative;
	/* 为 :before 伪元素提供定位上下文 */
	padding: 60px 0;
	min-height: calc(100vh - 250px);
}

h3 {
	font-size: 30px;
	color: #fff;
}

h2 {
	font-size: 34px;
	letter-spacing: 2px;
	/* font-weight: bold; */
	font-family: impact;
	color: #fff;
}

.wrap1:before {
	content: '';
	position: fixed;
	z-index: -1;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: url(https://hrflagfile.oss-cn-hangzhou.aliyuncs.com/Web/pd/2025/imgs/index1.jpg) no-repeat center;
	background-size: cover;
	background-position: bottom;
}

.review-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.page-title {
	font-size: 36px;
	color: #fff;
	text-align: center;
	margin-bottom: 50px;
	font-weight: 600;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.review-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 40px;
	margin-top: 40px;
}

.review-card {
	display: block;
	overflow: hidden;
	text-decoration: none;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}


/* 2. 图片容器和悬停效果的核心样式 */
.card-image {
	position: relative;
	/* 关键：为遮罩层提供定位父级 */
	width: 100%;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	/* 隐藏图片放大时溢出的部分 */
}

.card-image img {
	width: 100%;
	height: 100%;
	display: block;
}

/* 悬停遮罩层 */
.card-hover-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.4);
	/* 深蓝色半透明遮罩 */
	display: flex;
	justify-content: center;
	align-items: center;
	opacity: 0;
	/* 默认隐藏 */
	transition: opacity 0.3s ease;
}

/* 中央圆形按钮 */
.hover-button {
	width: 68px;
	height: 68px;
	border-radius: 50%;
	background-color: #082CA4;
	text-align: center;
	font-size: 14px;
	line-height: 18px;
	color: #FFFFFF;
	padding: 15px 0;
	position: absolute;
	top: 50%;
	left: 50%;
	opacity: 0;
	transform: translate(-50%, -50%) scale(0);
	z-index: 1;
	transition: all 0.6s ease;
}

.hover-button::after {
	content: '';
	width: 90px;
	height: 90px;
	border-radius: 50%;
	background-color: rgba(8, 44, 164, 0.6);
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: -1;
}

.review-card:hover .hover-button {
	opacity: 1;
	transform: translate(-50%, -50%) scale(1);
}

/* 3. 触发悬停效果 */
.review-card:hover .card-hover-overlay {
	opacity: 1;
	/* 悬停时显示遮罩 */
}

.card-caption {
	padding: 20px 25px;
	text-align: center;
}

.card-caption h3 {
	font-size: 20px;
	font-weight: 500;
	margin: 0;
	color: #fff;
	text-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
}


/* 移动端响应式设计 */
@media screen and (max-width: 768px) {
	.wrap1:before {
		background: url(https://hrflagfile.oss-cn-hangzhou.aliyuncs.com/Web/pd/2025/imgs/indexm1.jpg) no-repeat center;
		background-size: cover;
		background-position: bottom;
	}

	.wrap1 {
		padding: 40px 0;
		margin-top: 50px;
	}

	.page-title {
		font-size: 28px;
		margin-bottom: 30px;
	}

	.review-grid {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.hover-button {
		width: 80px;
		height: 80px;
		font-size: 18px;
	}

	.card-caption h3 {
		font-size: 18px;
	}
}