body {
    font-family: "Microsoft YaHei", Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    /*background-color: #FFF5E1; !* 淡橘黄色背景 *!*/
    scroll-behavior: smooth;
    position: relative;
    overflow-y: auto;  /* 改回允许垂直滚动 */
    background-image: url("../images/background-image.png");
    background-size: 100% 100%;

}

/* 添加隐藏滚动条的样式 */
body::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

@keyframes meteor {
    0% {
        transform: translate(120%, -120%) rotate(45deg);
        opacity: 1;
    }
    15% {
        opacity: 1;
    }
    25%, 100% {
        transform: translate(-150%, 150%) rotate(45deg);
        opacity: 0;
    }
}

.meteor {
    position: fixed;
    width: 3px;
    height: 3px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 
        0 0 0 1px rgba(255,255,255,0.1),
        0 0 3px 1px rgba(255,255,255,0.1),
        0 0 8px 2px rgba(255,255,255,0.1);
    pointer-events: none;
    z-index: 9999;
}

.meteor::before {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(
        90deg, 
        rgba(255,255,255,0.8) 0%,
        rgba(255,255,255,0.5) 20%,
        rgba(255,255,255,0.3) 40%,
        transparent 100%
    );
    border-radius: 50%;
    box-shadow: 
        0 0 3px rgba(255,255,255,0.3),
        0 0 6px rgba(255,255,255,0.3);
}

header {
    background: linear-gradient(135deg, 
        rgba(176, 229, 255, 0.95), 
        rgba(112, 206, 255, 0.9)
    );
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    color: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    overflow: visible;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1.8;
    height: 100px;  /* 添加固定高度 */
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, 
            rgba(255,255,255,0.1) 25%, 
            transparent 25%,
            transparent 50%, 
            rgba(255,255,255,0.1) 50%, 
            rgba(255,255,255,0.1) 75%, 
            transparent 75%
        );
    background-size: 30px 30px;
    animation: wave 15s linear infinite;
    opacity: 0.3;
}

@keyframes wave {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 60px 60px;
    }
}

nav {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    gap: 20px;
    flex: 1;
    position: relative;
}

nav img {
    margin-right: 10px; /* 确保logo与文本之间有间距 */
}

nav ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 20px; /* 增加列表项之间的间距 */
}

nav ul li {
    margin-right: 20px;
}

nav ul li:last-child {
    margin-right: 0;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;  /* 增加导航链接的内边距 */
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: #fff;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

nav ul li a:active {
    transform: translateY(0);
}

main {
    padding: 120px 20px 20px;
    max-width: 1200px;
    margin: 0 auto;
    color: #000;
    height: auto;  /* 移除固定高度限制 */
    overflow-y: visible;  /* 改为visible */
}

section {
    margin-bottom: 40px;
    padding: 20px;
    background: rgba(255,255,255,0.9);
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

section:hover {
    transform: translateY(-5px);
}

#video-carousel {
    margin: 20px 0;
}

.carousel {
    display: flex;
    justify-content: center;
    overflow: hidden;
    border-radius: 8px;
    background: rgba(0,0,0,0.05);
    padding: 20px;
    position: relative;
    min-height: 400px;
    box-sizing: border-box;
}

.video-container {
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
}
.video-container.active {
    display: flex;
}

.video-container video {
    width: 100%;
    height: 100%;
    height: auto;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.video-titles {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.title-item {
    padding: 10px 20px;
    background: rgba(66, 165, 245, 0.1);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.title-item:hover {
    background: rgba(66, 165, 245, 0.2);
    transform: translateY(-2px);
}

.title-item.active {
    background: rgba(66, 165, 245, 0.3);
    border-color: #42A5F5;
    font-weight: bold;
}

@media (max-width: 768px) {
    .title-item {
        padding: 8px 15px;
        font-size: 14px;
    }
}

/* 其他样式保持不变 */

footer {
    background: linear-gradient(135deg,
    rgba(176, 229, 255, 0.95),
    rgba(112, 206, 255, 0.9)
    );
    color: #fff;
    text-align: center;
    padding: 0;
    position: relative;
    width: 100%;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.footer-qrcode {
    margin: 0;
    padding: 0;
    width: 80px;  /* 稍微增大尺寸 */
    height: 80px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
    margin-bottom: 20px;  /* 增加与版权信息的间距 */
    object-fit: cover;  /* 确保图片填充且不变形 */
    margin-left: 20px; /* 新增：将二维码移到左边 */
}

footer p {
    margin: 0 20px 20px 0; /* 调整版权信息的位置 */
}

.footer-left{
    width: 30%;
    float: left;
    display: flex;
    align-items: center;
    height: 8px;
}
.footer-right{
    width: 70%;
    float: right;
}
 footer .container{
     width: 100%;
    margin: 0;
    padding: 0;
}

/* 其他样式保持不变 */

/* 弹出层样式 */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
}

.modal-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 80%;
    max-height: 80%;
}

.modal-content img {
    width: 300px;
    height: 300px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    object-fit: cover;  /* 确保图片填充且不变形 */
}

.logo-banner {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 12px 20px;  /* 增加内边距 */
    border-radius: 4px;
    transition: all 0.3s ease;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    backdrop-filter: blur(5px);
    z-index: 2;
    height: 80px;  /* 显著增加高度 */
    min-width: 120px;  /* 添加最小宽度 */
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-banner:hover {
    background-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.logo-banner img {
    height: 90px;  /* 显著增大logo图片尺寸 */
    width: auto;
    transition: transform 0.3s ease;
}

.logo-banner:hover img {
    transform: scale(1.05);  /* 添加hover时的放大效果 */
}

.logo-banner span {
    position: relative;
    display: flex;
    align-items: center;
    margin-left: 10px;
    transition: all 0.3s ease;
    white-space: nowrap;  /* 防止文字换行 */
}

.company-name {
    font-weight: 600;
    letter-spacing: 1px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-size: 20px;  /* 减小字体大小 */
    margin-left: 8px;  /* 调整间距 */
}

/* 响应式设计 */
@media (max-width: 768px) {
    header {
        padding: 5px 0;
    }

    .logo-banner {
        height: 60px;  /* 调整移动端高度 */
        padding: 10px;
    }

    .logo-banner img {
        height: 70px;  /* 调整移动端图片大小也相应增加 */
    }

    .company-name {
        font-size: 16px;  /* 移动端更小的字体 */
    }

    nav {
        flex-direction: column;
        gap: 10px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .video-container video {
        max-width: 90%;
    }
}

/* 添加加载动画 */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

section {
    animation: fadeIn 0.5s ease-out;
}

/* 优化可访问性 */
:focus {
    outline: 3px solid #2196F3;
    outline-offset: 2px;
}

/* 打印样式优化 */
@media print {
    header {
        position: static;
        box-shadow: none;
    }

    main {
        padding-top: 20px;
    }

    .video-container {
        display: none;
    }
}

/* 为Firefox添加隐藏滚动条的样式 */
* {
    scrollbar-width: none;
}

/* 为IE添加隐藏滚动条的样式 */
* {
    -ms-overflow-style: none;
}

.logo-banner:hover .company-name {
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
} 