/* 汉语酷 - 高大上传统文化风格主页样式 */
:root {
    /* 传统中国色系 */
    --bg-page: #f8f4f0; /* 宣纸色背景 */
    --bg-card: #fffefc; /* 浅米白卡片 */
    --bg-secondary: #f5f1e8; /* 浅黄灰 */
    --bg-tertiary: #f0ebe2; /* 浅灰褐 */
    
    /* 主色调 - 朱红色系 */
    --primary-red: #c3272b; /* 朱红 */
    --red-light: #d94c4f; /* 浅朱红 */
    --red-dark: #a81f23; /* 深朱红 */
    
    /* 辅助色 - 青蓝色系 */
    --accent-blue: #2a6ebb; /* 靛青 */
    --blue-light: #3b82c8; /* 浅青 */
    
    /* 中性色 - 墨色系 */
    --neutral-dark: #5a4d3a; /* 中墨 */
    --neutral-medium: #8a7e6c; /* 淡墨 */
    --neutral-light: #b8ad9d; /* 极淡墨 */
    
    /* 文字色 - 墨色系 */
    --text-primary: #2c2416; /* 浓墨 */
    --text-secondary: #5a4d3a; /* 中墨 */
    --text-light: #8a7e6c; /* 淡墨 */
    --text-muted: #b8ad9d; /* 极淡墨 */
    
    /* 边框色 */
    --border-light: #e8dfd0; /* 浅木色 */
    --border-medium: #d6ccba; /* 中木色 */
    
    /* 阴影 */
    --shadow-sm: 0 1px 3px rgba(44, 36, 22, 0.08);
    --shadow-md: 0 4px 6px rgba(44, 36, 22, 0.1);
    --shadow-lg: 0 10px 15px rgba(44, 36, 22, 0.1);  

    /* 五行色彩 */
    --wood-color: #4CAF50;
    --fire-color: #F44336;
    --earth-color: #795548;
    --metal-color: #607D8B;
    --water-color: #2196F3;    
    
    /* 五行浅色 */
    --metal-light: #e6d8a5;
    --wood-light: #c8e6c9;
    --water-light: #bbdefb;
    --fire-light: #ffcdd2;
    --earth-light: #d7ccc8;
    
    /* 圆角 */
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "PingFang SC", "Microsoft YaHei", "SimSun", serif;
    background: var(--bg-page);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 14px;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(248, 244, 240, 0.8) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(245, 241, 232, 0.6) 0%, transparent 20%);
    background-attachment: fixed;
}

.hc-container {
    max-width: 1200px;
    margin: 0 auto;
    background: var(--bg-card);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    overflow: hidden;
}

/* 传统风格头部 */
.hc-header {
    background: var(--bg-card);
    border-bottom: 2px solid var(--primary-red);
    box-shadow: var(--shadow-sm);
    background-image: linear-gradient(to bottom, var(--bg-card), var(--bg-secondary));
    padding: 0 30px;
}

.hc-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    gap: 24px;
}

.hc-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-red);
    text-decoration: none;
    font-family: "楷体", "KaiTi", "STKaiti", serif;
}

.hc-logo i {
    font-size: 32px;
}

.hc-nav-main {
    display: flex;
    gap: 10px;
    flex: 1;
    justify-content: center;
}

.nav-item {
    padding: 10px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    border: 1px solid transparent;
}

.nav-item:hover {
    color: var(--primary-red);
    background: var(--bg-secondary);
    border-color: var(--border-light);
}

.nav-item.active {
    color: var(--primary-red);
    background: rgba(195, 39, 43, 0.08);
    border: 1px solid rgba(195, 39, 43, 0.2);
    font-weight: 600;
}

/* 搜索框样式 */
.hc-search {
    display: flex;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-medium);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    width: 400px;
}

.hc-search:focus-within {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(195, 39, 43, 0.1);
}

.search-category {
    position: relative;
    min-width: 100px;
    background: linear-gradient(to bottom, var(--primary-red), var(--red-dark));
    color: white;
}

.category-select {
    width: 100%;
    height: 100%;
    padding: 0 35px 0 12px;
    background: none;
    border: none;
    color: white;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    appearance: none;
    outline: none;
}

.category-select option {
    background: white;
    color: var(--text-primary);
}

.search-category::after {
    content: "\f107";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    pointer-events: none;
}

.hc-search input {
    border: none;
    background: none;
    padding: 12px 15px;
    width: 100%;
    outline: none;
    font-size: 14px;
    color: var(--text-primary);
}

.hc-search input::placeholder {
    color: var(--text-muted);
}

.search-btn {
    border: none;
    background: var(--primary-red);
    color: white;
    padding: 12px 20px;
    cursor: pointer;
    transition: background 0.3s ease;
    font-weight: 500;
}

.search-btn:hover {
    background: var(--red-dark);
}

/* 传统风格页脚 */
.hc-footer {
    background: var(--bg-card);
    border-top: 2px solid var(--primary-red);
    padding: 50px 30px 30px;
    background-image: linear-gradient(to bottom, var(--bg-card), var(--bg-secondary));
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 20px;
    font-family: "楷体", "KaiTi", "STKaiti", serif;
}

.footer-description {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 15px;
}

.footer-column h3 {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--primary-red);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-light);
    color: var(--text-light);
    font-size: 14px;
}

/* 传统风格面包屑 */
.hc-breadcrumb {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 25px;
    padding: 12px 0;
    border-bottom: 1px dashed var(--border-light);
}

.hc-breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.hc-breadcrumb a:hover {
    color: var(--primary-red);
}

.hc-breadcrumb .current {
    color: var(--primary-red);
    font-weight: 500;
}

/* 高大上自定义分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}
.hc-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 30px 0;
    font-family: "Microsoft YaHei", sans-serif;
}

.hc-pagination a, .hc-pagination .current {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 15px;
    border: 1px solid #e8dfd0;
    border-radius: 8px;
    text-decoration: none;
    color: #5a4d3a;
    background: #fffefc;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 14px;
}

.hc-pagination a:hover {
    color: #c3272b;
    border-color: #c3272b;
    background: rgba(195, 39, 43, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(44, 36, 22, 0.1);
}

.hc-pagination .current {
    color: #fff;
    background: #c3272b;
    border-color: #c3272b;
    font-weight: 600;
}

.hc-pagination .page-prev, .hc-pagination .page-next {
    font-size: 18px;
    font-weight: bold;
}
        
/* 响应式设计 */
@media (max-width: 1024px) {   
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    .hc-nav {
        flex-direction: column;
        gap: 16px;
    }
    
    .hc-nav-main {
        order: 3;
        width: 100%;
        justify-content: space-around;
        flex-wrap: wrap;
    }
    
    .hc-search {
        width: 100%;
    }
    
    .hc-search input {
        width: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hc-header, .hero-section, .features-section, .popular-section, .special-section {
        padding-left: 20px;
        padding-right: 20px;
    }
    
}