/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft Yahei", Arial, sans-serif;
}

/* 基础样式 */
body {
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

a {
    text-decoration: none;
    color: #333;
}

ul {
    list-style: none;
}

h1, h2, h3, h4 {
    margin-bottom: 1rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff !important;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn:hover {
    background-color: #0056b3;
}

/* 导航栏样式 */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #007bff;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 16px;
    padding: 5px 0;
    position: relative;
}

.nav-links a.active {
    color: #007bff;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #007bff;
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* 面包屑导航 */
.breadcrumb {
    padding: 1rem 0;
    background-color: #f1f1f1;
    font-size: 14px;
}

.breadcrumb a {
    color: #007bff;
}

/* 英雄区样式 */
.hero {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: #fff;
    padding: 5rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 20px;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* 核心优势 */
.features {
    padding: 4rem 0;
    background-color: #fff;
}

.features h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 2rem;
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    padding: 2rem;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card h3 {
    color: #007bff;
    font-size: 20px;
}

/* 公司介绍页面 */
.about {
    padding: 4rem 0;
    background-color: #fff;
}

.about h2 {
    font-size: 32px;
    margin-bottom: 2rem;
    color: #333;
}

.about-content {
    max-width: 900px;
    line-height: 1.8;
}

.about-content h3 {
    font-size: 24px;
    margin-top: 2rem;
    color: #007bff;
}

.about-content ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.about-content ul li {
    list-style: disc;
    margin-bottom: 0.5rem;
}

/* 产品服务页面 */
.services {
    padding: 4rem 0;
    background-color: #fff;
}

.services h2 {
    font-size: 32px;
    margin-bottom: 2rem;
    color: #333;
}

.service-categories {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.service-category {
    padding: 2rem;
    background-color: #f9f9f9;
    border-radius: 8px;
    border-left: 4px solid #007bff;
}

.service-category h3 {
    font-size: 24px;
    color: #007bff;
    margin-bottom: 1rem;
}

/* 联系我们页面 */
.contact {
    padding: 4rem 0;
    background-color: #fff;
}

.contact h2 {
    font-size: 32px;
    margin-bottom: 2rem;
    color: #333;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h3, .contact-form h3 {
    font-size: 24px;
    color: #007bff;
    margin-bottom: 1.5rem;
}

.contact-info p {
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.form-group textarea {
    resize: vertical;
}

/* 页脚样式 */
.footer {
    background-color: #333;
    color: #fff;
    padding: 3rem 0 1rem;
    margin-top: 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #555;
}

.company-info h4 {
    font-size: 18px;
    margin-bottom: 0.5rem;
}

.icp-record a {
    color: #ccc;
    text-decoration: underline;
}

.icp-record a:hover {
    color: #fff;
}

.copyright {
    text-align: center;
    font-size: 14px;
    color: #ccc;
}

/* 响应式适配 */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}