/* ===== Services Page Styles ===== */
/* Inspired by Creative Chris Design */

/* Hero Section Override */
.hero--services {
    min-height: 80vh;
}

.hero--services .hero-media {
    height: 130%;
    top: -10%;
    bottom: auto;
    will-change: transform;
}

/* Page Header */
.page-header {
    padding: 120px 0 60px;
    text-align: center;
    background: linear-gradient(135deg, var(--color-dark-900) 0%, var(--color-dark-800) 100%);
}

.page-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    font-size: 1.25rem;
    color: var(--color-gray-400);
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services-section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-gray-400);
    max-width: 700px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.service-card {
    background: var(--color-dark-800);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--color-dark-700);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--color-primary);
}

.service-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: var(--color-dark-700);
    position: relative;
}

.service-image img {
    width: 100%;
    height: 140%; /* Increased for parallax */
    position: absolute;
    top: -20%;
    left: 0;
    object-fit: cover;
    transition: transform 0.1s linear; /* Faster transition for smooth parallax */
    will-change: transform;
}

.service-card:hover .service-image img {
    transform: none; /* Scale effect disabled to avoid conflict with parallax */
}

.service-content {
    padding: 30px;
}

.service-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}

.service-description {
    font-size: 1rem;
    color: var(--color-gray-400);
    line-height: 1.7;
    margin-bottom: 25px;
}

.service-features {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 12px;
}

.service-feature {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--color-gray-300);
}

.feature-icon {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--color-success);
}

/* Creative Process Section */
.creative-process-section {
    padding: 80px 0;
    background: var(--color-dark-800);
}

.process-timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 50px;
    position: relative;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.step-content {
    flex: 1;
    padding-top: 8px;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
}

.step-description {
    font-size: 1rem;
    color: var(--color-gray-400);
    line-height: 1.7;
}

.step-connector {
    position: absolute;
    left: 29px;
    top: 70px;
    width: 2px;
    height: calc(100% + 50px);
    background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    opacity: 0.3;
}

/* Expertise & Benefits Section */
.expertise-benefits-section {
    padding: 80px 0;
    background: var(--color-dark-900);
}

.expertise-benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.column-title {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 40px;
}

/* Technical Expertise */
.expertise-category {
    margin-bottom: 40px;
}

.expertise-category:last-child {
    margin-bottom: 0;
}

.category-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-gray-300);
    margin-bottom: 20px;
}

.skills-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.skill-name {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-gray-300);
}

.skill-percentage {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-primary);
}

.skill-bar {
    height: 8px;
    background: var(--color-dark-700);
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    border-radius: 4px;
    transition: width 1s ease-out;
}

/* Client Benefits */
.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.benefit-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-success);
}

.benefit-icon svg,
.feature-icon {
    transform-origin: center;
}

.benefit-content {
    flex: 1;
}

.benefit-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}

.benefit-description {
    font-size: 1rem;
    color: var(--color-gray-400);
    line-height: 1.7;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .expertise-benefits-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }
    
    .page-subtitle {
        font-size: 1.125rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .service-features {
        grid-template-columns: 1fr;
    }
    
    .process-step {
        gap: 20px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .step-connector {
        left: 24px;
        top: 60px;
    }
    
    .step-title {
        font-size: 1.25rem;
    }
    
    .column-title {
        font-size: 1.75rem;
    }
    
    .benefit-item {
        gap: 15px;
    }
    
    .benefit-icon {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 100px 0 40px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .services-section,
    .creative-process-section,
    .expertise-benefits-section {
        padding: 60px 0;
    }
    
    .service-content {
        padding: 20px;
    }
    
    .service-title {
        font-size: 1.5rem;
    }
}

/* Animation on scroll */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.process-step,
.skill-item,
.benefit-item {
    animation: fadeInUp 0.6s ease-out;
}
