/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.navbar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo img {
    height: 50px;
    width: auto;
    max-height: 60px;
    object-fit: contain;
}

.nav-logo h2 {
    color: #2c3e50;
    font-size: 24px;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: color 0.3s;
    padding: 10px 0;
}

.nav-link:hover,
.nav-link.active {
    color: #3498db;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* 轮播图样式 */
.hero-slider {
    margin-top: 70px;
    height: 500px;
    position: relative;
    overflow: hidden;
}

.slider-container {
    position: relative;
    height: 100%;
}

.slider-wrapper {
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.slide.active {
    opacity: 1;
}

.slide-image.full-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    object-fit: cover;
    background-size: cover;
    background-position: center;
}

.placeholder-image.small {
    width: 80px;
    height: 60px;
    font-size: 12px;
    border-radius: 5px;
}

.cta-button {
    background: #3498db;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.cta-button:hover {
    background: #2980b9;
}

.cta-button.primary {
    background: #e74c3c;
}

.cta-button.primary:hover {
    background: #c0392b;
}

.cta-button.secondary {
    background: #95a5a6;
}

.cta-button.secondary:hover {
    background: #7f8c8d;
}

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 20px;
}

.prev-btn, .next-btn {
    background: rgba(255,255,255,0.8);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: background 0.3s;
}

.prev-btn:hover, .next-btn:hover {
    background: rgba(255,255,255,1);
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: white;
}

/* 通用区块样式 */
.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #3498db;
}

/* 公司核心能力样式 */
.abilities-section {
    padding: 20px 0;
    background: #fff;
}

.abilities-grid {
    margin-top: 50px;
}

.ability-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
    margin-bottom: 30px;
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ability-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.ability-item.reverse {
    direction: rtl;
}

.ability-item.reverse > * {
    direction: ltr;
}



.ability-content h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #2c3e50;
    font-weight: 700;
}

.ability-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 0;
}

.ability-image {
    height: 350px;
    overflow: hidden;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    margin: -25px -25px;
}

.ability-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 0;
}

.ability-item:hover .ability-image img {
    transform: scale(1.05);
}

/* 应用场景样式 */
.scenarios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.scenario-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s;
}

.scenario-card:hover {
    transform: translateY(-5px);
}

.scenario-image-home {
    height: 200px;
    overflow: hidden;
}

.scenario-image-scenario{
    height: 200px;
    overflow: hidden;
}

.scenario-image {
    height: 500px;
    overflow: hidden;
}

.scenario-image {
    height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.scenario-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.scenario-content {
    padding: 20px;
}

/* 应用场景详情页面样式 */
.scenario-detail .scenario-image {
    height: 400px;
    margin: 20px 0;
}

.scenario-detail .scenario-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.scenario-section {
    margin-bottom: 40px;
}

.scenario-section h2 {
    color: #333;
    margin-bottom: 20px;
    border-left: 4px solid #3498db;
    padding-left: 15px;
}

.scenario-section .section-content {
    line-height: 1.8;
}

.scenario-section .section-content p {
    margin-bottom: 15px;
}

.scenario-section .section-content ul {
    margin: 15px 0;
    padding-left: 20px;
}

.scenario-section .section-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.scenario-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #2c3e50;
}

.read-more {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.read-more:hover {
    color: #2980b9;
}

/* 新闻样式 */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.news-date {
    color: #95a5a6;
    font-size: 14px;
    margin-bottom: 10px;
}

.news-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #2c3e50;
}

/* 产品样式 */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.product-image {
    height: 200px;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 0;
}

.product-image .placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: #666;
    background: #f8f9fa;
    border-radius: 0;
}

.product-content {
    padding: 20px;
}

.product-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #2c3e50;
}

.product-desc {
    color: #666;
    margin-bottom: 15px;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.feature-tag {
    background: #ecf0f1;
    color: #2c3e50;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.product-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.product-btn:hover {
    background: #2980b9;
}

/* 应用场景列表样式 */
.scenarios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.scenario-item {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
}

.scenario-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.scenario-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0;
}

.tag {
    background: #ecf0f1;
    color: #2c3e50;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.scenario-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.scenario-btn:hover {
    background: #2980b9;
}

