/* Services Page Specific Styles */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    padding: 3rem 0;
    margin-top: var(--header-height);
}

.breadcrumb {
    margin-bottom: 1rem;
}

.breadcrumb ol {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.breadcrumb li:not(:last-child)::after {
    content: '/';
    margin-left: 0.5rem;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover,
.breadcrumb a:focus {
    color: var(--primary-color);
}

.breadcrumb [aria-current="page"] {
    color: var(--primary-color);
    font-weight: 600;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.page-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.6;
}

/* Services Navigation */
.services-nav-section {
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: var(--header-height);
    z-index: 90;
}

.services-nav {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 1rem 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.services-nav::-webkit-scrollbar {
    display: none;
}

.service-nav-btn {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    flex-shrink: 0;
    position: relative;
}

.service-nav-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-1px);
}

.service-nav-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.service-nav-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid var(--primary-color);
}

/* Service Detail Sections */
.service-detail {
    padding: 4rem 0;
    display: none;
}

.service-detail.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.service-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    text-align: left;
}

.service-icon-large {
    font-size: 4rem;
    flex-shrink: 0;
}

.service-intro h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.service-tagline {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Service Content Sections */
.service-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.problem-section {
    margin-bottom: 3rem;
}

.problem-list {
    list-style: none;
    padding-left: 0;
}

.problem-list li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-secondary);
}

.problem-list li::before {
    content: '⚠️';
    position: absolute;
    left: 0;
    top: 0.5rem;
}

.approach-section {
    margin-bottom: 3rem;
}

.approach-steps {
    display: grid;
    gap: 2rem;
}

.approach-step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.step-number {
    background: var(--primary-color);
    color: white;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
    font-size: 1.125rem;
}

.step-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.outcomes-section {
    margin-bottom: 3rem;
}

.outcomes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.outcome-card {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary-color);
    text-align: center;
}

.outcome-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.outcome-card h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.outcome-card p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.5;
}

.technologies-section {
    margin-bottom: 3rem;
}

.tech-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tech-badge {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: var(--transition);
}

.tech-badge:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-1px);
}

.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 3rem;
    border-radius: var(--radius-lg);
    text-align: center;
}

.cta-content h3 {
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .btn-primary {
    background: white;
    color: var(--primary-color);
    border-color: white;
}

.cta-section .btn-primary:hover {
    background: var(--bg-secondary);
    color: var(--primary-dark);
}

.cta-section .btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.cta-section .btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

/* Service Comparison */
.service-comparison {
    background-color: var(--bg-secondary);
    padding: 4rem 0;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.package-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.package-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.package-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.package-card.featured:hover {
    transform: scale(1.05) translateY(-4px);
}

.package-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
}

.package-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.package-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.package-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.package-price span {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.package-features ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.package-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.package-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.package-cta {
    text-align: center;
}

/* Process Section */
.process-section {
    padding: 4rem 0;
    background-color: var(--bg-primary);
}

.process-timeline {
    max-width: 800px;
    margin: 3rem auto 0;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 2rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.process-step {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.process-step:last-child {
    margin-bottom: 0;
}

.process-icon {
    background: var(--primary-color);
    color: white;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.process-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.process-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Final CTA */
.final-cta {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.cta-banner {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-banner h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.cta-banner p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-banner .cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-header {
        padding: 2rem 0;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1.125rem;
    }
    
    .service-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .service-icon-large {
        font-size: 3rem;
    }
    
    .service-intro h2 {
        font-size: 1.75rem;
    }
    
    .service-tagline {
        font-size: 1.125rem;
    }
    
    .approach-step {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .outcomes-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-section {
        padding: 2rem;
    }
    
    .cta-actions {
        flex-direction: column;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
    }
    
    .package-card.featured {
        transform: none;
    }
    
    .package-card.featured:hover {
        transform: translateY(-4px);
    }
    
    .process-timeline::before {
        left: 2rem;
    }
    
    .process-step {
        gap: 1rem;
    }
    
    .process-icon {
        width: 3rem;
        height: 3rem;
        font-size: 1.25rem;
    }
    
    .cta-banner h2 {
        font-size: 1.75rem;
    }
    
    .cta-banner .cta-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .services-nav {
        gap: 0.25rem;
    }
    
    .service-nav-btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    .service-nav-btn.active::after {
        display: none;
    }
    
    .tech-badges {
        justify-content: center;
    }
    
    .process-timeline::before {
        left: 1.5rem;
    }
    
    .process-icon {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1rem;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .service-detail.active {
        animation: none;
    }
    
    .service-nav-btn,
    .package-card,
    .tech-badge {
        transition: none;
    }
    
    .service-nav-btn:hover,
    .package-card:hover,
    .tech-badge:hover {
        transform: none;
    }
}

/* High Contrast Support */
@media (prefers-contrast: high) {
    .service-nav-btn {
        border-width: 2px;
    }
    
    .service-nav-btn.active {
        border-width: 3px;
    }
    
    .outcome-card {
        border-left-width: 6px;
    }
    
    .package-card {
        border-width: 2px;
    }
    
    .package-card.featured {
        border-width: 3px;
    }
}