/**
 * أنماط مشتركة: صفحة الترحيب (welcome) + خريطة طلبات العميل
 * public/assets/css/style.css
 */

html {
    scroll-behavior: smooth;
}

@keyframes float-card {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes float-badge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* سلايدر الشعارات */
.logo-swiper .swiper-wrapper {
    display: flex;
    align-items: center;
}

.logo-swiper .swiper-slide {
    width: auto;
    flex: 0 0 auto;
}

.services-swiper .swiper-slide {
    height: auto;
}

/* قسم الخدمات */
#services .services-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.2s ease;
}

#services .services-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -12px rgba(230, 120, 33, 0.15), 0 0 0 1px rgba(230, 120, 33, 0.08);
    border-color: rgba(230, 120, 33, 0.25);
}

#services .services-card .card-accent {
    height: 3px;
    border-radius: 3px 3px 0 0;
}

#services .services-slider {
    padding: 0 0.5rem;
}

@media (min-width: 640px) {
    #services .services-slider {
        padding: 0 3rem;
    }
}

/* إخفاء شريط التمرير للتنقل في الهيدر على الموبايل */
header nav.overflow-x-auto {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

header nav.overflow-x-auto::-webkit-scrollbar {
    display: none;
}

/* GSAP: clip-path reveal للعنوان */
.gsap-hero-title-wrap {
    overflow: hidden;
}

.gsap-hero-title {
    will-change: clip-path;
}

/* خريطة اختيار الموقع (صفحة طلبات العميل) */
.location-map-box.leaflet-container {
    font-family: inherit;
}

.location-map-box .leaflet-control-zoom {
    border: none !important;
    margin: 8px !important;
}

.location-map-box .leaflet-control-zoom a {
    width: 32px !important;
    height: 32px !important;
    line-height: 32px !important;
    font-size: 18px !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: #374151 !important;
    box-shadow: 0 1px 3px rgba(0,0,0,.08);
    transition: background .15s, color .15s;
}

.location-map-box .leaflet-control-zoom a:hover {
    background: #fef8f4 !important;
    color: #e67821 !important;
    border-color: rgba(230,120,33,0.35) !important;
}

.location-map-box .leaflet-control-zoom-in {
    margin-bottom: 4px !important;
}

.location-map-box .leaflet-control-attribution {
    font-size: 10px !important;
    padding: 2px 6px !important;
    background: rgba(255,255,255,.85) !important;
    border-radius: 0 0 12px 0 !important;
    border: none !important;
}

.location-map-box .leaflet-control-attribution a {
    color: #6b7280 !important;
}

/* حركات بسيطة لصفحات الطلبات (fade-in-up) */
@keyframes ordersFadeInUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.orders-anim {
    opacity: 0;
    animation: ordersFadeInUp 0.45s ease-out forwards;
}

.orders-anim.orders-delay-1 { animation-delay: 0.06s; }
.orders-anim.orders-delay-2 { animation-delay: 0.12s; }
.orders-anim.orders-delay-3 { animation-delay: 0.18s; }
.orders-anim.orders-delay-4 { animation-delay: 0.24s; }
.orders-anim.orders-delay-5 { animation-delay: 0.3s; }
