/* style.css - 公共样式表 */
:root {
    --primary-color: #58181F; /* 深酒红 */
    --accent-color: #D4AF37; /* 香槟金 */
    --bg-dark: #0a0a0a;       /* 极深灰背景 */
    --bg-card: #141414;       /* 卡片背景 */
    --text-main: #f0f0f0;
    --text-muted: #a0a0a0;
    --font-serif: 'Noto Serif SC', 'Playfair Display', serif;
    --font-sans: 'Montserrat', sans-serif;
}

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

body {
    font-family: var(--font-serif);
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* 导航栏 */
nav {
    position: fixed; top: 0; width: 100%; padding: 1rem 3rem;
    display: flex; justify-content: space-between; align-items: center;
    z-index: 1000; transition: all 0.4s ease;
    background: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent);
}
nav.scrolled {
    background-color: rgba(10, 10, 10, 0.98); padding: 0.8rem 3rem;
    box-shadow: 0 2px 20px rgba(0,0,0,0.6);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}
.logo-container img { height: 50px; width: auto; transition: transform 0.3s; }
.nav-links { display: flex; gap: 3rem; }
.nav-links a {
    text-decoration: none; color: var(--text-main);
    font-size: 0.95rem; letter-spacing: 1px;
    font-family: var(--font-sans); position: relative; transition: color 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent-color); }
.nav-links a::after {
    content: ''; position: absolute; width: 0; height: 1px;
    bottom: -5px; left: 0; background-color: var(--accent-color); transition: width 0.3s;
}
.nav-links a:hover::after { width: 100%; }

/* 通用板块 */
section { padding: 6rem 10%; min-height: 80vh; }
.section-title { font-size: 2.5rem; text-align: center; margin-bottom: 1rem; color: var(--accent-color); }
.section-subtitle { text-align: center; margin-bottom: 3rem; color: var(--text-muted); font-family: var(--font-sans); }

/* 动画 */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 1s, transform 1s; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
@keyframes breathe { from { transform: scale(1); } to { transform: scale(1.15); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* Footer */
footer {
    background: #000; padding: 4rem 10%; border-top: 1px solid #222; text-align: center;
}
.footer-logo { font-size: 1.5rem; color: var(--accent-color); margin-bottom: 1rem; display: inline-block; }

/* 移动端适配 */
@media (max-width: 768px) {
    .nav-links { display: none; }
    section { padding: 4rem 5%; }
}