/* XK Interactive - Service Pages Styles */
/* Comprehensive styling for all service detail pages */

/* ===== SERVICE HERO SECTION ===== */
.service-hero {
    background: linear-gradient(135deg, #0D1117 0%, #161B22 50%, #0D1117 100%);
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
}

.service-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(255, 210, 63, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.service-category {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 107, 53, 0.1);
    color: #FF6B35;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 107, 53, 0.2);
}

.service-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #F0F6FC;
}

.service-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #8B949E;
    margin-bottom: 2rem;
}

.text-gradient {
    background: linear-gradient(135deg, #FF6B35 0%, #FFD23F 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #FF6B35;
    display: block;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: #8B949E;
    margin-top: 0.5rem;
}

.service-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.service-hero-visual {
    position: relative;
}

.hero-image-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FF6B35;
    font-size: 1.5rem;
    backdrop-filter: blur(10px);
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(2) {
    animation-delay: -2s;
}

.floating-element:nth-child(3) {
    animation-delay: -4s;
}

.floating-element:nth-child(4) {
    animation-delay: -6s;
}

/* ===== FEATURE CARDS ===== */
.feature-card {
    background: rgba(255, 107, 53, 0.02);
    border: 1px solid rgba(255, 107, 53, 0.1);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 107, 53, 0.3);
    background: rgba(255, 107, 53, 0.05);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 107, 53, 0.2);
}

.feature-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-card h3 {
    color: #F0F6FC;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #8B949E;
    line-height: 1.6;
}

/* ===== TECHNOLOGY STACK ===== */
.tech-categories {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.tech-category h4 {
    color: #F0F6FC;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tech-tag {
    background: rgba(255, 107, 53, 0.1);
    color: #FF6B35;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(255, 107, 53, 0.2);
    transition: all 0.2s ease;
}

.tech-tag:hover {
    background: rgba(255, 107, 53, 0.2);
    transform: translateY(-2px);
}

.tech-visual {
    position: relative;
}

.tech-image {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.tech-overlay {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    background: rgba(13, 17, 23, 0.9);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
}

.code-snippet {
    font-family: 'Courier New', monospace;
    color: #FF6B35;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* ===== PROCESS TIMELINE ===== */
.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #FF6B35, #FFD23F);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-item:nth-child(even) .timeline-content {
    text-align: right;
}

.timeline-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 107, 53, 0.1);
    border: 3px solid #FF6B35;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.timeline-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.timeline-content {
    flex: 1;
    padding: 0 2rem;
}

.timeline-content h3 {
    color: #F0F6FC;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.timeline-content p {
    color: #8B949E;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.timeline-content ul {
    list-style: none;
    padding: 0;
}

.timeline-content li {
    color: #8B949E;
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.timeline-content li::before {
    content: '→';
    color: #FF6B35;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* ===== SERVICE ITEMS ===== */
.service-item {
    display: flex;
    gap: 1.5rem;
    background: rgba(255, 107, 53, 0.02);
    border: 1px solid rgba(255, 107, 53, 0.1);
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 107, 53, 0.3);
    background: rgba(255, 107, 53, 0.05);
}

.service-item .service-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.service-item .service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-content h4 {
    color: #F0F6FC;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.service-content p {
    color: #8B949E;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.service-content ul {
    list-style: none;
    padding: 0;
}

.service-content li {
    color: #8B949E;
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.9rem;
}

.service-content li::before {
    content: '✓';
    color: #FF6B35;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* ===== PORTFOLIO SHOWCASE ===== */
.portfolio-card {
    background: rgba(255, 107, 53, 0.02);
    border: 1px solid rgba(255, 107, 53, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 107, 53, 0.3);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-card:hover .card-image {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13, 17, 23, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-info {
    text-align: center;
    color: #F0F6FC;
}

.portfolio-info h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.portfolio-info p {
    color: #8B949E;
    margin-bottom: 1rem;
}

.portfolio-meta {
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.portfolio-category,
.portfolio-tech,
.portfolio-deliverable,
.portfolio-duration {
    background: rgba(255, 107, 53, 0.1);
    color: #FF6B35;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* ===== PRICING CARDS ===== */
.pricing-card {
    background: rgba(255, 107, 53, 0.02);
    border: 1px solid rgba(255, 107, 53, 0.1);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    height: 100%;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 107, 53, 0.3);
}

.pricing-card.featured {
    border-color: #FF6B35;
    background: rgba(255, 107, 53, 0.05);
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #FF6B35 0%, #FFD23F 100%);
    color: #000;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-header h3 {
    color: #F0F6FC;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.pricing-price {
    margin-bottom: 1rem;
}

.currency {
    color: #FF6B35;
    font-size: 1.5rem;
    font-weight: 600;
}

.amount {
    color: #F0F6FC;
    font-size: 3rem;
    font-weight: 700;
}

.period {
    color: #8B949E;
    font-size: 1rem;
}

.pricing-header p {
    color: #8B949E;
    margin-bottom: 2rem;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.pricing-features li {
    color: #8B949E;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 107, 53, 0.1);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features i {
    color: #FF6B35;
    font-size: 0.9rem;
}

/* ===== CTA SECTION ===== */
.service-cta {
    background: linear-gradient(135deg, #FF6B35 0%, #FFD23F 100%);
    color: #000;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .service-title {
        font-size: 2.5rem;
    }
    
    .service-stats {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .service-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .tech-categories {
        gap: 1.5rem;
    }
    
    .process-timeline::before {
        left: 40px;
    }
    
    .timeline-item {
        flex-direction: row !important;
        padding-left: 100px;
    }
    
    .timeline-item:nth-child(even) .timeline-content {
        text-align: left;
    }
    
    .timeline-icon {
        position: absolute;
        left: 0;
    }
    
    .service-item {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
}

/* ===== DARK CARD BACKGROUND ===== */
.bg-dark-card {
    background: linear-gradient(135deg, #161B22 0%, #0D1117 100%);
}

/* ===== SECTION SPACING ===== */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #F0F6FC;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #8B949E;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== ANIMATIONS ===== */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}
