
/* 
整体样式设计：融合自然有机风格与智造未来元素，采用模块化布局，确保响应式设计
主色调使用柔和的绿色 (#87C29E) 与米色 (#F6F4EB)，辅以深蓝 (#305F72) 和灰色 (#D1D1D1)，使用橙色 (#FFA500) 作为点缀色
使用CSS3高级特性如渐变、阴影、动画等，提升网页的视觉层次与互动体验
*/

/* 通用样式 */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #87C29E, #F6F4EB);
    color: #305F72;
    line-height: 1.6;
}

/* 导航栏样式 */
.fixed-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(246, 244, 235, 0.9);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: background-color 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
}

.fixed-navbar.scrolled {
    background-color: rgba(246, 244, 235, 1);
}

.nav-logo {
    font-size: 24px;
    font-weight: bold;
    color: #305F72;
}

.nav-links a {
    margin-left: 20px;
    text-decoration: none;
    color: #305F72;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #FFA500;
}

/* 反馈按钮样式 */
.feedback-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #FFA500;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.feedback-button:hover {
    background-color: #e59400;
    transform: scale(1.1);
}

/* 容器样式 */
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 100px 20px 40px 20px;
    background-color: #F6F4EB;
}

/* 章节样式 */
.section {
    width: 100%;
    max-width: 1200px;
    margin-bottom: 60px;
}

.section-title {
    font-size: 28px;
    color: #305F72;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 4px;
    background-color: #FFA500;
    margin: 10px auto 0;
    border-radius: 2px;
}

.article-content {
    font-size: 16px;
    color: #305F72;
    line-height: 1.8;
}

.article-content h2, .article-content h3 {
    color: #305F72;
}

.article-content pre {
    background-color: #D1D1D1;
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 20px 0;
}

.article-content code {
    font-family: 'Courier New', Courier, monospace;
}

.article-content img {
    width: 100%;
    max-width: 320px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.article-content img:hover {
    transform: scale(1.05);
}

/* 卡片式布局 */
.service-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.service-card {
    background-color: #F6F4EB;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

/* 滑动动画效果 */
.case-slide {
    display: flex;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
}

.case-item {
    flex: none;
    width: 300px;
    margin-right: 20px;
    scroll-snap-align: start;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s forwards;
}

.case-item:nth-child(odd) {
    animation-delay: 0.3s;
}

.case-item:nth-child(even) {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 交互式图表 */
.interactive-chart {
    position: relative;
    width: 100%;
    height: 400px;
    background-color: #D1D1D1;
    border-radius: 10px;
    overflow: hidden;
}

.chart-bar {
    position: absolute;
    bottom: 0;
    width: 50px;
    background-color: #305F72;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 1s ease;
}

.interactive-chart:hover .chart-bar {
    transform: scaleY(1);
}

/* 虚拟现实展示 */
.vr-display {
    perspective: 1000px;
    width: 100%;
    height: 500px;
    background-color: #D1D1D1;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.vr-object {
    width: 200px;
    height: 200px;
    background-color: #87C29E;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotateY(0deg);
    transition: transform 1s;
}

.vr-display:hover .vr-object {
    transform: translate(-50%, -50%) rotateY(360deg);
}

/* 固定导航栏与反馈按钮的响应式调整 */
@media (max-width: 768px) {
    .fixed-navbar {
        flex-direction: column;
        align-items: flex-start;
    }
    .nav-links {
        display: flex;
        flex-direction: column;
        width: 100%;
    }
    .nav-links a {
        margin: 10px 0;
    }
    .service-container {
        flex-direction: column;
        align-items: center;
    }
    .service-card {
        width: 80%;
        margin-bottom: 20px;
    }
}

