/**
 * Services Section Styles
 */

/* Service Card */
.service-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #f3f4f6;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--color-primary);
}

.service-card:hover::before {
    transform: scaleX(1);
}

/* Service Icon */
.service-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 24px rgba(200, 160, 85, 0.3);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 32px rgba(200, 160, 85, 0.4);
}

.service-icon-wrapper .dashicons {
    font-size: 40px;
    width: 40px;
    height: 40px;
    color: white;
}

/* Service Content */
.service-content {
    text-align: center;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.service-card:hover .service-title {
    color: var(--color-primary);
}

.service-excerpt {
    color: #6b7280;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.service-excerpt p {
    margin: 0;
}

/* Service Image */
.service-image {
    margin: 1.5rem 0;
    border-radius: 12px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

/* Service Categories */
.service-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1rem;
}

.service-category-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(200, 160, 85, 0.1);
    color: var(--color-primary);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 9999px;
    border: 1px solid rgba(200, 160, 85, 0.3);
    transition: all 0.3s ease;
}

.service-category-badge:hover {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

/* Dark Mode */
body[data-theme="dark"] .service-card {
    background: #1f2937;
    border-color: #374151;
}

body[data-theme="dark"] .service-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

body[data-theme="dark"] .service-title {
    color: #f9fafb;
}

body[data-theme="dark"] .service-excerpt {
    color: #d1d5db;
}

body[data-theme="dark"] .service-category-badge {
    background: rgba(200, 160, 85, 0.15);
    border-color: rgba(200, 160, 85, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .service-card {
        padding: 1.5rem;
    }

    .service-icon-wrapper {
        width: 60px;
        height: 60px;
    }

    .service-icon-wrapper .dashicons {
        font-size: 30px;
        width: 30px;
        height: 30px;
    }

    .service-title {
        font-size: 1.25rem;
    }
}