/* ============================================================
   TRAVEL EDITION — extra UI + motion layer
   Journey line, animated bike, stamps, tickets, marker dots
   ============================================================ */

/* ----------------------------------------------------------
   1. SCROLL PROGRESS — a gold route line across the top
   ---------------------------------------------------------- */
.scroll-route {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  z-index: 120;
  pointer-events: none;
  background: transparent;
}
.scroll-route span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--green-700), var(--gold), var(--sunset));
  box-shadow: 0 0 12px rgba(212, 160, 23, 0.55);
  transition: width 0.1s linear;
}
.scroll-route::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: repeating-linear-gradient(90deg, transparent 0 8px, rgba(212,160,23,.28) 8px 14px);
}

/* ----------------------------------------------------------
   2. JOURNEY BADGE — small "travelling" pill with a bike
   ---------------------------------------------------------- */
.journey-pill {
  display: flex;
  width: -moz-fit-content;
  width: fit-content;
  align-items: center;
  gap: 9px;
  padding: 7px 15px 7px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 18px;
}

/* the two hero pills should stack, never sit side by side */
.hero .tod-chip { display: flex; width: -moz-fit-content; width: fit-content; }
.journey-pill svg { color: var(--gold-light); }

@keyframes rideIn {
  0%   { transform: translateX(-6px); opacity: 0.4; }
  50%  { transform: translateX(2px);  opacity: 1; }
  100% { transform: translateX(-6px); opacity: 0.4; }
}
.journey-pill svg { animation: rideIn 3.2s ease-in-out infinite; }

/* ----------------------------------------------------------
   3. SECTION ROUTE DIVIDER — dotted path with a marker
   ---------------------------------------------------------- */
.route-divider {
  position: relative;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.route-divider::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  background-image: linear-gradient(90deg, var(--line) 50%, transparent 50%);
  background-size: 14px 2px;
  opacity: 0.9;
}
.route-divider .pin {
  position: relative;
  z-index: 1;
  background: var(--tod-body-tint, #fff);
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--tod-accent, #c1901a);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.route-divider .pin svg { width: 16px; height: 16px; }

/* ----------------------------------------------------------
   4. PASSPORT STAMP — circular stamp motif
   ---------------------------------------------------------- */
.stamp {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 2px dashed rgba(193, 144, 26, 0.55);
  color: var(--gold-700);
  transform: rotate(-11deg);
  text-align: center;
  line-height: 1.15;
  background: rgba(246, 236, 211, 0.4);
}
.stamp b {
  display: block;
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--gold-700);
}
.stamp span {
  font-size: 0.55rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0.8;
}
@keyframes stampIn {
  0%   { transform: rotate(-11deg) scale(1.9); opacity: 0; }
  60%  { transform: rotate(-11deg) scale(0.94); opacity: 1; }
  100% { transform: rotate(-11deg) scale(1); opacity: 1; }
}
.stamp.in { animation: stampIn 0.55s cubic-bezier(0.2, 0.8, 0.3, 1) both; }

/* ----------------------------------------------------------
   5. TICKET-STYLE CARD (perforated edge)
   ---------------------------------------------------------- */
.ticket {
  position: relative;
  background: var(--tod-card, #fff);
  border: 1px solid var(--tod-line, #e4ded2);
  border-radius: 18px;
  padding: 26px 26px 24px;
  overflow: hidden;
}
.ticket::before,
.ticket::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--tod-body-tint, #fff);
  border: 1px solid var(--tod-line, #e4ded2);
  top: 50%;
  transform: translateY(-50%);
}
.ticket::before { left: -12px; }
.ticket::after { right: -12px; }
.ticket-dashed {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 62px;
  border-top: 2px dashed var(--tod-line, #e4ded2);
  opacity: 0.85;
}

/* ----------------------------------------------------------
   6. DESTINATION TILES — postcard hover with pin & label slide
   ---------------------------------------------------------- */
.postcard {
  position: relative;
  display: block;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--sand-2);
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-sm);
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.3, 1), box-shadow 0.5s ease;
}
.postcard img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.3, 1), filter 0.6s ease;
}
.postcard::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 27, 20, 0.05) 35%, rgba(6, 27, 20, 0.82));
  transition: opacity 0.4s ease;
}
.postcard:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.postcard:hover img { transform: scale(1.07); filter: saturate(1.08); }

.postcard-body {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 20px 20px 18px;
  color: #fff;
  transform: translateY(34px);
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.postcard:hover .postcard-body { transform: translateY(0); }
.postcard-body h3 {
  color: #fff;
  font-size: 1.28rem;
  margin: 0 0 4px;
}
.postcard-body p {
  color: #d5e6dc;
  font-size: 0.855rem;
  margin: 0;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s 0.06s ease, transform 0.4s 0.06s ease;
}
.postcard:hover .postcard-body p { opacity: 1; transform: translateY(0); }
.postcard-pin {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--green-800);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.85);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
}
.postcard:hover .postcard-pin { transform: scale(1); opacity: 1; }
.postcard-pin svg { width: 16px; height: 16px; }

/* ----------------------------------------------------------
   7. TOUR CARD — boarding-pass style ribbon
   ---------------------------------------------------------- */
