@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Syne:wght@600;700;800&display=swap");

:root {
  --bg: #0e0d0b;
  --panel: rgba(255, 248, 236, 0.08);
  --panel-soft: rgba(255, 248, 236, 0.92);
  --text: #f8f1e6;
  --muted: rgba(248, 241, 230, 0.76);
  --ink: #17120d;
  --accent: #d5ab68;
  --line: rgba(255, 237, 209, 0.14);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.32);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(213, 171, 104, 0.14), transparent 28%),
    linear-gradient(180deg, #1b1611 0%, #0e0d0b 44%, #17120e 100%);
  color: var(--text);
  font-family: "Manrope", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.navbar {
  position: fixed;
  top: 18px;
  left: 20px;
  right: 20px;
  z-index: 1000;
}

.nav-container {
  width: min(1180px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(14, 13, 11, 0.78);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo a {
  font-family: "Syne", sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 248, 236, 0.05);
  color: var(--text);
  font-weight: 700;
}

.tour-hero {
  margin-top: 0;
  min-height: 74vh;
  padding: 140px 20px 100px;
  display: flex;
  align-items: end;
  justify-content: center;
  text-align: center;
  position: relative;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.tour-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 6, 5, 0.12) 0%, rgba(7, 6, 5, 0.56) 58%, rgba(7, 6, 5, 0.92) 100%),
    linear-gradient(90deg, rgba(7, 6, 5, 0.86) 0%, rgba(7, 6, 5, 0.28) 48%, rgba(7, 6, 5, 0.6) 100%);
}

.tour-hero h1 {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  margin: 0 auto;
  font-family: "Syne", sans-serif;
  font-size: clamp(2.8rem, 7vw, 6.4rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
  text-shadow: 0 16px 40px rgba(0, 0, 0, 0.36);
}

.tour-details {
  width: min(1120px, calc(100vw - 40px));
  margin: -72px auto 90px;
  padding: 0;
  position: relative;
  z-index: 2;
  display: grid;
  gap: 28px;
}

.tour-details > h2,
.tour-details > p,
.tour-info,
.slider-container,
.book-btn,
.swipe-hint {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.tour-details > h2,
.tour-details > p,
.tour-info,
.slider-container,
.swipe-hint {
  background: var(--panel);
  backdrop-filter: blur(16px);
}

.tour-details > h2 {
  padding: 34px 34px 0;
  border-radius: 34px 34px 0 0;
  border-bottom: none;
  font-family: "Syne", sans-serif;
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.tour-details > p {
  margin-top: -28px;
  padding: 0 34px 34px;
  border-radius: 0 0 34px 34px;
  color: var(--muted);
  line-height: 1.8;
  border-top: none;
}

.tour-info {
  padding: 30px;
  border-radius: 34px;
  display: grid;
  gap: 22px;
}

.tour-info h3 {
  color: var(--accent);
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 800;
}

.tour-info ul {
  list-style: none;
  display: grid;
  gap: 12px;
  padding-left: 0;
}

.tour-info li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.75;
}

.tour-info li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
}

.price-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(255, 248, 236, 0.05);
  border: 1px solid var(--line);
  color: var(--text);
  font-weight: 700;
}

.slider-container {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  padding: 0;
}

.slider {
  display: flex;
  transition: transform 0.55s ease;
  cursor: grab;
  touch-action: pan-y;
}

.slider img {
  width: 100%;
  height: min(62vw, 620px);
  object-fit: cover;
  flex-shrink: 0;
  user-select: none;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 248, 236, 0.22);
  background: rgba(10, 9, 7, 0.48);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 3;
}

.arrow.left {
  left: 18px;
}

.arrow.right {
  right: 18px;
}

.slider-counter {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 3;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 248, 236, 0.22);
  background: rgba(10, 9, 7, 0.58);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.swipe-hint {
  padding: 16px 20px;
  border-radius: 18px;
  text-align: center;
  color: var(--muted);
}

