/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

/* 容器样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.navbar {
    background-color: #2c3e50;
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 600;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}

.nav-links a:hover, .nav-links a.active {
    color: #3498db;
    border-bottom: 2px solid #3498db;
}

/* 首页横幅样式 */
.hero {
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* 产品展示样式 */
.products {
    padding: 4rem 0;
    background-color: white;
}

.products h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 1rem;
    border-radius: 8px 8px 0 0;
}

.product-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    padding: 0 1.5rem;
    color: #2c3e50;
}

.product-card p {
    padding: 0 1.5rem 1rem;
    color: #666;
}

.product-card button {
    display: block;
    width: 80%;
    margin: 0 auto 1.5rem;
    padding: 0.8rem;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.product-card button:hover {
    background-color: #2980b9;
}

/* 公司详情样式 */
.company {
    padding: 4rem 0;
    background-color: white;
}

.company h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.company-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.company-history h3, .company-values h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #34495e;
}

.company-history p {
    margin-bottom: 1rem;
    color: #666;
    line-height: 1.8;
}

.company-values ul {
    list-style: none;
}

.company-values li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    color: #666;
}

.company-values li::before {
    content: "•";
    color: #3498db;
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -0.2rem;
}

/* 公司愿景样式 */
.company-vision {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2.5rem;
    border-radius: 12px;
    margin-bottom: 3rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.company-vision h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.company-vision p {
    color: white;
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.95;
}

/* 核心优势样式 */
.company-advantages {
    margin-bottom: 3rem;
}

.company-advantages h3 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.advantage-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e8e8e8;
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: #3498db;
}

.advantage-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.advantage-item h4 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: #2c3e50;
}

.advantage-item p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* 服务领域样式 */
.company-services {
    margin-bottom: 3rem;
}

.company-services h3 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.service-item {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 2rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    border-left: 4px solid #3498db;
}

.service-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.service-item h4 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: #2c3e50;
}

.service-item p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* 管理团队样式 */
.company-team h3 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #34495e;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.team-member {
    text-align: center;
}

.team-image {
    width: 150px;
    height: 150px;
    background: linear-gradient(45deg, #3498db, #2ecc71);
    border-radius: 50%;
    margin: 0 auto 1rem;
}

.team-member h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.team-member p {
    color: #666;
    font-size: 0.9rem;
}

/* 联系方式样式 */
.contact {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
    position: relative;
}

.contact h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-details, .contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.contact-details:hover, .contact-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.contact-details h3, .contact-form h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
    padding-bottom: 1rem;
    border-bottom: 2px solid #3498db;
}

.contact-details ul {
    list-style: none;
}

.contact-details li {
    margin-bottom: 1.5rem;
    color: #666;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #3498db;
    transition: all 0.3s ease;
}

.contact-details li:hover {
    background: #e8f4f8;
    border-left-color: #2ecc71;
}

.contact-details li strong {
    color: #2c3e50;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.3rem;
}

/* 表单样式 */
.contact-form form {
    background-color: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #555;
    font-weight: 600;
    font-size: 1rem;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
    background: #fafbfc;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form button {
    display: block;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.contact-form button:hover {
    background: linear-gradient(135deg, #2980b9, #3498db);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.contact-form button:active {
    transform: translateY(0);
}

/* 页脚样式 */
.footer {
    background-color: #2c3e50;
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.footer p {
    opacity: 0.8;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
    }
    
    .nav-links {
        margin-top: 1rem;
    }
    
    .nav-links li {
        margin: 0 1rem;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .company-info {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-details, .contact-form {
        padding: 2rem;
    }
    
    .contact h2 {
        font-size: 2rem;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .company-vision {
        padding: 2rem;
    }
    
    .company-vision h3 {
        font-size: 1.3rem;
    }
    
    .company-vision p {
        font-size: 1rem;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .services-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h2 {
        font-size: 1.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .products h2, .company h2, .contact h2 {
        font-size: 1.5rem;
    }
    
    .contact-form form {
        padding: 1.5rem;
    }
    
    .contact-details, .contact-form {
        padding: 1.5rem;
    }
    
    .contact-details h3, .contact-form h3 {
        font-size: 1.5rem;
    }
    
    .company-vision {
        padding: 1.5rem;
    }
    
    .company-vision h3 {
        font-size: 1.2rem;
    }
    
    .company-vision p {
        font-size: 0.95rem;
    }
    
    .advantage-item {
        padding: 1.5rem;
    }
    
    .service-item {
        padding: 1.5rem;
    }
}