/* ============================================
   PAGE HEADER
============================================ */
.page-header {
  padding: 120px 20px 50px;
  text-align: center;
  background: linear-gradient(135deg, #000000 0%, #1a0000 50%, #000000 100%);
  position: relative;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at center, rgba(223,37,49,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.page-header h1 {
  font-size: clamp(36px, 6vw, 60px);
  font-weight: 800;
  margin-bottom: 10px;
  position: relative;
}

.page-header p {
  color: var(--grey);
  font-size: 15px;
  margin-bottom: 30px;
  position: relative;
}

.page-header .search-wrapper {
  max-width: 550px;
  margin: 0 auto;
  position: relative;
}

/* ============================================
   FILTER BAR
============================================ */
.filter-bar {
  background: var(--dark2);
  border-top: 1px solid rgba(223,37,49,0.2);
  border-bottom: 1px solid rgba(223,37,49,0.2);
  padding: 16px 20px;
  position: sticky;
  top: 70px;
  z-index: 100;
}

.filter-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
}

.filter-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-btn {
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.1);
  color: var(--white);
  padding: 9px 20px;
  border-radius: 50px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 7px;
}

.filter-btn:hover {
  border-color: var(--red);
  color: var(--red);
}

.filter-btn.active {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.dot.green { background: #16a34a; }
.dot.red { background: var(--red); }

.filter-price {
  display: flex;
  align-items: center;
  gap: 10px;
}

.filter-price label {
  font-size: 13px;
  color: var(--grey);
  font-weight: 600;
}

.filter-price select {
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.1);
  color: var(--white);
  padding: 9px 16px;
  border-radius: 50px;
  font-family: var(--font);
  font-size: 13px;
  cursor: pointer;
  outline: none;
  transition: border-color 0.3s;
}

.filter-price select:focus {
  border-color: var(--red);
}

.filter-price select option {
  background: #1a1a1a;
  color: var(--white);
}

/* ============================================
   CARS SECTION
============================================ */
.cars-section {
  padding: 40px 20px 70px;
  max-width: 1200px;
  margin: 0 auto;
}

.cars-count {
  font-size: 14px;
  color: var(--grey);
  margin-bottom: 25px;
}

.cars-count span {
  color: var(--red);
  font-weight: 700;
}

/* Active nav link */
.nav-links a.active {
  color: var(--red);
}

/* ============================================
   MOBILE
============================================ */
@media (max-width: 768px) {
  .filter-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .filter-price {
    width: 100%;
  }

  .filter-price select {
    flex: 1;
  }
}