/* Reset ve temel stiller - Force override */
.tours-layout * {
  box-sizing: border-box !important;
}

/* Container */
.container {
  max-width: 1400px !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
}

/* Main layout */
.tours-layout {
  display: grid !important;
  grid-template-columns: 320px 1fr !important;
  gap: 40px !important;
  margin-top: 30px !important;
  align-items: start !important;
}
 
/* Tours Content */
.tours-content {
  min-height: 400px !important;
}

/* Tours Header */
.tours-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 24px !important;
  padding: 16px 0 !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

.results-info {
  color: #4a5568 !important;
  font-size: 14px !important;
}

.results-count {
  font-weight: 500 !important;
}

.sorting-controls {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.sort-form {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.sort-form label {
  color: #2d3748 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
}

.sort-form select {
  padding: 8px 12px !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 6px !important;
  font-size: 14px !important;
  background: white !important;
  min-width: 140px !important;
}

/* Tours Grid */
.tours-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)) !important;
  gap: 24px !important;
  margin-bottom: 40px !important;
}

.tour-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
}

.tour-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
  border-color: #cbd5e0 !important;
}

.tour-image {
  width: 100%;
  height: auto;
  overflow: hidden;
  position: relative;
}

.tour-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.tour-card:hover .tour-image img {
  transform: scale(1.05);
}

.tour-content {
  padding: 24px;
}

.tour-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
  gap: 12px;
}

.tour-title {
  margin: 0;
  font-size: 18px;
  line-height: 1.4;
  flex: 1;
}

.tour-title a {
  color: #1a202c;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.tour-title a:hover {
  color: #3182ce;
}

/* Primary Otel ve Fiyat Bilgisi */
.tour-primary-info {
  display: flex;
    justify-content: space-between;
    margin: 12px 0;
    padding: 12px 16px;
    background: linear-gradient(135deg, #ebf8ff 0%, #dbeafe 100%);
    border: 1px solid #60a5fa;
    border-radius: 8px;
    max-width: fit-content;
    flex-direction: column;
}

.primary-hotel {
  color: #1e40af;
  font-size: 13px;
  font-weight: 500;
  text-align: left;
}

.primary-price {
  color: #1e3a8a;
  font-size: 18px;
  font-weight: 700;
  text-align: left;
  margin-left: 0px;
}

.primary-price .currency {
  font-size: 12px;
  font-weight: 500;
  color: #374151;
  margin-left: 4px;
}

.tour-duration {
  background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  min-width: fit-content;
}

.tour-categories {
  margin-bottom: 16px;
}

.category-tag {
  display: inline-block;
  background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%);
  color:#fff !important;
  padding: 4px 10px;
  border-radius: 16px;
  font-size: 11px;
  font-weight: 600;
  margin-right: 6px;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: all 0.2s ease;
  text-decoration: none !important;
}

.category-tag:hover {
  background: linear-gradient(135deg, #c05621 0%, #9c4221 100%);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(237, 137, 54, 0.3);
}

.location-link,
.center-link {
  color: #3182ce !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.location-link:hover,
.center-link:hover {
  color: #2c5282 !important;
  text-decoration: underline !important;
}

.tour-meta {
  margin-bottom: 18px;
}

.tour-dates,
.tour-location,
.tour-venue {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 14px;
  color: #4a5568;
}

.tour-dates i,
.tour-location i,
.tour-venue i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-block;
  position: relative;
}

.tour-dates i {
  background: #e53e3e;
}

.tour-location i {
  background: #3182ce;
}

.tour-venue i {
  background: #38a169;
}

.tour-dates i::before,
.tour-location i::before,
.tour-venue i::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
}

.tour-exhibitors {
  border-top: 1px solid #e2e8f0;
  padding-top: 16px;
}

.tour-exhibitors strong {
  color: #2d3748;
  font-size: 14px;
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}

.tour-exhibitors p {
  margin: 0;
  font-size: 13px;
  color: #718096;
  line-height: 1.5;
}

.no-results {
  text-align: center;
  padding: 60px 20px;
  color: #718096;
  font-size: 16px;
  background: #f7fafc;
  border-radius: 12px;
}

.archive-title {
  margin-bottom: 12px !important;
  font-size: 32px !important;
  color: #1a202c !important;
  font-weight: 700 !important;
  text-align: center !important;
}

