/* 
   Services Component Styles 
   Unified Design System
*/

.section-services {
    background-color: var(--off-white);
}

.service-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-400);
    box-shadow: 
        0 12px 30px -10px rgba(16, 185, 129, 0.1),
        0 4px 12px -2px rgba(0, 0, 0, 0.05);
}

.service-img-wrapper {
    position: relative;
    overflow: hidden;
    padding-top: 60%; /* Aspect Ratio */
}

.service-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-img {
    transform: scale(1.05);
}

/* Service Body */
.service-body {
    padding: 20px;
}

.service-seller {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.service-seller img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.service-seller-name {
    font-size: 0.85rem;
    color: var(--dark-100);
}

.service-title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-title a {
    color: var(--dark-300);
    text-decoration: none;
    transition: color 0.2s;
}

.service-title a:hover {
    color: var(--primary-500);
}

/* Footer Info */
.service-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    margin-top: auto;
    border-top: 1px solid var(--border-color);
}

.service-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #F59E0B; /* Star color */
    font-size: 0.9rem;
    font-weight: 600;
}

.service-rating span {
    color: var(--dark-100);
    font-weight: 400;
    font-size: 0.85rem;
}

.service-price {
    text-align: right;
}

.service-price small {
    display: block;
    font-size: 0.75rem;
    color: var(--dark-100);
}

.service-price span {
    font-weight: 700;
    color: var(--primary-600);
    font-size: 1.1rem;
}

/* Badge */
.service-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--white);
    color: var(--primary-600);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 2;
}
