/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft Yahei", sans-serif;
}

/* 响应式基础变量 */
:root {
    --primary-color: #c49871; /* 主色调（暖棕） */
    --bg-color: #f9f5f1;      /* 背景色 */
    --text-color: #333;       /* 文字主色 */
    --light-text: #777;       /* 浅文字色 */
    --white: #fff;            /* 白色 */
    --shadow: 0 2px 10px rgba(0,0,0,0.1); /* 阴影 */
}

/* 基础样式 */
body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* 头部导航 */
header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 999;
}

.nav-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 24px;
    color: var(--primary-color);
    font-weight: bold;
}

/* PC端导航 */
.nav-list {
    display: flex;
    gap: 30px;
}

.nav-list li a {
    font-size: 16px;
    color: var(--text-color);
    transition: color 0.3s;
}

.nav-list li a:hover,
.nav-list li a.active {
    color: var(--primary-color);
}

/* 移动端导航按钮 */
.mobile-nav-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary-color);
}

/* 移动端导航菜单 */
.mobile-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: var(--shadow);
    padding: 20px 0;
    z-index: 998;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* Banner区域 */
.banner {
    width: 100%;
    height: 600px;
    background: url('../images/banner.jpg') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,0.5);
}

.banner-text {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--primary-color);
}

.banner-text h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.banner-text p {
    font-size: 20px;
}

/* 通用页面标题 */
.page-title {
    text-align: center;
    padding: 50px 0;
    color: var(--primary-color);
    font-size: 36px;
}

/* 内容区域通用样式 */
.content {
    padding: 30px 0 80px;
}

.content-wrap {
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.content p {
    margin-bottom: 20px;
    font-size: 16px;
    color: var(--light-text);
    line-height: 1.8;
}

/* 中台功能模块 */
.platform-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.platform-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s;
}

.platform-item:hover {
    transform: translateY(-5px);
}

.platform-item h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 20px;
}

/* 加入我们 - 地图区域 */
.map-wrap {
    margin: 30px 0;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

#map {
    width: 100%;
    height: 100%;
}

/* 联系信息 */
.contact-info {
    margin-top: 30px;
    padding: 20px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 20px;
}

.contact-info ul li {
    margin-bottom: 10px;
    color: var(--light-text);
}

/* 底部 */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

.footer-info {
    margin-bottom: 20px;
}

.footer-info p {
    margin-bottom: 10px;
}

.copyright {
    font-size: 14px;
    opacity: 0.8;
}

/* 响应式适配 */
@media (max-width: 768px) {
    /* 隐藏PC导航，显示移动端按钮 */
    .nav-list {
        display: none;
    }

    .mobile-nav-btn {
        display: block;
    }

    /* Banner适配 */
    .banner {
        height: 400px;
    }

    .banner-text h1 {
        font-size: 32px;
    }

    .banner-text p {
        font-size: 16px;
    }

    /* 页面标题适配 */
    .page-title {
        font-size: 28px;
        padding: 30px 0;
    }

    /* 内容区域适配 */
    .content-wrap {
        padding: 20px;
    }

    /* 地图高度适配 */
    .map-wrap {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .banner {
        height: 300px;
    }

    .banner-text h1 {
        font-size: 24px;
    }

    .platform-list {
        grid-template-columns: 1fr;
    }
}