/* Service cards layout and styling */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: rgba(26, 26, 26, 0.6);
    border-radius: 10px;
    padding: 2rem;
    transition: var(--transition);
    border: 1px solid rgba(212, 175, 55, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, transparent, var(--secondary-color), transparent);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(212, 175, 55, 0.3);
}

.service-card:hover::after {
    transform: scaleX(1);
}

.service-card h3 {
    color: var(--secondary-color);
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 1rem;
    margin-bottom: 1rem;
    opacity: 0.85;
    font-weight: 300;
}

.service-items {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin-bottom: 0.5rem;
}

.service-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 0.3rem;
}

.service-item-title {
    display: block;
    font-weight: 400;
    color: var(--text-light);
    margin-bottom: 0.2rem;
    font-size: 1rem;
}

.service-item-description {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    opacity: 0.8;
    font-weight: 300;
}

/* CTA card styling */
.service-card.cta-card {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8), rgba(26, 26, 26, 0.95));
    border: 1px solid rgba(212, 175, 55, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 3rem 2rem;
}

.service-card.cta-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.service-card.cta-card p {
    margin-bottom: 0;
    font-size: 1.1rem;
    line-height: 1.5;
    opacity: 0.85;
    font-weight: 300;
}

.service-card.cta-card:hover {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9), rgba(26, 26, 26, 1));
    border-color: var(--secondary-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
    }
}
