/* =================================================================
   Secondhand Page Specific Styles
   ================================================================= */

/* 字体和全局变量 */
.secondhand-page {
    font-family: 'Helvetica Neue', 'Hiragino Sans GB', 'WenQuanYi Micro Hei', 'Microsoft Yahei', sans-serif;
    line-height: 1.7;
}

/* 通用按钮样式 */
.secondhand-page .btn {
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
}
.secondhand-page .btn-primary {
    background-color: var(--primary-color);
    color: white;
}
.secondhand-page .btn-primary:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}
.secondhand-page .btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}
.secondhand-page .btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

/* 英雄区域 */
.hero-secondhand {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/hero-poster2.jpg') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 120px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-secondhand-content {
    max-width: 800px;
}
.hero-secondhand .hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.hero-secondhand .hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    opacity: 0.9;
}
.hero-secondhand .hero-cta a {
    margin: 0 15px;
}

/* 我们的承诺 */
.our-promise {
    padding: 80px 20px;
    background-color: var(--section-bg-color);
}
.promise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 40px;
}
.promise-item {
    text-align: center;
    background: #fff;
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.promise-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.promise-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}
.promise-item h3 {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 15px;
}
.promise-item p {
    color: var(--grey-color);
    font-size: 1rem;
}

/* 交易流程 */
.process-section {
    padding: 80px 20px;
}
.process-steps {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    margin-top: 50px;
    flex-wrap: wrap;
}
.process-step {
    text-align: center;
    max-width: 250px;
    position: relative;
}
.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    font-weight: bold;
    border: 3px solid #fff;
    box-shadow: 0 0 10px rgba(109, 18, 36, 0.3);
}
.step-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin: 30px 0 20px;
}
.process-step h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}
.process-arrow {
    font-size: 2.5rem;
    color: #ccc;
    margin-top: 70px;
}


/* 品类区域 */
.category-section {
    padding: 80px 0;
    background: var(--section-bg-color);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.category-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    aspect-ratio: 4/3;
}

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

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, 
        rgba(0,0,0,0.9) 0%,
        rgba(0,0,0,0.7) 50%,
        rgba(0,0,0,0.4) 100%);
    padding: 20px;
    color: #fff;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.category-overlay h4 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    position: relative;
    padding-bottom: 10px;
    color: #ffffff;
    letter-spacing: 1px;
}

.category-overlay h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #fff;
    transition: width 0.3s ease;
}

/* 悬停效果 */
.category-item:hover img {
    transform: scale(1.1);
}

.category-item:hover .category-overlay {
    background: linear-gradient(to top, 
        rgba(109, 18, 36, 0.9) 0%,
        rgba(109, 18, 36, 0.7) 50%,
        rgba(109, 18, 36, 0.4) 100%);
}

.category-item:hover .category-overlay h4::after {
    width: 100px;
}

.category-item:hover .category-overlay h4 {
    color: #ffffff;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .category-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }

    .category-overlay h4 {
        font-size: 1.2rem;
    }
}

/* 文字居中样式 */
.text-center {
    text-align: center;
    margin-top: 40px;
}

.text-center p {
    margin-bottom: 20px;
    color: #666;
}

.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background: #007bff;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,123,255,0.3);
}

/* FAQ 区域特定样式 */
.faq-secondhand {
    padding: 80px 20px;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero-secondhand .hero-title {
        font-size: 2.8rem;
    }
    .hero-secondhand .hero-subtitle {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .hero-secondhand .hero-title {
        font-size: 2.2rem;
    }
    .process-steps {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
    .process-arrow {
        transform: rotate(90deg);
        margin: 0;
    }
} 