.card-media .route-ribbon {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 13px;
  background: linear-gradient(180deg, rgba(6, 27, 20, 0.72), transparent);
  color: #fff;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}
.card-media .route-ribbon .dots {
  flex: 1;
  margin: 0 10px;
  height: 1px;
  background-image: linear-gradient(90deg, rgba(255,255,255,.7) 50%, transparent 50%);
  background-size: 8px 1px;
}

/* ----------------------------------------------------------
   8. ACTIVITY TILE — icon + curved path
   ---------------------------------------------------------- */
.act-tile {
  position: relative;
  padding-top: 8px;
}
.act-tile .num {
  position: absolute;
  top: 0;
  left: 8px;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--tod-accent, #c1901a);
  letter-spacing: 0.1em;
}

/* ----------------------------------------------------------
   9. STATS AS A ROUTE (hero) — little travel icons
   ---------------------------------------------------------- */
.hero-stat .l { display: flex; align-items: center; gap: 6px; }
.hero-stat .l svg { width: 12px; height: 12px; opacity: 0.8; }

/* ----------------------------------------------------------
   10. IMAGE PARALLAX TILES (subtle)
   ---------------------------------------------------------- */
.parallax-img { overflow: hidden; }
.parallax-img img {
  will-change: transform;
  transition: transform 0.2s linear;
}

/* ----------------------------------------------------------
   11. MOBILE POLISH
   ---------------------------------------------------------- */
@media (max-width: 620px) {
  .postcard { aspect-ratio: 4 / 4.4; }
  .postcard-body { transform: translateY(0); }
  .postcard-body p { opacity: 1; transform: none; }
  .postcard-pin { opacity: 1; transform: scale(1); }
  .route-divider { height: 54px; }
  .stamp { width: 78px; height: 78px; }
  .stamp b { font-size: 0.86rem; }
  .ticket::before, .ticket::after { display: none; }
  .card-media .route-ribbon { font-size: 0.63rem; padding: 7px 10px; }
}

/* ----------------------------------------------------------
   12. REDUCED MOTION
   ---------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .journey-pill svg { animation: none; }
  .stamp.in { animation: none; }
  .postcard, .postcard img, .postcard-body, .postcard-body p { transition: none; }
  .postcard:hover { transform: none; }
}

/* the contact form keeps its own surface — only borrow the notches */
.form-card.ticket { background: var(--tod-card, #fff); }
.form-card.ticket::before,
.form-card.ticket::after { background: var(--tod-body-tint, #fff); }

/* reviews cards get a stamped corner */
.rev-card { position: relative; }
.rev-card::after {
  content: '';
  position: absolute;
  top: 14px;
  right: 14px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px dashed rgba(193, 144, 26, 0.45);
  opacity: 0.9;
}

/* gallery tiles lift like photos pinned on a board */
.gal a { transition: transform .45s cubic-bezier(.2,.7,.3,1), box-shadow .45s ease; }
.gal a:hover { transform: translateY(-5px) rotate(-.6deg); box-shadow: var(--shadow-lg); }

/* mobile menu action buttons (hidden on desktop) */
.nav .nav-actions { display: none; }
@media (max-width: 900px) {
  .nav .nav-actions {
    display: grid;
    gap: 10px;
    margin-top: 14px;
    padding-top: 18px;
    border-top: 1px dashed var(--line);
  }
  .nav .nav-actions .btn { justify-content: center; }
}

/* ----------------------------------------------------------
   13. DESTINATION TICKER — a moving ribbon of place names
   ---------------------------------------------------------- */
.dest-ticker {
  overflow: hidden;
  background: var(--green-900);
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.tick-track {
  display: flex;
  align-items: center;
  gap: 26px;
  width: max-content;
  animation: tickMove 46s linear infinite;
}
.tick-track span {
  font-family: var(--font-head);
  font-size: .95rem;
  letter-spacing: .22em;
  color: #f3e7c8;
  white-space: nowrap;
}
.tick-track i { color: var(--gold); font-style: normal; font-size: .6rem; opacity: .85; }
@keyframes tickMove {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.dest-ticker:hover .tick-track { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  .tick-track { animation: none; }
}

/* ----------------------------------------------------------
   14. HERO EMBLEM — the Golden Rock logo, small & classy
   ---------------------------------------------------------- */
.hero-brand {
  display: block;
  margin: 0 0 16px;
  max-width: 100%;
}
.hero-brand img {
  display: block;
  width: clamp(168px, 18vw, 246px);
  height: auto;
  filter: drop-shadow(0 10px 26px rgba(0, 0, 0, 0.42));
  animation: emblemIn 1.1s cubic-bezier(.2,.8,.3,1) both;
}
@keyframes emblemIn {
  0%   { opacity: 0; transform: translateY(14px) scale(.94); }
  100% { opacity: 1; transform: none; }
}
@media (max-width: 620px) {
  .hero-brand { margin-bottom: 12px; }
  .hero-brand img { width: clamp(150px, 42vw, 200px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-brand img { animation: none; }
}

/* footer / admin logo sizing for the wide emblem */
.ftr .logo-mark { width: 80px; flex: 0 0 80px; }
.adm-side .logo .logo-mark { width: 76px; flex: 0 0 76px; }
@media (max-width: 900px) {
  .logo-mark { width: 56px; flex: 0 0 56px; }
  .adm-side .logo .logo-mark { width: 62px; flex: 0 0 62px; }
}
