body {
	font-family: 'Open Sans', sans-serif;
}

:root {
	--text: #1f2328;
	--muted: #5a6472;
	--brand: #0b5fff;
	--card-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
	--card-shadow-hover: 0 16px 32px rgba(0, 0, 0, 0.22);
}
/* 隐藏滚动条 */
::-webkit-scrollbar {
	width: 0;
	/* 或者设置为不显示的宽度 */
	height: 0;
	/* 水平滚动条 */
}


input,
textarea {
	font-size: 0.8rem;
	border: 1px solid #ddd;
	background: #fff;
	padding: 0.5rem 0.7rem;
	margin: 5px 0;
	transition: all 0.3s ease-in-out;
	width: 100%;

}

input:focus,
textarea:focus {
	border-color: #777;
	outline: none;
}

.section {
	width: 90%;
	margin: 0 auto;
	padding: 22px 0;
}

.section-title {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin: 10px 0 12px;
}

.section-title h2 {
	margin: 0;
}

.section-subtitle {
	color: var(--muted);
	font-size: 1.05rem;
	margin: 0;
}

.hero {
	width: 90%;
	margin: 92px auto 18px;
	border-radius: 16px;
	padding: 34px 28px;
	color: var(--text);
	background:
		radial-gradient(1200px 450px at 15% 10%, rgba(11, 95, 255, 0.25), transparent 55%),
		radial-gradient(1000px 420px at 85% 0%, rgba(255, 90, 90, 0.22), transparent 60%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.55));
	border: 1px solid rgba(31, 35, 40, 0.08);
	box-shadow: var(--card-shadow);
	backdrop-filter: blur(8px);
}

.hero h1 {
	font-size: 42px;
	line-height: 1.15;
	margin: 0 0 10px;
}

.hero p {
	margin: 0 0 18px;
	color: var(--muted);
	font-size: 1.15rem;
	line-height: 1.8;
	max-width: 72ch;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 14px;
	border-radius: 10px;
	border: 1px solid rgba(31, 35, 40, 0.14);
	background: rgba(255, 255, 255, 0.85);
	color: var(--text);
	text-decoration: none;
	font-weight: 700;
	transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
	box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 10px 18px rgba(0, 0, 0, 0.16);
}

.btn-primary {
	background: rgba(11, 95, 255, 0.92);
	border-color: rgba(11, 95, 255, 0.8);
	color: #fff;
}

.btn-primary:hover {
	background: rgba(11, 95, 255, 1);
}

.btn-ghost {
	background: rgba(255, 255, 255, 0.55);
}

.kv {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
	margin-top: 14px;
}

.kv .kv-item {
	border: 1px solid rgba(31, 35, 40, 0.08);
	border-radius: 14px;
	padding: 14px 14px;
	background: rgba(255, 255, 255, 0.65);
	box-shadow: 0 6px 14px rgba(0, 0, 0, 0.10);
}

.kv .kv-item h3 {
	margin: 0 0 6px;
	font-size: 20px;
	text-shadow: none;
}

.kv .kv-item p {
	margin: 0;
	color: var(--muted);
	line-height: 1.8;
}

.muted {
	color: var(--muted);
}

.contact-grid {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 18px;
	align-items: start;
}

.card {
	border-radius: 14px;
	box-shadow: var(--card-shadow);
	border: 1px solid rgba(31, 35, 40, 0.08);
	background: rgba(255, 255, 255, 0.8);
	padding: 16px 16px;
}

.card:hover {
	box-shadow: var(--card-shadow-hover);
}

.card h3 {
	margin-top: 0;
	text-shadow: none;
}

.form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.form-actions {
	display: flex;
	gap: 10px;
	align-items: center;
	margin-top: 8px;
}

.small {
	font-size: 0.98rem;
}


.item-container {
	width: 90%;
	display: flex;
	flex-wrap: wrap;
	/* 让内容自动换行 */
	justify-content: space-between;
	/* 让两列均匀分布 */
	margin: 0 auto;
	/* 居中对齐 */
	margin-bottom: 30px;
}


.index-item {
	width: 48%;
	border-radius: 10px;
	box-shadow: var(--card-shadow);
	margin: 10px 0;
}


.inner-content {
	font-size: 20px;
	line-height: 2;
	margin-bottom: 60px;
}

