/* 全局基础样式 */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body, html {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-family: 'Lato', sans-serif;
	color: #f0e6ff;
	background: linear-gradient(135deg, #1a0633 0%, #2c0b55 100%);
	overflow-x: hidden;
	min-height: 100vh;
	line-height: 1.6;
}

::-webkit-scrollbar { width: 2px; }
::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.1); }
::-webkit-scrollbar-thumb { background: rgba(0, 0, 0, 0.5); }

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* 导航栏样式 */
#menu {
	margin-bottom: 0;
	background-color: #4c4c4c;
	padding: 10px 0;
	height: auto;
	border: 0px;
}

.navbar-brand { padding: 12px 15px }
.navbar-nav > li > a {
	font-size: 13px;
	font-weight: 700;
	padding: 8px 16px;
	margin: 8px 4px;
	text-transform: uppercase;
	transition: all 0.5s;
	color: #616161;
}

.navbar-default .navbar-nav > li > a.active,
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
	color: #DC3838;
}

.navbar-default .navbar-toggle { border-color: transparent }
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus { background-color: transparent }

/* 主页区域样式 */
#home {
	background: url(../img/bg/01.jpg);
	background-size: cover;
	background-position: right center;
	background-attachment: fixed;
	color: #828282;
}

#home .overlay {
	background: rgba(138, 0, 0, 0.16);
	padding: 20% 0;
	text-align: left;
}

#home h1 { 
	color: #010101; 
	line-height: 64px; 
	font-size: 44px;
	text-align: left;
}

.content-heading p.lead { 
	margin-bottom: 42px; 
	color: #010101;
	text-align: left;
	font-size: 21px;
	font-weight: 500;
}

/* 简介区域样式 */
#intro {
	background-color: #990099EE;
	padding: 5% 0;
	color: #ffffff;
	text-align: center;
	border-top: dotted 2px #FFF;
}

#intro h1 {
	color: #fff;
}

/* "我的现在"区域样式 */
#whatIdo { 
	padding: 60px 0; 
	background-color: #4C4C4CEE; 
	color: #909090;
}

.section-header {
	padding: 40px 0;
	text-align: center;
}

.section-header h2 { 
	text-transform: uppercase; 
	color: #DB3838;
}

.section-header h5 { 
	letter-spacing: 1px; 
	color: #1B1B1B;
}

.fancy {
	line-height: 0.5;
	text-align: center;
	margin-bottom: 40px;
	margin-top: 20px;
}

.fancy span {
	display: inline-block;
	position: relative;
}

.fancy span:before,
.fancy span:after {
	content: "";
	position: absolute;
	height: 5px;
	border-bottom: 1px #DB3838 dashed;
	top: 15px;
	width: 400px;
}

.fancy span:before {
	right: 100%;
}

.fancy span:after {
	left: 100%;
}

.service { 
	margin-bottom: 20px; 
}

.service .media-left i.fa {
	text-align: center;
	font-size: 30px;
	color: #DB3838;
	padding: 25px 0;
	border-radius: 0;
	margin: 0 10px;
	margin-left: 20px;
	width: 82px;
	height: 80px;
	transition: background-color 0.5s;
	background: transparent;
	border: 1px dashed;
}

h4.media-heading {
	margin-top: 0;
	margin-bottom: 5px;
	font-size: 16px;
	font-weight: 400;
	text-transform: uppercase;
	color: #333;
	line-height: 20px;
}

/* "我的昨天"区域样式 */
#experience { 
	padding: 60px 0 20px 0;
	background-color: #4C4C4CEE; 
	color: #909090;
}

.experience { 
	margin-bottom: 40px; 
}

.experience i.fa {
	text-align: center;
	font-size: 30px;
	color: #DB3838;
	padding: 25px 0;
	margin: 0 10px;
	margin-right: 20px;
	width: 92px;
	height: 90px;
	transition: background-color 0.5s;
	background: transparent;
	border: 1px dashed;
}

/* 作品集轮播区域样式 */
#works { 
	padding: 60px 0;
	background-color: #4C4C4CEE;
}

.section-container {
	padding: 60px 0 100px;
	position: relative;
}

