/* =================================================================
   ENHANCED SERVICE MODALS - نوافذ الخدمات المحسّنة
   Additional styles for premium service modals
   ================================================================= */

/* Modal Animation Enhancement */
.service-modal-overlay.active {
    animation: modalFadeIn 0.4s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.service-modal-overlay.active .service-modal-container {
    animation: modalSlideUp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalSlideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Enhanced Modal Header */
.service-modal-header {
    position: relative;
    padding-bottom: 30px;
}

.service-modal-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
}

/* Enhanced Icon */
.service-modal-icon {
    position: relative;
}

.service-modal-icon::before {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-gold), var(--light-gold));
    opacity: 0.2;
    animation: iconGlow 2s ease-in-out infinite;
}

@keyframes iconGlow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.2;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.4;
    }
}

/* Enhanced List Items */
.service-modal-body li {
    position: relative;
    padding-right: 30px;
    transition: all 0.3s ease;
}

.service-modal-body li::before {
    content: '✦';
    position: absolute;
    right: 0;
    color: var(--primary-gold);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.service-modal-body li:hover {
    padding-right: 35px;
    color: var(--text-white);
}

.service-modal-body li:hover::before {
    transform: scale(1.2) rotate(90deg);
}

/* Enhanced Highlights Grid */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.highlight-item {
    background: rgba(26, 26, 26, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 10px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.highlight-item:hover {
    border-color: var(--primary-gold);
    background: rgba(212, 175, 55, 0.05);
    transform: translateY(-2px);
}

.highlight-item i {
    color: var(--primary-gold);
    font-size: 1.3rem;
}

.highlight-item span {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* Enhanced Close Button */
.service-modal-close {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.1);
    border: 2px solid var(--primary-gold);
    color: var(--primary-gold);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-modal-close:hover {
    background: var(--primary-gold);
    color: var(--rich-black);
    transform: rotate(90deg);
}

/* Enhanced Features Section */
.service-features {
    margin-top: 30px;
    padding: 30px;
    background: rgba(26, 26, 26, 0.4);
    border-radius: 15px;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.service-features h4 {
    color: var(--primary-gold);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-features h4 i {
    font-size: 1.5rem;
}

/* Stats Cards */
.service-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.stat-card {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05), rgba(26, 26, 26, 0.8));
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: var(--primary-gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.stat-card .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-gold);
    margin-bottom: 10px;
}

.stat-card .stat-label {
    font-size: 0.95rem;
    color: var(--text-gray);
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .service-modal-content {
        padding: 40px 20px 20px;
    }
    
    .service-modal-header h2 {
        font-size: 1.8rem;
    }
    
    .service-modal-subtitle {
        font-size: 1.1rem;
    }
    
    .service-modal-icon {
        width: 100px;
        height: 100px;
        font-size: 3rem;
    }
    
    .highlights-grid {
        grid-template-columns: 1fr;
    }
    
    .service-stats {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .service-modal-header h2 {
        font-size: 1.5rem;
    }
    
    .service-modal-body {
        font-size: 1rem;
    }
    
    .service-stats {
        grid-template-columns: 1fr;
    }
}
