.route-detail-page,
.place-placeholder-page {
  margin: 0;
  color: #f7f8f7;
  background: #101316;
}

.route-detail-topbar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0;
}

.route-detail-page .brand,
.place-placeholder-page .brand {
  color: #fff;
  background: rgba(16, 19, 22, 0.7);
  border-color: rgba(255, 255, 255, 0.18);
}

.route-detail-page .language-menu__button {
  color: #fff;
  background: rgba(16, 19, 22, 0.7);
}

.route-detail-page .language-menu__option:disabled {
  opacity: 0.42;
  cursor: default;
}

.route-detail-back {
  display: grid;
  min-height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0 17px;
  color: #fff;
  background: rgba(16, 19, 22, 0.7);
  font-size: 0.84rem;
  font-weight: 760;
  text-decoration: none;
  backdrop-filter: blur(16px);
}

.route-hero {
  position: relative;
  display: flex;
  min-height: min(650px, 76svh);
  align-items: flex-end;
  overflow: hidden;
}

.route-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 67% center;
  filter: saturate(0.86) contrast(1.03);
}

.route-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 10, 12, 0.91) 0%, rgba(7, 10, 12, 0.65) 45%, rgba(7, 10, 12, 0.18) 78%),
    linear-gradient(180deg, rgba(7, 10, 12, 0.3), rgba(7, 10, 12, 0.76));
}

.route-hero__content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 124px 0 50px;
}

.route-breadcrumb {
  display: inline-flex;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.route-hero__eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: #77d4c6;
  font-size: 0.76rem;
  font-weight: 820;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.route-hero h1 {
  max-width: 890px;
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(3.1rem, 6vw, 6.2rem);
  line-height: 0.94;
  letter-spacing: -0.052em;
}

.route-hero__content > p:not(.route-hero__eyebrow) {
  max-width: 690px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1rem, 1.55vw, 1.2rem);
  line-height: 1.55;
}

.route-hero__actions,
.stop-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.route-action {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  padding: 0 20px;
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.route-action--primary {
  color: #101316;
  background: #fff;
}

.route-action--secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.route-action:hover,
.route-action:focus-visible {
  transform: translateY(-2px);
}

.route-container {
  width: min(1180px, calc(100% - 40px));
  margin-right: auto;
  margin-left: auto;
}

.route-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: clamp(36px, 7vw, 100px);
  padding-top: 88px;
  padding-bottom: 88px;
}

.route-intro h2,
.route-section h2,
.route-help h2 {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(2.25rem, 4vw, 4.25rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.route-intro > div > p:last-child,
.route-section__head > p,
.route-help > p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.02rem;
  line-height: 1.6;
}

.route-intro ul {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.route-intro li {
  position: relative;
  padding: 18px 20px 18px 50px;
  color: rgba(255, 255, 255, 0.82);
  background: #171b1f;
  font-size: 0.93rem;
  line-height: 1.4;
}

.route-intro li::before {
  content: "✓";
  position: absolute;
  top: 16px;
  left: 18px;
  display: grid;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  place-items: center;
  color: #101316;
  background: #77d4c6;
  font-size: 0.72rem;
  font-weight: 900;
}

.route-section {
  padding-top: 64px;
  padding-bottom: 96px;
}

.route-section--extra {
  padding: 88px 0 96px;
  background:
    radial-gradient(circle at 90% 0%, rgba(45, 147, 132, 0.15), transparent 34rem),
    #15191d;
}

.route-section__head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: end;
  gap: 42px;
  margin-bottom: 34px;
}

.route-section__head h2 {
  margin-bottom: 0;
}

.route-notice {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: -10px 0 28px;
  border: 1px solid rgba(119, 212, 198, 0.2);
  border-radius: 16px;
  padding: 15px 18px;
  color: rgba(255, 255, 255, 0.73);
  background: rgba(119, 212, 198, 0.07);
  font-size: 0.9rem;
  line-height: 1.45;
}

.route-notice strong {
  flex: 0 0 auto;
  color: #77d4c6;
}

.stop-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.stop-card {
  display: grid;
  grid-template-columns: minmax(190px, 0.8fr) minmax(260px, 1.2fr);
  min-height: 330px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: #1a1e22;
  box-shadow: 0 24px 46px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  transition:
    border-color 0.24s ease,
    transform 0.24s ease,
    box-shadow 0.24s ease;
}

.stop-card:hover {
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 30px 58px rgba(0, 0, 0, 0.3);
  transform: translateY(-4px);
}

.stop-card.is-selected {
  border-color: rgba(119, 212, 198, 0.8);
  box-shadow: 0 0 0 2px rgba(119, 212, 198, 0.16), 0 26px 54px rgba(0, 0, 0, 0.28);
}

.stop-card__visual {
  position: relative;
  min-height: 260px;
  color: rgba(255, 255, 255, 0.62);
  background:
    linear-gradient(145deg, rgba(119, 212, 198, 0.18), transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.09), transparent 40%),
    #242a2f;
  overflow: hidden;
}

