/* ═══════════════════════════════════════════════════════
   MoveAthens — Demo Mode (contact modal + price hiding)
   Loaded with demo-mode.js on every page.

   v1452: Removed legacy `.ma-demo-banner` styles (banner DOM was
   retired in v1428 — JS no longer creates it). Modal + price-hiding
   rules remain active.
   ═══════════════════════════════════════════════════════ */

/* Contact modal ─────────────────────────────────────── */
.ma-demo-modal {
  position: fixed;
  inset: 0;
  z-index: 11000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.ma-demo-modal[hidden] { display: none; }

.ma-demo-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.ma-demo-modal__card {
  position: relative;
  max-width: 400px;
  width: 100%;
  background: #151c2e;
  color: #fff;
  border-radius: 20px;
  padding: 28px 24px 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  text-align: center;
  border: 1px solid rgba(79, 195, 247, 0.2);
  animation: maDemoPop 0.25s ease;
}

@keyframes maDemoPop {
  from { transform: translateY(10px) scale(0.96); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}

.ma-demo-modal__x {
  position: absolute;
  top: 10px;
  right: 14px;
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 10px;
}
.ma-demo-modal__x:hover { color: #fff; }

.ma-demo-modal__icon {
  font-size: 40px;
  margin-bottom: 6px;
}

.ma-demo-modal__title {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 700;
  color: #4fc3f7;
}

.ma-demo-modal__msg {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
}

.ma-demo-modal__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.ma-demo-modal__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 18px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.15s, box-shadow 0.15s;
}
.ma-demo-modal__btn[hidden] { display: none; }
.ma-demo-modal__btn:active { transform: translateY(1px); }

.ma-demo-modal__btn--wa {
  background: #25d366;
  color: #fff;
}
.ma-demo-modal__btn--call {
  background: linear-gradient(90deg, #0ea5e9, #0284c7);
  color: #fff;
}
.ma-demo-modal__btn--email {
  background: linear-gradient(90deg, #4fc3f7, #2563eb);
  color: #fff;
}

.ma-demo-modal__close {
  width: 100%;
  padding: 10px;
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  font-size: 14px;
  font-family: inherit;
}
.ma-demo-modal__close:hover { color: #fff; }

/* Light-mode overrides — modal card flips to white */
html.ma-force-light .ma-demo-modal__card {
  background: #ffffff;
  color: #0b1220;
  border-color: rgba(37, 99, 235, 0.22);
  box-shadow: 0 20px 60px rgba(15, 37, 72, 0.25);
}
html.ma-force-light .ma-demo-modal__title { color: #2563eb; }
html.ma-force-light .ma-demo-modal__msg { color: rgba(11, 18, 32, 0.78); }
html.ma-force-light .ma-demo-modal__x { color: rgba(11, 18, 32, 0.55); }
html.ma-force-light .ma-demo-modal__x:hover { color: #0b1220; }
html.ma-force-light .ma-demo-modal__close { color: rgba(11, 18, 32, 0.55); }
html.ma-force-light .ma-demo-modal__close:hover { color: #0b1220; }

@media (prefers-color-scheme: light) {
  html:not(.ma-force-dark) .ma-demo-modal__card {
    background: #ffffff;
    color: #0b1220;
    border-color: rgba(37, 99, 235, 0.22);
    box-shadow: 0 20px 60px rgba(15, 37, 72, 0.25);
  }
  html:not(.ma-force-dark) .ma-demo-modal__title { color: #2563eb; }
  html:not(.ma-force-dark) .ma-demo-modal__msg { color: rgba(11, 18, 32, 0.78); }
  html:not(.ma-force-dark) .ma-demo-modal__x { color: rgba(11, 18, 32, 0.55); }
  html:not(.ma-force-dark) .ma-demo-modal__x:hover { color: #0b1220; }
  html:not(.ma-force-dark) .ma-demo-modal__close { color: rgba(11, 18, 32, 0.55); }
  html:not(.ma-force-dark) .ma-demo-modal__close:hover { color: #0b1220; }
}

/* Hide prices throughout when in demo */
body.ma-demo-active .ma-vehicle-price,
body.ma-demo-active .ma-dest-extra[data-extra="price"] {
  display: none !important;
}
body.ma-demo-active .ma-vehicle-card::after {
  content: '🔒 Preview';
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.05em;
  text-align: right;
  padding: 0 14px 10px;
}
html.ma-force-light body.ma-demo-active .ma-vehicle-card::after {
  color: rgba(11, 18, 32, 0.55);
}
@media (prefers-color-scheme: light) {
  html:not(.ma-force-dark) body.ma-demo-active .ma-vehicle-card::after {
    color: rgba(11, 18, 32, 0.55);
  }
}

/* My Trips — demo empty state */
.ma-trips-demo-empty {
  padding: 40px 24px;
  text-align: center;
  max-width: 420px;
  margin: 20px auto;
}
.ma-trips-demo-empty__icon {
  font-size: 48px;
  margin-bottom: 10px;
  opacity: 0.75;
}
.ma-trips-demo-empty__title {
  margin: 0 0 10px;
  font-size: 18px;
}
.ma-trips-demo-empty__desc {
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.55;
  font-size: 14px;
}
html.ma-force-light .ma-trips-demo-empty__desc {
  color: rgba(11, 18, 32, 0.7);
}
@media (prefers-color-scheme: light) {
  html:not(.ma-force-dark) .ma-trips-demo-empty__desc {
    color: rgba(11, 18, 32, 0.7);
  }
}
.ma-trips-demo-empty__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: linear-gradient(90deg, #4fc3f7, #2563eb);
  color: #fff;
  border: 0;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
}
.ma-trips-demo-empty__cta:active { transform: translateY(1px); }
