:root { --primary: #165DFF; --primary-dark: #0E42D2; --primary-light: #E8F0FF; --title-color: #1D2129; --text-color: #4E5969; --text-secondary: #86909C; --border-color: #E5E6EB; --bg-color: #F7F8FA; --white: #FFFFFF; --success: #00B42A; --warning: #FF7D00; --danger: #F53F3F; } * { box-sizing: border-box; } body { font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif; color: var(--text-color); background-color: var(--bg-color); line-height: 1.6; } h1, h2, h3, h4, h5, h6 { color: var(--title-color); font-weight: 600; line-height: 1.3; } h1 { font-size: 2rem; } h2 { font-size: 1.5rem; } h3 { font-size: 1.25rem; } a { color: var(--primary); text-decoration: none; transition: color 0.2s; } a:hover { color: var(--primary-dark); } .btn-primary { background-color: var(--primary); border-color: var(--primary); } .btn-primary:hover { background-color: var(--primary-dark); border-color: var(--primary-dark); } .btn-outline-primary { color: var(--primary); border-color: var(--primary); } .btn-outline-primary:hover { background-color: var(--primary); border-color: var(--primary); } .card { border: none; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); transition: box-shadow 0.3s, transform 0.3s; } .card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.12); transform: translateY(-2px); } .navbar { background: var(--white); box-shadow: 0 1px 4px rgba(0,0,0,0.05); padding: 0.75rem 0; } .navbar-brand { font-size: 1.5rem; font-weight: 700; color: var(--primary) !important; } .nav-link { color: var(--title-color) !important; font-weight: 500; } .nav-link:hover, .nav-link.active { color: var(--primary) !important; } .dropdown-menu { border: none; box-shadow: 0 4px 12px rgba(0,0,0,0.1); border-radius: 8px; } .lang-switcher { display: flex; gap: 0.5rem; align-items: center; } .lang-switcher .btn { font-size: 0.875rem; padding: 0.25rem 0.75rem; } .section { padding: 4rem 0; } .section-title { text-align: center; margin-bottom: 2.5rem; } .section-title h2 { margin-bottom: 0.75rem; } .section-title p { color: var(--text-secondary); margin-bottom: 0; } .banner-carousel .carousel-item { height: 650px; background: #000; } .banner-carousel .carousel-item img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; } .banner-carousel .carousel-caption { bottom: 25%; text-align: left; } .banner-carousel .carousel-caption h1 { font-size: 2.5rem; margin-bottom: 1rem; } .banner-carousel .carousel-caption p { font-size: 1.125rem; margin-bottom: 1.5rem; } .footer { background: #1D2129; color: #C9CDD4; padding: 3rem 0 1.5rem; margin-top: 4rem; } .footer h5 { color: var(--white); margin-bottom: 1rem; font-size: 1rem; } .footer a { color: #C9CDD4; } .footer a:hover { color: var(--white); } .footer-bottom { border-top: 1px solid #2E3238; margin-top: 2rem; padding-top: 1.5rem; } .breadcrumb-wrap { background: var(--white); border-bottom: 1px solid var(--border-color); padding: 1rem 0; margin-bottom: 2rem; } .video-container { position: relative; width: 100%; aspect-ratio: 16/9; background: #000; border-radius: 8px; overflow: hidden; } .video-container video, .video-container iframe { width: 100%; height: 100%; border: none; } .product-gallery .gallery-main img { width: 100%; border-radius: 8px; margin-bottom: 1rem; } .product-gallery .gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; } .product-gallery .gallery-thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; cursor: pointer; border: 2px solid transparent; transition: border-color 0.2s; } .product-gallery .gallery-thumbs img:hover { border-color: var(--primary); } .specs-table { width: 100%; } .specs-table th, .specs-table td { padding: 0.75rem 1rem; border-bottom: 1px solid var(--border-color); } .specs-table th { background: var(--bg-color); width: 30%; color: var(--title-color); font-weight: 500; } /* ===== 客户分布地图 ===== */ .map-wrapper { display: flex; gap: 20px; height: 600px; } .map-container { flex: 1; height: 600px; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.08); } #customer-map { width: 100%; height: 100%; z-index: 1; } .customer-list-panel { width: 320px; height: 600px; flex-shrink: 0; background: #fff; border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,0.08); overflow: hidden; display: flex; flex-direction: column; } .customer-list-header { padding: 16px 20px; border-bottom: 1px solid #eef0f4; background: #fafbfc; flex-shrink: 0; } .customer-list-header h5 { margin: 0; color: var(--title-color); font-size: 1rem; } .customer-list-header .count { color: var(--text-secondary); font-size: 0.8rem; margin-left: 8px; } .customer-list { flex: 1 1 auto; overflow-y: auto; list-style: none; padding: 0; margin: 0; height: 0; } .customer-list li { padding: 14px 20px; border-bottom: 1px solid #f3f5f8; cursor: pointer; display: flex; align-items: center; gap: 12px; transition: background 0.2s; } .customer-list li:hover { background: #f7f9fc; } .customer-list li.active { background: #eef4ff; } .customer-index { width: 28px; height: 28px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 0.8rem; font-weight: 600; display: flex; align-items: center; justify-content: center; flex-shrink: 0; } .customer-name { flex: 1; color: var(--title-color); font-size: 0.9rem; line-height: 1.4; } .numbered-marker { background: var(--primary); color: #fff; border-radius: 50%; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 0.8rem; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,0.3); } .leaflet-popup-content-wrapper { border-radius: 8px; } .leaflet-popup-content { margin: 12px 16px; } .leaflet-popup-content h6 { margin-bottom: 4px; color: var(--title-color); } .leaflet-popup-content p { margin-bottom: 0; color: var(--text-secondary); font-size: 0.875rem; } @media (max-width: 992px) { .map-wrapper { flex-direction: column; height: auto; } .map-container { height: 400px; flex: none; } .customer-list-panel { width: 100%; height: 300px; flex: none; } } .contact-form .form-control { border-radius: 8px; padding: 0.75rem 1rem; } .contact-form textarea.form-control { resize: vertical; min-height: 120px; } @media (max-width: 991.98px) { .banner-carousel .carousel-item { height: 480px; } .banner-carousel .carousel-caption h1 { font-size: 1.75rem; } .section { padding: 2.5rem 0; } } @media (max-width: 767.98px) { .banner-carousel .carousel-item { height: 380px; } .banner-carousel .carousel-caption { bottom: 20%; text-align: center; left: 10%; right: 10%; } .banner-carousel .carousel-caption h1 { font-size: 1.25rem; } .banner-carousel .carousel-caption p { font-size: 0.875rem; margin-bottom: 1rem; } h1 { font-size: 1.5rem; } h2 { font-size: 1.25rem; } h3 { font-size: 1.1rem; } }