/* ═══════════════════════════════════════════════════════════
   responsive.css — نظيف، بدون تكرار، جاهز للـ Home وجميع الصفحات
   ═══════════════════════════════════════════════════════════ */

/* === شاشات كبيرة جداً (أكبر من 1400px) === */
@media (min-width: 1400px) {
  .container { max-width: 1320px; }
  .hero-title { font-size: 88px; }
}

/* === شاشات سطح المكتب المتوسطة (1200px - 1399px) === */
@media (max-width: 1200px) {
  .tours-grid, .services-grid, .transfers-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .why-grid { gap: 50px; }
  .hero-stats .hero-stat { padding: 18px 20px; }
  .hero-stat-icon { width: 38px; height: 38px; font-size: 16px; }
  .hero-stat-num { font-size: 24px; }
}

/* === شاشات لابتوب / تابلت أفقي (1024px - 1199px) === */
@media (max-width: 1024px) {
  .container { padding: 0 28px; }
  .navbar { padding: 0 28px; }
  .hero-content { max-width: 600px; padding: 0 40px; padding-top: 76px; }
  .hero-title { font-size: 64px; }
  .section-title { font-size: 42px; }
  .why-grid { grid-template-columns: 1fr; text-align: center; }
  .why-image-wrap { display: none; }
  .cities-track { gap: 20px; }
  .city-card { width: 260px; height: 350px; }
}

/* === شاشات تابلت عمودي (max-width: 768px) — القاعدة الأساسية === */
@media (max-width: 768px) {
  /* ---- عام ---- */
  body { overflow-x: hidden; }
  section { padding: 64px 0; }
  .container { padding: 0 20px; }
  .section-head { flex-direction: column; align-items: flex-start; margin-bottom: 40px; }
  .section-title { font-size: 32px; }
  .section-subtitle { font-size: 14px; }

  /* ---- Navbar & Hamburger ---- */
  .navbar { justify-content: flex-start; gap: 16px; padding: 0 16px; }
  .nav-links { display: none; }
  .nav-right .lang-switcher { display: none; }
  .hamburger { display: flex; }
  .nav-right { display: flex !important; margin-left: 80px; }

  /* ---- Hero Section (الصفحة الرئيسية) ---- */
  .hero-content { padding: 0 24px; padding-top: 76px; text-align: center; }
  .hero-stats { display: none; }
  .hero-dots { right: 20px; }
  .hero-title { font-size: 48px; }
  .hero-subtitle { font-size: 15px; }
  .hero-ctas { flex-direction: column; gap: 12px; align-items: center; }
  .btn-primary, .btn-outline { padding: 14px 28px; font-size: 14px; text-align: center; justify-content: center; width: 100%; max-width: 260px; }

  /* ---- Grids العامة ---- */
  .tours-grid, .services-grid, .footer-grid, .transfers-grid,
  .reviews-grid, .cities-grid {
    grid-template-columns: 1fr !important;
  }
  .services-grid { gap: 1px; }
  .service-card { padding: 40px 24px; }
  .service-name { font-size: 20px; }
  .service-desc { font-size: 13px; }

  /* ---- بطاقات الجولات (tours, homepage) ---- */
  .tour-card-img { height: 200px; }
  .tour-card-body { padding: 18px; }
  .tour-title { font-size: 18px; }
  .tour-price .amount { font-size: 20px; }
  .tour-meta { flex-wrap: wrap; gap: 6px; }
  .tour-footer { flex-direction: column; align-items: flex-start; gap: 12px; }

  /* ---- المدن (cities slider في الهوم) ---- */
  .cities-track { gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .city-card { width: 240px; height: 320px; scroll-snap-align: start; }
  .city-name { font-size: 22px; }

  /* ---- لماذا نحن (why us) ---- */
  .why-feature { padding: 16px; text-align: center; }
  .why-feature-icon { width: 44px; height: 44px; font-size: 18px; margin: 0 auto 12px; }
  .why-feature-title { font-size: 16px; }

  /* ---- التعليقات (reviews) ---- */
  .review-card { padding: 24px; }
  .review-text { font-size: 14px; }
  .swiper-controls { margin-top: 30px; }

  /* ---- CTA Section ---- */
  .cta-section { padding: 80px 0; text-align: center; }
  .cta-icon { width: 60px; height: 60px; font-size: 24px; margin: 0 auto 24px; }
  .cta-buttons { flex-direction: column; align-items: center; gap: 12px; }

  /* ---- الفوتر (footer) ---- */
  .footer { padding: 60px 0 0; text-align: center; }
  .footer-grid { gap: 40px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 12px; }
  .footer-bottom-links { justify-content: center; flex-wrap: wrap; }

  /* ---- واتساب فلويت ---- */
  .whatsapp-float { bottom: 20px; right: 20px; }
  .whatsapp-btn { width: 50px; height: 50px; font-size: 22px; }
  .whatsapp-bubble { display: none; }

  /* ---- صفحات إضافية (قواسم مشتركة) ---- */
  .pagination { flex-wrap: wrap; justify-content: center; }
  .booking-wrap { grid-template-columns: 1fr !important; gap: 24px; padding: 40px 16px; }
  .booking-summary-card { position: relative !important; top: auto; margin-top: 24px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 8px; }
  .gallery-img { height: 100px; object-fit: cover; }
  .detail-grid { grid-template-columns: 1fr !important; gap: 28px; }
  .book-card { position: relative !important; top: auto; margin-top: 24px; }
  .transfer-card, .city-travel-card { flex-direction: column !important; }
  .transfer-card > div:last-child, .city-travel-card > div:last-child {
    width: 100% !important;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg) !important;
    text-align: center !important;
  }
  .about-stats { grid-template-columns: repeat(2, 1fr) !important; gap: 16px; }
  .languages-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 16px; }
  .contact-grid { grid-template-columns: 1fr !important; gap: 32px; }
  .reviews-stats { flex-direction: column; gap: 20px; text-align: center; }
}

