/* ============================================
   雕塑头条 - 首页样式
   ============================================ */

/* ---------- 基础重置 ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: #333;
    background: #f5f5f5;
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: color .25s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- 顶部通知栏 ---------- */
.top-bar {
    background: #1a1a2e;
    color: #ccc;
    font-size: 13px;
    padding: 6px 0;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar a { color: #ccc; margin-left: 16px; }
.top-bar a:hover { color: #fff; }

/* ---------- 导航栏 ---------- */
.header {
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
    position: sticky;
    top: 0;
    z-index: 999;
}
.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.logo a {
    display: flex;
    align-items: center;
    gap: 8px;
}
.logo-icon {
    font-size: 28px;
    color: #c8a45c;
}
.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a2e;
    letter-spacing: 2px;
}
.logo-slogan {
    font-size: 11px;
    color: #999;
    letter-spacing: 3px;
    margin-top: 2px;
}
.main-nav ul { display: flex; gap: 32px; }
.main-nav a {
    font-size: 15px;
    color: #555;
    padding: 4px 0;
    position: relative;
}
.main-nav a.active,
.main-nav a:hover { color: #c8a45c; }
.main-nav a.active::after,
.main-nav a:hover::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #c8a45c;
    border-radius: 1px;
}
.btn-primary {
    background: #c8a45c;
    color: #fff;
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    transition: background .25s;
}
.btn-primary:hover { background: #b08f4a; }

/* 汉堡菜单 */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 24px; height: 2px; background: #333; border-radius: 1px; }

/* ---------- Hero 轮播 ---------- */
.hero {
    position: relative;
    height: 580px;
    overflow: hidden;
}
.hero-slides { display: flex; width: 300%; height: 100%; transition: transform .6s ease; }
.hero-slide {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.25) 100%);
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 0 20px;
}
.hero-content h1 {
    font-size: 46px;
    font-weight: 700;
    margin-bottom: 16px;
    text-shadow: 0 2px 8px rgba(0,0,0,.3);
    letter-spacing: 3px;
}
.hero-content p {
    font-size: 18px;
    opacity: .9;
    margin-bottom: 36px;
    letter-spacing: 1px;
}
.hero-btns { display: flex; gap: 16px; justify-content: center; }
.btn-white {
    background: #fff;
    color: #1a1a2e;
    padding: 12px 36px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    transition: all .25s;
}
.btn-white:hover { background: #c8a45c; color: #fff; }
.btn-outline {
    border: 2px solid #fff;
    color: #fff;
    padding: 12px 36px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    transition: all .25s;
}
.btn-outline:hover { background: #fff; color: #1a1a2e; }

/* 轮播 dots */
.hero-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 10px;
}
.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,.5);
    cursor: pointer;
    transition: all .3s;
}
.dot.active { background: #c8a45c; transform: scale(1.2); }

/* 左右箭头 */
.hero-arrows { position: absolute; top: 50%; left: 0; right: 0; z-index: 3; display: flex; justify-content: space-between; padding: 0 24px; transform: translateY(-50%); }
.arrow-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,.2);
    color: #fff;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .25s;
    backdrop-filter: blur(4px);
}
.arrow-btn:hover { background: rgba(255,255,255,.45); }

