/* ===== SERVICES SECTION STYLES ===== */

.services-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23dbb365" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    z-index: 1;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

/* Service Card */
.service-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 0;
    box-shadow: var(--shadow-light);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(219, 179, 101, 0.1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.service-card:hover::before {
    opacity: 0.95;
}

.service-card:hover {
    transform: translateY(-15px) rotateX(5deg);
    box-shadow: var(--shadow-heavy);
}

/* Service Image */
.service-image {
    position: relative;
    height: 250px;
    overflow: hidden;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(30, 60, 114, 0.8), rgba(42, 82, 152, 0.6));
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.service-card:hover .service-overlay {
    opacity: 1;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

/* Service Content */
.service-content {
    padding: 30px;
    position: relative;
    z-index: 3;
    transition: all 0.4s ease;
}

.service-card:hover .service-content {
    color: white;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
    transition: color 0.4s ease;
}

.service-card:hover .service-title {
    color: white;
}

.service-description {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 25px;
    transition: color 0.4s ease;
}

.service-card:hover .service-description {
    color: rgba(255, 255, 255, 0.9);
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.service-feature {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: var(--text-light);
    transition: color 0.4s ease;
}

.service-card:hover .service-feature {
    color: rgba(255, 255, 255, 0.9);
}

.service-feature i {
    color: var(--primary-color);
    margin-left: 10px;
    font-size: 0.9rem;
    transition: color 0.4s ease;
}

.service-card:hover .service-feature i {
    color: rgba(255, 255, 255, 0.8);
}

.service-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.service-btn:hover::before {
    left: 100%;
}

.service-card:hover .service-btn {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Service Badge */
.service-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient-primary);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 4;
    transform: translateY(-10px);
    opacity: 0;
    transition: all 0.3s ease;
}

.service-card:hover .service-badge {
    transform: translateY(0);
    opacity: 1;
}

/* Special Service Cards */
.service-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.02);
}

.service-card.featured::after {
    content: 'الأكثر طلباً';
    position: absolute;
    top: -1px;
    left: 30px;
    background: var(--gradient-primary);
    color: white;
    padding: 8px 20px;
    border-radius: 0 0 15px 15px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 5;
}

/* Floating Action for Services */
.services-cta {
    text-align: center;
    margin-top: 60px;
}

.services-cta-text {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 30px;
    font-weight: 600;
}

.services-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.cta-btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 10px 30px rgba(219, 179, 101, 0.4);
}

.cta-btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.cta-btn:hover {
    transform: translateY(-3px);
}

.cta-btn-primary:hover {
    box-shadow: 0 15px 40px rgba(219, 179, 101, 0.6);
}

.cta-btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .services-section {
        padding: 60px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .service-card {
        margin: 0 10px;
    }
    
    .service-image {
        height: 200px;
    }
    
    .service-content {
        padding: 25px;
    }
    
    .service-title {
        font-size: 1.3rem;
    }
    
    .services-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .services-container {
        padding: 0 15px;
    }
    
    .service-card {
        margin: 0;
    }
    
    .service-content {
        padding: 20px;
    }
    
    .service-title {
        font-size: 1.2rem;
    }
    
    .service-description {
        font-size: 0.95rem;
    }
}


