/* Service Detail Page Styles */

.service-detail-container {
    min-height: 100vh;
}

/* Service Hero */
.service-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 90px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-hero::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: -100px;
    right: -100px;
    animation: float 6s ease-in-out infinite;
}

.service-hero::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    bottom: -50px;
    left: -50px;
    animation: float 8s ease-in-out infinite reverse;
}

.service-hero .container {
    position: relative;
    z-index: 2;
}

.service-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-top: 3rem;
    margin-bottom: 20px;
    animation: slideDownFade 0.8s ease-out;
    visibility: visible;
    opacity: 1;
}

.service-hero p {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
    animation: slideDownFade 0.8s ease-out 0.2s both;
    opacity: 0.95;
}

@media (max-width: 768px) {
    .service-hero h1 {
        font-size: 2rem;
    }
    
    .service-hero p {
        font-size: 1rem;
    }
}

/* Service Overview */
.service-overview {
    padding: 80px 0;
    background: #f8f9fa;
}

.overview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.overview-text h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #333;
}

.overview-text p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1rem;
}

.overview-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 30px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
}

.feature i {
    color: #667eea;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.feature span {
    color: #333;
    font-weight: 500;
    font-size: 0.95rem;
}

.overview-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.image-placeholder-large {
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.image-placeholder-large .service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.image-placeholder-large .image-fallback {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

@media (max-width: 768px) {
    .overview-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .overview-text h2 {
        font-size: 1.8rem;
    }
    
    .overview-features {
        grid-template-columns: 1fr;
    }
}

/* Technologies Section */
.technologies {
    padding: 80px 0;
}

.technologies h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 50px;
    font-size: 1.1rem;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.tech-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid #667eea;
}

.tech-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.tech-icon {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 20px;
}

.tech-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
}

.tech-card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .technologies h2 {
        font-size: 2rem;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
}

/* Development Process */
.development-process {
    padding: 80px 0;
    background: #f8f9fa;
}

.development-process h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.process-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 60px;
}

.process-step {
    flex: 1;
    min-width: 150px;
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.step-icon {
    font-size: 2.5rem;
    color: #667eea;
    margin-bottom: 15px;
}

.process-step h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: #333;
}

.process-step p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
}

.process-arrow {
    font-size: 2rem;
    color: #667eea;
    font-weight: bold;
    flex: 0 0 auto;
}

@media (max-width: 992px) {
    .process-arrow {
        display: none;
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        display: grid;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .process-arrow {
        display: none;
    }
    
    .development-process h2 {
        font-size: 2rem;
    }
    
    .process-steps {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Service CTA */
.service-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.service-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.service-cta p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.service-cta .btn {
    padding: 15px 40px;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .service-cta h2 {
        font-size: 1.8rem;
    }
    
    .service-cta p {
        font-size: 1rem;
    }
}

/* Animations */
@keyframes slideDownFade {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-30px);
    }
}