/* ========================================
   高清视频 - 页头和页脚样式
   ======================================== */

/* 1. 页头导航 */
.header {
    background: linear-gradient(135deg, #FFFFFF 0%, #F8F9FA 100%);
    border-bottom: 2px solid #E0E0E0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.navbar {
    padding: 12px 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, #FF6B35, #FFB627);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-text {
    font-size: 18px;
    font-weight: 700;
    color: #2C3E50;
    letter-spacing: 1px;
}

/* 2. 导航菜单 */
.navbar-menu {
    display: flex;
    align-items: center;
    flex: 1;
    margin-left: 40px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 0;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    color: #2C3E50;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.nav-link:hover {
    color: #FF6B35;
    border-bottom-color: #FF6B35;
}

.nav-link.active {
    color: #FF6B35;
    border-bottom-color: #FF6B35;
    background: rgba(255, 107, 53, 0.05);
}

.nav-icon {
    font-size: 16px;
}

/* 3. 搜索框 */
.navbar-search {
    margin-left: auto;
    margin-right: 20px;
}

.search-box {
    display: flex;
    align-items: center;
    background: #F5F5F5;
    border: 1px solid #E0E0E0;
    border-radius: 24px;
    padding: 6px 12px;
    transition: all 0.3s ease;
    width: 250px;
}

.search-box:focus-within {
    border-color: #FF6B35;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.1);
    background: white;
}

.search-box input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 6px 12px;
    font-size: 14px;
    outline: none;
    font-family: inherit;
}

.search-box input::placeholder {
    color: #999;
}

.search-box button {
    background: linear-gradient(135deg, #FF6B35, #FFB627);
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s ease;
}

.search-box button:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

/* 4. 移动菜单按钮 */
.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.navbar-toggle span {
    width: 24px;
    height: 3px;
    background: #2C3E50;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* 5. 导航分隔线 */
.navbar-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #E0E0E0, transparent);
}

/* 6. 页脚 */
.footer {
    background: linear-gradient(135deg, #1A1A1A 0%, #2C3E50 100%);
    color: #ECF0F1;
    margin-top: 60px;
}

.footer-content {
    padding: 40px 0 0 0;
}

.footer-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding: 40px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-section h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #FFB627;
}

.footer-section p {
    font-size: 14px;
    line-height: 1.6;
    color: #BDC3C7;
    margin-bottom: 20px;
}

/* 7. 二维码 */
.footer-qrcodes {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.qrcode-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qrcode-image {
    width: 100px;
    height: 100px;
    border: 2px solid #FF6B35;
    border-radius: 8px;
    margin-bottom: 8px;
}

.qrcode-label {
    font-size: 12px;
    color: #BDC3C7;
    margin: 0;
}

/* 8. 页脚链接 */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #BDC3C7;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #FF6B35;
    padding-left: 8px;
}

/* 9. 页脚联系方式 */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    margin-bottom: 12px;
    font-size: 14px;
    display: flex;
    flex-direction: column;
}

.contact-label {
    color: #FFB627;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-value {
    color: #BDC3C7;
    word-break: break-all;
}

/* 10. 社交链接 */
.social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: rgba(255, 107, 53, 0.1);
    color: #FF6B35;
    text-decoration: none;
    border-radius: 6px;
    font-size: 13px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 107, 53, 0.2);
}

.social-link:hover {
    background: #FF6B35;
    color: white;
    transform: translateY(-2px);
}

.social-icon {
    font-size: 16px;
}

/* 11. 页脚底部 */
.footer-bottom {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    font-size: 13px;
    color: #95A5A6;
}

.footer-copyright p {
    margin: 0;
    margin-bottom: 4px;
}

.footer-icp {
    font-size: 12px;
}

.footer-links-bottom {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-links-bottom a {
    color: #95A5A6;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.footer-links-bottom a:hover {
    color: #FF6B35;
}

.divider {
    color: #7F8C8D;
}

/* 12. 响应式设计 */
@media (max-width: 1024px) {
    .navbar-search {
        margin-right: 0;
    }
    
    .search-box {
        width: 200px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 12px 0;
    }
    
    .navbar-toggle {
        display: flex;
        order: 3;
    }
    
    .navbar-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        gap: 0;
        margin-left: 0;
        display: none;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }
    
    .nav-list {
        flex-direction: column;
        width: 100%;
    }
    
    .nav-item {
        width: 100%;
    }
    
    .nav-link {
        padding: 12px 16px;
        border-bottom: none;
        border-left: 3px solid transparent;
    }
    
    .nav-link:hover,
    .nav-link.active {
        border-bottom: none;
        border-left-color: #FF6B35;
        background: rgba(255, 107, 53, 0.05);
    }
    
    .navbar-search {
        order: 4;
        width: 100%;
        margin: 12px 0 0 0;
        display: none;
    }
    
    .search-box {
        width: 100%;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .footer-links-bottom {
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 16px;
    }
    
    .navbar-menu {
        top: 56px;
    }
    
    .search-box {
        width: 100%;
    }
    
    .search-box input {
        padding: 4px 8px;
        font-size: 13px;
    }
    
    .footer-qrcodes {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-section h3 {
        font-size: 14px;
    }
    
    .footer-copyright {
        font-size: 12px;
    }
}
