* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif; line-height: 1.6; }

.top-bar { background: #8B6914; color: #fff; padding: 8px 0; font-size: 14px; }
.top-bar .container { display: flex; justify-content: space-between; }

.header { background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 100; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.nav { display: flex; justify-content: space-between; align-items: center; height: 70px; }
.logo { font-size: 24px; font-weight: bold; color: #8B6914; text-decoration: none; }
.nav-menu { display: flex; list-style: none; gap: 30px; }
.nav-menu a { text-decoration: none; color: #333; font-size: 16px; transition: color 0.3s; }
.nav-menu a:hover { color: #8B6914; }

.hero { background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/banner-home.jpg'); background-size: cover; background-position: center; height: 600px; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; }
.hero h1 { font-size: 50px; margin-bottom: 20px; }
.hero p { font-size: 20px; margin-bottom: 30px; }

.btn { display: inline-block; padding: 15px 40px; background: #c8a063; color: #fff; text-decoration: none; border-radius: 5px; font-size: 18px; transition: background 0.3s; }
.btn:hover { background: #a8844a; }

.section { padding: 80px 0; }
.section-title { text-align: center; font-size: 36px; margin-bottom: 50px; color: #333; position: relative; }
.section-title:after { content: ''; display: block; width: 60px; height: 3px; background: #c8a063; margin: 15px auto 0; }

.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.feature-item { text-align: center; padding: 40px 20px; background: #f8f6f3; border-radius: 10px; transition: transform 0.3s, box-shadow 0.3s; }
.feature-item:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.feature-icon { font-size: 40px; margin-bottom: 20px; }
.feature-item h3 { margin-bottom: 15px; color: #333; }
.feature-item p { color: #666; }

.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.product-card { background: #fff; border: 1px solid #eee; border-radius: 10px; overflow: hidden; transition: transform 0.3s, box-shadow 0.3s; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.15); }
.product-image { height: 250px; overflow: hidden; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.product-card:hover .product-image img { transform: scale(1.1); }
.product-info { padding: 20px; }
.product-info h3 { margin-bottom: 10px; color: #333; }
.product-category { color: #c8a063; font-size: 14px; margin-bottom: 10px; }
.product-price { color: #e74c3c; font-size: 20px; font-weight: bold; }

.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.case-card { position: relative; border-radius: 10px; overflow: hidden; height: 300px; }
.case-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.case-card:hover img { transform: scale(1.1); }
.case-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 30px; background: linear-gradient(transparent, rgba(0,0,0,0.8)); color: #fff; }
.case-overlay h3 { margin-bottom: 10px; }

.contact-section { background: #f8f6f3; }
.contact-info { text-align: center; }
.contact-info h3 { font-size: 28px; margin-bottom: 30px; }
.contact-info p { font-size: 18px; margin: 15px 0; }

.footer { background: #333; color: #fff; padding: 50px 0 20px; }
.footer-content { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-bottom: 30px; }
.footer h3 { margin-bottom: 20px; }
.footer ul { list-style: none; }
.footer ul li { margin: 10px 0; }
.footer ul a { color: #ccc; text-decoration: none; }
.footer-bottom { border-top: 1px solid #444; padding-top: 20px; text-align: center; }

@media (max-width: 768px) {
    .features-grid, .products-grid { grid-template-columns: repeat(2, 1fr); }
    .cases-grid { grid-template-columns: 1fr; }
    .nav-menu { display: none; }
    .hero h1 { font-size: 36px; }
}

/* Logo图片样式 */
.logo img {
    height: 40px;
    padding: 3px;
    vertical-align: middle;
    transition: opacity 0.3s;
}
.logo img:hover {
    opacity: 0.8;
}

/* Logo图片样式 - 调整大小 */
.logo img {
    height: 60px;  /* 可以根据需要调整：40px, 50px, 60px, 80px */
    padding: 3px;
    vertical-align: middle;
    transition: opacity 0.3s;
}
.logo img:hover {
    opacity: 0.8;
}
