@charset "utf-8";

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	font-size: 16px;
}

body {
	font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
	background: linear-gradient(180deg, #faf8f5 0%, #ffffff 100%);
	color: #333;
	line-height: 1.8;
	padding-top: 150px;
}

a {
	text-decoration: none;
	color: inherit;
}

ul {
	list-style: none;
}

img {
	max-width: 100%;
	height: auto;
}

.center-image {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.content-area img:not(.logo img):not(.hero img):not(.sidebar img):not(.slider-item img) {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

header {
	background-color: #fff;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	width: 100%;
}

.header-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px 0;
}

.logo img {
	height: 70px;
	width: auto;
}

.lang-switch {
	display: flex;
	gap: 15px;
}

.lang-switch a {
	font-size: 0.875rem;
	color: #666;
	transition: color 0.3s;
}

.lang-switch a:hover {
	color: #FF7D27;
}

nav {
	background: linear-gradient(135deg, #0066CC 0%, #0099FF 50%, #00A8E8 100%);
	width: 100%;
	position: fixed;
	top: 100px;
	left: 0;
	right: 0;
	margin: 0;
	padding: 0 25px;
	box-sizing: border-box;
	box-shadow: none;
	border-bottom: 3px solid #d4af37;
	z-index: 99;
}

nav ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin: 0;
	padding: 0;
}

nav ul li {
	position: relative;
}

nav ul li a {
	display: block;
	padding: 15px 28px;
	color: #fff;
	font-weight: 600;
	font-size: 0.9rem;
	transition: all 0.3s ease;
	border-radius: 8px;
	position: relative;
}

nav ul li a:hover,
nav ul li a.current {
	background-color: rgba(212, 175, 55, 0.2);
	color: #d4af37;
	transform: translateY(-2px);
}

nav ul li.current > a {
	background-color: rgba(212, 175, 55, 0.3);
	color: #d4af37;
	box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.2);
}

nav ul li .dropdown {
	display: none;
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	background: linear-gradient(180deg, #0066CC 0%, #0077DD 100%);
	min-width: 220px;
	box-shadow: 0 8px 24px rgba(0, 102, 204, 0.35);
	z-index: 100;
	border-radius: 8px;
	padding: 8px 0;
	border-top: 2px solid #d4af37;
}

nav ul li:hover .dropdown {
	display: block;
}

nav ul li .dropdown li {
	margin: 0 8px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

nav ul li .dropdown li:last-child {
	border-bottom: none;
}

nav ul li .dropdown li a {
	padding: 12px 24px;
	font-weight: normal;
	border-radius: 6px;
	text-align: center;
}

nav ul li .dropdown li a:hover {
	background-color: rgba(212, 175, 55, 0.2);
	color: #d4af37;
	transform: translateX(6px);
}

.hero {
	margin: 15px 0;
	border-radius: 12px;
	overflow: hidden;
}

.hero .container {
	max-width: 1160px;
	padding: 0;
	margin: 0 auto;
	border-radius: 12px;
	overflow: hidden;
}

.hero img {
	width: 100%;
	height: 260px;
	border-radius: 12px;
	display: block;
	transition: transform 0.6s ease;
	object-fit: cover;
}

.hero:hover img {
	transform: scale(1.02);
}

main {
	display: grid;
	grid-template-columns: 1fr 4fr;
	gap: 24px;
	margin: 24px 0;
}

.sidebar {
	background: linear-gradient(180deg, #e8f4fd 0%, #d0e8f9 50%, #b8dff5 100%);
	padding: 24px;
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0, 102, 204, 0.15);
	border: 1px solid rgba(0, 153, 255, 0.3);
}

.sidebar h3 {
	font-size: 1.05rem;
	font-weight: 700;
	color: #0066CC;
	padding-bottom: 14px;
	border-bottom: 3px solid #0099FF;
	margin-bottom: 20px;
	text-align: center;
	background: linear-gradient(90deg, transparent, rgba(0, 153, 255, 0.2), transparent);
	padding-top: 8px;
}

/* Sidebar Product Section Styles */
.product-section {
	margin-bottom: 24px;
}

.product-section h4 {
	font-size: 0.9rem;
	font-weight: 600;
	color: #0066CC;
	padding: 10px 14px;
	background: linear-gradient(90deg, #0066CC 0%, #0099FF 100%);
	color: #fff;
	border-radius: 6px;
	margin-bottom: 12px;
	box-shadow: 0 2px 8px rgba(0, 102, 204, 0.2);
}

.product-section ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.product-section ul li {
	padding: 10px 16px;
	font-size: 0.85rem;
	color: #444;
	border-bottom: 1px dashed rgba(0, 102, 204, 0.15);
	transition: all 0.3s ease;
}

.product-section ul li:last-child {
	border-bottom: none;
}

.product-section ul li:hover {
	background: rgba(0, 102, 204, 0.08);
	padding-left: 22px;
	color: #0066CC;
}

.sidebar img {
	display: block;
	margin-bottom: 14px;
	border-radius: 10px;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sidebar img:hover {
	transform: scale(1.03);
	box-shadow: 0 6px 20px rgba(0, 102, 204, 0.2);
}

.content-area {
	background: linear-gradient(135deg, #ffffff 0%, #faf8f5 100%);
	padding: 28px;
	border: 1px solid rgba(212, 175, 55, 0.3);
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.content-area h2 {
	font-size: 1.4rem;
	font-weight: 700;
	color: #1a365d;
	padding-bottom: 16px;
	border-bottom: 3px solid #d4af37;
	margin-bottom: 24px;
	position: relative;
}

.content-area h2::after {
	content: '';
	position: absolute;
	bottom: -3px;
	left: 0;
	width: 60px;
	height: 3px;
	background: linear-gradient(90deg, #d4af37, #b8942f);
	border-radius: 2px;
}

.content-area p {
	font-size: 0.95rem;
	color: #444;
	line-height: 2;
	text-indent: 2em;
	margin-bottom: 18px;
}

.content-area .list li {
	margin-bottom: 15px;
}

.content-area .list li p {
	text-indent: 2em;
}

/* Inquiry Form Styles */
.inquiry-form {
	margin-top: 30px;
	padding: 20px;
	background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
	border-radius: 10px;
	border: 1px solid rgba(0, 102, 204, 0.15);
}

.inquiry-form h3 {
	font-size: 1.2rem;
	font-weight: 700;
	color: #0066CC;
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-bottom: 2px solid #d4af37;
}

.form-group {
	margin-bottom: 20px;
}

.form-group label {
	display: block;
	font-weight: 600;
	color: #333;
	margin-bottom: 8px;
	font-size: 0.9rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
	width: 100%;
	padding: 12px 15px;
	border: 1px solid #ddd;
	border-radius: 8px;
	font-size: 0.9rem;
	font-family: inherit;
	transition: all 0.3s ease;
	background: #fff;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group select:focus,
.form-group textarea:focus {
	outline: none;
	border-color: #0066CC;
	box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-group textarea {
	resize: vertical;
	min-height: 120px;
}

.submit-btn {
	background: linear-gradient(135deg, #0066CC 0%, #0099FF 100%);
	color: white;
	padding: 14px 32px;
	border: none;
	border-radius: 8px;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
	border: 1px solid rgba(212, 175, 55, 0.3);
}

.submit-btn:hover {
	background: linear-gradient(135deg, #0055aa 0%, #0088ee 100%);
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(0, 102, 204, 0.4);
}

.submit-btn:active {
	transform: translateY(0);
}

.image-gallery {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin: 24px auto;
	max-width: 780px;
	justify-content: center;
	align-items: center;
	width: fit-content;
}

.product-grid {
	display: grid;
	grid-template-columns: repeat(4, 180px);
	gap: 24px;
	margin: 24px auto;
	max-width: 1200px;
	justify-items: center;
	align-items: center;
	justify-content: center;
	width: fit-content;
}

.product-item {
	text-align: center;
	background: linear-gradient(135deg, #ffffff 0%, #faf8f5 100%);
	border-radius: 12px;
	padding: 16px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
	transition: all 0.3s ease;
	border: 1px solid rgba(212, 175, 55, 0.3);
}

.product-item:hover {
	transform: translateY(-8px);
	box-shadow: 0 12px 32px rgba(212, 175, 55, 0.2);
	border-color: #d4af37;
}

.product-item img {
	width: 100%;
	height: auto;
	border-radius: 10px;
	margin-bottom: 12px;
	transition: transform 0.3s ease;
}

.product-item:hover img {
	transform: scale(1.05);
}

.product-item span {
	display: block;
	font-size: 0.9rem;
	color: #333;
	margin-top: 8px;
	font-weight: 500;
}

.image-gallery img {
	max-width: 100%;
	height: auto;
	border-radius: 10px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
	cursor: pointer;
	border: 1px solid rgba(212, 175, 55, 0.3);
}

.image-gallery img:hover {
	transform: translateY(-6px) scale(1.03);
	box-shadow: 0 10px 24px rgba(212, 175, 55, 0.2);
	border-color: #d4af37;
}

/* 证书布局 - 2x2网格 + 右侧竖排 */
.certificates {
	display: flex;
	gap: 20px;
	margin-top: 24px;
	align-items: stretch;
}

.cert-grid {
	display: flex;
	flex-direction: column;
	gap: 15px;
	flex: 2;
}

.cert-row {
	display: flex;
	gap: 15px;
}

.cert-row img {
	width: calc(50% - 7.5px);
	height: auto;
	border-radius: 10px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
	cursor: pointer;
	border: 1px solid rgba(212, 175, 55, 0.3);
	object-fit: cover;
}

.cert-row img:hover {
	transform: translateY(-6px) scale(1.03);
	box-shadow: 0 10px 24px rgba(212, 175, 55, 0.2);
	border-color: #d4af37;
}

.cert-vertical {
	flex: 1;
	display: flex;
}

.cert-vertical img {
	width: 100%;
	height: 100%;
	border-radius: 10px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
	cursor: pointer;
	border: 1px solid rgba(212, 175, 55, 0.3);
	object-fit: cover;
}

.cert-vertical img:hover {
	transform: translateY(-6px) scale(1.03);
	box-shadow: 0 10px 24px rgba(212, 175, 55, 0.2);
	border-color: #d4af37;
}

.slider-container {
	position: relative;
	overflow: hidden;
	margin: 20px 0;
}

.slider {
	display: flex;
	transition: transform 0.5s ease;
}

.slider-item {
	min-width: 100%;
	position: relative;
}

.slider-item img {
	width: 100%;
	height: auto;
}

.slider-controls {
	position: absolute;
	bottom: 10px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 8px;
}

.slider-controls button {
	width: 28px;
	height: 28px;
	border: none;
	background: rgba(26, 54, 93, 0.9);
	color: #d4af37;
	font-size: 1rem;
	cursor: pointer;
	border-radius: 50%;
	transition: all 0.3s ease;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
	border: 1px solid rgba(212, 175, 55, 0.5);
}

.slider-controls button:hover {
	background: #d4af37;
	color: #1a365d;
	transform: scale(1.1);
}

.slider-controls button.active {
	background: linear-gradient(135deg, #d4af37 0%, #b8942f 100%);
	color: #1a365d;
	box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

footer {
	background: linear-gradient(135deg, #1a365d 0%, #0d2137 100%);
	border-top: 3px solid #d4af37;
	padding: 40px 0;
	margin-top: 40px;
	border-radius: 16px 16px 0 0;
}

.footer-content {
	text-align: center;
}

.footer-content p {
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.85);
	margin-bottom: 12px;
	line-height: 2;
}

.footer-content a {
	color: rgba(255, 255, 255, 0.85);
	transition: all 0.3s ease;
	border-bottom: 1px solid transparent;
}

.footer-content a:hover {
	color: #d4af37;
	border-bottom: 1px solid rgba(212, 175, 55, 0.8);
}

@media (max-width: 768px) {
	.header-content {
		flex-direction: column;
		gap: 10px;
	}

	nav ul {
		flex-direction: column;
		text-align: center;
	}

	nav ul li .dropdown {
		position: static;
		box-shadow: none;
	}

	main {
		grid-template-columns: 1fr;
	}

	.sidebar {
		order: 2;
	}

	.content-area {
		order: 1;
	}

	.image-gallery {
		grid-template-columns: repeat(2, 140px);
		width: fit-content;
	}
	
	.product-grid {
		grid-template-columns: repeat(2, 180px);
		width: fit-content;
	}
}

@media (max-width: 480px) {
	.container {
		padding: 0 10px;
	}

	nav ul li a {
		padding: 10px 15px;
		font-size: 0.75rem;
	}

	.content-area {
		padding: 15px;
	}

	.content-area h2 {
		font-size: 1rem;
	}

	.content-area p {
		font-size: 0.75rem;
	}
}