#video {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}


#video-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}


#video-overlay {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  color: white;
}

#video-title {
  font-size: 38px;
  font-weight: 600;
  color: white;
}

#video-button {
  letter-spacing: .15em;
  font-size: 16px;
  font-weight: 200;
  padding: 0 70px;
  height: 55px;
}



#content {
  position: relative;
  z-index: 3;
  background: #141414;
  color: white;
  padding: 50px 10%;
}


#car-categories {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 70px;
}

.car-category {
  display: flex;
  flex-direction: column;
  align-content: center;
  gap: 5px;
  cursor: pointer;
}
.car-category-icon {
  width: 150px;
  height: auto;
}
.car-category-name {
  font-size: 16px;
  text-align: center;
  color: #FF854D;
  transition: color 0.25s ease;
}
.car-category:hover .car-category-name {
  color: #EB5E1B !important;
}


.car-category-header {
  display: flex;
  align-items: center;
}

.car-category-header h3 {
  margin-right: auto;
}

.car-slider-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: 25px;
}

/*
.car-slider-button {
  width: 36px;
  height: 36px;
  background: #fff;
  color: #000;
  border: none;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
} */

.car-slider-container {
  position: relative;
  left: -140px;
  width: 100vw;
  overflow: hidden;
}

.car-slider {
  display: flex;
  gap: 25px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 10px;
  scrollbar-width: none;
}
.car-slider::-webkit-scrollbar {
  display: none;
}

/* Empty state inside sliders */
.cars-not-found {
  color: #666;
  text-align: center;
  width: 100%;
  padding: 10px 0;
}


.car-view {
  flex: 0 0 calc(100% / 4);
  max-width: 330px;
  background: #1c1c1c;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 0 12px rgba(0,0,0,0.3);
  position: relative;
}


.car-view-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2;
  background: rgba(0,0,0,0.4);
  white-space: nowrap;
}

.car-view-name {
  font-weight: 600;
  font-size: 16px;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 55%;
  margin-left: 12px;
}

.car-view-price {
  color: #ec5e1c;
  font-weight: 500;
  font-size: 15px;
  flex-shrink: 0;
  margin-right: 8px;
  white-space: nowrap;
}

.car-view-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}


.car-view-details {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  padding: 18px 20px;
  background-color: #181818;
  border-top: 1px solid #2a2a2a;
  border-radius: 0 0 18px 18px;
}

.car-view-detail {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
}

.car-view-detail-name {
  color: #a0a0a0;
  font-size: 13px;
  font-weight: 400;
  margin-bottom: 4px;
}

.car-view-detail-value {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-align: left;
}


#car-show-all {
  margin: 0 auto;
  margin-top: 10px;
  display: block;
}


#statistics {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  gap: 90px;
  margin-top: 40px;
}

.statistic {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.statistic-title {
  color: #a0a0a0;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.statistic-value {
  color: #ec5e1c;
  font-size: 58px;
  font-weight: 700;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.statistic.visible .statistic-value {
  opacity: 1;
  transform: translateY(0);
}


#reviews {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  width: 100vw;
  background: #141414;
  position: relative;
  left: -150px;
}
#reviews::-webkit-scrollbar { display: none; }

.review-card {
  flex: 0 0 27%;
  min-width: 300px;
  background: #181818;
  color: white;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 2px 8px #0000004d;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  margin-bottom: 10px;
}

.review-name {
  color: #ec5e1c;
}

.review-stars {
  color: gold;
}

.review-text {
  font-size: 0.9rem;
  line-height: 1.4;
  opacity: 0.9;
}
