/* =====================================================
   destination-variants.css — تصميمات بديلة لصفحات الوجهات
   Variant A: Blend    (.dvb-*)  → ?design=blend
   Variant B: Immersive (.dvi-*) → ?design=immersive
   الألوان مطابقة لهوية الموقع (style.css):
   navy #00295b / cyan #00c0f2 / bg #F1F1F1 / cards #fff
   ===================================================== */

:root {
  --dv-navy: #00295b;
  --dv-cyan: #00c0f2;
  --dv-bg: #f1f1f1;
  --dv-card: #ffffff;
  --dv-text: #333333;
  --dv-muted: #616161;
  --dv-white: #ffffff;
  --dv-wa: #25d366;
  --dv-radius: 15px;
  --dv-shadow: 0 3px 6px rgba(0, 0, 0, 0.17);
  --dv-shadow-soft: 0 0 8px rgba(0, 0, 0, 0.07);
  --dv-overlay: rgba(0, 41, 91, 0.75);
  --dv-overlay-soft: rgba(0, 41, 91, 0.55);
}

/* ---------------- عام (مشترك) ---------------- */
.dv {
  color: var(--dv-text);
}
.dv p {
  line-height: 2;
  color: var(--dv-text);
}
.dv .section-title .main-title {
  color: var(--dv-navy);
}
.dv-section {
  scroll-margin-top: 84px;
}

/* شريط تقدم القراءة */
.dv-progress {
  position: fixed;
  top: 0;
  inset-inline-start: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--dv-navy), var(--dv-cyan));
  transform: scaleX(0);
  transform-origin: 0 50%;
  z-index: 1100;
  pointer-events: none;
}
html[dir="rtl"] .dv-progress {
  transform-origin: 100% 50%;
}

/* نظام الظهور عند التمرير */
.dv-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: calc(var(--i, 0) * 90ms);
  will-change: opacity, transform;
}
.dv-reveal.dv-in {
  opacity: 1;
  transform: none;
}

/* بطاقات المحتوى */
.dv-card {
  background: var(--dv-card);
  border-radius: var(--dv-radius);
  box-shadow: var(--dv-shadow-soft);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
}
.dv-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--dv-shadow);
}
.dv-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.dv-card-body {
  padding: 1.25em;
}
.dv-card-body h3 {
  color: var(--dv-navy);
  font-size: 18px;
  margin-bottom: 0.5em;
}
.dv-card-body p {
  font-size: 15px;
  color: var(--dv-muted);
  line-height: 1.9;
  margin: 0;
}

/* سكة البطاقات: شبكة للشاشات الكبيرة وتمرير باللمس للموبايل */
.dv-cards {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .dv-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 992px) {
  .dv-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 767.98px) {
  .dv-cards {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-inline: -15px;
    padding: 0 15px 10px;
  }
  .dv-cards::-webkit-scrollbar {
    display: none;
  }
  .dv-cards > * {
    flex: 0 0 78%;
    scroll-snap-align: start;
  }
}

/* شريط التواصل الثابت (موبايل) */
.dv-mobile-cta {
  position: fixed;
  bottom: 0;
  inset-inline: 0;
  display: flex;
  gap: 8px;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  background: var(--dv-card);
  box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.12);
  z-index: 1050;
}
.dv-mobile-cta a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 4px;
  border-radius: 12px;
  color: var(--dv-white);
  font-size: 12px;
  font-weight: 700;
}
.dv-mobile-cta a i {
  font-size: 20px;
}
.dv-cta-call {
  background: var(--dv-navy);
}
.dv-cta-wa {
  background: var(--dv-wa);
}
/* نص زر الواتساب أطول من بقية عناصر الشريط — تصغير طفيف وسطر واحد حتى لا يرتفع الشريط الثابت */
.dv-cta-wa span {
  font-size: 11px;
  white-space: nowrap;
}
/* زر واتساب أخضر — نفس اللون المعتمد للزر العائم #25d366 (a.btn-dv-wa لضمان التفوق على قواعد .btn) */
/* القياسات (padding/radius/font) تأتي من .btn — نفس أزرار التواصل الأخرى تماماً */
a.btn-dv-wa {
  background: var(--dv-wa, #25d366);
  color: #ffffff;
  transition: 0.3s;
}
a.btn-dv-wa:hover,
a.btn-dv-wa:focus {
  background: #1eb955;
  color: #ffffff;
}
.dv-cta-mail {
  background: var(--dv-cyan);
}
/* إخفاء زر الواتساب العائم في صفحات التصميمات البديلة:
   قنوات التواصل معروضة بالفعل (شريط سفلي على الموبايل + الشريط الجانبي + الفوتر) */
body.has-dv-cta .totop-whatsapp-holder .fixed-whatsapp,
.dv ~ .totop-whatsapp-holder .fixed-whatsapp {
  display: none;
}

@media (max-width: 991.98px) {
  body.has-dv-cta {
    padding-bottom: 78px;
  }
  /* الزر العائم المتبقي (العودة للأعلى) فقط — يُرفع فوق شريط التواصل السفلي */
  body.has-dv-cta .totop-whatsapp-holder {
    bottom: 96px;
  }
}

/* أكورديون الأسئلة الشائعة */
.dv-faq-item {
  background: var(--dv-card);
  border-radius: var(--dv-radius);
  box-shadow: var(--dv-shadow-soft);
  margin-bottom: 12px;
  overflow: hidden;
}
.dv-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  color: var(--dv-navy);
  text-align: start;
}
.dv-faq-q[aria-expanded="true"] {
  color: var(--dv-cyan);
}
.dv-faq-chevron {
  transition: transform 0.3s;
  color: var(--dv-cyan);
  flex: 0 0 auto;
}
.dv-faq-q[aria-expanded="true"] .dv-faq-chevron {
  transform: rotate(180deg);
}
.dv-faq-a {
  padding: 0 20px 18px;
}
.dv-faq-a p {
  margin: 0;
  color: var(--dv-muted);
}

