/* =========================
   TEMA 2 – NEW TOUR PRESENTATION (tour-detay2.php)
   ========================= */

.tourp-page {
  max-width: 1200px;
  margin: 0 auto 60px auto;
  padding: 20px 16px 40px;
}

/* Küçük tema switch butonları – sol sabit */
.tourp-theme-switch {
  position: fixed;
  left: 12px;
  top: 120px;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tourp-theme-btn {
  min-width: 78px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--card-bg);
  color: var(--text-color);
  font-size: 11px;
  border: 1px solid var(--brand-color);
  text-decoration: none;
  text-align: center;
  transition: background .25s ease, color .25s ease,
              transform .15s ease, box-shadow .25s ease;
}
.tourp-theme-btn:hover {
  transform: translateX(2px);
  box-shadow: var(--shadow-lg, 0 10px 26px rgba(15,23,42,0.5));
}
.tourp-theme-btn.is-active {
  background: var(--brand-color);
  color: #fff;
}

/* HERO alanı */
.tourp-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.6fr);
  gap: 28px;
  margin-top: 10px;
  margin-bottom: 32px;
}

/* Sol hero metin */
.tourp-hero-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}

.tourp-hero-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tourp-hero-badge {
  padding: 5px 11px;
  font-size: 11px;
  border-radius: 999px;
  border: 1px solid var(--border, rgba(148,163,184,0.6));
  background: var(--card-bg);
  color: var(--muted, #4b5563);
}

.tourp-hero-download {
  align-self: flex-start;
  padding: 8px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand-color), #ffb347);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  border: none;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  transition: transform .2s ease, box-shadow .2s ease;
}
.tourp-hero-download:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 35px rgba(0,0,0,0.35);
}

.tourp-title {
  font-size: clamp(1.9rem, 2.4vw, 2.3rem);
  font-weight: 700;
  color: var(--text-color);
}
.tourp-subtitle {
  font-size: 0.98rem;
  color: var(--muted, #4b5563);
  line-height: 1.6;
}

/* Sağ hero – galeri */
.tourp-hero-right {
  background: var(--card-bg);
  border-radius: 24px;
  padding: 10px;
  box-shadow: var(--shadow-xl, 0 24px 60px rgba(15,23,42,0.35));
}

.tourp-gallery-main {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #020617;
}

.tourp-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .45s ease;
}
.tourp-slide.is-active {
  opacity: 1;
}
.tourp-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Galeri oklar */
.tourp-g-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: none;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,0.55);
  color: #f9fafb;
  font-size: 18px;
  cursor: pointer;
  z-index: 10;
  transition: background .25s ease, transform .15s ease;
}
.tourp-g-arrow:hover {
  background: rgba(0,0,0,0.8);
  transform: translateY(-50%) scale(1.05);
}
.tourp-g-prev { left: 10px; }
.tourp-g-next { right: 10px; }

/* Thumbs */
.tourp-thumbs {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.tourp-thumb {
  flex: 0 0 68px;
  height: 54px;
  border-radius: 12px;
  border: 2px solid transparent;
  padding: 0;
  background: none;
  cursor: pointer;
  overflow: hidden;
}
.tourp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tourp-thumb.is-active {
  border-color: var(--brand-color);
}

/* Ana gövde: Timeline + sağ panel */
.tourp-body {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: 32px;
}

/* Timeline */
.tourp-timeline {
  position: relative;
  padding-left: 18px;
}
.tourp-timeline::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: linear-gradient(to bottom, var(--brand-color), #c4c4c4);
  opacity: .7;
}
.tourp-day {
  position: relative;
  margin-bottom: 18px;
}
.tourp-day-dot {
  position: absolute;
  left: -3px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--brand-color);
  box-shadow: 0 0 0 5px rgba(0,0,0,0.10);
}
.tourp-day-card {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 14px 16px 14px 18px;
  box-shadow: var(--shadow-md, 0 14px 35px rgba(15,23,42,0.10));
}
.tourp-day-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted, #9ca3af);
  margin-bottom: 4px;
}
.tourp-day-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-color);
}
.tourp-day-text {
  font-size: 0.94rem;
  color: var(--muted, #4b5563);
}
.tourp-day-text p {
  margin-bottom: 6px;
}
.tourp-day-text ul {
  padding-left: 18px;
  margin: 4px 0 8px;
}
.tourp-day-text li {
  margin-bottom: 4px;
}

/* Sağ panel: fiyat + diğer turlar */
.tourp-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Fiyat kartı */
.tourp-price-card {
  background: var(--card-bg);
  color: var(--text-color);
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: var(--shadow-lg, 0 16px 40px rgba(15,23,42,0.35));
}
.tourp-price-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
  opacity: .7;
}
.tourp-price-main {
  font-size: 1.4rem;
  font-weight: 700;
  margin-top: 6px;
  margin-bottom: 6px;
}
.tourp-price-note {
  font-size: 0.85rem;
  opacity: .9;
}

/* Diğer turlar */
.tourp-other-wrap {
  background: var(--card-bg);
  border-radius: 18px;
  padding: 14px 16px;
  box-shadow: var(--shadow-md, 0 12px 28px rgba(15,23,42,0.08));
}
.tourp-other-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-color);
}
.tourp-other-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tourp-other-item {
  display: grid;
  grid-template-columns: 56px minmax(0,1fr);
  gap: 10px;
  align-items: center;
  padding: 7px 8px;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: background .2s ease, transform .1s ease, box-shadow .2s ease;
}
.tourp-other-item:hover {
  background: rgba(148,163,184,0.12);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md, 0 10px 22px rgba(15,23,42,0.15));
}
.tourp-other-thumb img {
  width: 56px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
}
.tourp-other-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.tourp-other-name {
  font-size: 0.9rem;
  font-weight: 600;
}
.tourp-other-meta {
  font-size: 0.78rem;
  color: var(--muted, #6b7280);
}

/* Responsive */
@media (max-width: 1000px) {
  .tourp-hero {
    grid-template-columns: 1fr;
  }
  .tourp-hero-right {
    order: -1;
  }
  .tourp-body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .tourp-page {
    padding: 12px 12px 32px;
  }
  .tourp-theme-switch {
    flex-direction: row;
    bottom: 12px;
    top: auto;
  }
}
