/* styles.css */
.category-card {
    position: relative;
}

.category-image {
    width: 100%;
    height: auto;
}

.category-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 10px;
    opacity: 1; /* Make the text always visible */
    pointer-events: none; /* Allow click-through to image */
}

.category-card:hover .category-image {
    transform: scale(1.1); /* Add hover effect to the image */
}

.category-content a {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: auto; /* Enable click on the link */
}