/* ===== EDITOR STYLES (editor-style.css) ===== */
body.wp-editor {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  font-size: 16px;
  color: #212529;
  line-height: 1.7;
  max-width: 860px;
  margin: 0 auto;
  padding: 24px;
}

h1,h2,h3,h4,h5,h6 {
  font-family: 'Playfair Display', Georgia, serif;
  color: #1d3557;
  line-height: 1.3;
}

a { color: #e63946; }
img { max-width: 100%; height: auto; border-radius: 8px; }
blockquote {
  border-left: 4px solid #e63946;
  margin: 24px 0;
  padding: 16px 24px;
  background: #f8f9fa;
  color: #495057;
  font-style: italic;
  border-radius: 0 8px 8px 0;
}

table { width: 100%; border-collapse: collapse; margin: 24px 0; }
table th { background: #1d3557; color: white; padding: 12px; text-align: left; }
table td { padding: 10px 12px; border-bottom: 1px solid #dee2e6; }
table tr:nth-child(even) { background: #f8f9fa; }

/* ===== PRINT STYLES ===== */
@media print {
  .notice-bar, #masthead nav, .cta-banner, #colophon, .menu-toggle { display: none !important; }
  body { font-size: 12pt; color: #000; }
  a { color: #000; text-decoration: underline; }
  .hero { min-height: auto; padding: 40px 0; background: none; color: #000; }
  .hero h1 { color: #000; font-size: 28pt; }
  .card { box-shadow: none; border: 1px solid #ddd; }
}

/* ===== URDU / RTL SUPPORT ===== */
.rtl-text, .urdu {
  direction: rtl;
  text-align: right;
  font-family: 'Noto Nastaliq Urdu', 'Jameel Noori Nastaleeq', serif;
  font-size: 18px;
  line-height: 2.2;
}

/* ===== LOADING SPINNER ===== */
.spark-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #f0f0f0;
  border-top-color: #e63946;
  border-radius: 50%;
  animation: spark-spin 0.8s linear infinite;
  margin: 0 auto;
}
@keyframes spark-spin { to { transform: rotate(360deg); } }

/* ===== TOUR GALLERY ===== */
.tour-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 24px 0;
}
.tour-gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.tour-gallery img:hover { transform: scale(1.03); opacity: 0.9; }

/* ===== LIGHTBOX OVERLAY ===== */
.spark-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.spark-lightbox.active { display: flex; }
.spark-lightbox img { max-width: 90vw; max-height: 85vh; border-radius: 8px; }
.spark-lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  color: white;
  font-size: 32px;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
}

/* ===== WHATSAPP FLOATING BUTTON ===== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: white;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 999;
  transition: all 0.3s ease;
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.6);
  color: white;
}
.whatsapp-float::before {
  content: 'Chat with us!';
  position: absolute;
  right: 64px;
  background: #333;
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.whatsapp-float:hover::before { opacity: 1; }

/* ===== SCROLL TO TOP ===== */
.scroll-top {
  position: fixed;
  bottom: 94px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--secondary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 998;
  border: none;
}
.scroll-top.visible { opacity: 1; transform: translateY(0); }
.scroll-top:hover { background: var(--primary); }

/* ===== PAGINATION ===== */
.page-numbers {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.page-numbers a, .page-numbers span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1.5px solid #dee2e6;
  color: var(--dark);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}
.page-numbers a:hover, .page-numbers .current {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

/* ===== WIDGET STYLES ===== */
.widget { margin-bottom: 32px; }
.widget-title { font-size: 18px; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--primary); }
.widget ul li { padding: 8px 0; border-bottom: 1px solid #f0f0f0; }
.widget ul li a { color: var(--dark); font-size: 14px; }
.widget ul li a:hover { color: var(--primary); }

/* ===== MAP EMBED ===== */
.map-container { border-radius: 12px; overflow: hidden; margin: 24px 0; }
.map-container iframe { width: 100%; height: 350px; border: none; display: block; }

/* ===== NOTICE / ALERT BOXES ===== */
.alert { padding: 16px 20px; border-radius: 10px; margin: 16px 0; font-size: 14px; }
.alert-info    { background: #e3f2fd; color: #0d47a1; border-left: 4px solid #1565c0; }
.alert-success { background: #e8f5e9; color: #1b5e20; border-left: 4px solid #2e7d32; }
.alert-warning { background: #fff8e1; color: #e65100; border-left: 4px solid #f57c00; }
.alert-danger  { background: #ffebee; color: #b71c1c; border-left: 4px solid #c62828; }

/* ===== TOUR INCLUDES / EXCLUDES LIST ===== */
.tour-includes, .tour-excludes { list-style: none; padding: 0; }
.tour-includes li::before { content: '✅ '; }
.tour-excludes li::before { content: '❌ '; }
.tour-includes li, .tour-excludes li { padding: 6px 0; font-size: 15px; border-bottom: 1px solid #f0f0f0; }

/* ===== RESPONSIVE UTILITIES ===== */
.hide-mobile { display: block; }
.show-mobile { display: none; }

@media (max-width: 768px) {
  .hide-mobile { display: none; }
  .show-mobile { display: block; }
  .tour-gallery { grid-template-columns: repeat(2, 1fr); }
  .whatsapp-float { bottom: 20px; right: 20px; width: 50px; height: 50px; font-size: 22px; }
  .scroll-top { bottom: 80px; right: 20px; }
}