.stop-card__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.stop-card:hover .stop-card__visual img {
  transform: scale(1.035);
}

.stop-card__visual.is-missing img {
  display: none;
}

.stop-card__visual::after {
  content: "";
  position: absolute;
  right: -36px;
  bottom: -45px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.stop-card__number {
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.74rem;
  font-weight: 820;
  letter-spacing: 0.16em;
}

.stop-card__image-fallback {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  padding: 30px;
  text-align: center;
}

.stop-card__visual.is-missing .stop-card__image-fallback {
  display: flex;
}

.stop-card__image-icon {
  display: grid;
  width: 52px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.7rem;
  line-height: 1;
}

.stop-card__image-fallback small {
  z-index: 1;
  max-width: 170px;
  font-size: 0.75rem;
  font-weight: 650;
  line-height: 1.35;
}

.stop-card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
}

.stop-card__category {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border-radius: 999px;
  padding: 0 10px;
  color: #77d4c6;
  background: rgba(119, 212, 198, 0.09);
  font-size: 0.7rem;
  font-weight: 780;
}

.stop-card h3 {
  margin: 17px 0 10px;
  color: #fff;
  font-size: clamp(1.55rem, 2.4vw, 2.2rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.stop-card p {
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.9rem;
  line-height: 1.5;
}

.stop-card__actions {
  margin-top: auto;
}

.stop-card__actions a,
.stop-card__actions button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 760;
  text-decoration: none;
  cursor: pointer;
}

.stop-card__actions button {
  border-color: rgba(119, 212, 198, 0.28);
  color: #101316;
  background: #77d4c6;
}

.stop-card.is-selected .stop-card__actions button {
  color: #fff;
  background: #217f72;
}

.route-help {
  max-width: 920px;
  padding-top: 106px;
  padding-bottom: 112px;
  text-align: center;
}

.route-help .route-action {
  margin-top: 28px;
}

.route-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 26px 0 34px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
}

.route-footer a {
  color: inherit;
}

.selection-bar {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  left: max(18px, env(safe-area-inset-left));
  z-index: 60;
  display: flex;
  max-width: 900px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 13px 14px 13px 20px;
  background: rgba(17, 20, 23, 0.94);
  backdrop-filter: blur(22px);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.42);
}

.selection-bar[hidden] {
  display: none;
}

.selection-bar > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.selection-bar strong {
  color: #fff;
}

.selection-bar span {
  max-width: 470px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.76rem;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.selection-bar > a {
  display: grid;
  min-height: 48px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 999px;
  padding: 0 18px;
  color: #101316;
  background: #77d4c6;
  font-size: 0.8rem;
  font-weight: 820;
  text-decoration: none;
}

.place-placeholder {
  position: relative;
  display: flex;
  min-height: 100svh;
  box-sizing: border-box;
  flex-direction: column;
  align-items: flex-start;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0 60px;
}

.place-placeholder::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background: url("/assets/antalya-transfer-hero.png") 68% center / cover;
}