.carousel-container {
	perspective: 1800px;
	height: 520px;
	position: relative;
	margin: 0 auto;
	overflow: visible;
	touch-action: pan-y;
	cursor: grab;
}

.carousel {
	width: 100%;
	height: 100%;
	position: relative;
	transform-style: preserve-3d;
	transition: transform 0.8s cubic-bezier(0.25, 0.45, 0.45, 0.95);
}

.card {
	position: absolute;
	width: 340px;
	height: 440px;
	top: 50%;
	left: 50%;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
	transition: all 0.6s cubic-bezier(0.25, 0.45, 0.45, 0.95);
	cursor: pointer;
	transform: translate(-50%, -50%);
	background: linear-gradient(145deg, #5a2d8c, #7a3fb8);
	border: 1px solid rgba(255, 255, 255, 0.15);
	will-change: transform, box-shadow, z-index;
	backface-visibility: hidden;
}

.card-content {
	position: relative;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.card-img {
	width: 100%;
	height: 320px;
	background-size: cover;
	background-position: center;
	transition: all 0.6s ease;
	position: relative;
	transform-origin: top center;
}

.card-img:after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 45%;
	background: linear-gradient(to top, rgba(90, 45, 140, 0.95), transparent);
}

.card-info {
	padding: 5px;
	color: white;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	text-align: center;
}

.card-title {
	font-size: 1.7rem;
	margin-bottom: 15px;
	font-weight: 700;
	color: #ffcc33;
	text-transform: uppercase;
	letter-spacing: 1px;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.card-desc {
	font-size: 1.05rem;
	color: rgba(255, 255, 255, 0.9);
	line-height: 1.7;
	font-weight: 300;
	margin-bottom: 20px;
}

.card-btn {
	display: inline-block;
	margin-top: 10px;
	padding: 12px 28px;
	background: linear-gradient(to right, #DB3838, #c03030);
	color: white;
	border-radius: 30px;
	font-size: 1.05rem;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.4s ease;
	transform: translateY(15px);
	border: none;
	text-transform: uppercase;
	letter-spacing: 1px;
	box-shadow: 0 5px 20px rgba(219, 56, 56, 0.4);
	opacity: 0;
	align-self: center;
}

.controls {
	display: flex;
	justify-content: center;
	margin-top: 50px;
	gap: 35px;
}

.control-btn {
	width: 75px;
	height: 75px;
	border-radius: 50%;
	background: rgba(102, 0, 153, 0.2);
	border: 2px solid #ffcc33;
	color: #ffcc33;
	font-size: 1.8rem;
	cursor: pointer;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: all 0.4s cubic-bezier(0.25, 0.45, 0.45, 0.95);
	backdrop-filter: blur(10px);
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.control-btn:hover {
	background: rgba(219, 56, 56, 0.3);
	color: white;
	transform: scale(1.1) rotate(10deg);
	border-color: #DB3838;
	box-shadow: 0 8px 25px rgba(219, 56, 56, 0.5);
}

.indicators {
	display: flex;
	justify-content: center;
	gap: 15px;
	margin-top: 35px;
}

.indicator {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: rgba(102, 0, 153, 0.4);
	cursor: pointer;
	transition: all 0.4s cubic-bezier(0.25, 0.45, 0.45, 0.95);
	border: 2px solid transparent;
}

.indicator.active {
	background: #DB3838;
	transform: scale(1.3);
	box-shadow: 0 0 15px rgba(219, 56, 56, 0.8);
	border-color: #ffcc33;
}

.card:hover {
	transform: translate(-50%, -50%) translateZ(120px) scale(1.12);
	z-index: 10;
	box-shadow: 0 35px 70px rgba(0, 0, 0, 0.7);
}

.card:hover .card-btn {
	opacity: 1;
	transform: translateY(0);
}

.depth-indicator {
	position: absolute;
	bottom: -30px;
	left: 50%;
	transform: translateX(-50%);
	height: 4px;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 2px;
	width: 80%;
	z-index: 5;
}

.depth-indicator-inner {
	height: 100%;
	width: 40%;
	background: linear-gradient(to right, #ffcc33, #DB3838);
	border-radius: 2px;
	transition: transform 0.6s cubic-bezier(0.25, 0.45, 0.45, 0.95);
}

/* 响应式调整 */
@media (max-width: 1100px) {
	.carousel-container { height: 480px; }
	.card { width: 310px; height: 400px; }
	.card-img { height: 300px; }
}

@media (max-width: 900px) {
	.carousel-container { height: 420px; }
	.card { width: 280px; height: 370px; }
	.card-img { height: 280px; }
	.card-title { font-size: 1.5rem; }
}

@media (max-width: 768px) {
	#home {
		background-attachment: scroll;
	}
	
	h1 {
		font-size: 1.5rem;
	}
	
	p {
		font-size: 1rem;
	}
	
	.carousel-container { height: 380px; }
	.card { width: 250px; height: 340px; }
	.card-img { height: 260px; }
	.card-info { padding: 3px; }
	.card-title { font-size: 1.3rem; }
	.card-desc { font-size: 0.9rem; }
}

@media (max-width: 576px) {
	.carousel-container { height: 340px; }
	.card { width: 220px; height: 300px; }
	.card-img { height: 230px; }
	.controls { gap: 25px; }
	.control-btn { width: 60px; height: 60px; font-size: 1.5rem; }
}

/* 关于我区域样式 */
#about {
	background: #4C4C4CEE;
	color:#909090;
	padding:80px 0;
}

#about h1 {
	color:#999;
	font-size:36px;
	line-height:42px;
	font-weight:300;
	margin-bottom:24px;
	position:relative;
}

#about h2, #about h5 {
	color:#DB3838;
}

#about p {
	font-size: 18px;
	line-height:36px;
	font-weight:300;
	margin-bottom: 8px;
}

