/* ===== 天气查询页 ===== */

/* 头图主区：背景大图 + 浮动面板 */
.weather-hero {
	position: relative;
	width: 100%;
	min-width: 1400px;
	height: 760px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* 背景图（位于面板下层） */
.weather-hero-bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
}

/* 面板容器：上下两块垂直排列 */
.weather-panels {
	position: relative;
	z-index: 1;
	width: 1280px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 26px;
	padding: 0 20px;
}

/* 通用深色面板风格 */
.weather-card,
.capacity-card {
	width: 100%;
	max-width: 980px;
	background: rgba(0, 0, 0, 0.85);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border-radius: 14px;
	padding: 28px 36px;
	color: #fff;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.capacity-card{
	background: rgba(0, 0, 0, 0.6);

}

/* ===== 上面板：天气 ===== */
.weather-card {
	display: flex;
	align-items: stretch;
	gap: 28px;
	min-height: 200px;
}

/* 左侧：当前天气 */
.weather-now {
	flex: 0 0 240px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	padding-right: 24px;
	border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.now-temp {
	font-size: 88px;
	font-weight: 300;
	line-height: 1;
	color: #fff;
	letter-spacing: -2px;
}

.now-temp sup {
	font-size: 40px;
	font-weight: 300;
	vertical-align: top;
	margin-left: 2px;
	position: relative;
	top: 8px;
}

.now-info {
	text-align: center;
	margin-top: 6px;
}

.now-wind {
	font-size: 15px;
	color: #fff;
	opacity: 0.9;
	margin-bottom: 4px;
}

.now-range {
	font-size: 14px;
	color: #fff;
	opacity: 0.7;
}

.now-icon {
	width: 70px;
	height: 70px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.now-icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* 右侧：5 天预报 */
.weather-days {
	flex: 1;
	display: flex;
	gap: 4px;
	list-style: none;
	padding: 0;
	margin: 0;
}

.day-item {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	padding: 4px 0;
	text-align: center;
	transition: transform 0.3s ease;
}

.day-item:hover {
	transform: translateY(-3px);
}

.day-name {
	font-size: 15px;
	color: #fff;
	opacity: 0.95;
	margin-bottom: 2px;
}

.day-date {
	font-size: 13px;
	color: #fff;
	opacity: 0.65;
	margin-bottom: 10px;
}

.day-icon {
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 10px;
}

.day-icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.day-temp {
	font-size: 16px;
	font-weight: 500;
	color: #fff;
	margin-bottom: 6px;
}

.day-temp sup {
	font-size: 10px;
	vertical-align: super;
	opacity: 0.8;
	margin: 0 1px;
}

.day-type {
	font-size: 12px;
	color: #fff;
	opacity: 0.75;
	line-height: 1.4;
}

.day-precip {
	font-size: 12px;
	color: #fff;
	opacity: 0.75;
	line-height: 1.4;
}

/* ===== 下面板：客流量 ===== */
.capacity-card {
	display: flex;
	align-items: center;
	justify-content: space-around;
	padding: 36px 40px;
	min-height: 170px;
}

.capacity-item {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	text-align: center;
}

.capacity-item + .capacity-item {
	border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.cap-icon {
	width: 42px;
	height: 42px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.cap-icon svg {
	width: 100%;
	height: 100%;
}

.cap-label {
	font-size: 15px;
	color: #fff;
	opacity: 0.9;
}

.cap-value {
	font-size: 22px;
	font-weight: 500;
	color: #fff;
	letter-spacing: 0.5px;
}

.cap-value span {
	font-size: 14px;
	font-weight: 400;
	opacity: 0.8;
	margin-left: 4px;
}

/* 响应式微调 */
@media (max-width: 1280px) {
	.weather-hero {
		height: 700px;
	}
	.weather-card,
	.capacity-card {
		max-width: 95%;
	}
	.weather-now {
		flex: 0 0 200px;
	}
	.now-temp {
		font-size: 72px;
	}
}
