/* ============================================
   إصلاحات إضافية - Siyana24
   ============================================ */

/* تحسين الفوتر للموبايل - 2 أعمدة جنب بعض */
@media (max-width: 991px) and (min-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 30px !important;
  }
}

@media (max-width: 599px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 20px 16px !important;
  }
  
  .footer-grid > div:first-child {
    grid-column: 1 / -1;  /* العمود الأول (من نحن) ياخد عرض كامل */
    margin-bottom: 10px;
  }
  
  .footer h3 {
    font-size: 14px !important;
    margin-bottom: 12px !important;
    padding-bottom: 8px !important;
  }
  
  .footer-links li {
    padding: 4px 0 !important;
    font-size: 12.5px !important;
  }
  
  .footer-links li a {
    font-size: 12.5px !important;
  }
  
  .footer-bottom {
    text-align: center !important;
  }
}

/* تحسين شكل أزرار التواصل في الفوتر */
.footer-contact {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin-bottom: 20px !important;
}

/* زرار التليفون - أساسي ذهبي */
.footer-contact a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 11px 18px !important;
  background: linear-gradient(135deg, rgba(212,175,55,0.15), rgba(212,175,55,0.05)) !important;
  border: 1.5px solid rgba(212,175,55,0.4) !important;
  border-radius: 50px !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
  flex: 0 1 auto !important;
}

.footer-contact a:hover {
  transform: translateY(-2px) !important;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600)) !important;
  border-color: var(--gold-500) !important;
  color: #1a2030 !important;
  box-shadow: 0 8px 24px rgba(212,175,55,0.4) !important;
}

.footer-contact a i {
  font-size: 16px !important;
  color: var(--gold-500) !important;
}

.footer-contact a:hover i {
  color: #1a2030 !important;
}

/* زرار الواتساب - أخضر مميز */
.footer-contact a[href*="wa.me"] {
  background: linear-gradient(135deg, rgba(37,211,102,0.18), rgba(37,211,102,0.06)) !important;
  border-color: rgba(37,211,102,0.5) !important;
}

.footer-contact a[href*="wa.me"] i {
  color: #25D366 !important;
  font-size: 18px !important;
}

.footer-contact a[href*="wa.me"]:hover {
  background: linear-gradient(135deg, #25D366, #128C7E) !important;
  border-color: #25D366 !important;
  color: #fff !important;
  box-shadow: 0 8px 24px rgba(37,211,102,0.4) !important;
}

.footer-contact a[href*="wa.me"]:hover i {
  color: #fff !important;
}

@media (max-width: 599px) {
  .footer-contact {
    gap: 8px !important;
  }
  
  .footer-contact a {
    padding: 10px 14px !important;
    font-size: 13px !important;
  }
}

/* الـ live counter في الهوم */
.live-counters-bar {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
}

.live-counter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50px;
  font-size: 13px;
  color: #fff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-weight: 600;
}

.live-counter strong {
  color: var(--gold-500);
  font-size: 14px;
  margin: 0 2px;
}

.live-counter .pulse-dot {
  width: 8px;
  height: 8px;
  background: #25D366;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}

.live-counter .pulse-dot::before {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  background: #25D366;
  border-radius: 50%;
  opacity: 0.4;
  animation: liveDot 1.8s ease-out infinite;
}

@keyframes liveDot {
  0% { transform: scale(0.8); opacity: 0.5; }
  100% { transform: scale(2); opacity: 0; }
}

@media (max-width: 599px) {
  .live-counter {
    padding: 7px 12px;
    font-size: 12px;
  }
}

/* تحسين نموذج الحجز على الموبايل */
@media (max-width: 768px) {
  .booking-modal {
    width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    top: 0 !important;
    left: 0 !important;
    transform: none !important;
    border-radius: 0 !important;
  }
  
  .booking-modal.active {
    transform: none !important;
  }
  
  .booking-modal-header {
    position: sticky !important;
    top: 0;
    z-index: 10;
    padding: 14px 16px !important;
  }
  
  .booking-modal-body {
    padding: 16px !important;
    padding-bottom: 100px !important;
  }
  
  .booking-step-content .step-buttons {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: white !important;
    padding: 14px 16px !important;
    border-top: 2px solid var(--gold-500) !important;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.12) !important;
    margin: 0 !important;
    display: flex !important;
    gap: 10px !important;
    z-index: 20 !important;
  }
  
  .booking-step-content .step-buttons .btn {
    flex: 1 !important;
    padding: 12px 8px !important;
    font-size: 14px !important;
    min-height: 48px !important;
  }
  
  .booking-modal .device-grid,
  .booking-modal .brand-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }
}
