/* ====================================
   Moving Service Pro - Frontend Styles
   ==================================== */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800;900&display=swap');

.msp-widget * { box-sizing: border-box; }
.msp-widget { font-family: 'Tajawal', sans-serif; direction: rtl; max-width: 700px; margin: 0 auto; }

/* === HERO === */
.msp-hero {
    background: var(--msp-primary, #1a3a5c);
    border-radius: 24px 24px 0 0;
    padding: 45px 35px 35px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.msp-hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(255,255,255,0.05) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(240,165,0,0.15) 0%, transparent 50%);
    pointer-events: none;
}

.msp-hero-bg::before {
    content: '🚛';
    position: absolute;
    right: -20px;
    bottom: -20px;
    font-size: 120px;
    opacity: 0.05;
    transform: rotate(-15deg);
}

.msp-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 8px 20px;
    color: rgba(255,255,255,0.9);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

.msp-hero-title {
    color: #ffffff;
    font-size: clamp(24px, 5vw, 36px);
    font-weight: 900;
    margin: 0 0 10px;
    line-height: 1.2;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.msp-hero-tagline {
    color: var(--msp-accent, #f0a500);
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 20px;
}

.msp-working-hours {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(240,165,0,0.2);
    border: 1px solid rgba(240,165,0,0.4);
    border-radius: 50px;
    padding: 8px 20px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.msp-pulse-dot {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    display: inline-block;
    position: relative;
}

.msp-pulse-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    background: rgba(74,222,128,0.4);
    border-radius: 50%;
    animation: msp-pulse 1.5s infinite;
}

@keyframes msp-pulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(2.5); opacity: 0; }
}

/* === PHONES === */
.msp-phones-section {
    background: #fff;
    padding: 30px;
    border-right: 1px solid #e5e7eb;
    border-left: 1px solid #e5e7eb;
}

.msp-phones-header {
    text-align: center;
    margin-bottom: 25px;
}

.msp-phones-header h2 {
    color: var(--msp-primary, #1a3a5c);
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 5px;
}

.msp-phones-header p {
    color: #6b7280;
    font-size: 14px;
    margin: 0;
}

.msp-phones-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.msp-phone-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 22px;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.msp-phone-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.3s;
    background: radial-gradient(circle at center, rgba(255,255,255,0.2), transparent);
}

.msp-phone-btn:hover::before { opacity: 1; }
.msp-phone-btn:hover { transform: translateY(-3px) scale(1.01); box-shadow: 0 15px 35px rgba(0,0,0,0.15); }

.msp-phone-btn.phone {
    background: linear-gradient(135deg, var(--msp-primary, #1a3a5c), #0d2237);
    border-color: rgba(255,255,255,0.1);
}

.msp-phone-btn.whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
    border-color: rgba(255,255,255,0.1);
}

.msp-phone-btn-icon {
    font-size: 30px;
    width: 52px;
    height: 52px;
    background: rgba(255,255,255,0.15);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.msp-phone-btn-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.msp-phone-btn-label {
    color: rgba(255,255,255,0.8);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 3px;
}

.msp-phone-btn-number {
    color: #ffffff;
    font-size: 22px;
    font-weight: 900;
    direction: ltr;
    letter-spacing: 1px;
    font-family: 'Tajawal', sans-serif;
}

.msp-phone-btn-arrow {
    color: rgba(255,255,255,0.6);
    font-size: 16px;
    transition: transform 0.3s;
}

.msp-phone-btn:hover .msp-phone-btn-arrow {
    transform: translateX(-5px);
    color: var(--msp-accent, #f0a500);
}

/* === SERVICES === */
.msp-services-section {
    background: #f8f9fa;
    padding: 25px 30px;
    border-right: 1px solid #e5e7eb;
    border-left: 1px solid #e5e7eb;
}

.msp-services-section h3 {
    color: var(--msp-primary, #1a3a5c);
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 15px;
    text-align: center;
}

.msp-services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.msp-service-chip {
    display: flex;
    align-items: center;
    gap: 7px;
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 50px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    transition: all 0.2s;
}

.msp-service-chip:hover {
    background: var(--msp-primary, #1a3a5c);
    color: #fff;
    border-color: var(--msp-primary, #1a3a5c);
    transform: translateY(-2px);
}

.msp-service-check {
    color: var(--msp-accent, #f0a500);
    font-weight: 900;
}

.msp-service-chip:hover .msp-service-check { color: #fff; }

/* === TRUST BAR === */
.msp-trust-bar {
    background: var(--msp-primary, #1a3a5c);
    border-radius: 0 0 24px 24px;
    padding: 18px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.msp-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    font-weight: 600;
}

.msp-trust-icon { font-size: 18px; }

.msp-trust-divider {
    color: rgba(255,255,255,0.3);
    font-size: 18px;
}

/* الأزرار العائمة الثلاثة تظهر عبر wp_footer - راجع moving-service.php */

/* Responsive */
@media (max-width: 480px) {
    .msp-hero { padding: 30px 20px 25px; }
    .msp-phones-section, .msp-services-section { padding: 20px; }
    .msp-phone-btn-number { font-size: 18px; }
    .msp-trust-bar { flex-direction: column; gap: 10px; text-align: center; }
    .msp-trust-divider { display: none; }
    .msp-hero-badge { flex-direction: column; gap: 5px; }
    .msp-hero-badge span:nth-child(2) { display: none; }
}
