/* ===== 变量 ===== */
:root {
    --bg: #F9F7F4;
    --bg-alt: #F1EDE8;
    --text: #2D4A3E;
    --text-muted: #6B7B74;
    --accent: #C9A961;
    --white: #FFFFFF;
    --border: #E0DAD2;
    --shadow: 0 4px 20px rgba(45, 74, 62, 0.08);
    --shadow-lg: 0 12px 40px rgba(45, 74, 62, 0.15);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Playfair Display', 'Noto Serif SC', serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.8;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: color 0.3s; }

/* ===== 导航栏 ===== */
#navbar {
    position: fixed; top: 0; width: 100%;
    background: rgba(249, 247, 244, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: box-shadow 0.3s;
}
#navbar.scrolled { box-shadow: var(--shadow); }

.nav-container {
    max-width: 1000px; margin: 0 auto; padding: 1rem 2rem;
    display: flex; justify-content: space-between; align-items: center;
}

.nav-logo { font-size: 1.3rem; font-weight: 600; font-style: italic; color: var(--text); }

.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
    color: var(--text-muted); font-size: 0.95rem; font-weight: 500;
    position: relative; padding: 0.25rem 0;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a.active::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 100%; height: 1.5px; background: var(--accent);
}

.mobile-toggle {
    display: none; background: none; border: none; cursor: pointer;
    flex-direction: column; gap: 5px; padding: 0.5rem;
}
.mobile-toggle span { width: 24px; height: 2px; background: var(--text); }

/* ===== Hero ===== */
.hero {
    min-height: 100vh; display: flex; align-items: center;
    justify-content: center; text-align: center; position: relative;
    overflow: hidden; animation: fadeUp 1.5s ease forwards; opacity: 0;
}
@keyframes fadeUp { to { opacity: 1; } }

.hero-watermark {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 28rem; font-style: italic; font-weight: 700;
    color: var(--text); opacity: 0.04; z-index: 0;
    pointer-events: none; line-height: 1; user-select: none;
}

.hero-content { position: relative; z-index: 1; max-width: 600px; padding: 2rem; }
.hero-greeting { font-size: 1.2rem; color: var(--accent); font-style: italic; margin-bottom: 0.5rem; }
.hero-title { font-size: 4rem; font-weight: 500; margin-bottom: 1.5rem; line-height: 1.2; }
.hero-title em { font-style: italic; color: var(--accent); }
.hero-desc { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 2.5rem; }

.btn-primary {
    display: inline-block; padding: 0.8rem 2rem; border-radius: 2px;
    background: var(--text); color: var(--bg); font-size: 1rem;
    font-family: inherit; cursor: pointer; border: none; transition: all 0.3s;
}
.btn-primary:hover { background: var(--accent); transform: translateY(-2px); }

.scroll-indicator {
    position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
    color: var(--text-muted); animation: bounce 2s infinite;
}
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ===== Section ===== */
.section { max-width: 1000px; margin: 0 auto; padding: 6rem 2rem; }
.section-alt { max-width: 100%; background: var(--bg-alt); }
.section-alt > * { max-width: 1000px; margin-left: auto; margin-right: auto; }

.section-title { font-size: 2.2rem; font-weight: 500; text-align: center; margin-bottom: 0.5rem; }
.section-title::after {
    content: ''; display: block; width: 40px; height: 1.5px;
    background: var(--accent); margin: 1rem auto 0;
}
.section-subtitle { text-align: center; color: var(--text-muted); font-style: italic; margin-bottom: 3rem; }

/* ===== About ===== */
.about-grid { display: flex; gap: 4rem; align-items: center; }
.about-text { flex: 1; }
.about-text p { color: var(--text-muted); margin-bottom: 1.5rem; font-size: 1.1rem; }
.about-text strong { color: var(--text); font-weight: 600; }

