/* 顶部信息栏样式 */
.top-bar {
    background-color: var(--secondary);
    padding: 10px 0;
    color: #fff;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.welcome {
    font-size: 13px;
    opacity: 0.9;
}

.contact-info {
    display: flex;
    gap: 30px;
    align-items: center;
}

.contact-info span {
    opacity: 0.9;
}

/* 头部区域样式 */
.header {
    padding: 25px 0;
    background-color: #fff;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 50px;
}

.site-title {
    border-left: 1px solid #ddd;
    padding-left: 15px;
}

.site-title h1 {
    font-size: 22px;
    color: var(--text-primary);
    margin: 0;
    font-weight: bold;
}

.site-title p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 5px 0 0 0;
}

/* 导航菜单样式 */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 16px;
    padding: 10px 5px;
    position: relative;
    transition: all 0.3s ease;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary);
}

/* 页脚样式 */
.footer {
    background-color: var(--secondary);
    color: #fff;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: normal;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-section ul li i {
    margin-right: 10px;
    color: var(--primary);
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: var(--primary);
}

.qrcode {
    text-align: center;
}

.qrcode img {
    width: 120px;
    height: 120px;
    margin-bottom: 10px;
    background: #fff;
    padding: 5px;
    border-radius: 4px;
}

.qrcode p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    margin-bottom: 10px;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-bottom a:hover {
    color: var(--primary);
}

/* 响应式调整 */
@media screen and (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px;
    }

    .main-nav ul {
        gap: 30px;
    }
}

@media screen and (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 15px;
    }

    .main-nav ul {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .top-bar .container {
        flex-direction: column;
        gap: 5px;
    }
} 