/* 基础样式 */
:root {
    --primary-color: #0066cc;
    --secondary-color: #003366;
    --accent-color: #00aaff;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --gray-color: #6c757d;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 导航栏样式 */
header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-img {
    width: 50px;
    height: 50px;
    margin-right: 15px;
    object-fit: contain;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    margin: 0; /* 移除h2默认的上下边距 */
    white-space: nowrap; /* 防止文字换行 */
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.menu-btn {
    display: none;
    cursor: pointer;
}

.menu-btn__burger {
    width: 30px;
    height: 3px;
    background: var(--dark-color);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.menu-btn__burger::before,
.menu-btn__burger::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 3px;
    background: var(--dark-color);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.menu-btn__burger::before {
    transform: translateY(-10px);
}

.menu-btn__burger::after {
    transform: translateY(10px);
}

/* 英雄区域样式 */
.hero {
    background: linear-gradient(rgba(0, 51, 102, 0.8), rgba(0, 102, 204, 0.8)), url('https://img.tukuppt.com/ad_preview/00/09/38/5c9916e3c217a.jpg!/fw/980') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
    margin-top: 70px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    text-align: center;
}

.btn-primary {
    background: var(--accent-color);
    color: white;
    border: 2px solid var(--accent-color);
}

.btn-primary:hover {
    background: #0088cc;
    border-color: #0088cc;
    transform: translateY(-3px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

/* 内容区块通用样式 */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
}

.section-title p {
    color: var(--gray-color);
    font-size: 1.1rem;
}

/* 公司简介样式 */
.intro-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.intro-text {
    flex: 1;
    min-width: 300px;
}

.intro-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.read-more {
    display: inline-block;
    color: var(--primary-color);
    font-weight: bold;
    text-decoration: none;
    margin-top: 20px;
    position: relative;
}

.read-more::after {
    content: '→';
    margin-left: 5px;
    transition: transform 0.3s;
}

.read-more:hover::after {
    transform: translateX(5px);
}

.intro-image {
    flex: 1;
    min-width: 300px;
}

.intro-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 产品预览样式 */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.product-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-icon {
    margin-bottom: 20px;
}

.product-icon img {
    width: 80px;
    height: 80px;
}

.product-card h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.product-card p {
    color: var(--gray-color);
    margin-bottom: 20px;
}

.product-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    position: relative;
}

.product-link::after {
    content: '→';
    margin-left: 5px;
    transition: transform 0.3s;
}

.product-link:hover::after {
    transform: translateX(5px);
}

.view-all {
    text-align: center;
}

/* 时间轴样式 */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background-color: var(--primary-color);
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 30px;
    position: relative;
    margin-bottom: 40px;
    width: 50%;
}

.timeline-item:nth-child(even) {
    align-self: flex-end;
    justify-content: flex-start;
    padding-left: 30px;
    padding-right: 0;
    left: 50%;
}

.timeline-year {
    background: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    position: absolute;
    top: 0;
    right: -70px;
    z-index: 1;
    font-weight: bold;
}

.timeline-item:nth-child(even) .timeline-year {
    right: auto;
    left: -70px;
}

.timeline-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.timeline-content h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

/* 页脚样式 */
footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after,
.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--accent-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* 动画效果 */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* 关于我们页面特定样式 */
.page-header {
    background: linear-gradient(rgba(0, 51, 102, 0.8), rgba(0, 102, 204, 0.8)), url('https://img.tukuppt.com/ad_preview/00/09/38/5c9916e3c217a.jpg!/fw/980') no-repeat center center/cover;
    padding: 120px 0 80px;
    color: white;
    text-align: center;
    margin-top: 70px;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.company-intro {
    padding: 80px 0;
}

.intro-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.intro-text {
    flex: 1;
}

.intro-text h2 {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.intro-image {
    flex: 1;
}

.intro-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.culture-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.culture-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.culture-item h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.culture-item ul {
    list-style: none;
}

.culture-item ul li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.culture-item ul li:last-child {
    border-bottom: none;
}

.leadership {
    background: var(--light-color);
    padding: 80px 0;
}

.team-member {
    display: flex;
    gap: 40px;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.member-image {
    flex: 1;
}

.member-image img {
    width: 100%;
    border-radius: 10px;
}

.member-info {
    flex: 2;
}

.member-info h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.member-info .title {
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 20px;
}

.member-experience {
    margin-top: 20px;
}

.member-experience h4 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.core-team {
    padding: 80px 0;
}

.team-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.team-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-card h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.team-card .title {
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 15px;
}

/* 产品服务页面特定样式 */
.product-nav {
    background: var(--light-color);
    padding: 20px 0;
}

.product-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.product-tab {
    padding: 10px 20px;
    background: white;
    border-radius: 5px;
    text-decoration: none;
    color: var(--dark-color);
    font-weight: bold;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.product-tab:hover,
.product-tab.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.product-category {
    padding: 80px 0;
}

.product-detail {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
    align-items: center;
}

.product-image {
    flex: 1;
}

.product-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product-info {
    flex: 1;
}

.product-info h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 20px;
}

.feature-list li::before {
    content: '✓';
    color: var(--success-color);
    position: absolute;
    left: 0;
}

.advantages {
    margin-top: 20px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 10px;
}

.advantages h4 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.remake-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.remake-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.remake-item h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}
/* 再制造设备部分样式 */
#remake {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.remake-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.remake-item {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.remake-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

/* 设备图片容器样式 - 兼容不同格式图片 */
.equipment-image {
    width: 100%;
    height: 200px; /* 固定高度，确保视觉统一 */
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f0f0; /* 背景色，图片加载前或透明图显示更美观 */
}

.equipment-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* 保持比例，完整显示不同尺寸图片 */
    transition: transform 0.3s ease;
}

.remake-item:hover .equipment-image img {
    transform: scale(1.05); /* 悬停缩放效果 */
}

.remake-item h3 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.remake-item p {
    color: #666;
    margin-bottom: 8px;
    line-height: 1.6;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .remake-grid {
        grid-template-columns: 1fr;
    }
    
    .equipment-image {
        height: 180px; /* 移动端图片高度调整 */
    }
}
/* 联系我们页面特定样式 */
.page-header {
    background: linear-gradient(rgba(0, 51, 102, 0.8), rgba(0, 102, 204, 0.8)), url('https://img.tukuppt.com/ad_preview/00/09/38/5c9916e3c217a.jpg!/fw/980') no-repeat center center/cover;
    padding: 120px 0 80px;
    color: white;
    text-align: center;
    margin-top: 70px;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.contact-info {
    padding: 80px 0;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.contact-card {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    margin-bottom: 20px;
}

.contact-icon img {
    width: 60px;
    height: 60px;
}

.contact-card h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.contact-card p {
    color: var(--gray-color);
}

.contact-form {
    background: var(--light-color);
    padding: 80px 0;
}

.form-container {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    max-width: 800px;
    margin: 0 auto;
}

.form-container h2 {
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}
/* 
.map {
    padding: 80px 0;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 450px;
    position: relative;
}

#map-container {
    width: 100%;
    height: 100%;
}

.map-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: white;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    z-index: 999;
    max-width: 300px;
}

.map-overlay h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.map-overlay p {
    margin-bottom: 5px;
    color: var(--gray-color);
    display: flex;
    align-items: center;
}

.map-overlay i {
    margin-right: 8px;
    color: var(--primary-color);
}
 */
/* 响应式设计 */
@media (max-width: 992px) {
    .logo-text {
        font-size: 20px;
    }
    
    .logo-img {
        width: 40px;
        height: 40px;
        margin-right: 10px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: left 0.3s ease;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .menu-btn {
        display: block;
    }
    
    .menu-btn.active .menu-btn__burger {
        transform: rotate(45deg);
    }
    
    .menu-btn.active .menu-btn__burger::before {
        transform: rotate(90deg) translate(0, 0);
    }
    
    .menu-btn.active .menu-btn__burger::after {
        opacity: 0;
    }
    
    .logo-text {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .logo-text {
        display: none; /* 在非常小的屏幕上隐藏文字，只显示Logo */
    }
    
    .logo-img {
        margin-right: 0;
    }
}