.inner-content a {
	color: #333;
	text-decoration: none;
	border-bottom: 1px solid #bbb;
}

.inner-content a:hover {
	color: #000;
	text-decoration: none;
	border-bottom: 1px solid #555;
}

.inner-content img {
	border-radius: 10px;
	width: 100%;
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.content-container {
	width: 80%;
	margin: 0 auto;
}


h1,
h2,
h3 {
	font-family: 'Crimson Text', sans-serif;
	letter-spacing: 1px;
	font-weight: bold;
	margin-bottom: 20px;
	text-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.post-title h1 {
	font-size: 36px;
	font-weight: bold;
}

.navbar-container {
	width: 100%;
	position: fixed;
	top: 0;
	z-index: 1000;
	background-color: rgba(255, 255, 255, 0.5);
	border-bottom: 2px solid #595959;
	padding: 15px 0;
}

.navbar {
	width: 90%;
	margin: 0 auto;
	align-self: center;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.navbar-brand {
	font-size: 1.5rem;
	font-weight: bold;
	text-decoration: none;
	color: #333;
	transition: color 0.3s ease-in-out;
}

.navbar-brand:hover {
	color: #007bff;
}

.navbar-menu {
	list-style: none;
	display: flex;
	margin: 0;
	padding: 0;
}


.nav-item {
	margin-left: 20px;
}

.nav-link {
	text-decoration: none;
	color: #333;
	font-size: 1.1rem;
	font-weight: bold;
	padding: 8px 8px;
	border-radius: 5px;
	transition: color 0.3s ease-in-out;
}

.nav-link:hover {
	color: #005cdd;
	background-color: rgba(155, 203, 255, 0.5);
}

.index-img {
	width: 100%;
	height: 200px;
	object-fit: cover;
}

.project-img {
	display: block;
	margin: 0 auto;
	width: 70%;
	max-height: 90vh;
	object-fit: cover;
	border-radius: 10px;
}

.img-container,.video-container {
	width: 100%;
}

.page-img {
	margin-top: 60px;
	width: 100%;
	height: 50vh;
	border-radius: 10px;
	object-fit: cover;
}

.main-video {
	width: 100%;
	height: 85vh;
	border-radius: 10px;
	object-fit: cover;
}


.info-text {
	text-align: center;
	font-size: 1.2rem;
	margin: 20px 0;
	color: #333;
}

.info-text p {
	margin: 0;
	font-weight: bold;
}


/* Image Hover Effect */

.hovereffect {
	width: 100%;
	height: 100%;
	float: left;
	overflow: hidden;
	position: relative;
	text-align: center;
	border-radius: 10px;
}

.hovereffect .overlay {
	width: 100%;
	height: 100%;
	position: absolute;
	overflow: hidden;
	top: 0;
	left: 0;
}

.hovereffect .overlay-text {
	font-size: 26px;
	font-weight: bold;
	font-family: 'Crimson Text', sans-serif;
	color: rgb(255, 90, 90);
	left: 50%;
	position: absolute;
	top: 50%;
	width: 100%;
	transform: translate(-50%, -50%);
	opacity: 0;
	filter: alpha(opacity=0);
	transition: opacity 0.35s, transform 0.35s;
}

.hovereffect:hover .overlay-text {
	opacity: 1;
	filter: alpha(opacity=100);
}

.hovereffect img {
	display: block;
	position: relative;
	max-width: none;
	width: 100%;
	height: 100%;
	transition: opacity 0.35s, transform 0.35s;
	backface-visibility: hidden;
}

.hovereffect:hover img {
	opacity: 0.3;
	filter: alpha(opacity=30);
	transform: scale(1.1);
}


.page-nav {
	width: 50%;
	margin: 0 auto;
	text-align: center;
}

.page-nav a,
span {
	font-size: 1.3rem;
	font-weight: 300;
	margin: 0 10px;
	color: #000;
}

@media (max-width: 900px) {
	.hero {
		padding: 26px 18px;
	}

	.hero h1 {
		font-size: 34px;
	}

	.content-container {
		width: 90%;
	}

	.index-item {
		width: 100%;
	}

	.contact-grid {
		grid-template-columns: 1fr;
	}

	.form-row {
		grid-template-columns: 1fr;
	}

	.kv {
		grid-template-columns: 1fr;
	}
}