/* css/tur.css */

/* ───────── Progress Steps ───────── */
.progress-steps {
  display: flex;
  flex-wrap: nowrap;               /* tek satır */
  align-items: center;
  justify-content: center;
  gap: 1rem;                       /* adımlar arası boşluk */
  margin-bottom: 2rem;
	margin-top: 3rem;
  overflow-x: auto;
}
.progress-steps .step {
  text-align: center;
  flex: 0 0 auto;
}
.progress-steps .step-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #e9ecef;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: .5rem;
}
.progress-steps .step-label {
  font-size: 1rem;
  color: #6c757d;
  white-space: nowrap;
}
.progress-steps .step.completed .step-circle,
.progress-steps .step.active .step-circle {
  background: #ff3300;
  color: #fff;
}
.progress-steps .step.completed .step-label,
.progress-steps .step.active .step-label {
  color: #ff3300;
  font-weight: 600;
}

/* ───────── Sabit Fiyat ───────── */
.tour-price {
  font-size: 3rem;
  color: #ff3300;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1.5rem;
}

/* ───────── Katılımcılar ───────── */
.participants .participant-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.participants .participant-item h6 {
  margin: 0;
  font-size: 1.3rem;
}
.participants .participant-item small {
  display: block;
  font-size: 1rem;
  color: #6c757d;
}
.participants .participant-item .counter {
  display: flex;
  align-items: center;
}
.participants .participant-item .counter button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  padding: 0;
}
.participants .participant-item .counter span {
  width: 40px;
  text-align: center;
  font-size: 1rem;
}

/* ───────── Tur Galerisi ───────── */
.tour-gallery .main-image img {
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
}
.tour-gallery .thumbnails {
  display: flex;
  flex-wrap: nowrap;
  gap: .5rem;
  justify-content: center;
  overflow-x: auto;
  padding-bottom: .5rem;
}
.tour-gallery .thumbnail-item img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  opacity: 1;
  transition: opacity .2s, border .2s;
}
.tour-gallery .thumbnail-item img.active {
  opacity: 1;
  border: 2px solid #ff3300;
}

/* ───────── Rezervasyon Butonu ───────── */
#bookBtn {
  font-size: 1.1rem;
  padding: 1rem;
}

.progress-steps {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-bottom: 4rem;
  flex-wrap: nowrap;
  text-align: center;
}

.progress-steps .step {
  flex: 0 0 auto;
}

.progress-steps .step .step-circle {
  width: 40px;
  height: 40px;
  line-height: 40px;
  background-color: #e9ecef;
  border-radius: 50%;
  color: #6c757d;
  font-size: 1.5rem;
  margin: 0 auto .25rem auto;
}

.progress-steps .step .step-label {
  font-size: 0.85rem;
  color: #6c757d;
  white-space: nowrap;
}

.progress-steps .step.active .step-circle,
.progress-steps .step.completed .step-circle {
  background-color: #ff3300;
  color: #fff;
}

.progress-steps .step.active .step-label,
.progress-steps .step.completed .step-label {
  font-weight: 600;
  color: #ff3300;
}


/* ================================================
   Mobilde Galeri için Scroll Snap Ayarları
================================================ */
@media (max-width: 767px) {
  .tour-gallery .thumbnails {
    display: flex;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 0.5rem;
    padding: 0 1rem;               /* hem başta hem sonda boşluk */
    
    /* Scroll snap devreye alınıyor */
    scroll-snap-type: x mandatory;
    scroll-padding-inline-start: 1rem;  /* en baştan 1rem boşluk */
    scroll-padding-inline-end: 1rem;    /* en sondan 1rem boşluk */
  }

  .tour-gallery .thumbnails img {
    flex: 0 0 auto;               /* her resim kendi genişliğinde */
    scroll-snap-align: start;     /* her öğe sola hizalı snap olacak */
  }

  /* Opsiyonel: Scrollbar’ı inceltip göze batmaz hale getirme */
  .tour-gallery .thumbnails::-webkit-scrollbar {
    height: 4px;
  }
  .tour-gallery .thumbnails::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.2);
    border-radius: 2px;
  }
}
