
/* 整体页面样式 */
/* 设置页面基础样式，使用流式布局确保响应式设计 */
body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1E90FF 70%, #87CEFA 25%, #FFA500 5%);
    color: #333;
    line-height: 1.6;
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(30, 144, 255, 0.9);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.navbar ul {
    list-style: none;
    display: flex;
    justify-content: space-around;
    padding: 15px 0;
    margin: 0;
}

.navbar li {
    position: relative;
}

.navbar a {
    text-decoration: none;
    color: #fff;
    font-size: 18px;
    transition: color 0.3s ease;
}

.navbar a:hover {
    color: #32CD32;
}

/* 多级菜单样式 */
.navbar ul ul {
    display: none;
    position: absolute;
    top: 50px;
    left: 0;
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.navbar ul li:hover > ul {
    display: block;
}

.navbar ul ul li {
    width: 150px;
}

.navbar ul ul a {
    color: #333;
    font-size: 16px;
}

.navbar ul ul a:hover {
    color: #FFA500;
}

/* 面包屑导航样式 */
.breadcrumb {
    margin: 80px 20px 20px 20px;
    font-size: 14px;
    color: #555;
}

/* 主内容区样式 */
.container {
    display: grid;
    grid-template-columns: none;
    gap: 20px;
    padding: 20px;
}

/* 卡片样式 */
.card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card img {
    width: 100%;
    border-bottom: 1px solid #e0e0e0;
}

.card-content {
    padding: 15px;
}

.card-content h3 {
    margin-top: 0;
    color: #1E90FF;
}

.card-content p {
    font-size: 16px;
    color: #333;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #FFA500;
    color: #fff;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-decoration: none;
}

.btn:hover {
    background-color: #FF8C00;
    transform: scale(1.05);
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    animation: fadeInUp 1s forwards;
}

/* 代码块样式 */
.code-block {
    background: #f5f5f5;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    font-family: 'Courier New', Courier, monospace;
    margin: 20px 0;
}

/* 图片悬浮效果 */
.image-hover {
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-hover:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* 底部样式 */
.footer {
    background-color: rgba(30, 144, 255, 0.9);
    color: #fff;
    padding: 40px 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer .section {
    flex: 1 1 200px;
    margin: 10px;
}

.footer h4 {
    margin-bottom: 15px;
    border-bottom: 2px solid #fff;
    padding-bottom: 5px;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer ul li a:hover {
    color: #32CD32;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .container {
        grid-template-columns: none;
    }
}

@media (max-width: 768px) {
    .navbar ul {
        flex-direction: column;
        align-items: center;
    }

    .breadcrumb {
        margin: 100px 10px 10px 10px;
    }
}

