.navbar {
  background: #000;
}
.navbar-desktop {
  background: #000;
  border-bottom: 2px solid #dda407;
}
.header-social {
  background: #000;
  border-top: 2px solid #c08e0677;
  border-bottom: 2px solid #c08e06;
}
body {
  background: #fbf6e6;
}
img {
  overflow-clip-margin: unset !important;
}
.bg-theme.card {
  background: #fbf6e6 !important;
}
.card {
  background: #fffcf1 !important;
}
.bg-theme-card {
  background: #fffcf1 !important;
}
.header-wrapper {
  background: #fbf6e6;
}
.navigation-logo {
  max-width: 100%;
  height: auto;
}
.color-theme-secondary {
  color: #c08e06 !important;
}
.bg-black {
  background: #000;
}
.navbar-toggler {
  border: none;
}
.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-nav .nav-link.active {
  color: #c08e06;
  border-bottom: 2px solid #dda407;
}
.nav-link {
  color: #fff;
  padding: 1rem;
}
.nav-link:hover {
  color: #dda407;
}
.dropdown-item {
  color: #fff;
}
.dropdown-item:focus {
  background-color: #2b3035;
}
.dropdown-item.dropdown-active {
  color: #c08e06;
}

.hero-background-video-container {
  position: relative;
  width: 100%;        /* Or set fixed dimensions like 500px */
  height: 20vw;      /* Needs a defined height to scale against */
  min-height: 400px;
  max-height: 600px;
  overflow: hidden;   /* Keeps the layout clean if anything overflows */
}
.hero-background-video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;     /* Forces the video to fill the space */
  object-position: center; /* Ensures the video crops evenly from the center */
  z-index: -1;
  background-image: url('background-car.jpeg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: brightness(0.75);
}

.button-primary-color {
  text-decoration: none;
  color: #fff;
  background: #c08e06;
  display: block;
  text-align: center;
  padding: 0.5rem;
  border-radius: 0.25rem;
}
.button-primary-color:hover {
  background: #dda407;
}
.button-primary-color:disabled, 
.button-primary-color.disabled {
  background: #ecd184;
  pointer-events: none;
  cursor: default;
}

.banner-button-primary {
  border: 2px solid #c08e06;
  text-decoration: none;
  color: #fff;
  background: #000;
  display: block;
  text-align: center;
  padding: 0.5rem;
  border-radius: none;
}
.banner-button-primary:hover {
  background: #dda407;
}
.banner-button-secondary {
  border: 2px solid #c08e06;
  text-decoration: none;
  color: #000;
  background: #fff;
  display: block;
  text-align: center;
  padding: 0.5rem;
  border-radius: none;
}
.banner-button-secondary:hover {
  background: #dda407;
  color: #fff;
}

.vehicles-filters-btn {
  text-decoration: none;
  color: #fff;
  background: #c08e06;
  display: block;
  text-align: center;
  padding: 0.5rem;
  border-radius: 0.25rem;
}
.vehicles-filters-btn:hover {
  background: #dda407;
}

/* Target the buttons inside the carousel indicators */
.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 0;
  margin-left: 6px;
  margin-right: 6px;
  background-color: #000; /* Replace with your desired color */
  opacity: 0.5;              /* Optional: adjust transparency */
}
.carousel-indicators .active {
  background-color: #000; /* Replace with your desired active color */
  opacity: 1;
}
.mobile-card {
  min-height: 250px;
}
.mobile-card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Change the thumb (dot) color in Chrome, Edge, and Safari */
.form-range::-webkit-slider-thumb {
  background-color: #c08e06;
}

.form-range::-webkit-slider-thumb:active {
  background-color: #dda407;
}

/* Change the thumb (dot) color in Firefox */
.form-range::-moz-range-thumb {
  background-color: #c08e06;
}

.form-range::-moz-range-thumb:active {
  background-color: #dda407;
}

.modal-close-button {
  position: absolute;
  right: 15px;
  top: 15px;
  z-index: 999;
}

