/* Modern Category/Service/Wheel Listing Styles */

/* Base Grid Layout */
.menu {
    padding: 60px 0;
    min-height: 80vh;
}

/* ====== FEATURE GRID ====== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

/* ====== FEATURE CARD ====== */
.feature-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(26, 26, 46, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 212, 255, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 212, 255, 0.15);
}

.feature-card__image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.feature-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.feature-card:hover .feature-card__image img {
    transform: scale(1.08);
}

/* Drastically reduced overlay for brighter images */
.feature-card__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 15, 26, 0.2) 0%, transparent 40%);
    pointer-events: none;
    transition: opacity 0.3s ease;
    opacity: 0.4;
}

.feature-card:hover .feature-card__overlay {
    opacity: 0.2;
    /* Even brighter on hover */
}

.feature-card__overlay--gradient {
    background: linear-gradient(to top, rgba(15, 15, 26, 0.3) 0%, rgba(188, 19, 254, 0.02) 100%);
}

.feature-card__overlay--green {
    background: linear-gradient(to top, rgba(15, 15, 26, 0.3) 0%, rgba(57, 255, 20, 0.02) 100%);
}

.feature-card__overlay--gold {
    background: linear-gradient(to top, rgba(15, 15, 26, 0.3) 0%, rgba(255, 215, 0, 0.02) 100%);
}

.feature-card__badge-top {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 12px;
    background: linear-gradient(135deg, #00d4ff, #bc13fe);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.feature-card__badge-top--green {
    background: linear-gradient(135deg, #39ff14, #00cc00);
}

.feature-card__badge-top--gold {
    background: linear-gradient(135deg, #ffd700, #ff8c00);
}

.feature-card__content {
    position: relative;
    padding: 15px 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1;
    background: rgba(26, 26, 46, 0.4);
    backdrop-filter: blur(5px);
    flex: 1;
}

.feature-card__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.3;
    transition: color 0.3s ease;
    text-align: center;
}

.feature-card:hover .feature-card__title {
    color: #00d4ff;
}

.feature-card__stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.feature-card__stat {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
}

.feature-card__stat i {
    font-size: 14px;
    color: rgba(0, 212, 255, 0.8);
}

.feature-card__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: auto;
}

.feature-card:hover .feature-card__btn {
    background: linear-gradient(135deg, #00d4ff, #bc13fe);
    border-color: transparent;
    color: white;
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
}

.feature-card__btn--purple:hover,
.feature-card:hover .feature-card__btn--purple {
    background: linear-gradient(135deg, #bc13fe, #ff00ff);
}

.feature-card__btn--green:hover,
.feature-card:hover .feature-card__btn--green {
    background: linear-gradient(135deg, #39ff14, #00cc00);
}

.feature-card__btn--gold:hover,
.feature-card:hover .feature-card__btn--gold {
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    color: #1a1a2e;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .feature-card__image {
        height: 140px;
    }

    .feature-card__title {
        font-size: 1.1rem;
    }

    .feature-card__stat {
        font-size: 11px;
    }

    .feature-card__btn {
        padding: 8px;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .menu {
        padding: 30px 0;
    }

    /* Keep 2 columns on mobile but smaller text */
    .category__title {
        font-size: 1rem;
    }

    .category__action {
        padding: 8px;
        font-size: 0.8rem;
    }
}