/**
 * Product Categories CSS - Clean Version
 * KTI Installatietechniek
 * Version 2.0.0
 */

/* Reset and base styles */
.product-categories {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* KTI Grid Layout - 3 columns */
.product-categories-kti {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 40px 0;
}

/* Product Category Card */
.product-category-card {
    height: 280px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

/* Category Link */
.product-category-link {
    display: block;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

/* Background Image */
.product-category-image-bg {
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    /* Image sharpness */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* Gradient Overlay */
.product-category-overlay-kti {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(202.98deg, rgba(0, 0, 0, 0) 36.77%, rgba(0, 0, 0, 0.6) 79.85%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
}

/* Content Container */
.product-category-content-kti {
    color: white;
    position: relative;
    z-index: 10;
}

/* Title */
.product-category-title-kti {
    margin: 0 0 12px 0;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

/* Description */
.product-category-description-kti {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

/* Button */
.product-category-button-kti {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(90deg, #FAB400 0%, #ED6B06 100%);
    color: white;
    padding: 10px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(237, 107, 6, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    z-index: 15;
}

.product-category-button-kti:hover {
    background: linear-gradient(90deg, #E6A200 0%, #D85F05 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(237, 107, 6, 0.4);
}

.product-category-button-kti i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.product-category-card:hover .product-category-button-kti i {
    transform: translateX(3px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .product-categories-kti {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        margin: 30px 0;
    }
    
    .product-category-card {
        height: 240px;
    }
    
    .product-category-title-kti {
        font-size: 24px;
    }
    
    .product-category-description-kti {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .product-categories-kti {
        grid-template-columns: 1fr;
        gap: 16px;
        margin: 20px 0;
    }
    
    .product-category-card {
        height: 220px;
    }
    
    .product-category-title-kti {
        font-size: 22px;
    }
    
    .product-category-description-kti {
        font-size: 14px;
    }
    
    .product-category-overlay-kti {
        padding: 20px;
    }
}