/* ========================================
   ISOMASS PRODUCTS PAGE STYLES
   Complete product categories page with responsive design
======================================== */

.isomass-products-page {
    font-family: 'Mona Sans', sans-serif;
}

/* Products Hero Section */
.products-hero {
    padding: 80px 0;
}

.products-hero-content {
    text-align: center;
}

.products-hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.3;
    color: #333;
    position: relative;
    display: inline-block;
    padding-bottom: 20px;
    margin: 0;
}

.products-hero h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 4px;
    background-color: #d21e2b;
}

/* Products Categories Section */
.products-categories {
    padding: 100px 0;
}

.products-categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Product Category Items */
.products-category-item {
    background-color: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(210, 30, 43, 0.06);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.products-category-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #d21e2b 0%, #ff4757 50%, #d21e2b 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.products-category-item:hover::before {
    transform: scaleX(1);
}

.products-category-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    border-color: rgba(210, 30, 43, 0.12);
}

/* Product Category Images */
.products-category-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.products-category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    filter: brightness(0.95);
}

.products-category-item:hover .products-category-image img {
    transform: scale(1.05);
    filter: brightness(1);
}

/* Product Category Content */
.products-category-content {
    padding: 35px 30px 40px 30px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.products-category-content h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.products-category-item:hover .products-category-content h2 {
    color: #d21e2b;
}

.products-category-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 25px;
    flex-grow: 1;
}

/* Product Category Buttons */
.products-category-button {
    display: inline-block;
    background-color: #d21e2b;
    color: white;
    text-decoration: none;
    padding: 14px 28px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-family: 'Mona Sans', sans-serif;
    text-transform: none;
    letter-spacing: 0.5px;
}

.products-category-button:hover {
    background-color: #b01a24;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(210, 30, 43, 0.4);
    text-decoration: none;
    color: white;
}

/* ========================================
   ISOMASS PRODUCTS PAGE RESPONSIVE DESIGN
======================================== */

/* Tablet Styles */
@media (max-width: 1024px) {
    .products-hero {
        padding: 70px 0;
    }
    
    .products-hero h1 {
        font-size: 2.6rem;
    }
    
    .products-hero h1::after {
        width: 90px;
    }
    
    .products-categories {
        padding: 80px 0;
    }
    
    .products-categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
        max-width: 1200px;
    }
    
    .products-category-image {
        height: 200px;
    }
    
    .products-category-content {
        padding: 30px 25px 35px 25px;
    }
    
    .products-category-content h2 {
        font-size: 1.4rem;
        margin-bottom: 12px;
    }
    
    .products-category-content p {
        font-size: 1.05rem;
        margin-bottom: 22px;
    }
    
    .products-category-button {
        font-size: 0.95rem;
        padding: 12px 26px;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .products-hero {
        padding: 60px 0;
    }
    
    .products-hero h1 {
        font-size: 2.3rem;
    }
    
    .products-hero h1::after {
        width: 70px;
    }
    
    .products-categories {
        padding: 70px 0;
    }
    
    .products-categories-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 500px;
    }
    
    .products-category-image {
        height: 180px;
    }
    
    .products-category-content {
        padding: 25px 20px 30px 20px;
    }
    
    .products-category-content h2 {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }
    
    .products-category-content p {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .products-category-button {
        font-size: 0.95rem;
        padding: 10px 22px;
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    .products-hero {
        padding: 50px 0;
    }
    
    .products-hero h1 {
        font-size: 1.9rem;
    }
    
    .products-hero h1::after {
        width: 60px;
        height: 3px;
    }
    
    .products-categories {
        padding: 60px 0;
    }
    
    .products-categories-grid {
        gap: 25px;
        max-width: 400px;
    }
    
    .products-category-item {
        border-radius: 12px;
    }
    
    .products-category-image {
        height: 160px;
    }
    
    .products-category-content {
        padding: 20px 18px 25px 18px;
    }
    
    .products-category-content h2 {
        font-size: 1.15rem;
        margin-bottom: 8px;
    }
    
    .products-category-content p {
        font-size: 0.95rem;
        margin-bottom: 18px;
    }
    
    .products-category-button {
        font-size: 0.85rem;
        padding: 9px 18px;
    }
}