﻿.bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; height: 60px; background-color: #8B0000; display: none; justify-content: space-around; align-items: center; z-index: 1000; }
@media (max-width: 768px) { .bottom-nav { display: flex; } }
.nav-item { text-align: center; color: white; font-size: 12px; display: flex; flex-direction: column; align-items: center; text-decoration: none; }
.nav-icon { font-size: 24px; margin-bottom: 4px; color: white;}
.nav-item:hover .nav-icon, .nav-item:hover div { opacity: 0.8; }
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "Microsoft YaHei", sans-serif; line-height: 1.6; color: #333; background-color: #f8f9fa; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }
header { background: linear-gradient(135deg, #8B0000, #B22222); color: white; padding: 1rem 0; box-shadow: 0 2px 10px rgba(0,0,0,0.1); position: relative; }
.header-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.logo h1 { font-size: 1.8rem; margin-bottom: 0.2rem; }
.logo p { font-size: 0.9rem; opacity: 0.9; }
.contact-info { text-align: right; }
.phone { font-size: 1.5rem; font-weight: bold; margin-bottom: 0.2rem; }
.wechat { font-size: 0.9rem; }
nav { background: #8B0000; margin-top: 1rem; position: relative; }
.nav-menu { display: flex; list-style: none; position: relative; }
.nav-menu > li { position: relative; flex: 1; min-width: 120px; }
.nav-menu > li > a { display: block; color: white; text-decoration: none; padding: 15px 20px; text-align: center; transition: all 0.3s; border-right: 1px solid rgba(255,255,255,0.1); font-weight: bold; }
.nav-menu > li:last-child > a { border-right: none; }
.nav-menu > li > a:hover, .nav-menu > li > a.active { background: #A52A2A; }
.dropdown-menu { position: absolute; top: 100%; left: 0; background: white; min-width: 200px; box-shadow: 0 5px 15px rgba(0,0,0,0.2); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all 0.3s ease; z-index: 1000; border-radius: 0 0 5px 5px; }
.nav-menu > li:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu li { border-bottom: 1px solid #f0f0f0; }
.dropdown-menu li:last-child { border-bottom: none; }
.dropdown-menu a { display: block; padding: 12px 20px; color: #333; text-decoration: none; transition: all 0.3s; }
.dropdown-menu a:hover { background: #f8f9fa; color: #8B0000; padding-left: 25px; }
.mobile-menu-btn { display: none; background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer; padding: 10px; }
.mingjiu{display: block;color: white;text-decoration: none;padding: 15px 20px;text-align: center;transition: all 0.3s;border-right: 1px solid rgba(255, 255, 255, 0.1);font-weight: bold;}
@media (max-width: 768px) {
.mobile-menu-btn { display: block; position: absolute; right: 15px; top: -50px; }
.nav-menu { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #8B0000; z-index: 1000; box-shadow: 0 5px 15px rgba(0,0,0,0.2); }
.nav-menu.active { display: flex; }
.nav-menu > li { width: 100%; border-bottom: 1px solid rgba(255,255,255,0.1); }
.nav-menu > li > a { padding: 15px 20px; text-align: left; border-right: none; display: flex; justify-content: space-between; align-items: center; }
.mingjiu{ padding: 15px 20px; text-align: left; border-right: none; display: flex; justify-content: space-between; align-items: center; }
.nav-menu > li > a::after { content: '›'; font-size: 1.2rem; transform: rotate(90deg); transition: transform 0.3s; }
.nav-menu > li.active > a::after { transform: rotate(-90deg); }
.dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: rgba(0,0,0,0.1); display: none; border-radius: 0; }
.nav-menu > li.active .dropdown-menu { display: block; }
.dropdown-menu a { color: white; padding: 12px 30px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.dropdown-menu a:hover { background: rgba(255,255,255,0.1); padding-left: 35px; color: white; }
}
@media (max-width: 480px) {
.nav-menu { display: grid; grid-template-columns: 1fr 1fr; }
.nav-menu > li { border-right: 1px solid rgba(255,255,255,0.1); border-bottom: 1px solid rgba(255,255,255,0.1); }
.nav-menu > li:nth-child(even) { border-right: none; }
.nav-menu > li > a { height: 60px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 10px 5px; font-size: 0.9rem; }
.mingjiu { height: 60px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 10px 5px; font-size: 0.9rem; }
.nav-menu > li > a::after { display: none; }
.dropdown-menu { grid-column: 1 / -1; position: static; display: none; background: rgba(0,0,0,0.15); }
.nav-menu > li.active .dropdown-menu { display: block; }
.dropdown-menu li { border-bottom: 1px solid rgba(255,255,255,0.05); }
}
.hero { background: linear-gradient(135deg, #8B0000, #B22222); color: white; text-align: center; padding: 30px 20px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.05)" points="0,1000 1000,0 1000,1000"/></svg>'); }
.hero-content { position: relative; z-index: 1; }
.hero h2 { font-size: 2.5rem; margin-bottom: 1rem; text-shadow: 2px 2px 4px rgba(0,0,0,0.3); }
.hero p { font-size: 1.3rem; margin-bottom: 2rem; opacity: 0.9; }
.cta-button { display: inline-block; background: #FFD700; color: #8B0000; padding: 15px 40px; text-decoration: none; border-radius: 50px; font-weight: bold; font-size: 1.2rem; transition: all 0.3s; box-shadow: 0 5px 15px rgba(0,0,0,0.2); }
.cta-button:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.3); background: #FFC400; }
.services { padding: 30px 0; background: white; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 2.5rem; color: #8B0000; margin-bottom: 15px; position: relative; display: inline-block; }
.section-title h2::after { content: ''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); width: 80px; height: 3px; background: #FFD700; }
.section-title p { font-size: 1.1rem; color: #666; margin: 0 auto; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.service-card { background: white; border-radius: 15px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.1); transition: all 0.3s ease; border: 1px solid #f0f0f0; }
.service-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.15); }
.service-img {height: 200px;display: flex;position: relative;justify-content: center;}
.service-img::after { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(rgba(139, 0, 0, 0.2), rgba(178, 34, 34, 0.4)); }
.service-img i { position: relative; z-index: 1; }
.service-content { padding: 30px; }
.service-content h3 { color: #8B0000; margin-bottom: 15px; font-size: 1.5rem; }
.service-content p { color: #666; line-height: 1.8; margin-bottom: 20px; }
.service-features { list-style: none; margin-bottom: 25px; }
.service-features li { padding: 8px 0; border-bottom: 1px solid #f0f0f0; color: #555; }
.service-features li:last-child { border-bottom: none; }
.service-features li::before { content: '✓'; color: #FFD700; font-weight: bold; margin-right: 10px; }
.service-features a { color: #333; text-decoration: none; transition: color 0.3s;line-height: 1.5; }
.service-features a:hover { color: #8B0000; }
.service-link { display: inline-block; background: #8B0000; color: white; padding: 10px 20px; border-radius: 5px; text-decoration: none; font-weight: bold; transition: all 0.3s; text-align: center; width: 100%; }
.service-link:hover { background: #A52A2A; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(139, 0, 0, 0.3); }
.hot-products { padding: 60px 0; background: linear-gradient(135deg, #f8f9fa, #e9ecef); }
.products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-top: 50px; }
.product-card { background: white; border-radius: 15px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.1); transition: transform 0.3s; position: relative; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(0,0,0,0.15); }
.product-img { height: 220px;display: flex;position: relative;justify-content: center;}
.product-img img { width:auto; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-img img { transform: scale(1.05); }
.product-badge { position: absolute; top: 15px; right: 15px; background: #FFD700; color: #8B0000; padding: 5px 10px; border-radius: 20px; font-size: 0.8rem; font-weight: bold; }
.product-content { padding: 25px; }
.product-content h3 { color: #8B0000; margin-bottom: 10px; font-size: 1.3rem; }
.product-content p { color: #666; line-height: 1.6; margin-bottom: 15px; }
.product-price { color: #8B0000; margin-bottom: 15px; }
.product-link { display: inline-block; background: #8B0000; color: white; padding: 10px 20px; border-radius: 5px; text-decoration: none; font-weight: bold; transition: all 0.3s; text-align: center; width: 100%; }
.product-link:hover { background: #A52A2A; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(139, 0, 0, 0.3); }
.pricing { padding: 60px 0; background: white; }
.price-table { width: 100%; border-collapse: collapse; margin-top: 40px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); border-radius: 15px; overflow: hidden; }
.price-table th, .price-table td { padding: 20px; text-align: left; border-bottom: 1px solid #f0f0f0; }
.price-table th { background: linear-gradient(135deg, #8B0000, #B22222); color: white; font-weight: bold; font-size: 1.1rem; }
.price-table tr:hover { background: #f8f9fa; }
.price-table td:first-child { font-weight: bold; color: #8B0000; }
.features { padding: 60px 0; background: linear-gradient(135deg, #8B0000, #B22222); color: white; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-top: 50px; }
.feature-item { text-align: center; padding: 40px 20px; background: rgba(255,255,255,0.1); border-radius: 15px; backdrop-filter: blur(10px); transition: transform 0.3s; }
.feature-item:hover { transform: translateY(-5px); background: rgba(255,255,255,0.15); }
.feature-icon { font-size: 3rem; margin-bottom: 20px; color: #FFD700; }
.feature-item h3 { margin-bottom: 15px; font-size: 1.3rem; }
footer { background: #2c2c2c; color: white; padding: 60px 0 80px; }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-bottom: 40px; }
.footer-section h3 { color: #FFD700; margin-bottom: 25px; font-size: 1.3rem; position: relative; padding-bottom: 10px; }
.footer-section h3::after { content: ''; position: absolute; bottom: 0; left: 0; width: 50px; height: 2px; background: #FFD700; }
.footer-section p { margin-bottom: 10px; opacity: 0.8; line-height: 1.8; }.footer-section a{color:#bec4c9;text-decoration:none;}.footer-section a:hover{color:#FFD700;}
.footer-bottom { text-align: center; padding-top: 30px; border-top: 1px solid #444; opacity: 0.7; }
@media (max-width: 768px) {
.contact-info { text-align: center; margin-top: 15px; }
.hero h2 { font-size: 2rem; }
.hero p { font-size: 1.1rem; padding: 30px 0 0 0; height: 0px;}
.section-title h2 { font-size: 2rem; }
.price-table { display: block; overflow-x: auto; }
.service-img { height: 150px; font-size: 2.5rem; }
.contact-info .phone{display: none;}.wechat{display: none;}
}
@media (max-width: 480px) {                                                                                                 
.logo h1 { font-size: 1.5rem; }
.phone { font-size: 1.3rem; }
.hero { padding: 60px 15px; margin: 130px 0 0 0;}
.hero h2 { font-size: 1.8rem; }
.cta-button { padding: 12px 30px; font-size: 1.1rem; }
}