.book-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 58px;
  padding: 0 30px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(213, 171, 104, 0.94), rgba(249, 227, 186, 0.94));
  color: var(--ink);
  font-weight: 800;
}

body.tashkentprivate .tour-hero { background-image: url("./images/Tashkent13.jpg"); }
body.samarkandprivate .tour-hero,
body.samarkandgroup .tour-hero { background-image: url("./images/Samarkand15.jpg"); }
body.bukharaprivate .tour-hero,
body.bukharagroup .tour-hero { background-image: url("./images/Bukhara10.jpg"); }
body.amirsayprivate .tour-hero,
body.amirsaygroup .tour-hero { background-image: url("./images/Chimgan8.jpg"); }
body.khivaprivate .tour-hero,
body.khivagroup .tour-hero { background-image: url("./images/Khiva14.jpg"); }
body.karakalpakprivate .tour-hero,
body.karakalpakgroup .tour-hero { background-image: url("./images/Aral2.jpeg"); }
body.tajikistanprivate .tour-hero,
body.tajikistangroup .tour-hero { background-image: url("./images/Tajikistan4.webp"); }
body.tashkentgroup .tour-hero { background-image: url("./images/Tashkent5.jpg"); }

@media (max-width: 860px) {
  .navbar {
    top: 14px;
    left: 14px;
    right: 14px;
  }

  .nav-container {
    width: calc(100vw - 28px);
    border-radius: 24px;
    padding: 14px;
  }

  .tour-hero {
    min-height: 64vh;
    padding: 124px 16px 84px;
  }

  .tour-details {
    width: calc(100vw - 28px);
    margin-top: -54px;
  }

  .tour-details > h2,
  .tour-details > p,
  .tour-info {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (max-width: 560px) {
  .nav-container {
    flex-direction: column;
    align-items: stretch;
  }

  .back-btn {
    width: 100%;
  }

  .tour-details {
    gap: 18px;
    margin-bottom: 56px;
  }

  .tour-details > h2 {
    padding: 24px 20px 0;
    border-radius: 26px 26px 0 0;
  }

  .tour-details > p {
    padding: 0 20px 24px;
    border-radius: 0 0 26px 26px;
  }

  .tour-info {
    padding: 22px 20px;
    border-radius: 26px;
  }

  .slider-container {
    border-radius: 26px;
  }

  .slider img {
    height: 62vw;
    min-height: 260px;
  }

  .arrow {
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
  }

  .arrow.left {
    left: 12px;
  }

  .arrow.right {
    right: 12px;
  }

  .slider-counter {
    left: 14px;
    bottom: 14px;
  }

  .swipe-hint,
  .book-btn {
    width: 100%;
  }
}

.breadcrumbs {
  width: min(1120px, calc(100vw - 40px));
  margin: 110px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: rgba(248, 241, 230, 0.78);
  font-size: 0.95rem;
}

.breadcrumbs a {
  color: inherit;
}

.tour-intro-panel,
.faq-section,
.related-links,
.tour-links-grid a {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.tour-intro-panel,
.faq-section,
.related-links {
  padding: 28px 30px;
  border-radius: 34px;
  background: var(--panel);
  backdrop-filter: blur(16px);
}

.tour-intro-panel {
  display: grid;
  gap: 16px;
}

.tour-intro-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.section-kicker {
  margin: 0;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  font-weight: 800;
}

.faq-section,
.related-links {
  display: grid;
  gap: 18px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.faq-card {
  padding: 22px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 248, 236, 0.05);
}

.faq-card h3 {
  margin: 0 0 12px;
  font-family: "Syne", sans-serif;
  font-size: 1.15rem;
  line-height: 1.2;
}

.faq-card p,
.related-links p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.tour-links-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.tour-links-grid a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(255, 248, 236, 0.06);
  font-weight: 700;
}

@media (max-width: 900px) {
  .faq-grid,
  .tour-links-grid {
    grid-template-columns: 1fr;
  }
}