/* =====================================================
   Variant A — Blend (.dvb-*)
   ===================================================== */

/* الهيرو */
.dvb-hero {
  position: relative;
  overflow: hidden;
  background: var(--dv-navy);
  min-height: 58vh;
  display: flex;
  align-items: center;
}
@media (min-width: 992px) {
  .dvb-hero {
    min-height: 68vh;
  }
}
.dvb-hero-bg {
  position: absolute;
  inset: -4%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  animation: dv-kenburns 20s ease-in-out infinite alternate;
}
.dvb-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 41, 91, 0.78), rgba(0, 41, 91, 0.62));
}
.dvb-hero-content {
  position: relative;
  z-index: 2;
  padding-block: 3em;
}
.dvb-hero .breadcrumb {
  background: none;
  padding: 0;
  margin-bottom: 1em;
}
.dvb-hero .breadcrumb-item,
.dvb-hero .breadcrumb-item a {
  color: var(--dv-white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}
.dvb-hero .breadcrumb-item a:hover {
  color: var(--dv-cyan);
}
.dvb-hero-title {
  color: var(--dv-white);
  font-size: clamp(28px, 6vw, 52px);
  font-weight: 800;
  margin-bottom: 0.4em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
  animation: dv-rise 0.8s ease both;
}
/* specificity مقصود: قاعدة .dv p كانت تتفوق على selector من صنف واحد وتُلوّن النص بالأسود */
.dv p.dvb-hero-sub {
  color: var(--dv-white);
  opacity: 0.92;
  font-size: clamp(15px, 2.5vw, 20px);
  max-width: 640px;
  line-height: 2;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
  animation: dv-rise 0.8s ease 0.15s both;
}
.dvb-scroll-cue {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(0, 41, 91, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.65);
  color: var(--dv-white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  animation: dv-bounce 1.8s ease-in-out infinite;
}
.dvb-scroll-cue:hover {
  background: var(--dv-cyan);
  border-color: var(--dv-cyan);
}

/* شريط الأقسام اللاصق */
.dvb-chips {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--dv-card);
  border-bottom: 1px solid rgba(0, 41, 91, 0.1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

/* فصل واضح بين شريط الأقسام وبطاقات المحتوى حتى لا تندمج بصرياً معه */
.dvb .single-trip-container {
  margin-top: 28px;
}

/* عمود المحتوى أضيق → عمودان للبطاقات بدلاً من ثلاثة على الشاشات الكبيرة */
@media (min-width: 992px) {
  .dvb .col-lg-8 .dv-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
.dvb-chips-inner {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 10px 15px;
}
.dvb-chips-inner::-webkit-scrollbar {
  display: none;
}
.dvb-chips a {
  flex: 0 0 auto;
  padding: 8px 16px;
  border-radius: 20px;
  background: var(--dv-bg);
  color: var(--dv-navy);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.3s, color 0.3s;
}
.dvb-chips a:hover,
.dvb-chips a.active {
  background: var(--dv-cyan);
  color: var(--dv-white);
}

/* شريط "لماذا" */
.dvb-why {
  background: var(--dv-navy);
  border-radius: var(--dv-radius);
  padding: 2em;
  border-inline-start: 6px solid var(--dv-cyan);
}
.dvb-why-title {
  color: var(--dv-white);
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 0.75em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.dvb-why-title i {
  color: var(--dv-cyan);
}
.dvb-why p {
  color: var(--dv-white);
  opacity: 0.92;
  margin: 0;
}

/* الشريط الجانبي اللاصق */
.dv-sidebar-card {
  position: sticky;
  top: 24px;
}

/* =====================================================
   Variant B — Immersive (.dvi-*)
   ===================================================== */

/* هيرو بملء الشاشة مع parallax */
.dvi-hero {
  position: relative;
  overflow: hidden;
  background: var(--dv-navy);
  min-height: 88vh;
  min-height: 88svh;   /* الجوالات ذات الشريط الديناميكي (سفاري) */
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  text-align: center;
}
@media (min-width: 992px) {
  .dvi-hero {
    min-height: 100vh;
    min-height: 100svh;
  }
}
.dvi-hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.dvi-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.15);
}
.dvi-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 41, 91, 0.65), rgba(0, 41, 91, 0.8));
}
.dvi-hero-content {
  position: relative;
  z-index: 2;
  padding: 2em 15px;
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
/* شريط التصفح: صف مستقل في أعلى الهيرو خارج المحتوى، بمحاذاة جهة البداية */
.dvi-hero-crumbs {
  position: relative;
  z-index: 3;
  padding-block: 1em;
}
.dvi-hero .breadcrumb {
  background: none;
  padding: 0;
  justify-content: flex-start;
}
.dvi-hero .breadcrumb-item,
.dvi-hero .breadcrumb-item a {
  color: var(--dv-white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}
.dvi-hero-title {
  color: var(--dv-white);
  font-size: clamp(32px, 8vw, 68px);
  font-weight: 900;
  margin: 0.4em 0;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
  animation: dv-rise 1s ease both;
}
/* specificity مقصود: قاعدة .dv p كانت تتفوق على selector من صنف واحد وتُلوّن النص بالأسود */
.dv p.dvi-hero-sub {
  color: var(--dv-white);
  opacity: 0.92;
  font-size: clamp(16px, 3vw, 22px);
  max-width: 720px;
  margin: 0 auto 1.5em;
  line-height: 2;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
  animation: dv-rise 1s ease 0.2s both;
}
.dvi-hero-cue {
  display: inline-flex;
  align-items: center;
  align-self: center;
  gap: 8px;
  color: var(--dv-white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 24px;
  padding: 10px 24px;
  font-weight: 700;
  animation-name: dv-bounce-plain;
  animation-duration: 2s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}
.dvi-hero-cue:hover {
  background: var(--dv-cyan);
  border-color: var(--dv-cyan);
}

/* رحلة الخط الزمني */
.dvi-journey {
  position: relative;
  padding-block: 30px;
}
.dvi-line {
  position: absolute;
  inset-inline-start: 18px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: rgba(0, 41, 91, 0.15);
  border-radius: 3px;
}
@media (min-width: 768px) {
  .dvi-line {
    inset-inline-start: 24px;
  }
}
.dvi-line-fill {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, var(--dv-cyan), var(--dv-navy));
  transform: scaleY(0);
  transform-origin: top;
}
.dvi-step {
  position: relative;
  padding-inline-start: 52px;
  padding-block: 26px;
}
@media (min-width: 768px) {
  .dvi-step {
    padding-inline-start: 72px;
  }
}
.dvi-step::before {
  content: "";
  position: absolute;
  inset-inline-start: 10px;
  top: 38px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--dv-white);
  border: 4px solid var(--dv-cyan);
  box-shadow: 0 0 0 4px rgba(0, 192, 242, 0.18);
  z-index: 2;
}
@media (min-width: 768px) {
  .dvi-step::before {
    inset-inline-start: 15px;
  }
}
.dvi-step-title {
  color: var(--dv-navy);
  font-size: clamp(20px, 4vw, 28px);
  font-weight: 800;
  margin-bottom: 0.6em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.dvi-step-title i {
  color: var(--dv-cyan);
}

/* بطاقة زجاجية */
.dvi-glass {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--dv-radius);
  padding: 1.75em;
}
@supports not (backdrop-filter: blur(8px)) {
  .dvi-glass {
    background: rgba(0, 41, 91, 0.85);
  }
}
.dvi-glass p {
  color: var(--dv-white);
  margin: 0;
}
.dvi-glass h3 {
  color: var(--dv-white);
  font-size: 18px;
}

/* بطاقات المعلومات (متطلبات / أفضل وقت) */
.dvi-info-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .dvi-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.dvi-info-card {
  background: var(--dv-card);
  border-radius: var(--dv-radius);
  box-shadow: var(--dv-shadow-soft);
  padding: 1.75em;
  border-top: 4px solid var(--dv-cyan);
}
.dvi-info-card h3 {
  color: var(--dv-navy);
  font-size: 18px;
  margin-bottom: 0.6em;
}
.dvi-info-card h3 i {
  color: var(--dv-cyan);
}
.dvi-info-card p {
  color: var(--dv-muted);
  margin: 0;
}

/* شريط parallax عريض */
.dvi-band {
  position: relative;
  overflow: hidden;
  height: 42vh;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-block: 40px;
  /* إزاحة بنفس مسار محتوى الخطوات حتى لا تغطي الصورة خط الرحلة الزمني */
  margin-inline-start: 52px;
}
@media (min-width: 768px) {
  .dvi-band {
    margin-inline-start: 72px;
  }
}
@media (min-width: 992px) {
  .dvi-band {
    height: 52vh;
  }
}
.dvi-band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.15);
}
.dvi-band-overlay {
  position: absolute;
  inset: 0;
  background: var(--dv-overlay-soft);
}
.dvi-band-caption {
  position: relative;
  z-index: 2;
  color: var(--dv-white);
  font-size: clamp(20px, 5vw, 36px);
  font-weight: 800;
  padding: 0 20px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

/* بطاقة صورة كبيرة بنص فوقها */
.dvi-feature {
  position: relative;
  overflow: hidden;
  border-radius: var(--dv-radius);
  margin-bottom: 26px;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  cursor: zoom-in;
}
.dvi-feature img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.dvi-feature:hover img {
  transform: scale(1.06);
}
.dvi-feature-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, #000000 100%);
}
.dvi-feature-body {
  position: relative;
  z-index: 2;
  padding: 1.75em;
}
.dvi-feature-body h3 {
  color: var(--dv-white);
  font-size: clamp(19px, 4vw, 26px);
  margin-bottom: 0.4em;
}
.dvi-feature-body p {
  color: var(--dv-white);
  opacity: 0.92;
  margin: 0;
  max-width: 720px;
}

