/* style.css - 风格二：柔光胶片 (Soft Film) */

/* 颜色变量 */
:root {
    --color-primary: #b0918e; /* 柔和玫瑰灰 */
    --color-background: #f7f7f7; /* 极浅灰色 */
    --color-text: #5c5c5c; /* 暖灰色文字 */
    --color-border: #e6e6e6; /* 浅边框 */
}

/* 全局设置 */
body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--color-background);
    color: var(--color-text);
    line-height: 1.6;
}

/* 头部和 Logo */
header {
    border-bottom: 1px solid var(--color-border) !important;
}

.blog-header-logo {
    font-size: 2rem;
    font-weight: 300; /* 偏细字体 */
    color: var(--color-primary) !important;
    text-transform: lowercase;
}

a.blog-header-logo {
    text-decoration: none  !important;
    border: none  !important;
}

/* 导航栏 */
.nav-scroller {
    border-bottom: 1px solid var(--color-border) !important;
}

.nav-link {
    font-weight: 300;
    color: var(--color-text) !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-bottom: 0.75rem !important;
}

.nav-link:hover {
    color: #9c7b78 !important;
}

.nav-link.active {
    /* 激活状态 */
    border-bottom: 2px solid var(--color-primary) !important;
    color: var(--color-primary) !important;
    font-weight: 500;
}

/* 内容卡片 */
.card.shadow-sm {
    background-color: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 12px; /* 圆润的边角 */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03); /* 非常柔和的阴影 */
    opacity: 0.95; /* 略微降低透明度，增加柔和感 */
}

/* 友情链接 */
a {
    color: var(--color-text);
    text-decoration: none;
    padding: 0.2rem 0;
    border-bottom: 2px solid var(--color-border);
}

a:hover {
    color: var(--color-primary);
}

/* 页脚 */
footer {
    background-color: #f0f0f0 !important;
    border-top: 1px solid var(--color-border); 
    color: #a0a0a0 !important;
    padding-top: 2rem;
}

footer a {
    color: var(--color-primary);
    text-decoration: none;
}