/* ===============================
   Contact 样式 - style-contact.css
=============================== */

/* ===== Container & Layout ===== */
.contact-container {
	display: flex;
	gap: 40px;
	justify-content: center;
	align-items: flex-start;
	flex-wrap: wrap;
	margin-top: 20px;
}

.contact-info,
.contact-form {
	flex: 1;
	min-width: 260px;
	font-size: 1rem;
	line-height: 1.8;
}

/* ===== Contact Info ===== */
.contact-info a {
	color: #e94e77;
	font-weight: bold;
}

.social-links {
	margin-top: 15px;
	display: flex;
	gap: 15px;
}

.social-links img {
	width: 28px;
	height: 28px;
	transition: transform 0.3s;
}

.social-links img:hover {
	transform: scale(1.2);
}

/* ===== Contact Form ===== */
.contact-form {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.contact-form input,
.contact-form textarea {
	padding: 12px;
	border-radius: 8px;
	border: 1px solid #ccc;
	width: 100%;
	font-size: 1rem;
	transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
	outline: none;
	border-color: #e94e77;
}

.contact-form button {
	padding: 12px;
	border: none;
	border-radius: 8px;
	background: #e94e77;
	color: #fff;
	font-weight: bold;
	cursor: pointer;
	transition: background 0.3s, transform 0.2s;
}

.contact-form button:hover {
	background: #d23d6c;
	transform: translateY(-2px);
}

.contact-form button:disabled {
	background: #ccc;
	cursor: not-allowed;
}

/* ===== Footer ===== */
.contact-footer {
	margin-top: 40px;
	text-align: center;
	font-size: 0.9rem;
	color: #666;
}

/* ===== Toast 提示 ===== */
.toast {
	position: fixed;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
	background: #4caf50;
	color: #fff;
	padding: 12px 20px;
	border-radius: 8px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
	animation: fadeUp 0.3s ease;
	z-index: 2000;
}

.toast.error {
	background: #e94e77;
}

/* ===== Case 卡片微调 (Contact 专用) ===== */
.case-card {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	background: #fff;
	border-radius: 15px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
	padding: 20px;
	max-width: 300px;
	height: 450px;
	transition: transform 0.3s;
}

.case-card:hover {
	transform: translateY(-5px);
}

.case-top {
	text-align: center;
}

.case-top img {
	max-width: 100%;
	border-radius: 10px;
	object-fit: cover;
}

.case-middle {
	margin-top: 15px;
	flex-grow: 1;
}

.case-title {
	font-size: 1.2rem;
	font-weight: bold;
	text-align: left;
	margin-bottom: 5px;
}

.case-subtitle {
	font-size: 0.9rem;
	color: #666;
	text-align: left;
}

.case-bottom {
	display: flex;
	justify-content: space-between;
	margin-top: 15px;
}

.stat-block {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.stat-number {
	font-weight: bold;
	font-size: 1rem;
}

.stat-label {
	font-size: 0.8rem;
	color: #888;
}

/* ===== Animations ===== */
@keyframes fadeUp {
	from {
		opacity: 0;
		transform: translateY(10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
	.contact-container {
		flex-direction: column;
		gap: 20px;
	}

	.case-card {
		max-width: 100%;
		height: auto;
	}
}