/* =========== SERVICES PAGE =========== */
.services-page {
    padding: 8rem 0;
    background-color: var(--light);
    position: relative;
}

.services-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(252, 237, 1, 0.05) 0%, transparent 25%),
        radial-gradient(circle at 80% 70%, rgba(252, 237, 1, 0.05) 0%, transparent 25%);
    pointer-events: none;
}

.services-header {
    text-align: center;
    margin-bottom: 6rem;
}

.services-title {
    font-size: 4.2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.services-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -1.5rem;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background-color: var(--primary);
}

.services-description {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.8rem;
    color: var(--gray);
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 4rem;
    margin-bottom: 8rem;
}

.service-box {
    display: flex;
    flex-direction: column;
    background-color: var(--light);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: var(--transition);
}

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

.service-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

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

.service-box:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 3rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-icon {
    margin-bottom: 2rem;
    width: 70px;
    height: 70px;
    background-color: var(--primary);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: brightness(0) saturate(100%);
}

.service-title {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1.5rem;
}

.service-text {
    font-size: 1.6rem;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.service-features {
    margin-bottom: 2.5rem;
}

.service-feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.service-feature-icon {
    min-width: 20px;
    margin-right: 1rem;
    color: var(--primary);
    font-size: 1.6rem;
}

.service-feature-text {
    font-size: 1.6rem;
    color: var(--gray);
}

.service-link {
    align-self: flex-start;
    padding: 1rem 2.5rem;
    background-color: var(--light-gray);
    color: var(--dark);
    font-size: 1.6rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    transition: var(--transition);
}

.service-link:hover {
    background-color: var(--primary);
}

/* Single Service Page */
.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    margin-bottom: 6rem;
}

.service-detail-image {
    position: relative;
}

.service-detail-image img {
    width: 100%;
    height: auto;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-detail-content {
    position: relative;
}

.service-detail-title {
    font-size: 3.6rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 2.5rem;
    position: relative;
    padding-bottom: 2rem;
}

.service-detail-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background-color: var(--primary);
}

.service-detail-text {
    font-size: 1.7rem;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 3rem;
}

.service-detail-features {
    margin-bottom: 3rem;
}

.service-detail-feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.service-detail-feature-icon {
    min-width: 30px;
    margin-right: 1.5rem;
    color: var(--primary);
    font-size: 2rem;
}

.service-detail-feature-text {
    font-size: 1.6rem;
    color: var(--gray);
    font-weight: 500;
}

/* Process Section */
.process-section {
    padding: 8rem 0;
    background-color: var(--light-gray);
}

.process-title {
    font-size: 3.6rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 2rem;
    text-align: center;
}

.process-subtitle {
    font-size: 1.8rem;
    color: var(--gray);
    margin-bottom: 6rem;
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: rgba(0, 0, 0, 0.1);
    z-index: 0;
}

.process-step {
    flex: 1;
    text-align: center;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.process-step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: var(--dark);
    font-size: 2.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    position: relative;
}

.process-step-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1.5rem;
}

.process-step-text {
    font-size: 1.6rem;
    color: var(--gray);
    line-height: 1.7;
}

/* CTA Section */
.services-cta {
    padding: 8rem 0;
    background-color: var(--darker);
    position: relative;
    color: var(--light);
    overflow: hidden;
}

.services-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--metal-gradient), url('https://marselmetal.com/wp-content/uploads/2020/06/slider.jpg');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    opacity: 0.2;
    z-index: 0;
}

.services-cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.services-cta-title {
    font-size: 4.2rem;
    font-weight: 800;
    margin-bottom: 2rem;
}

.services-cta-text {
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 4rem;
}

.services-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

/* =========== MOBILE ADJUSTMENTS =========== */
@media screen and (max-width: 1200px) {
    .services-container {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media screen and (max-width: 992px) {
    .services-title {
        font-size: 3.6rem;
    }
    
    .service-detail {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .services-cta-title {
        font-size: 3.6rem;
    }
    
    .process-steps {
        flex-direction: column;
    }
    
    .process-steps::before {
        display: none;
    }
    
    .process-step {
        margin-bottom: 4rem;
    }
    
    .process-step-number {
        margin-bottom: 1.5rem;
    }
}

@media screen and (max-width: 768px) {
    .services-title {
        font-size: 3rem;
    }
    
    .services-container {
        grid-template-columns: 1fr;
    }
    
    .service-detail-title {
        font-size: 3rem;
    }
    
    .services-cta-title {
        font-size: 3rem;
    }
    
    .services-cta-buttons {
        flex-direction: column;
        gap: 1.5rem;
    }
}

@media screen and (max-width: 576px) {
    .service-box {
        max-width: 400px;
        margin: 0 auto;
    }
}