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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.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: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #fa8c16;
}

.logo a {
    color: #fa8c16;
    text-decoration: none;
    transition: opacity 0.3s;
}

.logo a:hover {
    opacity: 0.8;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #666;
    padding: 8px 0;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #1890ff;
}

/* Banner */
.banner {
    background: linear-gradient(rgba(0, 50, 100, 0.75), rgba(0, 80, 150, 0.75)), url('../images/banner-business.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
    padding: 100px 20px;
    text-align: center;
}

.banner-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.banner-content p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* 按钮 */
.btn {
    display: inline-block;
    background: #1890ff;
    color: #fff;
    padding: 12px 30px;
    border-radius: 5px;
    transition: background 0.3s;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn:hover {
    background: #40a9ff;
}

.btn-outline {
    background: transparent;
    border: 2px solid #1890ff;
    color: #1890ff;
}

.btn-outline:hover {
    background: #1890ff;
    color: #fff;
}

/* 通用区块 */
.features,
.about-preview,
.products-preview {
    padding: 60px 0;
    background: #fff;
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: #333;
}

/* 特性网格 */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #1890ff;
}

.feature-item p {
    color: #666;
}

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

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

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

.product-placeholder,
.product-image {
    height: 200px;
    background: linear-gradient(135deg, #1890ff 0%, #096dd9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 48px;
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-card h3 {
    padding: 20px 20px 10px;
    font-size: 20px;
}

.product-card p {
    padding: 0 20px 20px;
    color: #666;
}

.product-card ul {
    padding: 0 20px 20px;
    color: #666;
}

.product-card li {
    padding: 5px 0;
}

/* 页脚 */
.footer {
    background: #333;
    color: #fff;
    padding: 40px 0 20px;
}

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

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #1890ff;
}

.footer-section p,
.footer-section li {
    color: #ccc;
    margin-bottom: 10px;
}

.footer-section a:hover {
    color: #1890ff;
}

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

/* 页面头部 */
.page-header {
    background: linear-gradient(rgba(0, 50, 100, 0.75), rgba(0, 80, 150, 0.75)), url('../images/banner-business.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
    padding: 60px 20px;
    text-align: center;
}

.page-header h1 {
    font-size: 36px;
}

/* 内容区块 */
.content-section {
    padding: 60px 0;
}

.about-content h2,
.products-content h2 {
    font-size: 24px;
    margin: 30px 0 20px;
    color: #1890ff;
}

.about-content p {
    margin-bottom: 15px;
    color: #666;
}

/* 时间线 */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline-item {
    position: relative;
    padding-bottom: 20px;
    border-left: 2px solid #1890ff;
    padding-left: 20px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 0;
    width: 10px;
    height: 10px;
    background: #1890ff;
    border-radius: 50%;
}

.timeline-item .year {
    font-weight: bold;
    color: #1890ff;
}

/* 文化网格 */
.culture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.culture-item {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
}

.culture-item h3 {
    margin-bottom: 15px;
    color: #1890ff;
}

/* 荣誉资质 */
.honor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.honor-item {
    background: linear-gradient(135deg, #fff7e6 0%, #ffe7ba 100%);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    color: #d48806;
    font-weight: bold;
}

/* 服务网格 */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-item {
    text-align: center;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 10px;
}

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

.service-item h3 {
    margin-bottom: 10px;
    color: #1890ff;
}

/* CTA 区块 */
.cta-section {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #f0f5ff 0%, #e6f7ff 100%);
    border-radius: 10px;
    margin-top: 40px;
}

.cta-section h2 {
    margin-bottom: 15px;
}

.cta-section p {
    margin-bottom: 25px;
    color: #666;
}

/* 新闻列表 */
.news-list {
    max-width: 900px;
    margin: 0 auto;
}

.news-item {
    background: #fff;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.news-item h3 {
    margin-bottom: 10px;
}

.news-item h3 a:hover {
    color: #1890ff;
}

.news-excerpt {
    color: #666;
    margin-bottom: 15px;
}

.read-more {
    color: #1890ff;
    font-weight: 500;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.pagination a {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: all 0.3s;
}

.pagination a:hover,
.pagination a.active {
    background: #1890ff;
    color: #fff;
    border-color: #1890ff;
}

/* 联系页面 */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.contact-info h2,
.contact-form-section h2 {
    margin-bottom: 25px;
    color: #1890ff;
}

.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.info-item .icon {
    font-size: 24px;
}

.info-item h4 {
    margin-bottom: 5px;
}

.info-item p {
    color: #666;
}

/* 联系表单 */
.contact-form {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1890ff;
}

/* 地图占位 */
.map-section {
    margin-top: 40px;
}

.map-section h2 {
    margin-bottom: 20px;
    color: #1890ff;
}

.map-placeholder {
    background: #e0e0e0;
    height: 400px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #666;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .banner-content h1 {
        font-size: 32px;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}