/* Pagination */
.nav-links {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.nav-links a,
.nav-links span {
  padding: 10px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  color: #4a5568;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

.nav-links a:hover {
  background: #3182ce;
  color: white;
  border-color: #3182ce;
}

.nav-links .current {
  background: #3182ce;
  color: white;
  border-color: #3182ce;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .tours-layout {
    grid-template-columns: 280px 1fr !important;
    gap: 30px !important;
  }
  
  .tours-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
    gap: 20px !important;
  }
}

@media (max-width: 768px) {
  .tours-layout {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  
  .tours-content {
    order: 1 !important;
  }
  
  .tours-grid {
    grid-template-columns: 1fr !important;
  }
  
  .container {
    padding: 0 16px !important;
  }
  
  .archive-title {
    font-size: 28px !important;
  }
  
  
  
  .tours-header {
    flex-direction: column !important;
    gap: 16px !important;
    align-items: flex-start !important;
  }
  
  .sorting-controls {
    width: 100% !important;
  }
  
  .sort-form {
    width: 100% !important;
  }
  
  .sort-form select {
    width: 100% !important;
    padding: 10px !important;
    font-size: 14px !important;
    border: 1px solid #d1d5db !important;
    border-radius: 6px !important;
    background: #ffffff !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E") !important;
    background-position: right 8px center !important;
    background-repeat: no-repeat !important;
    background-size: 16px !important;
    padding-right: 36px !important;
  }
  
  .tour-header {
    flex-direction: column !important;
    gap: 12px !important;
    align-items: flex-start !important;
  }
  
  .tour-duration {
    align-self: flex-start !important;
  }
  
  .tour-card {
    margin-bottom: 16px !important;
  }
}

@media (max-width: 480px) {
  .tours-sidebar {
    padding: 16px !important;
    margin-bottom: 16px !important;
  }
  
  .filter-header {
    margin-bottom: 12px !important;
  }
  
  .filter-section h3 {
    font-size: 16px !important;
    margin: 0 !important;
  }
  
  .mobile-filter-toggle {
    padding: 6px 12px !important;
    font-size: 13px !important;
  }
  
  .active-filters-mobile {
    margin-bottom: 12px !important;
  }
  
  .filter-chip {
    padding: 4px 8px !important;
    font-size: 12px !important;
  }
  
  .chip-remove {
    width: 16px !important;
    height: 16px !important;
    font-size: 10px !important;
  }
  
  .filter-form {
    gap: 12px !important;
  }
  
  .filter-group {
    gap: 6px !important;
  }
  
  .filter-group label {
    font-size: 13px !important;
    font-weight: 600 !important;
  }
  
  .filter-group input,
  .filter-group select {
    padding: 10px !important;
    font-size: 14px !important;
    border-radius: 6px !important;
  }
  
  .filter-submit {
    padding: 12px 20px !important;
    font-size: 14px !important;
    border-radius: 6px !important;
    margin-top: 4px !important;
  }
  
  .filter-reset {
    padding: 10px !important;
    font-size: 13px !important;
    margin-top: 2px !important;
  }
  
  .tour-content {
    padding: 20px !important;
  }
  
  .archive-title {
    font-size: 24px !important;
  }
  
  .tours-grid {
    gap: 16px !important;
  }
  
  .tour-image {
    height: 180px !important;
  }
  
  .sort-form {
    flex-direction: column !important;
    gap: 8px !important;
    align-items: flex-start !important;
  }
  
  .sort-form select {
    width: 100% !important;
  }
  
  .results-info {
    font-size: 13px !important;
  }
  
  .sorting-controls {
    width: 100% !important;
  }
  
  .sort-form label {
    font-size: 13px !important;
  }
  
  /* Primary info responsive */
  .tour-primary-info {
    flex-direction: column !important;
    gap: 6px !important;
    padding: 10px 12px !important;
    align-items: flex-start !important;
  }
  
  .primary-hotel {
    font-size: 12px !important;
  }
  
  .primary-price {
    margin-left: 0 !important;
    align-self: flex-end !important;
    font-size: 16px !important;
  }
}

/* Animasyonlar */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tour-card {
  animation: fadeIn 0.5s ease-out;
}

/* Loading states */
.loading {
  opacity: 0.7;
  pointer-events: none;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  border: 2px solid #3182ce;
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  transform: translate(-50%, -50%);
}

@keyframes spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}