/* --- Hero 主视觉 --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 10%;
    position: relative;
    overflow: hidden;
    background: var(--ink-black);
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    filter: brightness(0.6) grayscale(0.2);
}

.slide.active {
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    color: white;
    max-width: 800px;
}

.hero-tag {
    font-family: 'Ma Shan Zheng', cursive;
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin-bottom: 20px;
    display: block;
    letter-spacing: 5px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInOut 1s forwards;
}

.hero h1 {
    font-size: 6rem;
    line-height: 1.1;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInOut 1.2s forwards 0.3s;
}

.hero p {
    font-size: 1.2rem;
    max-width: 500px;
    margin-bottom: 40px;
    line-height: 2;
    color: rgba(255,255,255,0.7);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInOut 1.2s forwards 0.6s;
}

.cta-btn {
    padding: 18px 45px;
    background: transparent;
    border: 1px solid white;
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 2px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.cta-btn:hover {
    background: white;
    color: black;
    border-color: white;
}

/* --- 纹理背景 --- */
.texture-bg {
    position: relative;
}

.texture-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://www.transparenttextures.com/patterns/natural-paper.png');
    opacity: 0.4;
    pointer-events: none;
}

/* --- 关于我们 --- */
.about-section {
    padding: 0 10% 120px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 100px;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
    color: var(--text-gray);
}

.about-text h3 {
    font-size: 2.2rem;
    color: var(--ink-black);
    margin-bottom: 30px;
    line-height: 1.4;
}

.about-img-container {
    position: relative;
}

.about-img-container img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    filter: sepia(0.2) contrast(1.1);
}

.img-overlay-box {
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 250px;
    height: 250px;
    background: var(--primary-red);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: white;
    z-index: 5;
}

/* --- 非遗项目展示网格 --- */
.ich-showcase {
    background: #fff;
    padding: 100px 0;
}

.ich-horizontal-scroll {
    display: flex;
    overflow-x: auto;
    padding: 40px 10%;
    gap: 40px;
    scrollbar-width: none;
}

.ich-horizontal-scroll::-webkit-scrollbar {
    display: none;
}

.ich-item {
    flex: 0 0 450px;
    position: relative;
    overflow: hidden;
    height: 600px;
    transition: var(--transition-smooth);
}

.ich-item:hover {
    flex: 0 0 550px;
}

.ich-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.ich-item:hover img {
    transform: scale(1.1);
    filter: brightness(0.7);
}

.ich-item-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 50px;
    color: white;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

.ich-item:hover .ich-item-content {
    transform: translateY(0);
}

.ich-item h4 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.ich-item p {
    font-size: 0.95rem;
    opacity: 0.8;
    max-width: 300px;
}

/* --- 文化成就统计 --- */
.stats-section {
    padding: 100px 0;
    background: #fff;
    margin: 80px 0;
}

.stats-container {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 10%;
    gap: 60px;
    align-items: center;
}

.stats-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.stat-item {
    padding: 30px;
    background: var(--bg-cream);
    border-left: 4px solid var(--primary-red);
    transition: var(--transition-smooth);
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}

.stat-number {
    font-family: 'Ma Shan Zheng', cursive;
    font-size: 3.5rem;
    color: var(--primary-red);
    line-height: 1.2;
    margin-bottom: 10px;
}

.stat-desc {
    font-size: 1rem;
    color: var(--text-gray);
    letter-spacing: 1px;
}

.chart-container {
    flex: 1.2;
    background: #fdfcfb;
    padding: 40px;
    border-radius: 20px;
    box-shadow: inset 0 0 50px rgba(155, 27, 30, 0.02);
}

.chart-caption {
    text-align: center;
    margin-top: 20px;
    color: var(--primary-red);
    font-family: 'Ma Shan Zheng', cursive;
    font-size: 1.4rem;
}

@media (max-width: 1024px) {
    .stats-container {
        flex-direction: column;
    }
    .stats-grid {
        width: 100%;
    }
}

/* --- 动态资讯卡片 --- */
.news-grid {
    padding: 0 10% 120px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background: #FDFBF7;
    padding: 40px;
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition-smooth);
    position: relative;
}

.news-card:hover {
    background: white;
    box-shadow: 0 30px 60px rgba(0,0,0,0.05);
    transform: translateY(-10px);
}

.news-card .date {
    font-family: 'Ma Shan Zheng', cursive;
    color: var(--primary-red);
    font-size: 1.2rem;
    margin-bottom: 20px;
    display: block;
}

.news-card h5 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

@media (max-width: 1024px) {
    .ich-item { flex: 0 0 350px; }
}

@media (max-width: 768px) {
    .about-section { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr; }
}
