/* Simple Categories Styles */

/* Category Card */
.simple-category-card {
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background: white;
}

.simple-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Image Container */
.category-image-container {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.category-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.simple-category-card:hover .category-image {
    transform: scale(1.05);
}

/* Dark Overlay */
.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.6) 100%
    );
    transition: opacity 0.3s ease;
}

.simple-category-card:hover .category-overlay {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.2) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
}

/* Text Overlay */
.category-text-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px;
    color: white;
    text-align: center;
    z-index: 2;
}


.category-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.category-count {
    font-size: 14px;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Hover Effect */
.category-hover-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 3;
    white-space: nowrap;
}

.simple-category-card:hover .category-hover-effect {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.explore-text {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Section Styling */
section {
    background: #f8f9fa;
}

/* Responsive Design */
@media (max-width: 768px) {
    .category-image-container {
        height: 200px;
    }
    
    .category-text-overlay {
        padding: 20px 15px;
    }
    
    .category-name {
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .category-image-container {
        height: 180px;
    }
    
    .category-name {
        font-size: 18px;
    }
    
    .category-count {
        font-size: 13px;
    }
}