/* --- calligraphy.html 专用样式 --- */

/* 扩展变量 */
:root {
    --ink-light: #666666;
    --silk-gold: #d4cbb3;
    --frame-wood: #5c4033;
    --font-art: 'Ma Shan Zheng', cursive;
}

/* 页面特定设置 */
body { line-height: 2.2; }
.container { max-width: 1100px; }

/* 水墨晕染背景 */
.ink-wash-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(0,0,0,0.03) 0%, transparent 40%),
                radial-gradient(circle at 10% 80%, rgba(0,0,0,0.02) 0%, transparent 50%);
    z-index: 0;
    pointer-events: none;
}

/* 头部 */
.page-header {
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
}

.logo-seal {
    display: inline-block;
    width: 40px; height: 40px;
    background-color: var(--seal-red);
    color: #fff;
    line-height: 40px;
    font-size: 0.9rem;
    border-radius: 4px;
    margin-bottom: 25px;
    font-family: var(--font-title);
}

.page-title {
    font-size: 2.5rem;
    font-weight: normal;
    letter-spacing: 0.3em;
    margin: 0;
    font-family: var(--font-title);
}

.page-subtitle {
    font-size: 1rem;
    color: var(--ink-light);
    letter-spacing: 0.1em;
    margin-top: 15px;
    font-family: var(--font-art);
}

.back-link {
    position: absolute;
    top: 80px; left: 40px;
    text-decoration: none;
    color: var(--ink-light);
    font-size: 0.9rem;
    transition: color 0.3s;
    writing-mode: vertical-rl;
    letter-spacing: 0.2em;
}
.back-link:hover { color: var(--seal-red); }

/* 挂轴展示 */
.scroll-display-section {
    margin: 100px 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 80px;
}

.hanging-scroll {
    position: relative;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    transition: transform 0.8s ease;
    background: #fff;
}
.hanging-scroll:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

.hanging-string {
    position: absolute;
    top: -60px; left: 50%;
    width: 2px; height: 60px;
    background: #888;
    transform: translateX(-50%);
}
.hanging-string::before {
    content: '';
    position: absolute;
    top: -10px; left: -5px;
    width: 10px; height: 10px;
    border: 2px solid #555;
    border-radius: 50%;
}

.scroll-img {
    display: block;
    max-width: 400px;
    height: auto;
}

/* 竖排解说 */
.art-caption-v {
    writing-mode: vertical-rl;
    height: 400px;
    margin-top: 50px;
    font-family: var(--font-title);
}

.art-caption-v h3 {
    font-size: 1.4rem;
    margin: 0 0 0 25px;
    color: var(--ink-color);
    border-left: 2px solid var(--seal-red);
    padding-left: 15px;
}

.art-caption-v p {
    font-size: 0.95rem;
    color: var(--ink-light);
    text-align: justify;
    line-height: 2;
}

/* 画框展示 */
.framed-art-section {
    margin: 150px 0;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
    background: rgba(255,255,255,0.4);
    padding: 60px 0;
}

.frame-shadow {
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border: 10px solid #fff;
    outline: 2px solid #ddd;
}

.frame-img {
    width: 100%; height: auto; display: block;
}

.art-caption-h { padding: 0 40px; }
.art-caption-h h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    font-weight: normal;
}

.seal-mark {
    color: var(--seal-red);
    border: 1px solid var(--seal-red);
    padding: 2px 6px;
    font-size: 0.7rem;
    margin-right: 10px;
    vertical-align: middle;
    border-radius: 2px;
}

/* 留白引言 */
.empty-space-quote {
    text-align: center;
    margin: 120px 0;
    padding: 80px 0;
    border-top: 1px solid rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.quote-text {
    font-size: 1.4rem;
    font-family: var(--font-art);
    color: var(--ink-light);
    letter-spacing: 0.2em;
}

.quote-sub {
    font-size: 0.8rem;
    color: #999;
    display: block;
    margin-top: 15px;
}

/* 页脚 */
.calligraphy-footer {
    text-align: center;
    padding: 80px 0;
    font-size: 0.8rem;
    color: #aaa;
}

.calligraphy-footer .company-name {
    margin-bottom: 20px;
    font-size: 1.1rem;
    font-family: var(--font-title);
    color: var(--ink-color);
}

.calligraphy-footer .contact-hint {
    font-size: 0.8rem;
    color: #999;
}

.calligraphy-footer .copyright {
    font-size: 0.7rem;
    opacity: 0.5;
    margin-top: 20px;
}

/* 响应式 */
@media (max-width: 768px) {
    .back-link { writing-mode: horizontal-tb; top: 30px; left: 20px; }
    .scroll-display-section { flex-direction: column; align-items: center; gap: 40px; }
    .hanging-scroll { margin-bottom: 30px; }
    .scroll-img { max-width: 100%; width: 80vw; }
    .art-caption-v {
        writing-mode: horizontal-tb;
        height: auto;
        margin-top: 0;
        width: 80vw;
    }
    .art-caption-v h3 {
        border-left: none;
        border-bottom: 2px solid var(--seal-red);
        padding-left: 0;
        padding-bottom: 10px;
        display: inline-block;
    }
    .framed-art-section { grid-template-columns: 1fr; padding: 40px 20px; }
    .art-caption-h { padding: 0; margin-top: 30px; }
}