.place-placeholder::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(7, 10, 12, 0.95), rgba(7, 10, 12, 0.54));
}

.place-placeholder section {
  max-width: 760px;
  margin: auto 0;
}

.place-placeholder section > p {
  color: #77d4c6;
  font-size: 0.76rem;
  font-weight: 820;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.place-placeholder h1 {
  margin-bottom: 16px;
  color: #fff;
  font-size: clamp(3.2rem, 7vw, 6.3rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
}

.place-placeholder section > strong {
  display: block;
  margin-bottom: 16px;
  color: #fff;
  font-size: 1.25rem;
}

.place-placeholder section > span {
  display: block;
  max-width: 650px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  line-height: 1.55;
}

.place-placeholder section > div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.place-placeholder section > div a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 0 18px;
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
  font-size: 0.84rem;
  font-weight: 780;
  text-decoration: none;
}

.place-placeholder section > div a:last-child {
  color: #101316;
  background: #fff;
}

@media (max-width: 980px) {
  .stop-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .route-detail-topbar,
  .route-container,
  .route-hero__content,
  .route-footer,
  .place-placeholder {
    width: min(100% - 24px, 560px);
  }

  .route-detail-topbar {
    padding-top: calc(14px + env(safe-area-inset-top));
  }

  .route-detail-back {
    display: none;
  }

  .route-hero {
    min-height: 600px;
    align-items: flex-end;
  }

  .route-hero > img {
    object-position: 72% center;
  }

  .route-hero__content {
    padding: 88px 0 28px;
  }

  .route-breadcrumb {
    margin-bottom: 18px;
  }

  .route-hero h1 {
    margin-bottom: 14px;
    font-size: clamp(2.2rem, 10vw, 3.25rem);
    line-height: 0.98;
  }

  .route-hero__content > p:not(.route-hero__eyebrow) {
    margin-bottom: 20px;
    font-size: 0.94rem;
    line-height: 1.42;
  }

  .route-hero__actions {
    display: grid;
  }

  .route-hero__actions .route-action {
    min-height: 44px;
  }

  .route-intro,
  .route-section__head {
    grid-template-columns: 1fr;
  }

  .route-intro {
    gap: 30px;
    padding-top: 58px;
    padding-bottom: 60px;
  }

  .route-section {
    padding-top: 26px;
    padding-bottom: 64px;
  }

  .route-section--extra {
    padding-top: 60px;
  }

  .route-section__head {
    gap: 14px;
    margin-bottom: 24px;
  }

  .route-section h2,
  .route-intro h2,
  .route-help h2 {
    font-size: clamp(2.15rem, 10vw, 3rem);
  }

  .route-notice {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .stop-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .stop-card__visual {
    min-height: 210px;
  }

  .stop-card__body {
    padding: 20px;
  }

  .stop-card__actions {
    display: grid;
    width: 100%;
    grid-template-columns: 0.72fr 1.28fr;
  }

  .route-help {
    padding-top: 74px;
    padding-bottom: 84px;
  }

  .selection-bar {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    border-radius: 18px;
    padding: 13px;
  }

  .selection-bar > a {
    width: 100%;
    box-sizing: border-box;
  }

  .route-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .route-action,
  .stop-card {
    transition: none;
  }
}

.mobile-back-button {
  position: fixed;
  left: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 80;
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #fff;
  background: rgba(17, 19, 22, 0.94);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  font: inherit;
  font-weight: 700;
}

@media (max-width: 900px), (display-mode: standalone) {
  .mobile-back-button {
    display: inline-flex;
  }

  body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom));
  }

  .selection-bar:not([hidden]) + .mobile-back-button {
    bottom: calc(96px + env(safe-area-inset-bottom));
  }
}