/* 关于我们页面样式 */
.company-intro {
    padding: 80px 0;
    background: #f8f9fa;
}

/* 日常工作样式 */
.work-section {
    padding: 80px 0;
    background: #fff;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.work-item {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.work-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.work-image {
    height: 250px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.work-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.work-item:hover .work-image img {
    transform: scale(1.05);
}

.work-content {
    padding: 25px;
}

.work-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #2c3e50;
}

.work-content p {
    color: #666;
    line-height: 1.6;
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.intro-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.company-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 36px;
    color: #3498db;
    margin-bottom: 5px;
}

.timeline-section {
    padding: 80px 0;
}

.honors-section {
    padding: 80px 0 40px;
}

.partners-section {
    padding: 40px 0 40px;
}

.future-section {
    padding: 40px 0 0;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #3498db;
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 50px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-year {
    background: #3498db;
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: bold;
    position: relative;
    z-index: 2;
}

.timeline-content {
    flex: 1;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    margin: 0 30px;
    transition: all 0.3s ease;
}

/* 发展历程时间线背景色 - 从零到丰富 */
.timeline-item:nth-child(1) .timeline-content {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 4px solid #6c757d;
}

.timeline-item:nth-child(2) .timeline-content {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-left: 4px solid #2196f3;
}

.timeline-item:nth-child(3) .timeline-content {
    background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 100%);
    border-left: 4px solid #4caf50;
}

.timeline-item:nth-child(4) .timeline-content {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border-left: 4px solid #ff9800;
}

.timeline-item:nth-child(5) .timeline-content {
    background: linear-gradient(135deg, #fce4ec 0%, #f8bbd9 100%);
    border-left: 4px solid #e91e63;
}

.timeline-item:nth-child(6) .timeline-content {
    background: linear-gradient(135deg, #ede7f6 0%, #d1c4e9 100%);
    border-left: 4px solid #673ab7;
}

.timeline-item:hover .timeline-content {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.honors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.honor-card {
    text-align: center;
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.honor-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    align-items: center;
}

.partner-logo {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 8px;
    padding: 10px;
}

.partner-logo img {
    max-width: 80%;
    max-height: 80%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.future-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.future-item {
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/* 产品详情样式 */
.breadcrumb {
    padding: 20px 0;
    color: #666;
}

.breadcrumb a {
    color: #3498db;
    text-decoration: none;
}

.detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main-image {
    height: 400px;
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
}

.thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.thumbnail {
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s;
    width: 80px;
    height: 60px;
    overflow: hidden;
    border-radius: 5px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.thumbnail img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 5px;
}

.thumbnail.active,
.thumbnail:hover {
    opacity: 1;
}

.product-info h1 {
    font-size: 36px;
    margin-bottom: 10px;
    color: #2c3e50;
}

.product-subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}

.product-specs {
    margin-bottom: 30px;
}

.product-specs ul {
    list-style: none;
}

.product-specs li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 20px 0;
}

.feature-item {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.feature-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.product-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.product-description {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 10px;
}

.description-content h3 {
    margin: 20px 0 10px;
    color: #2c3e50;
}

.description-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

/* 规格参数表格样式 */
.specifications-table {
    margin: 30px 0;
    overflow-x: auto;
}

.specifications-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border: 2px solid #000;
}

.specifications-table th,
.specifications-table td {
    border: 1px solid #000;
    padding: 12px 15px;
    text-align: left;
}

.specifications-table th {
    background: #3498db;
    color: white;
    font-weight: 600;
    font-size: 16px;
}

.specifications-table td {
    vertical-align: top;
}

.specifications-table tr:nth-child(even) {
    background: #f8f9fa;
}

.specifications-table tr:hover {
    background: #e3f2fd;
    transition: background-color 0.3s ease;
}

.specifications-table th:first-child,
.specifications-table td:first-child {
    font-weight: 600;
    color: #2c3e50;
    width: 200px;
}

.specifications-table th:nth-child(2),
.specifications-table td:nth-child(2) {
    color: #555;
    width: calc(100% - 200px);
}

/* 底部样式 */
.footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
}

.social-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

.footer-bottom a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #3498db;
    text-decoration: underline;
}