:root {
	--primary-color: #ff6900;
	--secondary-color: #333333;
	--accent-gold: #cda485;
	--accent-silver: #858789;
	--light-bg: #f8f9fa;
}

body {
	font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
	color: var(--secondary-color);
	overflow-x: hidden;
}

/* 品牌字体 */
.brand-font {
	font-weight: 700;
	letter-spacing: 1px;
}

/* Banner区域 */
.banner {
/* 	background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
		url("https://images.unsplash.com/photo-1503376780353-7e6692767b70?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80") no-repeat center center; */
	background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
		url("../img/hero-slide-1.jpg") no-repeat center center;
	background-size: cover;
	height: 80vh;
	display: flex;
	align-items: center;
	color: white;
	position: relative;
}

.banner-content {
	max-width: 800px;
	margin: 0 auto;
	text-align: center;
	padding: 20px;
}

.banner-title {
	font-size: 3.5rem;
	font-weight: 700;
	margin-bottom: 20px;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.banner-subtitle {
	font-size: 1.5rem;
	margin-bottom: 30px;
	font-weight: 300;
}

/* 公司介绍 */
.about-section {
	padding: 100px 0;
	background-color: white;
}

.about-image {
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	height: 400px;
	background: url("../img/index-one.jpg") center center/cover;
}

.about-content h2 {
	font-size: 2.5rem;
	font-weight: 700;
	margin-bottom: 30px;
	color: var(--secondary-color);
}

.about-content h2 span {
	color: var(--primary-color);
}

.about-content p {
	font-size: 1.1rem;
	line-height: 1.8;
	margin-bottom: 20px;
	color: #555;
}

.brand-values {
	display: flex;
	margin-top: 30px;
	flex-wrap: wrap;
}

.value-item {
	flex: 1;
	min-width: 150px;
	text-align: center;
	padding: 20px;
	margin: 10px;
	border-radius: 8px;
	background: var(--light-bg);
	transition: all 0.3s;
}

.value-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.value-item h3 {
	font-size: 1.1rem;
	margin-top: 15px;
	color: var(--primary-color);
}

/* 新增品牌价值部分的样式 */
.brand-values {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	margin-top: 30px;
}

.value-item {
	flex: 1;
	min-width: 200px;
	max-width: 250px;
	text-align: center;
	padding: 25px 15px;
	margin: 15px;
	border-radius: 12px;
	background: var(--light-bg);
	transition: all 0.3s ease;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.value-item:hover {
	transform: translateY(-8px);
	box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.value-item h3 {
	font-size: 1.2rem;
	margin: 15px 0 10px;
	color: var(--primary-color);
	font-weight: 600;
}

.value-item p {
	font-size: 0.95rem;
	color: #666;
	line-height: 1.6;
	margin: 0;
}

/* 案例展示 */
.cases-section {
	padding: 100px 0;
	background: var(--light-bg);
}

.section-title {
	text-align: center;
	margin-bottom: 60px;
}

.section-title h2 {
	font-size: 2.8rem;
	font-weight: 700;
	color: var(--secondary-color);
	position: relative;
	display: inline-block;
}

.section-title h2::after {
	content: "";
	position: absolute;
	bottom: -15px;
	left: 50%;
	transform: translateX(-50%);
	width: 80px;
	height: 4px;
	background: var(--primary-color);
}

.case-card {
	background: white;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
	transition: all 0.3s;
	height: 100%;
}

.case-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.case-image {
	height: 300px;
	background-size: cover;
	background-position: center;
}

.case-content {
	padding: 25px;
}

.case-content h3 {
	font-size: 1.5rem;
	font-weight: 700;
	margin-bottom: 15px;
	color: var(--secondary-color);
}

.case-content p {
	color: #666;
	line-height: 1.6;
}

/* 案例描述文本 - 限制两行显示 */
.index-pOne {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	line-height: 1.6 !important;
	max-height: 3.6em; /* 2行的高度 (1.6 * 2) + 缓冲 */
	word-break: break-word;
}

.case-location {
	display: flex;
	align-items: center;
	margin-top: 15px;
	color: var(--primary-color);
	font-weight: 500;
}
.case-location a{
    color: var(--primary-color);
    text-decoration: none;
}
/* 修改后的轮播图样式 */
.swiper {
	width: 100%;
	height: auto;
	padding: 20px 0 40px;
	overflow: hidden;
}

.swiper-wrapper {
	padding: 10px 0;
	align-items: stretch; /* 确保所有幻灯片高度一致 */
}

.swiper-slide {
	height: auto; /* 自动高度 */
	display: flex;
	justify-content: center;
}

/* 移除缩放效果，所有卡片保持相同大小 */
.swiper .swiper-slide {
	opacity: 1;
	transform: scale(1);
	transition: all 0.4s ease;
}

/* 确保卡片高度一致 */
.case-card {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.case-image {
	flex: 0 0 auto; /* 固定图片高度 */
}


/* 响应式调整 */
@media (max-width: 992px) {
	.banner-title {
		font-size: 2.8rem;
	}

	.banner-subtitle {
		font-size: 1.2rem;
	}

	.about-section {
		padding: 70px 0;
	}

	.about-image {
		margin-bottom: 40px;
	}

	.value-item {
		min-width: 180px;
		padding: 20px 10px;
	}
}

@media (max-width: 768px) {
	.banner {
		height: 60vh;
	}

	.banner-title {
		font-size: 2.2rem;
	}

	.section-title h2 {
		font-size: 2.2rem;
	}

	.value-item {
		min-width: 100%;
	}

	.brand-values {
		flex-direction: column;
		align-items: center;
	}

	.value-item {
		width: 100%;
		max-width: 350px;
		margin: 10px 0;
	}
    /* 移动端案例展示 - 强制只显示一个案例 */
    .swiper {
        padding: 15px 0 30px;
        overflow: hidden;
        width: 100%;
    }

    /* 强制手机端只显示一个slide */
    .swiper .swiper-wrapper {
        width: 100% !important;
    }

    .swiper .swiper-slide {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
        padding: 0 15px;
        box-sizing: border-box;
    }

    .case-card {
        margin: 0 auto;
        max-width: 100%;
        width: 100%;
    }

    .case-card {
        margin: 0 auto;
        max-width: 100%;
    }
}

@media (max-width: 576px) {
	.banner-title {
		font-size: 1.8rem;
	}

	.banner-subtitle {
		font-size: 1rem;
	}

	.section-title h2 {
		font-size: 1.8rem;
	}
}

/* 超大屏手机 (iPhone 14 Pro Max, iPhone 15 Pro Max) */
@media (max-width: 430px) {
	.banner {
		height: 55vh;
	}

	.banner-title {
		font-size: 1.7rem;
		line-height: 1.3;
	}

	.banner-subtitle {
		font-size: 0.95rem;
	}

	.section-title h2 {
		font-size: 1.7rem;
	}

	.about-section {
		padding: 50px 0;
	}

	.value-item {
		padding: 15px 8px;
		margin: 8px 0;
	}

	/* 案例展示优化 */
	.swiper {
		padding: 12px 0 25px;
	}

	.swiper .swiper-slide {
		/* 强制手机端占满整个宽度 */
		width: 100% !important;
		flex: 0 0 100% !important;
		max-width: 100% !important;
	}

	.case-card {
		padding: 15px;
	}

	.case-content h3 {
		font-size: 1.1rem;
	}

	.case-content p {
		font-size: 0.85rem;
	}

	/* 调整小屏幕下的两行显示 */
	.index-pOne {
		max-height: 3.2em; /* 0.85rem字体的两行高度 + 缓冲 */
	}
}

/* 大屏手机 (iPhone 11 Pro Max, iPhone 12 Pro Max) */
@media (max-width: 414px) {
	.banner-title {
		font-size: 1.6rem;
	}

	.banner-subtitle {
		font-size: 0.9rem;
	}

	.section-title h2 {
		font-size: 1.6rem;
	}

	.value-item h3 {
		font-size: 1.1rem;
	}

	.value-item p {
		font-size: 0.85rem;
	}
}

/* 标准新iPhone (iPhone 12, iPhone 13, iPhone 14) */
@media (max-width: 390px) {
	.banner {
		height: 50vh;
	}

	.banner-title {
		font-size: 1.5rem;
	}

	.section-title h2 {
		font-size: 1.5rem;
	}

	.about-section {
		padding: 45px 0;
	}
}

/* 小屏新iPhone (iPhone 12 mini, iPhone 13 mini) */
@media (max-width: 375px) {
	.banner-title {
		font-size: 1.4rem;
		padding: 0 10px;
	}

	.banner-subtitle {
		font-size: 0.85rem;
		padding: 0 10px;
	}

	.section-title h2 {
		font-size: 1.4rem;
	}

	.value-item {
		max-width: 300px;
		padding: 12px 6px;
	}

	/* 案例展示优化 */
	.swiper .swiper-slide {
		/* 强制手机端占满整个宽度 */
		width: 100% !important;
		flex: 0 0 100% !important;
		max-width: 100% !important;
	}

	.case-card {
		padding: 12px;
	}

	.case-content h3 {
		font-size: 1rem;
	}

	.case-content p {
		font-size: 0.8rem;
	}

	/* 调整更小屏幕下的两行显示 */
	.index-pOne {
		max-height: 3.0em; /* 0.8rem字体的两行高度 + 缓冲 */
	}
}

/* 标准Android手机 */
@media (max-width: 360px) {
	.banner {
		height: 45vh;
	}

	.banner-title {
		font-size: 1.3rem;
	}

	.section-title h2 {
		font-size: 1.3rem;
	}

	.about-section {
		padding: 40px 0;
	}

	.value-item h3 {
		font-size: 1rem;
	}
}

/* 小屏手机 */
@media (max-width: 320px) {
	.banner-title {
		font-size: 1.2rem;
		padding: 0 8px;
	}

	.banner-subtitle {
		font-size: 0.8rem;
		padding: 0 8px;
	}

	.section-title h2 {
		font-size: 1.2rem;
	}

	.value-item {
		max-width: 280px;
		padding: 10px 5px;
		margin: 5px 0;
	}

	.value-item p {
		font-size: 0.8rem;
	}

	/* 案例展示优化 */
	.swiper {
		padding: 10px 0 20px;
	}

	.swiper .swiper-slide {
		/* 强制手机端占满整个宽度 */
		width: 100% !important;
		flex: 0 0 100% !important;
		max-width: 100% !important;
	}

	.case-card {
		padding: 10px;
	}

	.case-content h3 {
		font-size: 0.9rem;
	}

	.case-content p {
		font-size: 0.75rem;
	}

	/* 调整最小屏幕下的两行显示 */
	.index-pOne {
		max-height: 2.8em; /* 0.75rem字体的两行高度 + 缓冲 */
	}

	.case-location {
		font-size: 0.7rem;
	}
}

/* 折叠屏手机折叠状态 */
@media (max-width: 280px) {
	.banner {
		height: 40vh;
	}

	.banner-title {
		font-size: 1.1rem;
		padding: 0 5px;
	}

	.banner-subtitle {
		font-size: 0.75rem;
		padding: 0 5px;
	}

	.section-title h2 {
		font-size: 1.1rem;
	}

	.about-section {
		padding: 30px 0;
	}

	.value-item {
		max-width: 260px;
		padding: 8px 4px;
	}

	.value-item h3 {
		font-size: 0.9rem;
	}

	.value-item p {
		font-size: 0.75rem;
	}
}