/* 
 * Buyer-Seller Services Section Styles
 * Modern, professional design with consistent light/dark mode support
 */

/* Main container */
.buyer-seller-services {
    padding: 4rem 0;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

/* Header section */
.services-header {
    text-align: center;
    margin-bottom: 4rem;
    padding: 0 1.5rem;
}

.services-subtitle {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    color: var(--accent-color, #ff8c00);
}

.services-title {
    font-size: 2.5rem;
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 1.25rem;
    color: var(--text-primary, #333);
}

.services-description {
    font-size: 1.25rem;
    line-height: 1.6;
    max-width: 650px;
    margin: 0 auto;
    color: var(--text-secondary, #666);
}

/* Columns layout */
.services-columns {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    padding: 0 1.5rem;
}

.service-column {
    flex: 1;
    max-width: 550px;
    background-color: var(--card-bg, #fff);
    border-radius: 0.75rem;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-column:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Column headers */
.column-title {
    font-size: 1.625rem;
    font-weight: 700;
    color: var(--text-primary, #333);
    padding: 1.75rem 2rem 0.75rem;
    margin: 0;
    text-align: center;
    border-bottom: 1px solid var(--accent-color, rgba(0, 0, 0, 0.05));
}

.column-divider {
    height: 3px;
    width: 80px;
    background-color: var(--accent-color, #ff8c00);
    margin: 0 auto 1.5rem;
    border-radius: 2px;
}

/* Services list */
.services-list {
    list-style: none;
    padding: 0 2rem 2rem;
    margin: 0;
}

.service-item {
    display: flex;
    padding: 1.25rem 0;
    align-items: flex-start;
    border-bottom: 1px solid var(--border-color, rgba(0, 0, 0, 0.05));
}

.service-item:last-child {
    border-bottom: none;
}

/* Service numbers */
.service-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border: 1px solid var(--accent-color, #ff8c00) !important;
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 50%;
    margin-right: 1rem;
    flex-shrink: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Service content */
.service-content {
    flex: 1;
}

/* Service image */
.service-image {
    margin-bottom: 0.75rem;
    border-radius: 0.375rem;
    overflow: hidden;
}

.service-thumbnail {
    width: 100%;
    height: auto;
    max-height: 120px;
    object-fit: cover;
    border-radius: 0.375rem;
    transition: transform 0.3s ease;
}

.service-item:hover .service-thumbnail {
    transform: scale(1.05);
}

.service-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    color: var(--text-primary, #333);
}

.service-description {
    font-size: 0.9375rem;
    line-height: 1.5;
    margin: 0;
    color: var(--text-secondary, #666);
}

/* Dark mode styles */
[data-theme="dark"] .service-column {
    background-color: var(--card-bg, #1f2937);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .service-item {
    border-bottom: 1px solid var(--border-color, rgba(255, 255, 255, 0.05));
}

[data-theme="dark"] .service-column:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .services-title {
    color: var(--text-primary, #f3f4f6);
}

[data-theme="dark"] .services-description,
[data-theme="dark"] .service-description {
    color: var(--text-secondary, #d1d5db);
}

[data-theme="dark"] .service-title {
    color: var(--text-primary, #f3f4f6);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .services-columns {
        gap: 2rem;
    }
    
    .column-title {
        font-size: 1.5rem;
        padding: 1.5rem 1.5rem 0.75rem;
    }
    
    .services-list {
        padding: 0 1.5rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .services-columns {
        flex-direction: column;
        align-items: center;
    }
    
    .service-column {
        width: 100%;
        margin-bottom: 2.5rem;
    }
    
    .service-column:last-child {
        margin-bottom: 0;
    }
    
    .services-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .services-title {
        font-size: 1.75rem;
    }
    
    .services-description {
        font-size: 1.125rem;
    }
    
    .service-title {
        font-size: 1rem;
    }
    
    .service-description {
        font-size: 0.875rem;
    }
}

/* Animation refinements */
.service-item {
    opacity: 1;
    transform: translateY(0);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.service-item:hover {
    background-color: rgba(var(--accent-color-rgb, 255, 140, 0), 0.03);
    transform: translateX(5px);
}

[data-theme="dark"] .service-item:hover {
    background-color: rgba(var(--accent-color-rgb, 255, 159, 28), 0.05);
}

/* Interactive states */
.service-item[data-modal-target] {
    cursor: pointer;
    position: relative;
}

.service-item[data-modal-target]::after {
    content: "";
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 0.75rem;
    height: 0.75rem;
    border-top: 2px solid var(--accent-color, #ff8c00);
    border-right: 2px solid var(--accent-color, #ff8c00);
    transform: translateY(-50%) rotate(45deg);
    opacity: 0;
    transition: opacity 0.2s ease, right 0.2s ease;
}

.service-item[data-modal-target]:hover::after {
    opacity: 1;
    right: 0;
}