.about-info { flex: 0 0 280px; display: flex; flex-direction: column; gap: 1rem; }
.info-card {
    background: var(--white); border: 1px solid var(--border);
    border-radius: 4px; padding: 1.25rem 1.5rem; box-shadow: var(--shadow);
}
.info-label { display: block; font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.3rem; }
.info-value { display: block; font-size: 1rem; color: var(--text); }

/* ===== Photography ===== */
.photo-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.photo-item {
    aspect-ratio: 1/1; overflow: hidden; border-radius: 4px;
    box-shadow: var(--shadow); cursor: pointer; transition: transform 0.3s;
}
.photo-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.photo-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.photo-item:hover img { transform: scale(1.05); }

/* ===== Music ===== */
.music-grid { 
    display: grid; 
    grid-template-columns: 1fr; 
    gap: 2rem; 
    max-width: 700px; 
    margin: 0 auto; 
}
.music-card {
    background: var(--white); border: 1px solid var(--border);
    border-radius: 8px; padding: 2.5rem; text-align: center; box-shadow: var(--shadow);
    transition: transform 0.3s;
}
.music-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.music-icon {
    width: 80px; height: 80px; margin: 0 auto 1.5rem;
    background: var(--bg-alt); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; color: var(--accent);
}
.music-card h3 { font-size: 1.5rem; font-weight: 500; margin-bottom: 0.5rem; }
.music-card p { color: var(--text-muted); margin-bottom: 1.5rem; font-style: italic; }
.music-video { width: 100%; border-radius: 4px; margin-top: 1rem; background: #000; }

/* ===== 音乐照片样式 ===== */
.music-photos-title {
    text-align: center; font-size: 1.5rem; font-weight: 500;
    margin-top: 4rem; margin-bottom: 2rem; color: var(--text);
}
.music-photos-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem;
    max-width: 700px; margin: 0 auto;
}
.music-photo-item {
    aspect-ratio: 4/3; overflow: hidden; border-radius: 4px;
    box-shadow: var(--shadow); cursor: pointer; transition: transform 0.3s;
}
.music-photo-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.music-photo-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.music-photo-item:hover img { transform: scale(1.05); }

/* ===== Contact ===== */
.contact-wrapper { text-align: center; max-width: 400px; margin: 0 auto; padding: 2rem 0; }
.contact-intro { color: var(--text-muted); margin-bottom: 2rem; font-style: italic; }
.contact-email {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-size: 1.1rem; color: var(--text); border-bottom: 1.5px solid var(--accent);
    padding-bottom: 0.25rem; transition: all 0.3s;
}
.contact-email:hover { color: var(--accent); transform: translateY(-2px); }

footer { text-align: center; padding: 2rem; border-top: 1px solid var(--border); color: var(--text-muted); font-size: 0.9rem; }

/* ===== 灯箱 ===== */
.lightbox {
    display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.9);
    z-index: 2000; align-items: center; justify-content: center; padding: 2rem;
}
.lightbox.active { display: flex; }
.lightbox-img { max-width: 85vw; max-height: 85vh; object-fit: contain; border-radius: 4px; }
.lightbox-close {
    position: absolute; top: 1.5rem; right: 2rem; font-size: 3rem;
    color: #fff; cursor: pointer; line-height: 1;
}

/* ===== 滚动动画 ===== */
.reveal {
    opacity: 0; transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== 响应式 ===== */
@media (max-width: 768px) {
    .nav-links {
        display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
        background: var(--bg); flex-direction: column; justify-content: center;
        align-items: center; gap: 2.5rem; z-index: 900;
    }
    .nav-links.active { display: flex; }
    .nav-links a { font-size: 1.5rem; }
    .mobile-toggle { display: flex; z-index: 999; }
    
    .hero-title { font-size: 2.5rem; }
    .hero-watermark { font-size: 12rem; }
    
    .about-grid { flex-direction: column; }
    .about-info { flex: none; width: 100%; }
    
    .photo-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
    
    .music-grid { grid-template-columns: 1fr; }
    .music-card { padding: 2rem 1.5rem; }
    
    .music-photos-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
}