/* 主样式文件 */

/* 全局样式 */
:root {
    --primary-color: #4a90e2;
    --secondary-color: #ffa200;
    --text-color: #333;
    --light-text: #666;
    --lighter-text: #999;
    --border-color: #e0e0e0;
    --bg-color: #ebf1f4;
    --white: #fff;
    --section-padding: 30px;
    --box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    --hover-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

body {
    background-color: var(--bg-color);
	background-image: gradient(to bottom, #cdeeff, #ebf1f4);
    color: var(--text-color);
    font-family: 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    background-image: linear-gradient(to bottom, #f8f9fa, #e9ecef);
    line-height: 1.5;
}
/* 通用样式 */
.shadow-box {
	box-shadow: var(--box-shadow);
}
.clearfix {
	clear: both;
}
.text-center {
	text-align: center;
}
.text-right {
	text-align: right;
}
.text-left {
	text-align: left;
}
/* 容器样式已移至responsive.css */

.section-title {
    font-size: 21px;
    margin-bottom: 20px;
    color: var(--text-color);
    position: relative;
    padding-left: 20px;
	font-weight: 500;
}
.section-subtitle {
	font-size: 14px;
	color: #97a0a4;
	font-weight: 500;
}
.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 24px;
    background-color: var(--secondary-color);
    border-radius: 10px;
}
.header {
	padding-top: 50px;
	padding-bottom: 40px;
	z-index: 999;
	position: relative;
}
.year-mark {
	position: absolute;
	top: 50px;
	writing-mode: vertical-lr;
	font-size: 85px;
	color: #b3bbbf;
	width: 80px;
	left: -90px;
	font-weight: bold;
	font-family: Georgia, 'Times New Roman', Times, serif;
}
.avatar {
	margin-top: 8px;
	margin-right: 40px;
	float: left;
	width: 150px;
	height: 150px;
	overflow: hidden;
	font-size: 0;
	border: 10px solid #fff;
	border-radius: 10px;
}
.avatar img {
	border-radius: 10px;
	overflow: hidden;
}
.user-info {
	overflow: hidden;
}
.username {
	padding-bottom: 20px;
}
.user-subtitle {
	font-size: 20px;
	color: #677277;
	margin-left: 20px;
}
.user-info-item {
	padding: 6px 0;
	color: #677277;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
	text-wrap: nowrap;
}
.line {
	border-top: 1px solid #ccd4d8;
	border-bottom: 1px solid #fff;
}
/* services-section */
.service {
	padding-top: 50px;
}
.service-item {	
	border-radius: 10px;
	display: inline-block;
	padding: 20px;
	background-color: #eff4f6;
	min-height: 270px;
	max-width: 300px;
	margin-bottom: 50px;
	cursor: pointer;
	box-shadow: 12px 12px 24px rgba(0, 0, 0, 0.1), -12px -12px 24px rgba(255, 255, 255, 0.8);
	transition: all 0.3s ease-in-out;
}
.service-item:hover {
	box-shadow: inset 12px 12px 24px rgba(0, 0, 0, 0.1), inset -12px -12px 24px rgba(255, 255, 255, 0.8);
}
.service-number {
	float: left;
	font-size: 32px;
	color: #677277;
}

.service-title-text {
	overflow: hidden;
	padding-left: 20px;
	font-size: 20px;
}
.service-subtitle {
	display: block;	
	font-size: 16px;
	color: #919b9f;
}
.service-desc {
	color: #6f7a7f;
}
/* skills */
.skill-item {
	margin: 15px 0;
}
.skill-number {
	float: left;
	font-size: 18px;
	height: 32px;
	line-height: 32px;
	text-align: center;
	width: 32px;
	border-radius: 32px;
	color: #fff;
	background-color: #60abd1;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.skill-desc {
	padding-left: 15px;
	overflow: hidden;
}
.skill-name {
	font-size: 20px;
}
.skill-desc-text {
	
	color: #677277;
}
/* project-img */
.project-img {
	position: relative;
	margin:  0 auto;
}
.project-img::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	top: 0;
}
.project-img .img-box {
	position: absolute;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}
.project-img.phone {
	width: 281px;
	height: 552px;
}
.project-img.phone::before {
	background: url(../images/case-bg1.png);

}
.project-img.phone .img-box {	
	left: 11px;
	right: 10px;
	bottom: 73px;
	top: 58px;
}

.project-img.pc {
	width: 452px;
	height: 325px;
}
.project-img.pc::before {
	background: url(../images/case-bg2.png);

}
.project-img.pc .img-box {	
	left: 14px;
	right: 14px;
	bottom: 59px;
	top: 14px;
}
.project-item {
	flex: 1;
	text-align: center;
}
.project-desc-text {
	padding: 12px 0;
	color: #8d969b;
}
.project-desc .btn {
	border: 1px solid #c1c9cc;
	padding: 5px 10px;
	font-size: 14px;
	border-radius: 50px;
	color: #8d969b;
	transition: all 0.3s ease-in-out;
}
.project-desc .btn:hover {
	background-color: var(--secondary-color);
	border-color: var(--secondary-color);
	color: #fff;
}
.footer {
	min-height: 463px;
	padding-bottom: 100px;
	position: relative;
	background: url(../images/footbg.jpg) no-repeat center bottom;
	background-size: cover;
}
.footer-content {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	border-top: 1px solid #fff;
	background-color: rgba(18, 61, 83, 0.1);
}
/* meid */
@media (max-width: 576px) {
	.avatar {
		float: none;
		margin: 0 auto 20px;
	}
	.footer {
		min-height: 242px;
	}
}
@media (max-width: 768px) {
	.service {
		display: block !important;
	}
	.service-item {
		margin-left: auto;
		margin-right: auto;
		display: block;
	}
	.projects-content {
		display: block !important;
	}
	.project-item {
		margin-left: auto;
		margin-left: auto;
		display: block;
	}
	.project-img {
		margin: 0 auto;
	}
	.project-img.pc {
		width: 348px;
		height: 250px;
	}
	.project-img::before {
		background-size: cover !important;
	}
	.project-img.pc .img-box {
		left: 11px;
		top: 11px;
		right: 11px;
		bottom: 47px;
		border-radius: 3px;
	}
	.footer {
		min-height: 363px;
	}
}