/* 水彩艺术风格 - 砖红色调 */
:root {
    --primary-color: #b85c4a;
    --secondary-color: #e3b4a8;
    --accent-color: #8c3b2b;
    --light-color: #f8f1e9;
    --dark-color: #3a2a26;
    --text-color: #4a3a35;
    --watercolor-bg: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path fill="%23b85c4a" opacity="0.2" d="M30,10 Q50,5 70,10 Q90,15 85,35 Q80,55 70,50 Q60,45 50,60 Q40,75 30,70 Q20,65 15,40 Q10,15 30,10"/></svg>');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Georgia', 'Times New Roman', serif;
}

body {
    background-color: var(--light-color);
    color: var(--text-color);
    line-height: 1.8;
    background-image: var(--watercolor-bg);
    background-size: 200px;
    background-blend-mode: overlay;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 艺术风格头部 */
header {
    background-color: rgba(248, 241, 233, 0.9);
    padding: 25px 0;
    border-bottom: 2px solid var(--secondary-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(184, 92, 74, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 32px;
    font-weight: bold;
    font-style: italic;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(184, 92, 74, 0.2);
    letter-spacing: 1px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
    flex-wrap: wrap;
}

nav ul li a {
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 500;
    background-color: rgba(184, 92, 74, 0.1);
}

nav ul li a:hover {
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
}

/* 水彩风格主要内容区 */
.main-content {
    background-color: rgba(248, 241, 233, 0.95);
    border-radius: 8px;
    padding: 35px;
    margin: 30px 0;
    border: 1px solid var(--secondary-color);
    box-shadow: 0 5px 20px rgba(184, 92, 74, 0.1);
    position: relative;
    overflow: hidden;
}

.main-content::before {
    content: "";
    position: absolute;
    top: -10px;
    right: -10px;
    width: 100px;
    height: 100px;
    background-image: var(--watercolor-bg);
    background-size: contain;
    opacity: 0.3;
    z-index: -1;
}

.section-title {
    font-size: 28px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px dashed var(--secondary-color);
    color: var(--accent-color);
    font-style: italic;
    position: relative;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50%;
    height: 2px;
    background-color: var(--primary-color);
}

/* 艺术风格文章卡片 */
.article-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.art-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.4s, box-shadow 0.4s;
    border: 1px solid var(--secondary-color);
    position: relative;
}

.art-card:hover {
    transform: translateY(-8px) rotate(1deg);
    box-shadow: 0 15px 30px rgba(184, 92, 74, 0.2);
}

.art-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: var(--watercolor-bg);
    background-size: 200px;
    opacity: 0.1;
    pointer-events: none;
}

.art-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid var(--secondary-color);
    filter: sepia(20%);
}

.art-body {
    padding: 20px;
}

.art-title {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--accent-color);
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.art-meta {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--primary-color);
    margin-top: 15px;
    font-style: italic;
}

/* 分类标签 */
.art-tag {
    display: inline-block;
    padding: 4px 12px;
    background-color: var(--secondary-color);
    color: var(--accent-color);
    border-radius: 15px;
    font-size: 13px;
    margin-bottom: 15px;
    font-weight: bold;
}

/* 文章详情页艺术风格 */
.art-detail {
    max-width: 800px;
    margin: 0 auto;
}

.art-header {
    margin-bottom: 40px;
    text-align: center;
    position: relative;
}

.art-header::before {
    content: "";
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    background-image: var(--watercolor-bg);
    background-size: contain;
    opacity: 0.2;
    z-index: -1;
}

.art-detail-title {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--accent-color);
    line-height: 1.3;
    font-style: italic;
    text-shadow: 1px 1px 2px rgba(184, 92, 74, 0.2);
}

.art-detail-meta {
    display: flex;
    justify-content: center;
    gap: 25px;
    color: var(--primary-color);
    margin-bottom: 25px;
    flex-wrap: wrap;
    font-style: italic;
}

.art-detail-image {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 30px;
    border: 5px solid white;
    box-shadow: 0 5px 15px rgba(184, 92, 74, 0.2);
    filter: sepia(15%);
}

.art-content {
    line-height: 1.9;
    font-size: 18px;
}

.art-content p {
    margin-bottom: 25px;
    text-indent: 2em;
}

.art-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 25px auto;
    display: block;
    border: 3px solid white;
    box-shadow: 0 3px 10px rgba(184, 92, 74, 0.2);
}

/* 艺术风格分页 */
.art-pagination {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}

.art-pagination a {
    padding: 10px 20px;
    border-radius: 30px;
    background-color: var(--secondary-color);
    color: var(--accent-color);
    font-weight: bold;
    border: 2px dashed var(--primary-color);
    transition: all 0.3s;
}

.art-pagination a:hover {
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-style: solid;
}

/* 艺术风格友情链接 */
.art-links {
    background-color: white;
    border-radius: 8px;
    padding: 25px;
    margin: 30px 0;
    border: 1px solid var(--secondary-color);
    box-shadow: 0 5px 15px rgba(184, 92, 74, 0.1);
    position: relative;
}

.art-links::before {
    content: "";
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 100px;
    height: 100px;
    background-image: var(--watercolor-bg);
    background-size: contain;
    opacity: 0.2;
    z-index: -1;
}

.art-links h3 {
    margin-bottom: 20px;
    color: var(--accent-color);
    font-size: 22px;
    font-style: italic;
}

.art-links-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.art-links-container a {
    padding: 8px 15px;
    background-color: var(--secondary-color);
    border-radius: 20px;
    font-size: 14px;
    color: var(--accent-color);
    border: 1px solid var(--primary-color);
    transition: all 0.3s;
}

.art-links-container a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: rotate(2deg);
}

/* 艺术风格页脚 */
footer {
    background-color: var(--dark-color);
    padding: 30px 0;
    text-align: center;
    margin-top: 50px;
    color: var(--secondary-color);
    border-top: 3px solid var(--primary-color);
    position: relative;
}

footer::before {
    content: "";
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 20px;
    background-image: var(--watercolor-bg);
    background-size: contain;
    opacity: 0.3;
}

.copyright {
    font-size: 14px;
    font-style: italic;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    nav ul {
        justify-content: center;
    }
    
    .art-gallery {
        grid-template-columns: 1fr;
    }
    
    .art-detail-title {
        font-size: 28px;
    }
    
    .art-detail-meta {
        gap: 15px;
    }
    
    .art-content p {
        text-indent: 1em;
    }
}