/* تنسيقات خاصة بصفحة السبا المنزلي */

/* قسم البطل للسبا المنزلي */
.home-spa-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%),
                url('https://images.unsplash.com/photo-1600334129128-685c5582fd35?ixlib=rb-4.0.3') center/cover;
    background-blend-mode: overlay;
    min-height: 80vh;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
    max-width: 600px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.1);
    padding: 1rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.feature i {
    font-size: 1.2rem;
    color: #ffd700;
}

.feature span {
    font-weight: 500;
}

/* قسم الإحصائيات */
.stats-section {
    background: white;
    padding: 3rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6;
    transition: transform 0.3s, box-shadow 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: #666;
    font-weight: 500;
}

/* شبكة مقدمي الخدمات المنزليين */
.home-spa-providers-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.home-spa-providers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.home-spa-provider-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    border: 1px solid #f0f0f0;
}

.home-spa-provider-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.home-spa-provider-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 1.5rem;
    color: white;
    position: relative;
}

.provider-platform {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(255,255,255,0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    backdrop-filter: blur(10px);
}

.provider-username {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    direction: ltr;
    text-align: left;
}

.provider-name-ar {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.provider-rating-home {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.provider-rating-home .stars {
    color: #ffd700;
    font-size: 1rem;
}

/* جعل نص عدد التقييمات واضحاً باللون الأبيض */
.provider-rating-home .rating-text {
    color: #FDE68A; /* ذهبي فاتح متناسق مع النجوم */
    font-weight: 300; /* نحيف */
    text-shadow: 0 1px 1px rgba(0,0,0,0.2);
}

.home-spa-provider-info {
    padding: 1.5rem;
}

.provider-location-home {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.provider-services-home {
    margin-bottom: 1rem;
}

.service-tag-home {
    display: inline-block;
    background: #e7f3ff;
    color: #667eea;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    margin: 0.2rem;
    border: 1px solid #cce7ff;
}

.provider-contact-home {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
}

.contact-link {
    background: #25d366;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.3s;
}

.contact-link:hover {
    background: #128c7e;
    color: white;
}

.provider-price-home {
    font-weight: 600;
    color: #667eea;
    font-size: 1rem;
}

/* زر تحميل المزيد */
.load-more-container {
    text-align: center;
    margin-top: 2rem;
}

.load-more-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Tajawal', sans-serif;
}

.load-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.load-more-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* مميزات الخدمة المنزلية */
.home-spa-features {
    background: white;
    padding: 4rem 0;
}

.home-spa-features h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
    font-size: 2.5rem;
    font-weight: 600;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

.feature-card h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* قسم النصائح */
.tips-section {
    background: #f8f9fa;
    padding: 4rem 0;
}

.tips-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
    font-size: 2.5rem;
    font-weight: 600;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.tip-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
    position: relative;
    transition: transform 0.3s;
}

.tip-card:hover {
    transform: translateY(-3px);
}

.tip-number {
    position: absolute;
    top: -15px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.tip-card h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 1rem;
}

.tip-card p {
    color: #666;
    line-height: 1.6;
}

/* تصميم متجاوب للسبا المنزلي */
@media (max-width: 768px) {
    .home-spa-hero {
        min-height: 70vh;
        padding: 2rem 0;
    }
    
    .hero-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .feature {
        padding: 0.8rem;
        flex-direction: column;
        text-align: center;
        gap: 0.3rem;
    }
    
    .feature span {
        font-size: 0.9rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .home-spa-providers-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .tips-grid {
        grid-template-columns: 1fr;
    }
    
    .home-spa-features h2,
    .tips-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-features {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .home-spa-provider-card {
        margin: 0 10px;
    }
    
    .home-spa-provider-header {
        padding: 1rem;
    }
    
    .provider-username {
        font-size: 1rem;
    }
    
    .provider-name-ar {
        font-size: 1.1rem;
    }
    
    .home-spa-provider-info {
        padding: 1rem;
    }
    
    .provider-contact-home {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .contact-link {
        justify-content: center;
    }
}

/* تأثيرات خاصة */
.home-spa-provider-card {
    position: relative;
    overflow: hidden;
}

.home-spa-provider-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: right 0.6s;
}

.home-spa-provider-card:hover::before {
    right: 100%;
}

/* تحسين عرض اسم المستخدم */
.provider-username::before {
    content: '@';
    color: rgba(255,255,255,0.7);
}

/* أيقونات المنصات */
.provider-platform.instagram {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
}

.provider-platform.snapchat {
    background: #fffc00;
    color: #333 !important;
}

.provider-platform.whatsapp {
    background: #25d366;
}

.provider-platform.tiktok {
    background: #000;
}