/* ===== 公共 CSS ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #fcf8f3;
    color: #3a3a3a;
    font-family: 'Inter', 'Space Grotesk', sans-serif;
    line-height: 1.5;
    overflow-x: hidden;
    padding-top: 80px; /* 与导航栏高度匹配 */
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    background: rgba(255, 250, 240, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    padding: 0 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    z-index: 1000;
    border-bottom: none;
}

.logo {
    font-size: 2rem;
    font-weight: 500;
    background: linear-gradient(135deg, #a16e3a, #c69b6d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.logo span {
    font-size: 1rem;
    font-weight: 300;
    color: #b49a7b;
    margin-left: 0.5rem;
    background: none;
    -webkit-text-fill-color: #b49a7b;
}

.nav-menu {
    display: flex;
    gap: 2.2rem;
    list-style: none;
}

.nav-menu a {
    text-decoration: none;
    font-weight: 500;
    color: #5f4e3c;
    font-size: 1rem;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.2s;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #c9a87c;
    transition: width 0.25s ease;
}

.nav-menu a:hover::before,
.nav-menu a.active::before {
    width: 100%;
}

.nav-menu a:hover {
    color: #9e784c;
}

/* 板块大边距 */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 2rem 2rem;
}

section {
    margin: 6rem auto;
}

.section-title {
    font-size: 2.4rem;
    font-weight: 450;
    color: #4d3e2e;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
    letter-spacing: -0.02em;
}

.section-title:after {
    content: '';
    display: block;
    width: 90px;
    height: 4px;
    background: linear-gradient(90deg, #dbb68c, #f3dec6);
    border-radius: 4px;
    margin-top: 0.6rem;
}

img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 24px;
}

/* 滚动淡入特效 */
.fade-up {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.8s cubic-bezier(0.15, 0.75, 0.25, 1), transform 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== 底部样式 ===== */
.footer {
    background: #e8d9cb;
    color: #4e4134;
    padding: 4rem 2rem 2rem;
    margin-top: 6rem;
    border-radius: 48px 48px 0 0;
}

.footer .container {
    max-width: 1300px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
}

.footer-col h4 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #3f3327;
    margin-bottom: 1rem;
}

.footer-col h4 span {
    font-size: 1.1rem;
    font-weight: 300;
    color: #7b614b;
    margin-left: 0.5rem;
}

.footer-col p,
.footer-col a {
    color: #5c4b3b;
    text-decoration: none;
    line-height: 2;
}

.footer-col i {
    width: 1.8rem;
    color: #b58d63;
}

.contact-line {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem 0;
}

.qr-placeholder {
    width: 120px;
    height: 120px;
    background: #dacbbc;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7b614b;
    border: 1px solid #c2a889;
    margin-top: 1rem;
}

.footer-bottom {
    border-top: 1px solid #cdb7a4;
    margin-top: 3rem;
    padding-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.friend-links a {
    color: #7b614b;
    margin-right: 1.5rem;
}

/* 公共部分响应式 */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    .navbar {
        height: 70px;
        padding: 0 1rem;
    }
    .nav-menu {
        gap: 1rem;
    }
}