/* Craftsmanship Section Styles */

.products-section {
    padding: 60px 0;
    background-color: #fff;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
    position: relative;
    display: inline-block;
}

.section-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

.section-description {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.category-card {
    position: relative;
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 250px;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

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

.category-card:hover .category-img {
    transform: scale(1.05);
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0));
    color: white;
    transition: all 0.3s ease;
}

.category-card:hover .category-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.5));
}

.category-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.category-description {
    font-size: 14px;
    opacity: 0.8;
}

.animated {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fadeIn {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .category-card {
        height: 200px;
    }
    
    .category-title {
        font-size: 16px;
    }
    
    .category-description {
        font-size: 13px;
    }
    
    .section-title {
        font-size: 26px;
    }
}
