/* ========================================
   SERVICE MODALS
   ======================================== */

/* Prevent body scroll when modal is open */
body.service-modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

.service-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-modal.active {
    opacity: 1;
    visibility: visible;
}

.service-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

.service-modal-content {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 90vw;
    max-height: 90vh;
    width: 800px;
    overflow: hidden;
    transform: scale(0.7) translateY(50px);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-modal.active .service-modal-content {
    transform: scale(1) translateY(0);
}

.service-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #333;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.service-modal-close:hover {
    background: rgba(255, 255, 255, 1);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.service-modal-body {
    padding: 3rem;
    overflow-y: auto;
    max-height: 80vh;
}

/* Service Modal Header */
.service-modal-header {
    text-align: center;
    margin-bottom: 3rem;
}

.service-modal-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 40px rgba(102, 126, 234, 0.5);
    }
}

.service-modal-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #2d3748;
    margin-bottom: 1rem;
}

.service-modal-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

/* Service Modal Content Sections */
.service-content-section {
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.service-content-section:nth-child(1) { animation-delay: 0.1s; }
.service-content-section:nth-child(2) { animation-delay: 0.2s; }
.service-content-section:nth-child(3) { animation-delay: 0.3s; }
.service-content-section:nth-child(4) { animation-delay: 0.4s; }
.service-content-section:nth-child(5) { animation-delay: 0.5s; }

.service-content-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #2d3748;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-content-section h3 i {
    color: #667eea;
}

.service-content-section p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.service-content-section ul {
    list-style: none;
    padding: 0;
}

.service-content-section li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #555;
}

.service-content-section li i {
    color: #667eea;
    width: 20px;
    text-align: center;
}

/* Service Features Grid */
.service-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.service-feature-card {
    background: rgba(255, 255, 255, 0.7);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(102, 126, 234, 0.2);
    text-align: center;
    transition: all 0.3s ease;
}

.service-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.9);
}

.service-feature-card i {
    font-size: 1.5rem;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.service-feature-card h4 {
    font-size: 1.1rem;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

/* Service Pricing */
.service-pricing {
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    margin: 2rem 0;
}

.service-price {
    font-size: 3rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.service-price-note {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

/* Service Modal Actions */
.service-modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.service-action-btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
}

.service-action-btn.primary {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.service-action-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.service-action-btn.secondary {
    background: rgba(255, 255, 255, 0.8);
    color: #667eea;
    border: 2px solid #667eea;
}

.service-action-btn.secondary:hover {
    background: #667eea;
    color: white;
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .service-modal-content {
        width: 95vw;
        max-height: 95vh;
    }
    
    .service-modal-body {
        padding: 2rem 1.5rem;
    }
    
    .service-modal-title {
        font-size: 2rem;
    }
    
    .service-modal-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .service-features {
        grid-template-columns: 1fr;
    }
    
    .service-modal-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .service-action-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .service-modal-body {
        padding: 1.5rem 1rem;
    }
    
    .service-modal-close {
        width: 40px;
        height: 40px;
        top: 15px;
        right: 15px;
    }
}

/* Animation keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
