/* DSM Frontend Styles */

.dsm-services-archive {
    padding: 20px 0;
}

.dsm-service-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

.dsm-service-card a {
    text-decoration: none;
}

.dsm-service-card h3 a:hover {
    color: #e74c3c !important;
}

/* Single Service */
.dsm-single-service {
    font-family: inherit;
}

.dsm-single-service h1 {
    line-height: 1.3;
}

.dsm-service-description img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

/* Enquiry Form */
.dsm-enquiry-form-wrapper {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.dsm-enquiry-form label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: #333;
}

.dsm-enquiry-form input:focus,
.dsm-enquiry-form textarea:focus {
    border-color: #e74c3c;
    outline: none;
    box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.1);
}

.dsm-enquiry-response.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.dsm-enquiry-response.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Pagination */
.dsm-pagination .page-numbers {
    display: inline-block;
    padding: 8px 14px;
    margin: 0 3px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s;
}

.dsm-pagination .page-numbers.current,
.dsm-pagination .page-numbers:hover {
    background: #e74c3c;
    color: #fff;
    border-color: #e74c3c;
}

/* Responsive */
@media (max-width: 768px) {
    .dsm-services-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)) !important;
        gap: 15px !important;
    }

    .dsm-single-service > div {
        flex-direction: column !important;
    }

    .dsm-filters form {
        flex-direction: column !important;
    }

    .dsm-filters input,
    .dsm-filters select {
        width: 100% !important;
    }
}

@media (max-width: 480px) {
    .dsm-services-grid {
        grid-template-columns: 1fr !important;
    }
}
