/* صفحة الخدمات المحسّنة - تصميم احترافي */

:root {
    --primary-color: #1a365d;
    --secondary-color: #2563eb;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --dark-color: #1f2937;
    --light-color: #f9fafb;
    --border-color: #e5e7eb;
}

/* Hero Section */
.services-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 80px 0 60px;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    animation: fadeInDown 0.8s;
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s;
}

.quick-search {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
    animation: fadeIn 1s;
}

.quick-search input {
    flex: 1;
    padding: 15px 25px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
}

.btn-search {
    padding: 15px 30px;
    background: white;
    color: var(--primary-color);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-search:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Special Offers */
.special-offers {
    padding: 60px 0;
    background: var(--light-color);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 40px;
}

.section-title i {
    color: var(--warning-color);
    animation: pulse 2s infinite;
}

.offers-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.offer-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;
    position: relative;
}

.offer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.offer-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--danger-color);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    z-index: 10;
    animation: bounce 2s infinite;
}

.offer-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.offer-content {
    padding: 25px;
}

.offer-content h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.offer-price {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.old-price {
    text-decoration: line-through;
    color: #9ca3af;
    font-size: 1.1rem;
}

.new-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--success-color);
}

/* Services Layout */
.services-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    padding: 40px 0;
}

/* Sidebar */
.services-sidebar {
    position: sticky;
    top: 20px;
    height: fit-content;
}

.filter-section {
    background: white;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.filter-section h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

.category-list {
    list-style: none;
    padding: 0;
}

.category-list li {
    margin-bottom: 10px;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    border-radius: 8px;
    color: var(--dark-color);
    text-decoration: none;
    transition: all 0.3s;
}

.category-list a:hover,
.category-list a.active {
    background: var(--primary-color);
    color: white;
}

.category-list .count {
    background: var(--light-color);
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 0.85rem;
}

.category-list a.active .count {
    background: rgba(255,255,255,0.2);
    color: white;
}

.price-range input[type="range"] {
    width: 100%;
    margin: 15px 0;
}

.price-values {
    text-align: center;
    color: var(--primary-color);
    font-weight: 600;
}

.rating-filter label,
.features-filter label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    cursor: pointer;
}

.stars {
    color: var(--warning-color);
}

/* Toolbar */
.services-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 20px 25px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.results-count {
    color: var(--dark-color);
}

.sort-options {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-options select {
    padding: 8px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
}

.view-toggle {
    display: flex;
    gap: 5px;
}

.view-toggle button {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    background: white;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s;
}

.view-toggle button.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.service-card-enhanced {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
    position: relative;
}

.service-card-enhanced:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.service-badges {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.badge {
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
}

.badge-featured {
    background: var(--secondary-color);
}

.badge-discount {
    background: var(--danger-color);
}

.badge-popular {
    background: var(--warning-color);
}

.service-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.service-card-enhanced:hover .service-image img {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    opacity: 0;
    transition: opacity 0.3s;
}

.service-card-enhanced:hover .image-overlay {
    opacity: 1;
}

.btn-view,
.btn-wishlist {
    padding: 12px 25px;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.btn-view {
    background: white;
    color: var(--primary-color);
}

.btn-wishlist {
    background: rgba(255,255,255,0.2);
    color: white;
    font-size: 1.2rem;
}

.service-content {
    padding: 25px;
}

.service-title {
    margin-bottom: 15px;
}

.service-title a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 600;
    transition: color 0.3s;
}

.service-title a:hover {
    color: var(--secondary-color);
}

.service-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.stars i {
    color: #d1d5db;
    font-size: 0.9rem;
}

.stars i.active {
    color: var(--warning-color);
}

.rating-text {
    color: #6b7280;
    font-size: 0.9rem;
}

.service-description {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 15px;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.service-features span {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    background: var(--light-color);
    border-radius: 15px;
    font-size: 0.85rem;
    color: var(--dark-color);
}

.service-features i {
    color: var(--secondary-color);
}

.service-pricing {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.price-info {
    display: flex;
    flex-direction: column;
}

.current-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price-period {
    color: #9ca3af;
    font-size: 0.9rem;
}

.btn-book {
    padding: 12px 25px;
    background: var(--secondary-color);
    color: white;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-book:hover {
    background: var(--primary-color);
    transform: scale(1.05);
}

.social-proof {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
    color: #6b7280;
    font-size: 0.9rem;
}

.social-proof i {
    color: var(--success-color);
}

/* Trust Signals */
.trust-signals {
    padding: 60px 0;
    background: white;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.trust-item {
    text-align: center;
    padding: 30px;
}

.trust-item i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.trust-item h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.trust-item p {
    color: #6b7280;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 15px;
}

.no-results i {
    font-size: 5rem;
    color: #d1d5db;
    margin-bottom: 20px;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Responsive */
@media (max-width: 1024px) {
    .services-layout {
        grid-template-columns: 1fr;
    }
    
    .services-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .services-toolbar {
        flex-direction: column;
        gap: 15px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}
