/* Catalog Page Styles */
.catalog-header {
    padding: 80px 0 40px;
    background-color: var(--primary-color);
    color: var(--white);
}

.catalog-header .section-title {
    color: var(--white);
}

.catalog-header .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.catalog-intro {
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    max-width: 900px;
    margin: 20px auto 0;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Filter Bar */
.filter-bar {
    display: flex;
    align-items: center;
    background-color: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-title {
    margin-right: 20px;
    font-weight: 600;
    color: var(--dark-color);
    min-width: 100px;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex: 1;
}

.filter-btn {
    padding: 10px 15px;
    border: none;
    background-color: var(--light-color);
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    color: var(--dark-color);
}

.filter-btn i {
    margin-right: 8px;
    font-size: 0.9rem;
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Category Sections */
.category-section {
    margin-bottom: 60px;
}

.category-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light-gray);
    display: flex;
    align-items: center;
}

.category-title i {
    margin-right: 15px;
    background-color: var(--primary-color);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.category-description {
    color: var(--gray);
    margin-bottom: 25px;
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 950px;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

/* Product Card */
.product-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(41, 120, 242, 0.15);
}

.product-image-container {
    position: relative;
    padding: 30px;
    background-color: var(--light-gray);
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image {
    max-height: 180px;
    width: auto;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image {
    transform: scale(1.1);
}

.product-card.zoom-active .product-image {
    transition: transform 0.2s ease-out, transform-origin 0.1s ease-out;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(41, 120, 242, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .image-overlay {
    opacity: 1;
}

.product-details {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-name {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.product-description {
    color: var(--gray);
    margin-bottom: 20px;
    flex: 1;
}

.mobile-only {
    display: none;
}

/* CTA Section for Catalog */
.catalog-cta {
    margin-top: 40px;
}

.catalog-cta .cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.catalog-cta .btn.secondary {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 2px solid var(--white);
    margin-top: 15px;
}

.catalog-cta .btn.secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* Hide/Show Products based on Filter */
.product-card.hidden {
    display: none;
}

/* Client Image in Testimonials */
.client-image img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

/* Responsive Styles for Catalog */
@media (max-width: 992px) {
    .filter-title {
        margin-bottom: 10px;
        width: 100%;
    }
    
    .filter-buttons {
        justify-content: center;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .catalog-header {
        padding: 60px 0 30px;
    }
    
    .category-title {
        font-size: 1.5rem;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .product-image-container {
        height: 200px;
    }
    
    .product-image {
        max-height: 150px;
    }
    
    .image-overlay {
        display: none;
    }
    
    .mobile-only {
        display: block;
    }
}

@media (max-width: 576px) {
    .filter-btn {
        font-size: 0.9rem;
        padding: 8px 12px;
        flex: 1;
        min-width: 45%;
        justify-content: center;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .catalog-cta .btn {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }
}