:root {
  --primary-blue: #274975;
  --gradient-start: #31598b;
  --gradient-mid: #2f527d;
  --gradient-end: #274975;
  --accent-color: #3d82f7;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* MAIN HERO SECTION */
.hero-section {
  background: linear-gradient(
      135deg,
      rgba(0, 0, 0, 0.7),
      rgba(39, 73, 117, 0.8)
    ),
    url("https://cdn07.carsforsale.com/CustomTemplatePhotos/312775/images/rs_demo609_main_background.0eb52a0d.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 600px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  border-top: 4px solid white;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    transparent 0%,
    rgba(61, 130, 247, 0.1) 50%,
    transparent 100%
  );
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%,
  100% {
    opacity: 0.1;
  }
  50% {
    opacity: 0.3;
  }
}

/* CAROUSEL STYLES */
.carousel-container {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

.carousel-item img {
  height: 400px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.carousel-item:hover img {
  transform: scale(1.05);
}

/* ACTION BUTTONS */
.action-btn {
  position: relative;
  border-radius: 15px;
  height: 120px;
  margin-bottom: 1.5rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
  color: white;
  display: block;
  box-shadow: 0 8px 25px rgba(39, 73, 117, 0.3);
  background: linear-gradient(
    135deg,
    var(--gradient-start),
    var(--gradient-end)
  );
}

.action-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(39, 73, 117, 0.5);
  color: white;
  border-color: rgba(255, 255, 255, 0.4);
}

/* Button Background Images */
.action-btn::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  filter: grayscale(0.8) brightness(0.7);
  transition: all 0.4s ease;
  z-index: 1;
}

.action-btn:hover::after {
  filter: grayscale(0.2) brightness(1.1);
  transform: scale(1.05);
}

/* Shimmer overlay effect */
.action-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.15),
    transparent
  );
  transition: left 0.6s;
  z-index: 3;
}

.action-btn:hover::before {
  left: 100%;
}

.btn-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 1.5rem;
  background: linear-gradient(
    90deg,
    rgba(39, 73, 117, 0.95) 0%,
    rgba(39, 73, 117, 0.85) 40%,
    rgba(39, 73, 117, 0.3) 100%
  );
}

.btn-icon {
  font-size: 2.2rem;
  margin-right: 1rem;
  opacity: 0.95;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.btn-text {
  flex: 1;
}

.btn-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0 0 0.1rem 0;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
  line-height: 1.2;
}

.btn-subtitle {
  font-size: 0.85rem;
  opacity: 0.9;
  margin: 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  font-weight: 300;
}

/* INVENTORY BUTTON */
.action-btn:nth-child(1)::after {
  background-image: url("https://cdn.powersports.com/cdn-cgi/image/h=1440,w=1920/83AF69652CE01174E18217B5743CDB34.jpg");
}

/* FINANCING BUTTON */
.action-btn:nth-child(2)::after {
  background-image: url("https://cdn.powersports.com/cdn-cgi/image/h=1440,w=1920/0A2FB3E3A7575DF66D25F0E2118019FF.jpg");
}

/* CONTACT BUTTON */
.action-btn:nth-child(3)::after {
  background-image: url("https://cdn.powersports.com/cdn-cgi/image/h=1440,w=1920/38EA599440097ACB1E9CAA79BECD16A0.jpg");
}

/* WELCOME SECTION */
.welcome-section {
  background: linear-gradient(135deg, #000 0%, #000 100%);
  position: relative;
  overflow: hidden;
}

.welcome-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--accent-color),
    #fff,
    var(--accent-color)
  );
}

.welcome-content {
  position: relative;
  z-index: 2;
}

.welcome-title {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #fff, var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.welcome-text {
  font-size: 1.2rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0;
}

/* Floating elements animation */
.floating-element {
  position: absolute;
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.floating-element:nth-child(2) {
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.floating-element:nth-child(3) {
  bottom: 20%;
  left: 20%;
  animation-delay: 4s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-section {
    min-height: 50vh;
    background-attachment: scroll;
  }

  .action-btn {
    height: 100px;
  }

  .btn-icon {
    font-size: 2rem;
  }

  .btn-title {
    font-size: 1.1rem;
  }

  .carousel-item img {
    height: 250px;
  }

  .welcome-title {
    font-size: 2rem;
  }

  .welcome-text {
    font-size: 1.1rem;
  }
}

@media (max-width: 576px) {
  .action-btn {
    height: 80px;
  }

  .btn-content {
    padding: 1rem;
  }

  .btn-icon {
    font-size: 1.5rem;
    margin-right: 0.8rem;
  }

  .btn-title {
    font-size: 1rem;
  }
}

/* Button ======================================================================== */
:root {
  --primary-blue: #274975;
  --accent-color: #3d82f7;
  --dark-gradient-start: #444444;
  --dark-gradient-mid: #222222;
  --dark-gradient-end: #1f1f1f;
}

/* body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
  } */

/* PRICE SEARCH SECTION */
.price-search-section {
  /* background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); */
  position: relative;
  overflow: hidden;
  padding: 3rem 0;
}

.price-search-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--accent-color),
    var(--primary-blue),
    var(--accent-color)
  );
}

/* .price-search-section::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(
      90deg,
      transparent,
      var(--primary-blue),
      transparent
    );
  } */

.price-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-blue);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 3rem;
  text-align: center;
  position: relative;
}

.price-title::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color), var(--primary-blue));
  border-radius: 2px;
}

.price-btn {
  position: relative;
  background: linear-gradient(
    135deg,
    var(--dark-gradient-start) 0%,
    var(--dark-gradient-mid) 50%,
    var(--dark-gradient-end) 100%
  );
  color: white !important;
  border: 2px solid #999999;
  border-radius: 15px;
  padding: 1.2rem 2rem;
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  min-height: 70px;
}

