/* 头部容器样式 */
body {
    margin: 0;
}

.header-container {
    width: 100%;
    background: #f2f7fb;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* 头部顶部区域 */
.header-top {
    max-width: 1400px;
    height: 80px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 头部左侧 */
.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Logo样式 */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 60px;
    width: auto;
}

.site-name {
    font-size: 24px;
    font-weight: bold;
    color: #2c5aa0;
}

/* 日期信息 */
.date-info {
    font-size: 16px;
    font-weight: 600;
    color: #666;
}

/* 头部右侧 */
.header-right {
    display: flex;
    align-items: center;
}

/* 搜索容器 */
.search-container {
    display: flex;
    align-items: center;
    border: 2px solid #67a8c8;
    border-radius: 20px;
    overflow: hidden;
}

#search-input {
    width: 260px;
    padding: 10px 15px;
    border: none;
    outline: none;
    font-size: 14px;
}

#search-btn {
    background: #67a8c8;
    border: none;
    padding: 10px 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-icon {
    width: 24px;
    height: 24px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"/></svg>') no-repeat center;
    background-size: contain;
}

/* 导航栏样式 */
.navigation {
    background: #67a8c8;
    padding: 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 50px;
}

.nav-item {
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    font-size: 18px;
    transition: background-color 0.3s;
    display: block;
}

.nav-item:hover {
    background: rgba(255,255,255,0.1);
    color: white;
}

/* 下拉菜单样式 */
.dropdown {
    position: relative;
    display: inline-block;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: background-color 0.3s;
    display: block;
    position: relative;
}

.nav-link:hover {
    color: white;
}

.dropdown-arrow {
    font-size: 12px;
    margin-left: 5px;
    transition: transform 0.3s;
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 300px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1000;
    top: 100%;
    left: 0;
    max-height: 400px;
    overflow-y: auto;
    border-radius: 4px;
}

/* 自定义滚动条样式 - WebKit浏览器 (Chrome, Safari, Edge) */
.dropdown-content::-webkit-scrollbar {
    width: 8px;
}

.dropdown-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.dropdown-content::-webkit-scrollbar-thumb {
    background: #67a8c8;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.dropdown-content::-webkit-scrollbar-thumb:hover {
    background: #5a9bb8;
}

.dropdown-content::-webkit-scrollbar-thumb:active {
    background: #4d8ba8;
}

/* Firefox 滚动条样式 */
.dropdown-content {
    scrollbar-width: thin;
    scrollbar-color: #67a8c8 #f1f1f1;
}

.dropdown-content a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s;
}

.dropdown-content a:hover {
    background-color: #67a8c8;
    color: white;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* 底部样式 */

/* 蓝色部分：关于我们、友情链接、二维码 */
.footer-main-section {
    display: flex;
    padding: 40px 20px;
    background: #d9e6ed;
}

/* 中间友情链接 */
.friendly-links-section {
    margin-right: 150px;
}

.friendly-links-section h4 {
    color: #000;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
}

.links-grid {
    display: flex;
    gap: 50px;
}

.links-column {
    flex: 1;
    width: 180px;
    line-height: 1.7;
}

.links-column a {
    display: block;
    color: #4a4b4f;
    text-decoration: none;
    padding: 6px 0;
    font-size: 16px;
    transition: color 0.3s;
}

.links-column a:hover {
    color: white;
}

/* 右侧关于我们 */

.about-us-section h4 {
    color: #000;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
}

.about-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.about-link {
    color: #000;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
    padding: 5px 0;
}

.about-link:hover {
    color: white;
}

.footer-section {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
}


/* 右侧二维码 */
.qr-codes-section {
    flex: 0 0 200px;
    display: flex;
    gap: 20px;
}

.qr-code {
    text-align: center;
    flex: 1;
}

.qr-code img {
    width: 80px;
    height: 80px;
    background: white;
    padding: 5px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.qr-code span {
    display: block;
    font-size: 12px;
    color: rgba(255,255,255,0.9);
    line-height: 1.4;
}

/* 深蓝色部分：版权信息和合规图标 */
.footer-bottom-section {
    background: #7baabe;
    padding: 30px 20px;
}

/* 导航链接 */
.footer-nav {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.footer-nav-link {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-nav-link:hover {
    color: white;
}

.separator {
    color: rgba(255,255,255,0.5);
    margin: 0 15px;
}

/* 版权信息 */
.copyright-info {
    text-align: center;
    margin-bottom: 25px;
}

.copyright-info p {
    margin-bottom: 8px;
    font-size: 15px;
    color: rgba(255,255,255,0.7);
    line-height: 1.5;
}

/* 合规图标 */
.compliance-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.compliance-item {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: opacity 0.3s;
    padding: 10px;
    border-radius: 6px;
}

.compliance-item img {
    width: 165px;
    height: 57px;
    flex-shrink: 0;
}

/* 底部响应式设计 */
@media (max-width: 768px) {
    .footer-main-section {
        flex-direction: column;
        gap: 30px;
    }
    
    .about-us-section {
        flex: none;
    }
    
    .links-grid {
        flex-direction: column;
        gap: 20px;
    }
    
    .qr-codes-section {
        flex: none;
        justify-content: center;
    }
    
    .compliance-icons {
        gap: 20px;
    }
    
    .compliance-item {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }
}
