/* Premium Service Cards with Images - Hero Style */

.tp-service-card {
    background: #ffffff !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid rgba(109, 76, 65, 0.1) !important;
}

.tp-service-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 20px 60px rgba(109, 76, 65, 0.15) !important;
    border-color: #6d4c41 !important;
}

.tp-service-image {
    height: 240px !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    position: relative !important;
    border-radius: 20px 20px 0 0 !important;
}

.tp-service-image::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.4) 100%) !important;
    border-radius: 20px 20px 0 0 !important;
}

.tp-service-icon-float {
    position: absolute !important;
    bottom: -30px !important;
    left: 35px !important;
    width: 70px !important;
    height: 70px !important;
    background: linear-gradient(135deg, #6d4c41 0%, #5d4037 100%) !important;
    border-radius: 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 10px 30px rgba(109, 76, 65, 0.4) !important;
    border: 4px solid #ffffff !important;
    z-index: 2 !important;
}

.tp-service-content {
    padding: 50px 35px 35px !important;
}

.tp-service-title {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    margin-bottom: 15px !important;
    line-height: 1.3 !important;
}

.tp-service-description {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 15px !important;
    color: #666 !important;
    line-height: 1.7 !important;
    margin: 0 0 25px 0 !important;
    font-weight: 400 !important;
}

.tp-service-link {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #6d4c41 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

/* Service-specific images */
.tp-service-bathroom {
    background-image: url('../../wp-content/uploads/2022/04/bathroom-remodeling-2.png') !important;
}

.tp-service-kitchen {
    background-image: url('../../wp-content/uploads/2022/04/kitchen-remodeling-2.png') !important;
}

.tp-service-renovations {
    background-image: url('../../wp-content/uploads/2022/04/renovations-2.png') !important;
}

.tp-service-residential {
    background-image: url('../../blogs/residential-construction-new.jpg') !important;
}

.tp-service-additions {
    background-image: url('../../wp-content/uploads/2022/04/adus-2.png') !important;
}

.tp-service-plumbing {
    background-image: url('../../blogs/plumbing-services.jpg') !important;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .tp-service-image {
        height: 200px !important;
    }

    .tp-service-content {
        padding: 40px 25px 25px !important;
    }

    .tp-service-icon-float {
        width: 60px !important;
        height: 60px !important;
        bottom: -25px !important;
        left: 25px !important;
    }

    .tp-service-icon-float svg {
        width: 30px !important;
        height: 30px !important;
    }
}
