/* 全局样式 */
:root {
    --primary-color: #F5E6E1;
    --secondary-color: #A2836E;
    --text-color: #333;
    --bg-color: #fff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'FZQingKeBenYueSong';
    src: url('../fonts/FZQingKeBenYueSong.ttf') format('truetype');
}

body {
    font-family: 'FZQingKeBenYueSong', Georgia, serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    width: 100%;
    min-width: 1480px;
}

/* 导航栏样式 */
.header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    min-width: 1480px;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.nav {
    width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--secondary-color);
}

/* 页脚样式 */
.footer {
    background-color: var(--primary-color);
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    color: var(--secondary-color);
}

.social-links,
.friend-links {
    display: flex;
    gap: 1.5rem;
}

.social-link,
.friend-link {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-link:hover,
.friend-link:hover {
    color: var(--text-color);
}

/* 通用布局样式 */
main {
    /*margin-top: 80px;*/
    min-height: calc(100vh - 200px);
}

.section-title {
    text-align: center;
    margin: 3rem 0;
    color: var(--secondary-color);
    font-size: 2rem;
}

/* 装饰元素样式 */
.ink-decoration {
    position: absolute;
    opacity: 0.1;
    pointer-events: none;
}

.crane {
    width: 100px;
    height: auto;
}

.lotus {
    width: 80px;
    height: auto;
}
