:root {
    --bg: #121212;
    --text: #f0f0f0;
    --sub-text: #888;
    --accent: #d4af37; /* 金色点缀 */
    --font: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { background: var(--bg); color: var(--text); font-family: var(--font); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }

/* 导航 */
nav {
    position: fixed; top: 0; width: 100%; z-index: 100;
    display: flex; justify-content: space-between; align-items: center;
    padding: 2rem 5%; background: rgba(18,18,18,0.9); backdrop-filter: blur(10px);
}
.logo { font-size: 1.2rem; letter-spacing: 4px; text-transform: uppercase; font-weight: 700; }
.nav-links { display: flex; gap: 2rem; font-size: 0.85rem; letter-spacing: 1px; text-transform: uppercase; }
.nav-links a:hover { color: var(--accent); }

/* Hero */
.hero {
    height: 100vh; display: flex; align-items: center; justify-content: center;
    background: url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?auto=format&fit=crop&w=1920&q=80') center/cover;
    position: relative; text-align: center;
}
.hero::after { content:''; position:absolute; inset:0; background:rgba(0,0,0,0.4); }
.hero-content { position: relative; z-index: 1; }
.hero h1 { font-size: 4rem; font-weight: 300; letter-spacing: 8px; margin-bottom: 1rem; }
.hero p { font-size: 1rem; letter-spacing: 2px; color: #ddd; }

/* 网格画廊 */
.gallery-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 5px; padding: 5px; margin-top: 100px; /* 给固定导航留空 */
}
.gallery-item {
    position: relative; overflow: hidden; aspect-ratio: 3/2; cursor: pointer;
}
.gallery-item img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.8s;
    filter: brightness(0.8);
}
.gallery-item:hover img { transform: scale(1.05); filter: brightness(1); }
.item-overlay {
    position: absolute; inset: 0; display: flex; flex-direction: column;
    justify-content: flex-end; padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 50%);
    opacity: 0; transition: opacity 0.4s;
}
.gallery-item:hover .item-overlay { opacity: 1; }
.item-overlay h3 { font-size: 1.2rem; font-weight: 400; margin-bottom: 0.5rem; }
.item-overlay span { font-size: 0.75rem; color: var(--accent); text-transform: uppercase; letter-spacing: 1px; }

/* 详情页 */
.detail-view { padding: 150px 5% 50px; max-width: 1400px; margin: 0 auto; }
.detail-img { width: 100%; max-height: 80vh; object-fit: contain; margin-bottom: 3rem; }
.detail-info { display: flex; justify-content: space-between; align-items: flex-start; border-top: 1px solid #333; padding-top: 2rem; }
.detail-title { font-size: 2rem; font-weight: 300; margin-bottom: 1rem; }
.exif-data { display: flex; gap: 2rem; font-size: 0.85rem; color: var(--sub-text); }
.exif-item span { display: block; color: var(--text); margin-top: 4px; }

/* 关于页 */
.about-container { max-width: 900px; margin: 0 auto; padding: 200px 5% 100px; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-img { width: 100%; aspect-ratio: 3/4; object-fit: cover; filter: grayscale(20%); }
.about-text h2 { font-size: 2.5rem; font-weight: 300; margin-bottom: 2rem; }
.about-text p { color: #ccc; margin-bottom: 1.5rem; font-size: 0.95rem; }

footer { text-align: center; padding: 3rem; font-size: 0.75rem; color: #555; letter-spacing: 2px; }

@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; letter-spacing: 4px; }
    .gallery-grid { grid-template-columns: 1fr 1fr; gap: 2px; }
    .about-container { grid-template-columns: 1fr; padding-top: 150px; }
}