/* 只与product.html相关的特定样式 */

/* 产品页面内容区域 */
.product-content {
    padding-top: 0; /* 移除顶部padding */
    min-height: calc(100vh - 300px);
}

/* 品牌宣语区域 */
.brand-slogan {
    text-align: center;
    padding: 0;
    background-color: #111;
    position: relative;
    margin-bottom: 60px;
    height: 31.25rem; /* 500px转换为rem单位（假设16px=1rem） */
    background-image: url('../images/brand-select.webp'); /* 使用品牌概念图作为背景 */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.brand-slogan::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1); /* 半透明黑色遮罩 */
    z-index: 1;
}

.brand-slogan h1 {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 15px;
    font-weight: 300;
    letter-spacing: 2px;
    position: relative;
    opacity: 1; /* 强制显示 */
    transform: none; /* 移除动画效果 */
    animation: none; /* 禁用动画，确保始终可见 */
}

.brand-slogan p {
    font-size: 1.8rem;
    color: #ffffff;
    letter-spacing: 4px;
    opacity: 1; /* 强制显示 */
    transform: none; /* 移除动画效果 */
    animation: none; /* 禁用动画，确保始终可见 */
}

/* 产品提示区域 */
.product-tip {
    text-align: center;
    margin-bottom: 60px;
    padding: 20px;
    background-color: rgba(140, 110, 74, 0.1);
    border-radius: 8px;
    border-left: 3px solid #8c6e4a;
}

.product-tip h3 {
    font-size: 1.4rem;
    color: #8c6e4a;
    margin: 0;
    font-weight: 400;
    letter-spacing: 2px;
}

/* 花色系列网格 */
.colors-series {
    padding: 40px 0 80px;
}

.colors-series-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.color-series-item {
    background-color: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    position: relative;
    height: auto;
    opacity: 0;
    transform: translateY(30px);
}

@keyframes productFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.color-series-item:nth-child(1) {
    animation: productFadeInUp 0.8s ease forwards 0.2s;
}

.color-series-item:nth-child(2) {
    animation: productFadeInUp 0.8s ease forwards 0.4s;
}

.color-series-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.color-series-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #8c6e4a, #d4b171);
    opacity: 0;
    transform: scaleX(0);
    transition: all 0.3s ease;
}

.color-series-item:hover::before {
    opacity: 1;
    transform: scaleX(1);
}

/* 左右布局容器 */
.series-content-wrapper {
    display: flex;
    flex-direction: row;
    height: 100%;
}

/* 图片区域 */
.series-image {
    flex: 1;
    min-width: 0;
    position: relative;
    overflow: hidden;
}

.series-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    min-height: 300px;
}

.color-series-item:hover .series-image img {
    transform: scale(1.05);
}

/* 内容区域 */
.series-content {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    min-width: 300px;
}

.series-content .series-english {
    font-size: 1rem;
    color: #8c6e4a;
    letter-spacing: 3px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.series-content h3 {
    font-size: 1.8rem;
    color: #fff;
    margin: 0 0 30px;
    font-weight: 400;
    position: relative;
    padding-bottom: 20px;
}

.series-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: #8c6e4a;
    transition: width 0.3s ease;
}

.color-series-item:hover .series-content h3::after {
    width: 120px;
}

/* 产品亮点提示 */
.product-highlights {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

.highlight-item {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
}

.highlight-item:last-child {
    border-bottom: none;
}

.highlight-item::before {
    content: '•';
    color: #8c6e4a;
    margin-right: 10px;
    font-size: 1.2em;
}

.highlight-item p {
    color: #e0e0e0;
    font-size: 1rem;
    margin: 0;
}

/* 悬停卡片效果 */
.series-image .hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(140, 110, 74, 0.1), rgba(140, 110, 74, 0.3));
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.series-image:hover .hover-overlay {
    opacity: 1;
}

.view-details-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #8c6e4a;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 1px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.series-image:hover .view-details-btn {
    transform: translateY(0);
    opacity: 1;
}

.view-details-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #a88858;
    transition: left 0.3s ease;
    z-index: -1;
}

.view-details-btn:hover::before {
    left: 0;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .series-content-wrapper {
        flex-direction: column;
    }
    
    .series-image {
        width: 100%;
        height: 300px;
    }
    
    .series-image img {
        min-height: 300px;
    }
    
    .series-content {
        text-align: center;
        min-width: auto;
    }
    
    .series-content h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .highlight-item::before {
        margin-right: 8px;
    }
}

@media (max-width: 768px) {
    .brand-slogan {
        padding: 60px 20px;
    }
    
    .brand-slogan h1 {
        font-size: 2rem;
    }
    
    .brand-slogan p {
        font-size: 1rem;
        letter-spacing: 2px;
    }
    
    .colors-series-container {
        gap: 30px;
        padding: 0 20px;
    }
    
    .series-content {
        padding: 30px 20px;
    }
    
    .series-content h3 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    .product-highlights {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .product-content {
        padding-top: 80px;
    }
    
    .brand-slogan h1 {
        font-size: 1.8rem;
    }
    
    .product-tip {
        margin: 0 20px 40px;
    }
    
    .product-tip h3 {
        font-size: 1.2rem;
    }
    
    .series-image {
        height: 250px;
    }
    
    .series-image img {
        min-height: 250px;
    }
    
    .series-content h3 {
        font-size: 1.3rem;
    }
    
    .series-content .series-english {
        font-size: 0.9rem;
    }
    
    .highlight-item p {
        font-size: 0.9rem;
    }
}