.skills {
	margin-top: 0;
	padding: 0;
	text-align: left;
	font-size: 13px;
	margin-left: 20px;
}

.skillset p {
	font-size: 13px;
	margin-bottom: 5px;
}

.progress {
	height: 12px;
	margin-bottom: 20px;
	overflow: hidden;
	background-color: #3A3A3A;
	border-radius: 0;
	-webkit-box-shadow: none;
	box-shadow: none;
}

.progress-bar {
	float: left;
	height: 100%;
	font-size: 12px;
	line-height: 20px;
	color: #fff;
	text-align: center;
	background-color: #DC3838;
	-webkit-box-shadow: none;
	box-shadow: none;
	-webkit-transition: width .6s ease;
	-o-transition: width .6s ease;
	transition: width .6s ease;
}

/* 联系我区域样式 */
#contact { 
	padding: 60px 0;
	background-color: #4C4C4CEE;
}

.contact-detail {
	text-align: center;
	margin: 0px 0;
}

.contact-detail i.fa {
	text-align: center;
	font-size: 30px;
	color: #DB3838;
	padding: 25px 0;
	border-radius: 0;
	margin: 0 10px;
	margin-right: 20px;
	width: 82px;
	height: 80px;
	transition: background-color 0.5s;
	border: dashed 1px #DB3838;
	background: transparent;
}

.contact-detail:hover i.fa { background-color: #333333 }

form#contact-form { padding: 40px 0 }

.form-control {
	display: block;
	width: 100%;
	height: 44px;
	padding: 22px 12px;
	font-size: 14px;
	line-height: 1.42857143;
	color: #f0f;
	background-color: transparent;
	background-image: none;
	border: 1px solid #333;
	border-radius: 4px;
	-webkit-box-shadow: none;
	box-shadow: none;
	border-radius: 0;
}

.btn {
	font-size: 12px;
	word-spacing: 2px;
	font-weight: 700;
	padding: 10px 20px;
	background-color: #38A5DB;
	text-transform: uppercase;
	transition: all 0.5s;
	border-radius: 0;
	border: 0;
	color: #FFF;
}

.btn:hover {
	background-color: #333333;
}

.color {
	background-color: #38A5DB;
}

/* 页脚样式 */
#footer {
	padding: 35px 0 10px;
	background-color: #4C4C4CEE;
	color: #ffffff;
}

ul.social li a i {
	font-size: 18px;
	background: transparent;
	width: 32px;
	height: 32px;
	padding: 7px 0;
	text-align: center;
	border-top-left-radius: 0;
	border: 1px solid transparent;
	color: #ffffff;
	transition: all 0.5s;
}

ul.social li a i:hover { border-color: #ffffff }