/* 页脚 */
.footer {
	background: #222;
	color: #fff;
	padding: 28px 0 18px 0;
	text-align: center;
	font-size: 16px;
	margin-top: 40px;
}
.footer-content p {
	margin: 6px 0;
	color: #fff;
	letter-spacing: 1px;
}

body {
	margin: 0;
	font-family: 'Segoe UI', 'Microsoft YaHei', Arial, sans-serif;
	background: #f7f7f7;
	color: #222;
}

header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: #fff;
	box-shadow: 0 2px 8px rgba(0,0,0,0.05);
	padding: 0 40px;
	position: sticky;
	top: 0;
	z-index: 10;
}
.logo {
	height: 64px;
	margin-right: 64px;
}
nav ul {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
}
nav ul li {
	margin: 0 18px;
}
.nav-link {
	text-decoration: none;
	color: #222;
	font-size: 18px;
	padding: 8px 0;
	position: relative;
	transition: color 0.2s;
}
.nav-link.active,
.nav-link:hover {
	color: #ff8000;
}
.lang-switch {
	margin-left: 24px;
}
.lang-btn {
	background: #eee;
	border: none;
	padding: 6px 16px;
	margin-left: 6px;
	border-radius: 16px;
	cursor: pointer;
	font-size: 15px;
	transition: background 0.2s;
}
.lang-btn.active,
.lang-btn:hover {
	background: #ff8000;
	color: #fff;
}

.section {
	display: none;
	padding: 10px 0 10px 0;
	max-width: 80%;
	margin: 0 auto;
}
.section.active {
	display: block;
}
/* 首页背景 */
.hero-bg {
	background: url('images/bg.jpg') center/cover no-repeat;
	position: absolute;
	top: 0; left: 0; right: 0; height: 480px;
	z-index: 0;
	opacity: 0.25;
}
.hero-content {
	position: relative;
	z-index: 1;
	text-align: center;
	margin-top: 60px;
}
.title {
	font-size: 38px;
	color: #ff8000;
	margin-bottom: 18px;
}
.subtitle {
	font-size: 22px;
	color: #333;
	margin-bottom: 40px;
}

/* 轮播 */
.carousel {
	position: relative;
	width: 100%;
	margin: 0;
	margin-top: 160px;
}
.carousel-inner {
	position: relative;
	width: 100%;
	height: 768px;
	overflow: hidden;
	border-radius: 16px;
	box-shadow: 0 2px 12px rgba(0,0,0,0.08);
	background: #ffffff;
}
.carousel-item {
	position: absolute;
	top: 0; left: 0; width: 100%; height: 100%;
	opacity: 0;
	transition: opacity 0.5s;
	display: flex;
	align-items: center;
	justify-content: center;
}
.carousel-item.active {
	opacity: 1;
	z-index: 1;
}
.carousel-item img {
	max-width: 100%;
	max-height: 100%;
	border-radius: 12px;
}
.carousel-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255,128,0,0.8);
	color: #fff;
	border: none;
	font-size: 28px;
	border-radius: 50%;
	width: 40px;
	height: 40px;
	cursor: pointer;
	z-index: 2;
}
.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }

/* 产品信息 */
.section-title {
	font-size: 32px;
	color: #ff8000;
	margin-bottom: 32px;
	text-align: center;
}
.product-list {
	display: flex;
	gap: 32px;
	justify-content: center;
	flex-wrap: wrap;
}
.product-item {
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.07);
	padding: 18px;
	width: 260px;
	text-align: center;
	transition: box-shadow 0.2s;
}
.product-item:hover {
	box-shadow: 0 4px 16px rgba(255,128,0,0.15);
}
.fabric-thumb {
	width: 180px;
	height: 120px;
	object-fit: cover;
	border-radius: 10px;
	cursor: pointer;
	margin-bottom: 12px;
	box-shadow: 0 1px 6px rgba(0,0,0,0.08);
	transition: transform 0.2s;
}
.fabric-thumb:hover {
	transform: scale(1.08);
}
.product-info h3 {
	font-size: 20px;
	color: #ff8000;
	margin-bottom: 8px;
}
.product-info p {
	font-size: 15px;
	color: #444;
}

/* 图片弹窗 */
.modal {
	display: none;
	position: fixed;
	z-index: 100;
	left: 0; top: 0; width: 100vw; height: 100vh;
	background: rgba(0,0,0,0.6);
	align-items: center;
	justify-content: center;
}
.modal.show {
	display: flex;
}
.modal-content {
	max-width: 80vw;
	max-height: 80vh;
	border-radius: 12px;
	box-shadow: 0 2px 16px rgba(0,0,0,0.18);
}
.close {
	position: fixed;
	top: 18%;
	right: 18%;
	color: #fff;
	font-size: 38px;
	font-weight: bold;
	cursor: pointer;
	z-index: 101;
	background: rgba(0,0,0,0.18);
	border-radius: 50%;
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s, color 0.2s, box-shadow 0.2s;
	box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.close:hover {
	background: #ff8000;
	color: #fff;
	box-shadow: 0 4px 16px rgba(255,128,0,0.18);
}

/* 关于我们、联系方式 */
.about-content, .contact-info {
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.07);
	padding: 32px;
	font-size: 18px;
	color: #333;
	max-width: 700px;
	margin: 0 auto;
}
.contact-info p {
	margin: 12px 0;
	font-size: 17px;
}

@media (max-width: 1024px) {
	header { padding: 0 12px; }
	.section { padding: 32px 0 24px 0; }
	.carousel { width: 98vw; }
	.carousel-inner { height: 180px; }
	.product-list { gap: 16px; }
	.product-item { width: 98vw; max-width: 320px; }
	.about-content, .contact-info { padding: 18px; }
}