/* معرض صور عرضي (scroll-snap) */
.dvi-gallery {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin-inline: -15px;
  padding: 0 15px 10px;
}
.dvi-gallery::-webkit-scrollbar {
  display: none;
}
.dvi-gallery-item {
  position: relative;
  flex: 0 0 72%;
  scroll-snap-align: start;
  border-radius: var(--dv-radius);
  overflow: hidden;
  min-height: 300px;
  cursor: zoom-in;
}
@media (min-width: 768px) {
  .dvi-gallery-item {
    flex-basis: 42%;
  }
}
.dvi-gallery-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.dvi-gallery-item:hover img {
  transform: scale(1.06);
}
.dvi-gallery-item .dvi-feature-scrim {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, #000000 100%);
}
.dvi-gallery-item h3 {
  position: absolute;
  bottom: 0;
  z-index: 2;
  color: var(--dv-white);
  font-size: 17px;
  padding: 1em;
  margin: 0;
}

/* اقتباس "لماذا" */
.dvi-quote {
  background: var(--dv-navy);
  border-radius: var(--dv-radius);
  padding: 2.5em 2em;
  text-align: center;
}
.dvi-quote-title {
  color: var(--dv-cyan);
  font-size: clamp(20px, 4vw, 28px);
  font-weight: 800;
  margin-bottom: 0.75em;
}
.dvi-quote p {
  color: var(--dv-white);
  opacity: 0.92;
  font-size: clamp(16px, 2.5vw, 19px);
  max-width: 760px;
  margin: 0 auto;
}

