/* Multifunction Printer Page Styles */

/* Page Title Section */
.page-title {
    padding: 50px 20px;
    text-align: center;
    background-color: #f5f5f5;
}

.page-title h1 {
    font-size: 2.5em;
    color: #790502;
    margin-bottom: 15px;
}

.page-title p {
    font-size: 1.2em;
    color: #333;
}

/* Category Section */
.category-section {
    padding: 50px 20px;
    text-align: center;
    background-color: #f5f5f5;
}

.category-section h2 {
    font-size: 2em;
    color: #790502;
    margin-bottom: 30px;
}

/* Grid Layout */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Card Styling */
.category-card {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.category-card img {
    width: 100%;
    max-width: 250px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.category-card h3 {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 10px;
}

.category-card p {
    font-size: 1em;
    color: #555;
    margin-bottom: 20px;
    padding: 0 10px;
}

/* Product Button */
.product-button {
    background-color: #c11520;
    color: white;
    font-weight: bold;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    transition: background 0.3s, transform 0.3s;
}

.product-button:hover {
    background-color: #a10f18;
    transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .category-grid {
        grid-template-columns: 1fr;
    }
}
