/* css/tours-improvements.css */

/* Page scope */
.tours-page .ta-tours-hero {
  position: relative;
  height: 62vh;
  min-height: 420px;
  background-image: url('../images/turlar-hero.png');
  background-size: cover;
  background-position: center;
}

.tours-page .ta-tours-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}

.tours-page .ta-tours-hero .hero-content {
  position: relative;
  z-index: 2;
  padding-top: 96px;
}

.tours-page .ta-tours-hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 18px;
}

.tours-page .ta-tours-hero-actions .btn {
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.12);
  color: #fff;
}

.tours-page .ta-tours-hero-actions .btn:hover {
  background: rgba(255,255,255,.18);
}

.tours-page .ta-tours-hero-actions .ta-tours-cta {
  background: #0d6efd;
  border-color: rgba(255,255,255,.25);
}

.tours-page .ta-tours-hero-note {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(15,23,42,.35);
  border: 1px solid rgba(255,255,255,.25);
}

.ta-tours-section {
  padding: 46px 0 56px;
  background: radial-gradient(900px 480px at 20% 0%, rgba(231,76,60,.08), transparent),
              radial-gradient(900px 480px at 80% 0%, rgba(52,152,219,.08), transparent),
              linear-gradient(180deg, #f8fafc 0%, #ffffff 70%);
}

.ta-tours-header {
  margin-bottom: 18px;
}

.ta-tours-title {
  font-weight: 800;
  letter-spacing: .2px;
  margin-bottom: 10px;
}

.ta-tours-subtitle {
  color: #6b7280;
  margin: 0 auto;
  max-width: 920px;
}

.ta-tours-toolbar {
  margin: 18px auto 12px;
  max-width: 1120px;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px rgba(2,6,23,.06);
}

.ta-tours-search {
  flex: 1 1 380px;
  position: relative;
  min-width: 240px;
}

.ta-tours-search-input {
  width: 100%;
  padding: 12px 14px 12px 40px;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  outline: 0;
  transition: box-shadow .2s, border-color .2s;
}

.ta-tours-search-input:focus {
  border-color: #60a5fa;
  box-shadow: 0 10px 28px rgba(99,102,241,.14);
}

.ta-tours-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
}

.ta-tours-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 720px;
}

.ta-tours-filter {
  border-radius: 999px;
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #111827;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(0,0,0,.04);
  transition: transform .06s, box-shadow .2s, border-color .2s;
}

.ta-tours-filter:hover {
  border-color: #cbd5e1;
  box-shadow: 0 12px 28px rgba(0,0,0,.07);
}

.ta-tours-filter:active {
  transform: translateY(1px);
}

.ta-tours-filter.active {
  border-color: #60a5fa;
  box-shadow: 0 12px 30px rgba(99,102,241,.16);
}

.ta-tours-sort {
  display: flex;
  gap: 8px;
  align-items: center;
}

.ta-tours-sort-label {
  margin: 0;
  color: #6b7280;
  font-weight: 600;
}

.ta-tours-sort-select {
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  padding: 10px 12px;
  background: #fff;
  outline: 0;
}

.ta-tours-clear {
  border-radius: 12px;
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(0,0,0,.04);
}

.ta-tours-note {
  max-width: 1120px;
  margin: 8px auto 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  background: rgba(255,255,255,.92);
  color: #0f172a;
}

.ta-tours-counter {
  text-align: center;
  color: #6b7280;
  margin: 0 0 20px;
}

.ta-tours-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.ta-tour-card {
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px rgba(2,6,23,.08);
  transition: transform .14s, box-shadow .2s;
  outline: none;
}

.ta-tour-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 52px rgba(2,6,23,.12);
}

.ta-tour-card:focus {
  box-shadow: 0 0 0 3px rgba(96,165,250,.35), 0 18px 40px rgba(2,6,23,.08);
}

/* Hash highlight */
.ta-tour-card.ta-tour-flash {
  box-shadow: 0 0 0 4px rgba(231,76,60,.35), 0 22px 52px rgba(2,6,23,.12);
}

.ta-tour-media {
  position: relative;
}

.ta-tour-media-link {
  display: block;
}

.ta-tour-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.ta-tour-badges {
  position: absolute;
  left: 12px;
  top: 12px;
  display: flex;
  gap: 8px;
}

.ta-tour-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(15,23,42,.72);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.ta-tour-copy {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(15,23,42,.35);
  color: #fff;
  cursor: pointer;
}

.ta-tour-copy:hover {
  background: rgba(15,23,42,.45);
}

.ta-tour-body {
  padding: 14px 14px 16px;
}

.ta-tour-name {
  margin: 6px 0 8px;
  font-weight: 800;
  letter-spacing: .1px;
  color: #0f172a;
  font-size: 18px;
}

.ta-tour-desc {
  margin: 0 0 12px;
  color: #475569;
  min-height: 44px;
}

.ta-tour-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
}

.ta-tour-cta {
  border-radius: 12px;
  padding: 10px 12px;
}

.ta-tours-empty {
  max-width: 720px;
  margin: 18px auto 0;
}

.ta-tours-empty-card {
  border-radius: 18px;
  border: 1px solid #e5e7eb;
  background: rgba(255,255,255,.92);
  padding: 18px;
  box-shadow: 0 18px 40px rgba(2,6,23,.06);
  text-align: center;
}

.ta-tours-empty-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 10px;
}

/* Toast */
.ta-toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(15,23,42,.92);
  color: #fff;
  font-weight: 700;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s, transform .18s;
}

.ta-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(-4px);
}

@media (max-width: 991px) {
  .ta-tours-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .ta-tours-grid { grid-template-columns: 1fr; }
  .tours-page .ta-tours-hero { height: 56vh; min-height: 380px; }
  .tours-page .ta-tours-hero .hero-content { padding-top: 86px; }
}
