/* 全局设置 */
:root {
    --primary-color: #d4a5a5; /* 品牌主色调：柔和粉 */
    --text-dark: #333;
    --text-light: #777;
    --bg-light: #f9f9f9;
    --white: #ffffff;
}

body {
    font-family: 'Noto Sans SC', "Helvetica Neue", Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 60px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.section-title {
    text-align: center;
    font-size: 2em;
    margin-bottom: 40px;
    font-weight: 500;
    color: var(--text-dark);
}

/* 头部导航 */
header {
    background: var(--white);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--primary-color);
}

/* Hero大图 */
.hero {
    height: 500px;
    background-image: url('photos/image_0.png'); /* 使用你提供的第一张图 */
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.1); /* 轻微的遮罩，让文字更清晰 */
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-text {
    text-align: center;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.hero-text h2 {
    font-size: 3.5em;
    margin-bottom: 10px;
    font-weight: 700;
}

.hero-text p {
    font-size: 1.5em;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    padding: 12px 35px;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    transition: background 0.3s, transform 0.2s;
}

.btn:hover {
    background: #c08e8e;
    transform: translateY(-2px);
}

/* 产品故事列表 */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
}

.img-box {
    height: 420px;
    overflow: hidden;
}

.img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .img-box img {
    transform: scale(1.05);
}

.product-info {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
}

.product-info h3 {
    font-size: 1.3em;
    margin: 0 0 15px;
    color: var(--text-dark);
}

.story-text {
    font-size: 0.95em;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 25px;
    font-style: italic;
}

.buy-btn {
    text-align: center;
    display: block;
    width: 100%;
    padding: 10px 0;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s;
}

.buy-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* 品质细节 */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    text-align: center;
}

.feature-item img {
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.feature-item h3 {
    margin-bottom: 10px;
    color: var(--text-dark);
}

.feature-item p {
    color: var(--text-light);
    font-size: 0.95em;
}

/* 底部 */
.footer {
    background: #333;
    color: #aaa;
    text-align: center;
    padding: 40px 0;
}

.logo-footer {
    font-size: 1.5em;
    color: var(--white);
    font-weight: 700;
    margin-bottom: 10px;
}

/* 响应式适配 */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
    }
    nav ul {
        margin-top: 15px;
        gap: 20px;
    }
    .hero {
        height: 350px;
    }
    .hero-text h2 {
        font-size: 2.2em;
    }
    .section-title {
        font-size: 1.6em;
    }
}