/* ==========================================
   SERVICES PAGE STYLES
   ========================================== */

/* Page Header */
.page-header {
    padding: 8rem 0 5rem;
    text-align: center;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.page-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.page-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Main Services Section */
.services-main {
    padding: 6rem 0;
}

.service-detail {
    margin-bottom: 5rem;
    padding-bottom: 5rem;
    border-bottom: 1px solid var(--border-color);
}

.service-detail:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.service-detail-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.service-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-primary);
    opacity: 0.3;
    line-height: 1;
}

.service-detail-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--text-primary);
    margin: 0;
}

.service-detail-content {
    padding-left: 5rem;
}

.service-detail-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 800px;
}

/* Tech Stack */
.tech-stack {
    margin-bottom: 2rem;
}

.tech-stack-title {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tech-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.9rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: var(--accent-primary);
    color: var(--bg-primary);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

/* Service Features */
.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    font-size: 1rem;
    color: var(--text-secondary);
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    line-height: 1.6;
}

.service-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-weight: 600;
}

/* Process Section */
.process-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.process-step {
    text-align: center;
    padding: 2rem 1rem;
}

.process-step-number {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: var(--accent-primary);
    color: var(--bg-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.process-step-title {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.process-step-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    text-align: center;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================
   RESPONSIVE DESIGN - SERVICES PAGE
   ========================================== */

@media (max-width: 768px) {
    .page-header {
        padding: 6rem 0 4rem;
    }

    .service-detail-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .service-number {
        font-size: 2rem;
    }

    .service-detail-content {
        padding-left: 0;
    }

    .service-detail {
        margin-bottom: 3rem;
        padding-bottom: 3rem;
    }

    .tech-tags {
        gap: 0.5rem;
    }

    .tech-tag {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }

    .process-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .process-step {
        padding: 1.5rem 0;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .service-detail-content {
        padding-left: 3rem;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================
   ANIMATIONS - SERVICES PAGE
   ========================================== */

.service-detail {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.service-detail:nth-child(1) { animation-delay: 0.1s; }
.service-detail:nth-child(2) { animation-delay: 0.2s; }
.service-detail:nth-child(3) { animation-delay: 0.3s; }
.service-detail:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.process-step {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.process-step:nth-child(1) { animation-delay: 0.1s; }
.process-step:nth-child(2) { animation-delay: 0.2s; }
.process-step:nth-child(3) { animation-delay: 0.3s; }
.process-step:nth-child(4) { animation-delay: 0.4s; }
.process-step:nth-child(5) { animation-delay: 0.5s; }