/* ===================================
   YASMA Services Page Styles
   ================================== */

/* Hero Background */
.services-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.7) 100%),
        url('https://lh3.googleusercontent.com/aida-public/AB6AXuBIXby2wpzTX17YPwVLXOM3D3kWsgxYhHBXjaIm7-rVj-HcQcyr7NBkbj9LU6SY6G20UYygMJBoE_m7r1Yy_-OjEVfzcGV-FC3JDWM85Y9f6M9MfuBE7FvL4-TBNBjmIfwZYBW4YO65r6qzUnGEgsydyMxA4cOkN5THG52r7qYw8ZWvNdUHf6yBO9DWV-egQlbQgyvUMx0aMzHFs98-7ofLW2WELRKzFI6W1s1EK48SskxtX-r_7seE38HztWvXRaJv2bhuuI-CXnQ');
    min-height: 350px;
}

/* Services Filter */
.services-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    padding: 1rem 0;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Service Card */
.service-work-card {
    background: var(--color-bg-main);
    border: 1px solid var(--color-border);
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.service-work-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

/* Service Card Image */
.service-work-card-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    position: relative;
    background: var(--color-bg-alt);
}

.service-work-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-work-card:hover .service-work-card-image img {
    transform: scale(1.05);
}

/* Service Badge */
.service-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: var(--color-primary);
    color: #000;
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 1;
}

/* Service Card Content */
.service-work-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-work-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.service-work-card-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin-bottom: 1rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
}

.service-work-card-footer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-primary);
    font-size: 0.875rem;
    font-weight: 700;
    margin-top: auto;
    transition: gap 0.3s ease;
}

.service-work-card:hover .service-work-card-footer {
    gap: 0.75rem;
}

.service-work-card-footer .material-symbols-outlined {
    font-size: 1.125rem;
}

/* Category Sections */
.service-category-section {
    margin-bottom: 4rem;
}

.service-category-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--color-border);
}

.service-category-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-text-main);
    border-left: 4px solid var(--color-primary);
    padding-left: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .services-filter {
        gap: 0.5rem;
    }

    .services-hero {
        min-height: 280px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}