/**
 * ============================================
 * ARCHIVE TOURS PAGE STYLES - ARMANI TOURS
 * Matches your existing color scheme
 * ============================================
 */

/* CSS Variables for easy customization */
:root {
  --armani-navy: #0D2438;
  --armani-gold: #d4a574;
  --armani-dark: #1a1a1a;
  --armani-gray: #555;
  --armani-light-gray: #f8f8f8;
  --armani-border: #e0e0e0;
  --armani-white: #ffffff;
}

/* ============================================
   TOURS ARCHIVE LAYOUT
   ============================================ */

.tours-archive-main {
  background: var(--armani-white);
}

/* Archive Hero */
.tours-archive-hero {
  background: linear-gradient(135deg, var(--armani-navy) 0%, #1a3a52 100%);
  padding: 3rem 0;
  text-align: center;
  color: var(--armani-white);
}

.tours-archive-hero .hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.tours-archive-hero .eyebrow {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--armani-gold);
  font-weight: 600;
  display: block;
  margin-bottom: 1rem;
}

.tours-archive-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--armani-white);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.tours-archive-hero p {
  font-size: 1.125rem;
  opacity: 0.95;
  color: rgba(255, 255, 255, 0.9);
}

/* Breadcrumb */
.breadcrumb {
  padding: 1rem 0;
  background: var(--armani-light-gray);
  border-bottom: 1px solid var(--armani-border);
}

.breadcrumb-nav {
  display: flex;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--armani-gray);
  align-items: center;
}

.breadcrumb-nav a {
  color: var(--armani-gray);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb-nav a:hover {
  color: var(--armani-gold);
}

/* Main Archive Layout */
.tours-archive-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2rem;
  padding: 2rem 0;
  align-items: start;
}

/* ============================================
   LEFT SIDEBAR FILTERS
   ============================================ */

.filters-sidebar {
  position: sticky;
  top: 120px;
  background: var(--armani-white);
  border: 1px solid var(--armani-border);
  border-radius: 8px;
  padding: 1.5rem;
  max-height: calc(100vh - 140px);
  overflow-y: auto;
  overflow-x: hidden;
}

/* Custom Scrollbar */
.filters-sidebar::-webkit-scrollbar {
  width: 6px;
}

.filters-sidebar::-webkit-scrollbar-track {
  background: var(--armani-light-gray);
  border-radius: 3px;
}

.filters-sidebar::-webkit-scrollbar-thumb {
  background: var(--armani-gold);
  border-radius: 3px;
}

.filters-sidebar::-webkit-scrollbar-thumb:hover {
  background: var(--armani-navy);
}

/* Filter Sections */
.filter-section {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--armani-border);
}

.filter-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.filter-title {
  font-family: 'Playfair Display', serif;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--armani-navy);
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.filter-toggle {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--armani-gray);
  transition: transform 0.2s;
  line-height: 1;
}

.filter-section.collapsed .filter-toggle {
  transform: rotate(180deg);
}

.filter-section.collapsed .filter-options {
  display: none;
}

.filter-section.collapsed .view-all {
  display: none;
}

/* Filter Options */
.filter-options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-option:hover {
  color: var(--armani-gold);
  padding-left: 4px;
}

.filter-option input[type="checkbox"],
.filter-option input[type="radio"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--armani-gold);
  flex-shrink: 0;
}

.filter-option label {
  font-size: 0.9rem;
  cursor: pointer;
  flex: 1;
  line-height: 1.4;
  color: var(--armani-dark);
}

.filter-count {
  font-size: 0.8rem;
  color: var(--armani-gray);
  font-weight: 500;
  flex-shrink: 0;
}

.view-all {
  color: var(--armani-gold);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 0.5rem;
  display: inline-block;
  text-decoration: none;
  transition: color 0.2s;
}

.view-all:hover {
  color: var(--armani-navy);
}

/* Price Range */
.price-range {
  margin-top: 0.5rem;
}

