/* ===== 全局变量与重置 ===== */
:root {
    --bg-color: #f8f6f2; /* 羊皮纸色背景 */
    --text-color: #2d2d2d;
    --accent-color: #b8944a; /* 鎏金 */
    --light-gray: #e0e0e0;
    --font-heading: 'Cinzel', serif;
    --font-body: 'EB Garamond', serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.8;
    font-size: 18px;
}

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

h1, h2, h3 { font-family: var(--font-heading); font-weight: 700; }
h2 { font-size: 2.8rem; margin-bottom: 1rem; text-align: center; }
p { margin-bottom: 1rem; }

/* ===== 导航 ===== */
.site-nav {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    background: rgba(248, 246, 242, 0.9); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--light-gray); height: 70px;
    display: flex; align-items: center;
}
.nav-inner { max-width: 1400px; margin: 0 auto; padding: 0 2rem; width: 100%; display: flex; justify-content: space-between; align-items: center; }
.nav-logo { display: flex; align-items: center; text-decoration: none; color: var(--text-color); }
.logo-img { height: 42px; margin-right: 12px; }
.logo-text { font-family: var(--font-heading); font-size: 1.3rem; letter-spacing: 1px; }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a { text-decoration: none; color: var(--text-color); font-size: 0.9rem; transition: color 0.3s; }
.nav-links a:hover { color: var(--accent-color); }
.nav-amazon { background: var(--accent-color); color: white !important; padding: 8px 16px; border-radius: 4px; }
.nav-amazon:hover { background: #9c7c3a; color: white !important; }

/* ===== Hero ===== */
.hero {  margin-top: -70px; height: 100vh; position: relative; display: flex; align-items: center; justify-content: center; text-align: center; color: white; }
.hero-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.5); }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.6)); }
.hero-content { position: relative; z-index: 2; max-width: 800px; padding: 2rem; }
.hero h1 { font-size: 4.5rem; letter-spacing: 3px; margin-bottom: 1rem; text-shadow: 2px 2px 10px rgba(0,0,0,0.5); }
.hero .subtitle { font-size: 1.2rem; opacity: 0.9; line-height: 1.6; margin-bottom: 2rem; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===== 按钮 ===== */
.btn { padding: 12px 28px; border-radius: 4px; text-decoration: none; font-weight: 600; transition: all 0.3s; display: inline-block; border: none; cursor: pointer; font-family: var(--font-body); font-size: 1rem; }
.btn-primary { background: var(--accent-color); color: white; }
.btn-primary:hover { background: #9c7c3a; transform: translateY(-2px); }
.btn-secondary { background: transparent; color: white; border: 2px solid white; }
.btn-secondary:hover { background: rgba(255,255,255,0.1); }
.btn-buy { display: block; width: 100%; margin-top: 1rem; background: #333; color: white; text-align: center; padding: 10px; }
.btn-buy:hover { background: var(--accent-color); }
.btn-submit { background: var(--accent-color); color: white; width: 100%; padding: 15px; font-size: 1.1rem; }
.btn-submit:hover { background: #9c7c3a; }

/* ===== 集合/产品网格 ===== */
section { padding: 6rem 0; }
.section-subtitle { text-align: center; max-width: 700px; margin: 0 auto 3rem; color: #666; font-size: 1.1rem; }
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.product-card { background: white; border: 1px solid var(--light-gray); transition: transform 0.4s, box-shadow 0.4s; }
.product-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.card-image-wrapper { position: relative; overflow: hidden; }
.card-img-main, .card-img-hover { width: 100%; aspect-ratio; object-fit: contain; background-color: #f5f5f5; transition: opacity 0.5s; }
.card-img-hover { position: absolute; top: 0; left: 0; opacity: 0; }
.product-card:hover .card-img-hover { opacity: 1; }
.card-info { padding: 1.5rem; }
.card-info h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.specs { font-size: 0.9rem; color: #666; margin-bottom: 1rem; }
.status { display: inline-block; padding: 5px 12px; border-radius: 4px; font-size: 0.85rem; font-weight: 600; margin-bottom: 1rem; }
.status.available { color: #155724; background: #d4edda; }

/* ===== 匠人区 ===== */
.artisan { background: #fff; }
.artisan-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; align-items: start; }
.artisan-img-large img { width: 100%; height: auto; display: block; }
.artisan-text { padding-left: 2rem; }
.artisan-text h3 { font-size: 2rem; margin-bottom: 1rem; }
.signature { font-style: italic; text-align: right; margin-top: 1rem; color: #666; }
.artisan-img-small img { width: 100%; height: auto; margin-top: 2rem; }

/* ===== 材质区 ===== */
.material-content { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.material-img { width: 100%; height: auto; border-radius: 8px; }
.material-text h4 { font-family: var(--font-heading); font-size: 1.5rem; margin: 2rem 0 1rem; }
.packaging-img { width: 100%; max-width: 600px; height: auto; margin-top: 1rem; border: 1px solid var(--light-gray); }

/* ===== 定制区 ===== */
.commission { background: #fff; }
.process-flow { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 3rem; padding: 1.5rem; background: var(--bg-color); border-radius: 8px; }
.process-step { background: white; padding: 10px 18px; border-radius: 4px; font-weight: 500; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.process-arrow { color: var(--accent-color); font-weight: bold; }
.commission-form { display: flex; flex-direction: column; gap: 1rem; max-width: 600px; margin: 0 auto; }
.commission-form input, .commission-form select, .commission-form textarea { padding: 14px; border: 1px solid var(--light-gray); border-radius: 4px; font-size: 1rem; font-family: var(--font-body); background: white; }
.commission-form textarea { min-height: 150px; }

/* ===== 页脚 ===== */
footer { background: #1a1a1a; color: #aaa; padding: 4rem 2rem; text-align: center; }
.footer-logo { height: 50px; margin-bottom: 1rem; filter: brightness(0) invert(1); }
.footer-tagline { font-style: italic; margin-bottom: 1rem; }
.footer-links { margin-bottom: 1.5rem; }
.footer-links a { color: var(--accent-color); text-decoration: none; margin: 0 10px; }
.footer-links a:hover { text-decoration: underline; }
.copyright { font-size: 0.85rem; color: #666; }

/* ===== 响应式 ===== */
@media (max-width: 992px) {
    .product-grid { grid-template-columns: 1fr; }
    .artisan-grid { grid-template-columns: 1fr; }
    .artisan-text { padding-left: 0; }
    .material-content { grid-template-columns: 1fr; gap: 2rem; }
    .hero h1 { font-size: 3rem; }
}
@media (max-width: 768px) {
    .nav-links { display: none; } /* 移动端简化导航，实际项目可加汉堡菜单 */
    .hero h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    body { font-size: 16px; }
    .process-flow { flex-direction: column; }
    .hero {margin-top: 70px; height: calc(100vh-70px); height: calc(100svh-70px);}
    .hero-img {object-position: center 50%;}
}