/* الأسئلة الزجاجية */
.dvi-faq-band {
  background: var(--dv-navy);
  border-radius: var(--dv-radius);
  padding: 2em 1.25em;
}
.dvi-faq-band .dv-faq-item {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.dvi-faq-band .dv-faq-q {
  color: var(--dv-white);
}
.dvi-faq-band .dv-faq-q[aria-expanded="true"] {
  color: var(--dv-cyan);
}
.dvi-faq-band .dv-faq-a p {
  color: rgba(255, 255, 255, 0.85);
}

/* وجهات أخرى على خلفية كحلية */
.dvi-related {
  background: var(--dv-navy);
  padding-block: 4em;
}
.dvi-related .main-title {
  color: var(--dv-white);
}
.dvi-related .section-title p {
  color: rgba(255, 255, 255, 0.8);
}

/* =====================================================
   الحركات (keyframes)
   ===================================================== */
@keyframes dv-kenburns {
  from {
    transform: scale(1) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.12) translate3d(0, -2%, 0);
  }
}
@keyframes dv-rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes dv-bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(8px);
  }
}
@keyframes dv-bounce-plain {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
}

/* احترام تفضيل تقليل الحركة */
@media (prefers-reduced-motion: reduce) {
  .dv-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .dvb-hero-bg,
  .dvi-hero-media img,
  .dvi-band img,
  .dvi-feature img,
  .dvi-gallery-item img {
    animation: none !important;
    transition: none !important;
  }
  .dvb-scroll-cue {
    animation: none !important;
    transform: translateX(-50%);
  }
  .dvi-hero-cue {
    animation: none !important;
    transform: none;
  }
}