.price-inputs {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.price-inputs input {
  flex: 1;
  padding: 0.5rem;
  border: 1px solid var(--armani-border);
  border-radius: 4px;
  font-size: 0.9rem;
}

.price-inputs input:focus {
  outline: none;
  border-color: var(--armani-gold);
}

/* Filter Actions */
.filter-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.btn-block {
  width: 100%;
  text-align: center;
}

.btn-reset {
  display: block;
  text-align: center;
  padding: 0.75rem;
  color: var(--armani-gray);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.2s;
}

.btn-reset:hover {
  color: var(--armani-gold);
}

/* ============================================
   TOURS CONTENT AREA
   ============================================ */

.tours-content {
  min-width: 0;
}

/* Tours Header */
.tours-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--armani-border);
}

.tours-count {
  font-size: 1.125rem;
  color: var(--armani-gray);
}

.tours-count strong {
  color: var(--armani-navy);
  font-weight: 600;
}

.tours-sort {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.tours-sort label {
  font-size: 0.9rem;
  color: var(--armani-gray);
  font-weight: 500;
}

.tours-sort select {
  padding: 0.5rem 2.5rem 0.5rem 1rem;
  border: 1px solid var(--armani-border);
  border-radius: 4px;
  font-size: 0.9rem;
  background: var(--armani-white);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231a1a1a' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  transition: border-color 0.2s;
}

.tours-sort select:focus {
  outline: none;
  border-color: var(--armani-gold);
}

/* Tours Grid */
.tours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

/* ============================================
   PAGINATION
   ============================================ */

.tours-pagination {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.tours-pagination ul {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.tours-pagination li {
  display: inline-block;
}

.tours-pagination a,
.tours-pagination span {
  display: inline-block;
  padding: 0.5rem 1rem;
  border: 1px solid var(--armani-border);
  border-radius: 4px;
  color: var(--armani-navy);
  text-decoration: none;
  transition: all 0.2s;
  font-size: 0.9rem;
  font-weight: 500;
}

.tours-pagination a:hover {
  background: var(--armani-gold);
  color: var(--armani-white);
  border-color: var(--armani-gold);
}

.tours-pagination .current {
  background: var(--armani-gold);
  color: var(--armani-white);
  border-color: var(--armani-gold);
}

/* ============================================
   NO RESULTS
   ============================================ */

.no-results {
  text-align: center;
  padding: 3rem 1.5rem;
  background: var(--armani-light-gray);
  border-radius: 8px;
}

.no-results h2 {
  margin-bottom: 1rem;
  color: var(--armani-navy);
  font-family: 'Playfair Display', serif;
}

.no-results p {
  color: var(--armani-gray);
  font-size: 1.125rem;
}

.no-results a {
  color: var(--armani-gold);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.no-results a:hover {
  color: var(--armani-navy);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1200px) {
  .tours-archive-layout {
    grid-template-columns: 280px 1fr;
  }
  
  .tours-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}

@media (max-width: 968px) {
  .tours-archive-hero h1 {
    font-size: 2rem;
  }
  
  .tours-archive-layout {
    grid-template-columns: 1fr;
  }
  
  .filters-sidebar {
    position: relative;
    top: 0;
    max-height: none;
    margin-bottom: 1.5rem;
  }
  
  .tours-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
  
  .tours-header {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
  
  .tours-sort {
    width: 100%;
  }
  
  .tours-sort select {
    flex: 1;
  }
}

@media (max-width: 768px) {
  .tours-archive-hero h1 {
    font-size: 1.75rem;
  }
  
  .tours-grid {
    grid-template-columns: 1fr;
  }
  
  .filter-option label {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .tours-archive-hero {
    padding: 2rem 0;
  }
  
  .tours-archive-hero h1 {
    font-size: 1.5rem;
  }
  
  .price-inputs {
    flex-direction: column;
  }
  
  .filter-actions {
    position: sticky;
    bottom: 0;
    background: var(--armani-white);
    padding: 1rem;
    margin: 0 -1.5rem;
    border-top: 1px solid var(--armani-border);
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
  }
}