/* 公共样式 - 导航、页脚等 */

/* 移除默认边距，确保页面填满整个视口 */
html, body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    background-color: #f3f4f6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* 主内容区域自动填充空间，将页脚推到底部 */
body > .container {
    flex: 1 0 auto;
}

/* 导航链接样式 */
.nav-link {
    position: relative;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #2563eb;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 50%;
    background-color: #2563eb;
    transition: all 0.3s;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

/* 增强阴影效果 */
.enhanced-shadow {
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06),
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.strong-card-shadow {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.1);
}