.sold-ribbon {
  position: absolute;
  top: 20px;
  left: -40px;
  transform: rotate(-45deg);
  min-width: 150px;
  background-color: #e62e2b;
  color: white;
  font-weight: bold;
  font-family: sans-serif;
  font-size: 16px;
  text-align: center;
  padding: 5px 35px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  z-index: 10;
}

.vehicle-main-img {
  max-height: 500px;
  object-fit: contain;
  object-position: center;
}
.blur-bg {
  position: absolute;
  /* left: -25px;
  right: -25px;
  top: -25px;
  bottom: -25px; */
  background-color: white;
  -webkit-filter: blur(15px);
  -moz-filter: blur(15px);
  filter: blur(15px);
  transform: scale(1.5);
  object-fit: fill;
  object-position: center;

}
.vehicle-side-img {
  max-height: calc(250px - 0.25rem);
  object-fit: contain;
  object-position: center;
}

.button-theme-color {
  color: #c08e06;
}
.button-theme-color:hover {
  color: #dda407;
}

.button-vehicle-page {
  color: #000;
  background: #fbf6e6;
  border: 2px solid #000;
  text-decoration: none;
  padding: 0.5rem;
  font-weight: 500;
}
.button-vehicle-page:hover {
  color: #fff;
  background: #dda407;
  border: 2px solid #dda407;
}

.button-vehicle-page:disabled,
.button-vehicle-page.disabled {
  background: #efedea;
  pointer-events: none;
  cursor: default;
}

.fs-7 {
  font-size: 0.875rem !important; /* 14px */
}
.fs-8 {
  font-size: 0.75rem !important;  /* 12px */
}

/* Change the color when the checkbox is checked */
.form-check-input:checked {
    background-color: #c08e06; /* Your custom color */
    border-color: #c08e06;
}

.button-vehicle-filters {
  width: 100%;
  border: none;
}
.button-vehicle-filters:not(.collapsed) {
  background: #ccc !important;
}
.button-vehicle-filters.collapsed {
  border: none;
}

.multi-range-slider {
  height: 2rem;
}
/* Custom background track */
.slider-track {
  height: 0.375rem; /* Standard Bootstrap range track height */
  transform: translateY(-100%);
  z-index: 0;
}
.multi-range-slider input[type="range"] {
  pointer-events: none;
  background: none;
  border: none;
  -webkit-appearance: none;
}
/* Remove default track background color so our custom track shows through */
.multi-range-slider input[type="range"]::-webkit-slider-runnable-track {
  background: transparent;
}
.multi-range-slider input[type="range"]::-moz-range-track {
  background: transparent;
}
.multi-range-slider input[type="range"]::-webkit-slider-thumb {
  pointer-events: auto;
  position: relative;
  z-index: 2;
}
.multi-range-slider input[type="range"]::-moz-range-thumb {
  pointer-events: auto;
  position: relative;
  z-index: 2;
}

.matching-results {
  background: #c08e06;
  border-bottom: 3px solid rgba(0, 0, 0, 0.15);
}

#hero-picture-0 {
  cursor: pointer;
  height: calc(35vw + 0.5rem);
  max-height: 500px;
}
#hero-picture-1, #hero-picture-2, #hero-picture-3, #hero-picture-4 {
  cursor: pointer;
  height: 17.5vw;
  max-height: calc(250px - 0.25rem);
}

.inventory-vehicle-container {
  position: relative;
  overflow: hidden;
  flex: 0 0 30%;
  box-sizing: border-box; 
}
.inventory-vehicle-image {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;   /* Forces a 4:3 aspect ratio */
  object-fit: cover;
}

@media (max-width: 768px) {
  .mobile-card {
    min-height: 300px;
  }
  .inventory-vehicle-image {
    width: 100%;
  }
  #hero-picture-0 {
    max-height: 100vw;
  }
}
@media (max-width: 576px) {
  .mobile-card {
    min-height: 350px;
  }
}

@media (min-width: 992px) {
  /* Show the dropdown menu on hover */
  .navbar .nav-item.dropdown:hover .dropdown-menu {
    display: block;
  }
  
  /* Fix layout shifting by eliminating the default top margin */
  .navbar .nav-item.dropdown .dropdown-menu {
    margin-top: 0; 
  }
}