/* --- 全局高级变量 --- */
:root {
    --bg-dark: #0f0f0f;
    --bg-light: #ffffff;
    --text-gold: #D4AF37; /* 香槟金 */
    --text-grey: #8c8c8c;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Manrope', sans-serif;
}

body {
    font-family: var(--font-sans);
    color: #333;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

h1, h2, h3, h4, .navbar-brand, .display-font {
    font-family: var(--font-serif);
    letter-spacing: -0.5px;
}

a { text-decoration: none; color: inherit; transition: 0.4s ease; }

.letter-spacing-2 {
    letter-spacing: 2px;
}

/* --- 导航栏 --- */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.2rem 0;
    transition: all 0.4s ease;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.navbar.scrolled {
    padding: 0.8rem 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.navbar-brand {
    font-size: 1.8rem;
    font-weight: 600;
    color: #000 !important;
    letter-spacing: 2px;
}
.nav-link {
    color: #000 !important;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 15px;
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 5px;
    left: 0;
    background-color: var(--text-gold);
    transition: width 0.3s;
}
.nav-link:hover::after { width: 100%; }

/* --- Hero Section --- */
.hero-section {
    height: 100vh;
    width: 100%;
    background: url('https://images.unsplash.com/photo-1544352292-d732b610a449?q=80&w=2070&auto=format&fit=crop') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    color: #fff;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0.2));
}
.hero-content {
    position: relative;
    z-index: 2;
}
.hero-subtitle {
    color: var(--text-gold);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
}
.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    font-weight: 400;
}

/* 高级按钮样式 */
.btn-luxury {
    border: 1px solid rgba(255,255,255,0.8);
    color: #fff;
    padding: 15px 40px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: transparent;
    transition: all 0.4s;
}
.btn-luxury:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}
.btn-luxury-dark {
    border: 1px solid #000;
    color: #000;
    padding: 15px 40px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: transparent;
    transition: all 0.4s;
}
.btn-luxury-dark:hover {
    background: #000;
    color: #fff;
}

/* --- 通用 Section --- */
section { padding: 120px 0; }
.section-header { margin-bottom: 80px; text-align: center; }
.section-subtitle {
    color: var(--text-gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    font-weight: 600;
    display: block;
    margin-bottom: 15px;
}
.section-title {
    font-size: 3rem;
    font-weight: 400;
    color: #000;
}

/* --- 品牌故事 --- */
.story-text {
    font-size: 1.1rem;
    line-height: 2;
    color: #555;
    margin-bottom: 30px;
    text-align: justify;
}
.story-img-wrap {
    overflow: hidden;
    border-radius: 2px;
}
.story-img {
    width: 100%;
    transition: transform 1.5s cubic-bezier(0.19, 1, 0.22, 1);
}
.story-img-wrap:hover .story-img {
    transform: scale(1.05);
}

/* --- 产品展示 --- */
.product-card {
    border: none;
    position: relative;
    overflow: hidden;
    group: hover;
    height: 100%;
}
.product-img-box {
    width: 100%;
    height: 500px; 
    overflow: hidden;
    position: relative;
}
.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease, filter 0.8s ease;
    filter: grayscale(20%);
}
.product-card:hover .product-img {
    transform: scale(1.05);
    filter: grayscale(0%);
}
.product-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #fff;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}
.product-card:hover .product-info {
    opacity: 1;
    transform: translateY(0);
}
.product-name {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    margin-bottom: 5px;
}
.product-cat {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-gold);
}

/* 筛选按钮样式 */
.filter-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 60px;
}
.btn-filter {
    background: transparent;
    border: 1px solid #e0e0e0;
    color: #555;
    padding: 10px 30px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 2px;
    transition: all 0.3s ease;
    font-family: var(--font-sans);
    font-weight: 500;
}
.btn-filter:hover, .btn-filter.active {
    background-color: var(--bg-dark);
    color: #fff;
    border-color: var(--bg-dark);
}

/* 筛选动画相关 */
.product-item {
    transition: all 0.5s ease;
}
.product-item.hidden-item {
    display: none;
}

/* === 数据栏响应式优化 === */
.stats-bar {
    background-color: var(--bg-dark);
    color: #fff;
    padding: 60px 0;
}

/* 手机端调整 - 保持水平排列，不换行 */
@media (max-width: 768px) {
    .stats-bar {
        padding: 30px 0;
    }
    
    .stat-number {
        font-size: 1.3rem; /* 进一步缩小数字大小 */
    }
    
    .stat-label {
        font-size: 0.55rem; /* 进一步缩小文字大小 */
        letter-spacing: 0.3px; /* 进一步减小字母间距 */
        white-space: nowrap; /* 防止文字换行 */
    }
    
    /* 保持水平排列，不换行 */
    .stats-bar .row {
        flex-direction: row;
        flex-wrap: nowrap; /* 不换行 */
        justify-content: space-between; /* 使用 space-between 让项目分布更均匀 */
        overflow-x: auto; /* 允许水平滚动（作为备用） */
    }
    
    .stats-bar .col-md-3 {
        margin-bottom: 0; /* 移除底部边距 */
        flex: 0 0 22%; /* 每个项目占 22% 宽度 */
        text-align: center;
        padding: 0 2px; /* 减小左右 padding */
        min-width: 0; /* 允许内容溢出容器 */
    }
}

/* 平板端调整 */
@media (min-width: 769px) and (max-width: 991px) {
    .stat-number {
        font-size: 3rem;
    }
}

/* --- 联系我们 --- */
.contact-section {
    background-color: #f9f9f9;
}
.form-control {
    background: transparent;
    border: none;
    border-bottom: 1px solid #ddd;
    border-radius: 0;
    padding: 20px 0;
    font-size: 1.1rem;
}
.form-control:focus {
    box-shadow: none;
    border-color: #000;
}
.contact-info h4 {
    font-size: 2rem;
    margin-bottom: 30px;
}

/* --- Footer --- */
footer {
    background-color: #000;
    color: #888;
    padding: 80px 0 30px;
    border-top: 1px solid #222;
}
footer h5 { color: #fff; margin-bottom: 30px; font-family: var(--font-sans); text-transform: uppercase; letter-spacing: 1px; font-size: 0.9rem;}
footer a { color: #888; font-size: 0.9rem; display: block; margin-bottom: 12px; }
footer a:hover { color: #fff; }

/* --- 响应式调整 --- */
@media (max-width: 991px) {
    .hero-title { font-size: 3rem; }
    .product-img-box { height: 400px; }
    .section-title { font-size: 2.5rem; }
    .navbar-collapse {
        background: #fff;
        padding: 20px;
        border-top: 1px solid #eee;
    }
}