/* ---------- 快捷入口 ---------- */
.quick-links { margin-top: -60px; position: relative; z-index: 10; padding-bottom: 40px; }
.ql-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.ql-item {
    background: #fff;
    border-radius: 12px;
    padding: 32px 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,.06);
    transition: transform .3s, box-shadow .3s;
}
.ql-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 30px rgba(0,0,0,.12);
}
.ql-icon { font-size: 40px; margin-bottom: 12px; }
.ql-item h3 { font-size: 18px; color: #1a1a2e; margin-bottom: 6px; }
.ql-item p { font-size: 13px; color: #888; }

/* ---------- 主内容区 ---------- */
.main-content { padding: 20px 0 60px; }
.main-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 30px;
    align-items: start;
}

/* 通用板块标题 */
.section { margin-bottom: 40px; }
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #eee;
}
.section-header h2 {
    font-size: 22px;
    color: #1a1a2e;
    display: flex;
    align-items: center;
    gap: 8px;
}
.sec-icon { font-size: 24px; }
.more-link { font-size: 14px; color: #c8a45c; font-weight: 500; }
.more-link:hover { text-decoration: underline; }

/* --- 头条资讯 --- */
.news-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,.05);
}
.news-img-wrap {
    position: relative;
    min-height: 240px;
    overflow: hidden;
}
.news-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.news-tag {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    margin-right: 6px;
}
.news-tag.hot { background: #e74c3c; color: #fff; }
.news-tag { background: #c8a45c; color: #fff; }
.news-info { padding: 20px; }
.news-info h3 { font-size: 18px; line-height: 1.5; margin-bottom: 10px; }
.news-info h3 a:hover { color: #c8a45c; }
.news-meta { font-size: 13px; color: #999; display: flex; gap: 16px; margin-bottom: 10px; }
.news-summary { font-size: 14px; color: #666; line-height: 1.8; }

/* 资讯列表 */
.news-list { background: #fff; border-radius: 10px; padding: 16px 20px; box-shadow: 0 2px 12px rgba(0,0,0,.05); }
.news-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    gap: 10px;
}
.news-item:last-child { border-bottom: none; }
.news-item .news-tag { flex-shrink: 0; font-size: 11px; padding: 1px 8px; }
.news-item a { flex: 1; font-size: 15px; color: #333; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.news-item a:hover { color: #c8a45c; }
.news-item time { flex-shrink: 0; font-size: 13px; color: #999; }

/* --- 展览板块 --- */
.exhibition-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.exhibit-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    transition: transform .3s;
}
.exhibit-card:hover { transform: translateY(-4px); }
.exhibit-img { position: relative; height: 180px; overflow: hidden; }
.exhibit-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.exhibit-card:hover .exhibit-img img { transform: scale(1.06); }
.exhibit-status {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
}
.exhibit-status.ongoing { background: #27ae60; }
.exhibit-status.upcoming { background: #e67e22; }
.exhibit-info { padding: 16px; }
.exhibit-info h3 { font-size: 16px; margin-bottom: 8px; line-height: 1.4; }
.exhibit-info h3 a:hover { color: #c8a45c; }
.exhibit-venue { font-size: 13px; color: #888; margin-bottom: 4px; }
.exhibit-date { font-size: 13px; color: #aaa; }

/* ---------- 右侧边栏 ---------- */
.sidebar { position: sticky; top: 92px; }
.sidebar-widget {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,.05);
}
.widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}
.widget-header h3 { font-size: 16px; color: #1a1a2e; }
.widget-header a { font-size: 13px; color: #c8a45c; }

/* 艺术家列表 */
.artist-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f8f8f8;
}
.artist-item:last-child { border-bottom: none; }
.artist-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid #eee;
}
.artist-avatar img { width: 100%; height: 100%; object-fit: cover; }
.artist-info h4 { font-size: 14px; margin-bottom: 2px; }
.artist-info p { font-size: 12px; color: #999; }

/* 标签云 */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
    padding: 5px 14px;
    background: #f7f7f7;
    border-radius: 20px;
    font-size: 13px;
    color: #666;
    transition: all .25s;
}
.tag:hover { background: #c8a45c; color: #fff; }

/* 入驻企业 */
.enterprise-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f8f8f8;
}
.enterprise-item:last-child { border-bottom: none; }
.ep-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: linear-gradient(135deg, #c8a45c, #b08f4a);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    flex-shrink: 0;
}
.ep-info h4 { font-size: 14px; margin-bottom: 2px; }
.ep-info p { font-size: 12px; color: #999; }
.btn-join {
    display: block;
    text-align: center;
    margin-top: 14px;
    padding: 10px;
    border: 2px dashed #c8a45c;
    border-radius: 8px;
    color: #c8a45c;
    font-weight: 600;
    font-size: 14px;
    transition: all .25s;
}
.btn-join:hover { background: #c8a45c; color: #fff; }

/* ---------- 数据统计条 ---------- */
.stats-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d2d5e 100%);
    padding: 50px 0;
    color: #fff;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}
.stat-num {
    font-size: 42px;
    font-weight: 700;
    color: #c8a45c;
    margin-bottom: 4px;
}
.stat-label { font-size: 15px; color: rgba(255,255,255,.8); }

/* ---------- 友情链接 ---------- */
.links-section { padding: 40px 0; background: #fff; }
.links-section .section-header { border-bottom: none; justify-content: center; }
.friend-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}
.friend-links a {
    padding: 8px 20px;
    background: #f7f7f7;
    border-radius: 6px;
    font-size: 14px;
    color: #666;
    transition: all .25s;
}
.friend-links a:hover { background: #c8a45c; color: #fff; }

/* ---------- 页脚 ---------- */
.footer {
    background: #1a1a2e;
    color: #ccc;
    padding: 50px 0 20px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 30px;
    margin-bottom: 30px;
}
.footer-col h4 {
    font-size: 16px;
    color: #fff;
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 8px;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: #c8a45c;
}
.footer-col p { font-size: 14px; line-height: 1.8; color: #aaa; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 14px; color: #aaa; }
.footer-col ul li a:hover { color: #c8a45c; }
.contact-list li { font-size: 14px; color: #aaa; margin-bottom: 8px; }
.qr-code { margin-top: 12px; }
.qr-placeholder {
    width: 100px;
    height: 100px;
    background: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #999;
}
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.1);
    font-size: 13px;
    color: #777;
}
.footer-bottom a { color: #c8a45c; }

/* ---------- 回到顶部 ---------- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #c8a45c;
    color: #fff;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(200,164,92,.4);
    opacity: 0;
    visibility: hidden;
    transition: all .3s;
    z-index: 999;
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: #b08f4a; transform: translateY(-2px); }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
    .main-grid { grid-template-columns: 1fr; }
    .sidebar { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .news-featured { grid-template-columns: 1fr; }
    .news-img-wrap { min-height: 200px; }
}

@media (max-width: 768px) {
    .top-bar { display: none; }
    .header { padding: 0 10px; }
    .main-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; box-shadow: 0 8px 20px rgba(0,0,0,.1); padding: 20px; }
    .main-nav.open { display: block; }
    .main-nav ul { flex-direction: column; gap: 16px; }
    .hamburger { display: flex; }
    .nav-actions { display: none; }
    .hero { height: 380px; }
    .hero-content h1 { font-size: 26px; }
    .hero-content p { font-size: 14px; }
    .hero-btns { flex-direction: column; align-items: center; }
    .ql-grid { grid-template-columns: repeat(2, 1fr); }
    .exhibition-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .footer-grid { grid-template-columns: 1fr; }
    .stat-num { font-size: 32px; }
}
