/* 工艺介绍横幅 */
.craft-banner {
    position: relative;
    height: 400px;
    margin-top: 80px;
    overflow: hidden;
}

.craft-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.craft-banner h2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 36px;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* 工艺流程 */
.craft-process {
    padding: 50px 0;
    background-color: #fff;
}

.process-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.process-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease;
}

.process-step.visible {
    opacity: 1;
    transform: translateY(0);
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: #8B4513;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    margin-right: 20px;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.step-content img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 15px;
}

.step-content h3 {
    font-size: 20px;
    color: #8B4513;
    margin-bottom: 10px;
}

.step-content p {
    color: #666;
    line-height: 1.6;
}

/* 特色工艺 */
.special-craft {
    padding: 50px 0;
    background-color: #f5f5f5;
}

.craft-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}

.craft-item {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.craft-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.craft-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.craft-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.craft-item:hover .craft-hover {
    opacity: 1;
}

.craft-item:hover .craft-image img {
    transform: scale(1.1);
}

.view-detail {
    color: #fff;
    font-size: 16px;
    padding: 10px 20px;
    border: 2px solid #fff;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.view-detail:hover {
    background-color: #fff;
    color: #8B4513;
}

.craft-info {
    padding: 20px;
}

.craft-info h3 {
    font-size: 20px;
    color: #8B4513;
    margin-bottom: 10px;
}

.craft-info p {
    color: #666;
    line-height: 1.6;
}

/* 工具展示 */
.tools-display {
    padding: 50px 0;
    background-color: #fff;
}

.tools-slider {
    position: relative;
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 50px;
    overflow: hidden;
}

.tools-track {
    display: flex;
    transition: transform 0.3s ease;
}

.tool-item {
    flex: 0 0 25%;
    padding: 0 15px;
    text-align: center;
}

.tool-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.tool-item h3 {
    font-size: 18px;
    color: #8B4513;
    margin-bottom: 8px;
}

.tool-item p {
    color: #666;
    font-size: 14px;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: #8B4513;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.slider-btn:hover {
    background-color: #704012;
}

.slider-btn.prev {
    left: 0;
}

.slider-btn.next {
    right: 0;
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    .craft-banner {
        height: 300px;
    }

    .craft-banner h2 {
        font-size: 28px;
    }

    .process-step {
        flex-direction: column;
    }

    .step-number {
        margin-bottom: 15px;
    }

    .craft-grid {
        grid-template-columns: 1fr;
    }

    .tool-item {
        flex: 0 0 100%;
    }
} 