/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    background-color: #f7f7f7;
    color: #333;
    line-height: 1.6;
    font-size: 16px;
    padding: 0;
    margin: 0;
}

/* Header Title Styling */
.page-title {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 700;
    color: #444;
    margin: 3rem 0;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: 'Roboto', sans-serif;
}

/* Container for all categories */
.category-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Category Item Card */
.category-item {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    cursor: pointer;
}

.category-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Category Image */
.category-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-item:hover .category-image {
    transform: scale(1.1);
}

/* Category Text & Link */
.category-link {
    display: block;
    padding: 15px;
    background-color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    color: #444;
    text-align: center;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.category-link:hover {
    color: #fff;
    background-color: #007bff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .category-container {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .category-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .page-title {
        font-size: 2rem;
        margin-top: 2rem;
    }
}
