/* Products Page Styles */
.page-banner {
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../images/products-banner.jpg');
    background-size: cover;
    background-position: center;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 0 20px;
}

.page-banner h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.product-categories {
    padding: 80px 0;
}

.category-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.filter-btn {
    background: none;
    border: 2px solid #0056b3;
    color: #0056b3;
    padding: 8px 20px;
    margin: 0 10px 10px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
}

.filter-btn:hover, .filter-btn.active {
    background-color: #0056b3;
    color: white;
}

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

.product-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    background-color: white;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.product-card h3 {
    margin: 20px 20px 10px;
    color: #0056b3;
}

.product-card p {
    margin: 0 20px 20px;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    height: 80px;
    overflow: hidden;
}

.btn-small {
    display: inline-block;
    background-color: #0056b3;
    color: white;
    padding: 8px 20px;
    margin: 0 20px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
    text-align: center;
}

.btn-small:hover {
    background-color: #003d82;
}

.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.no-products p {
    color: #666;
    font-size: 1.1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-banner h1 {
        font-size: 2.5rem;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 576px) {
    .page-banner h1 {
        font-size: 2rem;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
}