/* === هواتف كبيرة (576px - 767px) — تحسينات إضافية === */
@media (max-width: 576px) {
  .navbar { gap: 10px; padding: 0 16px; }
  .nav-logo-text { font-size: 18px; }
  .nav-logo-mark { width: 36px; height: 36px; font-size: 16px; }
  .hamburger { margin-left: 60px; }
  .hero-title { font-size: 38px; }
  .section-title { font-size: 28px; }
  .btn-primary, .btn-outline { padding: 12px 24px; font-size: 13px; max-width: 220px; }
  .tour-card-img { height: 180px; }
  .city-card { width: 200px; height: 280px; }
  .city-name { font-size: 20px; }
  .review-author { gap: 10px; }
  .review-avatar { width: 40px; height: 40px; font-size: 16px; }
}

/* === هواتف صغيرة جداً (أقل من 480px) — أقصى ضغط === */
@media (max-width: 480px) {
  .navbar { gap: 8px; padding: 0 12px; }
  .nav-logo-text { font-size: 16px; }
  .nav-logo-mark { width: 32px; height: 32px; font-size: 14px; }
  .hamburger { margin-left: 40px; }
  .hero-title { font-size: 32px; }
  .hero-eyebrow { font-size: 10px; padding: 6px 12px; }
  .hero-subtitle { font-size: 13px; margin-bottom: 30px; }
  .btn-primary, .btn-outline { padding: 10px 20px; font-size: 12px; max-width: 200px; }
  .section-title { font-size: 24px; }
  .section-label { font-size: 10px; }
  .tour-card-img { height: 160px; }
  .tour-meta { flex-direction: column; align-items: flex-start; gap: 5px; }
  .tour-footer { flex-direction: column; align-items: flex-start; gap: 12px; }
  .tour-price { text-align: left; }
  .city-card { width: 180px; height: 260px; }
  .city-name { font-size: 18px; }
  .city-explore-btn { font-size: 11px; padding: 6px 12px; }
  .transfer-card { padding: 18px; }
  .transfer-route-line { flex-direction: column; align-items: flex-start; gap: 8px; }
  .route-line { width: 100%; }
  .transfer-info { flex-direction: column; gap: 6px; }
  .footer-col h4 { font-size: 14px; }
  .footer-links a { font-size: 12px; }
}