/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-dark: #2c1810;
    --primary-brown: #8b4513;
    --warm-beige: #f5f0e8;
    --light-cream: #faf8f3;
    --accent-gold: #d4a574;
    --text-dark: #3a3a3a;
    --text-light: #666;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--light-cream);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(250, 248, 243, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(44, 24, 16, 0.1);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: rotate(5deg);
}

.brand {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-dark);
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 15px;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-brown);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-brown);
}

.nav-links a:hover::after {
    width: 100%;
}

/* 首屏 */
.hero {
    height: 90vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.6)),
                url('images/hero-bg.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 80px;
    position: relative;
    margin-top: 70px;
}

.hero-content {
    max-width: 700px;
    z-index: 2;
}

.hero-title {
    font-size: 72px;
    font-weight: 300;
    color: white;
    line-height: 1.2;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
}

.title-line {
    display: block;
}

.highlight {
    font-weight: 600;
    background: linear-gradient(120deg, #fff 0%, var(--accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-left: 60px;
}

.hero-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 4px;
    margin-left: 60px;
}

/* 关于部分 */
.about {
    padding: 140px 0;
    background: var(--light-cream);
}

.about-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.section-title {
    font-size: 48px;
    font-weight: 300;
    color: var(--primary-dark);
    margin-bottom: 40px;
    letter-spacing: 3px;
}

.section-title.center {
    text-align: center;
}

.section-subtitle {
    text-align: center;
    font-size: 16px;
    color: var(--text-light);
    margin-top: -20px;
    margin-bottom: 80px;
    letter-spacing: 2px;
}

.about-description {
    font-size: 17px;
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 2;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.stat-item {
    text-align: left;
    padding: 20px 0;
    border-top: 2px solid var(--primary-brown);
}

.stat-number {
    font-size: 42px;
    font-weight: 300;
    color: var(--primary-brown);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
    letter-spacing: 1px;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 30px 30px 0 rgba(212, 165, 116, 0.2);
}

/* 藏品展示 */
.collection {
    padding: 140px 0;
    background: var(--warm-beige);
}

.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 280px;
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 2px;
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item.wide {
    grid-column: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.item-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
    color: white;
    padding: 30px 25px 20px;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.gallery-item:hover .item-info {
    transform: translateY(0);
}

.item-info h3 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 5px;
}

.item-info p {
    font-size: 13px;
    opacity: 0.9;
    letter-spacing: 1px;
}

/* 联系部分 */
.contact {
    padding: 140px 0;
    background: var(--light-cream);
}

.contact-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.contact-description {
    font-size: 17px;
    color: var(--text-light);
    margin-bottom: 60px;
    line-height: 2;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-top: 40px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-label {
    font-size: 13px;
    color: var(--text-light);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.contact-value {
    font-size: 18px;
    color: var(--primary-dark);
    font-weight: 500;
}

/* 页脚 */
.footer {
    padding: 50px 0;
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

.footer p {
    font-size: 14px;
    letter-spacing: 1px;
}

.footer .icp {
    font-size: 12px;
    margin-top: 10px;
    opacity: 0.6;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 56px;
    }

    .about-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 250px;
    }

    .gallery-item.large {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }

    .nav-links {
        gap: 20px;
    }

    .nav-links a {
        font-size: 14px;
    }

    .hero {
        padding-left: 30px;
        height: 70vh;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .highlight {
        margin-left: 0;
    }

    .section-title {
        font-size: 36px;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .gallery {
        grid-template-columns: 1fr;
        grid-auto-rows: 300px;
    }

    .gallery-item.large,
    .gallery-item.wide {
        grid-column: span 1;
        grid-row: span 1;
    }

    .contact-info {
        flex-direction: column;
        gap: 30px;
    }

    .container {
        padding: 0 20px;
    }
}