/* Shimmer effect */
.price-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.15),
    transparent
  );
  transition: left 0.7s;
  z-index: 1;
}

.price-btn:hover::before {
  left: 100%;
}

.price-btn:hover {
  color: white !important;
  border-color: #ffffff;
  transform: translateY(-5px) scale(1.02);
  background: linear-gradient(135deg, var(--accent-color), var(--primary-blue));
  box-shadow: 0 12px 35px rgba(61, 130, 247, 0.5);
}

/* Special styling for "ALL VEHICLES" button */
.price-btn.all-vehicles {
  background: linear-gradient(
    135deg,
    var(--dark-gradient-start) 0%,
    var(--dark-gradient-mid) 50%,
    var(--dark-gradient-end) 100%
  );
  border-color: #fff;
  box-shadow: 0 6px 20px rgba(61, 130, 247, 0.3);
  font-weight: 700;
}

.price-btn.all-vehicles:hover {
  background: linear-gradient(135deg, var(--accent-color), var(--primary-blue));
  border-color: #ffffff;
  box-shadow: 0 12px 35px rgba(61, 130, 247, 0.5);
}

/* Price icons */
.price-icon {
  margin-right: 0.8rem;
  font-size: 1.3rem;
  position: relative;
  z-index: 2;
}

/* Button text */
.btn-text {
  position: relative;
  z-index: 2;
}

/* Floating background elements */
.floating-bg {
  position: absolute;
  opacity: 0.03;
  pointer-events: none;
}

.floating-bg:nth-child(1) {
  top: 15%;
  left: 10%;
  font-size: 8rem;
  animation: float 8s ease-in-out infinite;
}

.floating-bg:nth-child(2) {
  top: 60%;
  right: 15%;
  font-size: 6rem;
  animation: float 10s ease-in-out infinite reverse;
}

.floating-bg:nth-child(3) {
  bottom: 20%;
  left: 20%;
  font-size: 5rem;
  animation: float 12s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-30px) rotate(5deg);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .price-search-section {
    padding: 2rem 0;
  }

  .price-title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .price-btn {
    font-size: 1.1rem;
    padding: 1rem 1.5rem;
    min-height: 60px;
  }

  .price-icon {
    font-size: 1.2rem;
    margin-right: 0.6rem;
  }
}

@media (max-width: 576px) {
  .price-title {
    font-size: 1.6rem;
    letter-spacing: 1px;
  }

  .price-btn {
    font-size: 1rem;
    padding: 0.9rem 1.2rem;
    min-height: 55px;
    letter-spacing: 0.8px;
  }

  .floating-bg {
    display: none;
  }
}

/* ================================================================== */
.card__multi__style1 .item__card {
  flex: 1;
  border: 0px solid var(--inventoryslideshow-border) !important;
  display: flex;
  flex-direction: column;
  background-color: #191919 !important;
}
.card__multi__style1 .card__addt__info__wrapper {
  margin-bottom: auto;
  display: none;
  margin-bottom: 2rem !important;
}
/* This fix is mostly for dark background sites, but could be useful when you want to change the hard-coded colors on the Vehicle Details Page  */

.inventorydetails .vdp-module-canvas-razor-wrapper a {
  color: var(--color-theme-text);
}

.inventorydetails .vdp-module-canvas-razor-wrapper a:hover {
  color: var(--color-theme-highlight);
}

.inventorydetails .section__title,
.inventorydetails .section__subtitle,
.inventorydetails .section__callout__title {
  color: var(--color-theme-text);
}

.inventorydetails p {
  color: var(--color-theme-text);
}

.inventorydetails .vdp-module-canvas-razor-wrapper .btn-primary {
  color: var(--color-theme-text-btn) !important;
}

.inventorydetails .vdp-module-canvas-razor-wrapper .btn-outline-secondary {
  border-color: var(--color-theme-primary);
  color: #fff;
  background-color: var(--color-theme-primary);
}

.inventorydetails
  [LoanCalculatorWidgetCssScope]
  .loan__calc__content
  .calc__totals__wrapper {
  background-color: transparent;
}

.inventorydetails .vdp-module-canvas-razor-wrapper .btn-outline-secondary:hover,
.inventorydetails
  .vdp-module-canvas-razor-wrapper
  .btn-outline-secondary:before {
  background-color: var(--color-theme-primary);
  border-color: #000;
}

.inventorydetails
  .vdp-module-canvas-razor-wrapper
  .btn-check:checked
  + .btn-outline-secondary {
  color: var(--color-theme-text-btn);
  background-color: var(--color-theme-primary);
  border-color: var(--color-theme-primary);
}

.inventorydetails .vdp-module-canvas-razor-wrapper .btn-secondary,
.inventorydetails .vdp-module-canvas-razor-wrapper .btn-secondary:focus {
  background-color: var(--color-theme-primary);
  color: var(--color-theme-text-btn);
  border-color: var(--color-theme-primary);
}

.inventorydetails .vdp-module-canvas-razor-wrapper .btn-secondary:before {
  background: var(--color-theme-highlight);
}

.inventorydetails label {
  color: #5a5a5a;
}

.inventorydetails .disclaimerText {
  color: var(--color-theme-text);
  opacity: 0.9;
}

/* this is normally hard-coded as a white background. If you want to keep that, you'll probably need to customize all the colors inside the .vdp__message__wrapper so it works on the light background*/
.inventorydetails .vdp__message__mod.module .vdp__message__wrapper {
  background-color: transparent;
}
.vdp__veh__info__mod
  .veh__info__item:nth-child(even)[VehicleInfoWidgetCssScope] {
  background-color: #222 !important;
}
