/* =========================================================================
   SERVICES ARCHIVE GRID STYLES (archive-services.php)
   ========================================================================= */

.services-archive-wrapper {
    background-color: #f8fafc;
    padding: 60px 0;
    min-height: 60vh;
}

.services-grid-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* SERVICE CARD COMPONENT */
.service-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px -5px rgba(0, 0, 0, 0.08);
}

.card-media {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .card-media img {
    transform: scale(1.05);
}

.card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.card-title a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s;
}

.card-title a:hover {
    color: #dc2626;
}

.card-excerpt {
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.btn-service-detail {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #dc2626;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: gap 0.2s ease;
}

.btn-service-detail:hover {
    gap: 12px;
}

/* NO SERVICES FOUND STATE */
.no-services-found {
    text-align: center;
    padding: 60px 20px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.no-services-found h3 {
    font-size: 22px;
    color: #0f172a;
    margin: 0 0 10px 0;
}

.no-services-found p {
    color: #64748b;
    font-size: 15px;
    margin: 0;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .services-archive-wrapper {
        padding: 40px 0;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
}