/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

/* Header布局 */
.logobar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Logo样式 */
.sitelogo img {
    max-width: 60px;
    height: auto;
    transition: transform 0.3s ease;
}

.sitelogo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.site-title {
    font-size: 1.5rem;
    color: #b63b02;
    font-weight: 600;
    letter-spacing: 0.05em;
}

/* 导航菜单样式 */
.category-menu {
    display: flex;
    gap: 2rem;
}

.category-menu a {
    color: #b63b02;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.category-menu a:hover {
    color: #E63946;
    font-weight: 600;
}

/* 下划线动画效果 */
.category-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: #ff6b6b;
    transition: width 0.3s ease;
}

.category-menu a:hover::after {
    width: 100%;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .logobar {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .category-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .category-menu a {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .sitelogo img {
        max-width: 60px;
    }
    
    .category-menu {
        gap: 0.75rem;
    }
    
    .category-menu a {
        font-size: 0.9rem;
    }
}



/* Footer 样式 */
footer {
    background: #444;
    color: white;
    padding: 2rem 1rem;
    margin-top: 3rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
}

/* 响应式设计 */
@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

