﻿/* =============================================
   wwwroot/css/services-section.css
   Premium Services Section — Static Version
   ============================================= */

/* ---------- Section Base ---------- */
.services-showcase-section {
    background: linear-gradient(180deg, #f8f9fc 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

/* ---------- Header ---------- */
.section-header {
    position: relative;
}

.section-badge {
    display: inline-block;
    padding: 8px 22px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.12), rgba(240, 147, 251, 0.12));
    color: #764ba2;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title {
    color: #1a1a3e;
    font-weight: 800;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: #6c757d;
    font-size: 1.05rem;
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.6;
}

.golden-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
    border-radius: 2px;
    margin-top: 1.5rem;
}

/* ---------- Service Card ---------- */
.service-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f5;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .service-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 25px 50px rgba(102, 126, 234, 0.15);
        border-color: rgba(102, 126, 234, 0.2);
    }

/* ---------- Image ---------- */
.service-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fc, #eef1f8);
}

    .service-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }

.service-card:hover .service-image img {
    transform: scale(1.08);
}

.service-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(26, 26, 62, 0) 0%, rgba(26, 26, 62, 0.15) 60%, rgba(26, 26, 62, 0.65) 100%);
    pointer-events: none;
}

.service-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 14px;
    background: linear-gradient(135deg, #ffd93d, #ff6b6b);
    color: #ffffff;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    z-index: 2;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    }

    50% {
        box-shadow: 0 4px 25px rgba(255, 107, 107, 0.7);
    }
}

/* ---------- Floating Icon ---------- */
.service-icon {
    position: absolute;
    bottom: -28px;
    left: 1.5rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.5rem;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
    border: 3px solid #ffffff;
    z-index: 3;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-icon {
    transform: translateY(-5px) rotate(8deg);
    box-shadow: 0 12px 25px rgba(102, 126, 234, 0.6);
}

/* ---------- Content ---------- */
.service-content {
    padding: 2.5rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.service-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a3e;
    margin-bottom: 0.75rem;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.service-card:hover .service-title {
    color: #667eea;
}

.service-description {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* ---------- Feature Chips ---------- */
.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
}

.feature-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 4px 10px;
    background: rgba(102, 126, 234, 0.08);
    color: #667eea;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    border: 1px solid rgba(102, 126, 234, 0.15);
    transition: all 0.3s ease;
}

    .feature-chip i {
        font-size: 0.65rem;
        color: #28a745;
    }

.service-card:hover .feature-chip {
    background: rgba(102, 126, 234, 0.12);
}

/* ---------- Footer CTA ---------- */
.service-footer {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px dashed #e9ecef;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #667eea;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

    .service-link i {
        transition: transform 0.3s ease;
    }

    .service-link:hover {
        color: #764ba2;
    }

        .service-link:hover i {
            transform: translateX(5px);
        }

/* ---------- Process Section ---------- */
.process-section {
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.04), rgba(240, 147, 251, 0.04));
    border-radius: 24px;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.process-title {
    color: #1a1a3e;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.process-subtitle {
    font-size: 0.95rem;
    max-width: 500px;
    margin: 0 auto;
}

.process-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
}

.process-step {
    flex: 1;
    text-align: center;
    padding: 1.5rem 1rem;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f5;
    transition: all 0.3s ease;
    position: relative;
}

    .process-step:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(102, 126, 234, 0.15);
        border-color: rgba(102, 126, 234, 0.2);
    }

.step-number {
    position: absolute;
    top: -12px;
    right: 15px;
    font-size: 2rem;
    font-weight: 900;
    color: rgba(102, 126, 234, 0.1);
    line-height: 1;
}

.step-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.3rem;
    margin: 0 auto 1rem;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.25);
    transition: all 0.3s ease;
}

.process-step:hover .step-icon {
    transform: rotate(-8deg) scale(1.05);
}

.process-step h5 {
    color: #1a1a3e;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.process-step p {
    color: #6c757d;
    font-size: 0.8rem;
    line-height: 1.5;
    margin: 0;
}

.process-connector {
    color: #667eea;
    font-size: 1.2rem;
    opacity: 0.4;
    flex-shrink: 0;
}

/* ---------- CTA ---------- */
.services-cta {
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(240, 147, 251, 0.05));
    border-radius: 20px;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

    .services-cta h4 {
        color: #1a1a3e;
        font-weight: 700;
        margin-bottom: 1rem;
    }

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.services-cta .btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    border-radius: 50px;
    padding: 0.9rem 2.25rem;
    font-weight: 600;
    color: #ffffff;
    transition: all 0.3s ease;
}

    .services-cta .btn-primary:hover {
        color: #ffffff;
        transform: translateY(-3px);
        box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    }

.services-cta .btn-outline-primary {
    border: 2px solid #667eea;
    color: #667eea;
    background: transparent;
    border-radius: 50px;
    padding: 0.9rem 2.25rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .services-cta .btn-outline-primary:hover {
        background: #667eea;
        color: #ffffff;
        transform: translateY(-3px);
        box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .section-title {
        font-size: 2rem;
    }

    .process-steps {
        flex-direction: column;
    }

    .process-connector {
        transform: rotate(90deg);
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.75rem;
    }

    .service-image {
        height: 180px;
    }

    .service-content {
        padding: 2.5rem 1.25rem 1.25rem;
    }

    .service-icon {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
        bottom: -25px;
    }

    .process-section {
        padding: 2rem 1.25rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

        .cta-buttons .btn {
            width: 100%;
            max-width: 300px;
        }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.5rem;
    }

    .service-title {
        font-size: 1.05rem;
    }

    .services-cta {
        padding: 2rem 1.25rem;
    }
}
