/* HomeProducts.css */

.products-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.product-image-wrapper {
    height: 250px;
    background-color: #282828;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-image-wrapper i {
    font-size: 60px;
    color: #f4c32d;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image-wrapper i {
    transform: scale(1.1);
}

.product-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 24px;
    font-weight: 700;
    color: #282828;
    margin-bottom: 15px;
}

.product-description {
    font-size: 16px;
    color: #5f5f5f;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.product-link {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    color: #282828;
    text-decoration: none;
    transition: color 0.3s ease;
    width: fit-content;
}

.product-link i {
    margin-left: 8px;
    transition: transform 0.3s ease;
    color: #f4c32d;
}

.product-link:hover {
    color: #f4c32d;
}

.product-link:hover i {
    transform: translateX(5px);
}

/* Responsive */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .product-image-wrapper {
        height: 200px;
    }
}