/* CUSTOM STYLES
-------------------------------------------------- */
/*<uniquifier>: Use a unique and descriptive class name*/
/*<weight>: Use a value from 200 to 1000*/
* {
  font-family: 'Cairo', sans-serif;
  font-weight: 400;
}
body {
  padding-bottom: 0 !important;
  overflow-x: hidden;
}
.cairo-200 {
  font-family: "Cairo", sans-serif;
  font-optical-sizing: auto;
  font-weight: 200;
  font-style: normal;
  font-variation-settings: "slnt" 0;
}
header nav {
  background-color: rgba(25, 24, 31, 0.98);
  padding: 20px;
}
.nav-link {
  font-size: 1.2em;
}
.navbar-nav .nav-link.active {
  color: #ffffff; /* Text color */
}
.offer-list-item {
  text-align: left !important;
}
.offer-list-item-inner {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Adds a subtle shadow */
  padding-bottom: 10px;
  border-radius: 5px;
}
.offer-list-item-title {
  color: rgba(25, 24, 31, 1);
  font-weight: normal;
  margin: 10px 20px 15px 20px;
  font-size: 1.5em;
  padding: 10px 5px 0 5px;
  display: -webkit-box;        /* For Safari */
  display: box;                /* For other browsers */
  -webkit-box-orient: vertical; /* Specifies the box orientation */
  -webkit-line-clamp: 2;      /* Limits the text to 2 lines */
  overflow: hidden;            /* Hides overflowed text */
  text-overflow: ellipsis;     /* Displays ellipsis (...) */
  word-break: break-word;      /* Breaks long words */
  hyphens: auto;
}
.offer-list-item-price {
  color: rgba(25, 24, 31, 1);
  font-weight: normal;
  margin: 0px 20px 15px 20px;
  font-size: 1.2em;
  padding: 0px 5px 0 5px;
}
.offer-list-item-description {
  padding: 0px 5px 0 5px;
  font-size: 1em;
}
.offer-list-item-button {
  margin-top: 10px;
  margin-left: 10px;
  background-color: #1a1920; /* Change to your preferred color */
  color: #FFED05; /* Text color */
  border: none;
  padding: 10px 20px;
}
.offer-list-item-description-line {
  margin: 5px 20px;
  list-style-type: none;
}
.offer-list-item-description-line-icon {
position: absolute;
}
.offer-list-item-description-line-details {
  margin-left: 30px;
}

/* Optional: Add horizontal spacing */
.col-lg-4, .col-md-6, .col-sm-12 {
  padding-left: 15px;
  padding-right: 15px;
}
.nav-item {
  margin: 0 5px;
}
.carousel-item {
  /*position: relative;*/
}
.carousel-item img {
  width: 100%;
  height: 100vh; /* Adjust height as needed */
  object-fit: cover;
  /*filter: blur(8px); !* Adjust the blur level as desired *!*/
  filter: blur(0px); /* Adjust the blur level as desired */
}
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /*background-color: rgba(0, 0, 0, 0.3); !* Adjust the alpha value for transparency *!*/
  background-color: rgba(0, 0, 0, 0.8); /* Adjust the alpha value for transparency */
  z-index: 1; /* Ensure overlay is above the image */
}
.carousel-caption {
  position: absolute;
  top: 12%;
  z-index: 2;
}

/* Custom Button Style */
.btn-carousel {
  background-color: #FFED05; /* Change to your preferred color */
  color: #1a1920; /* Text color */
  border: none;
  transition: background-color 0.5s ease; /* Smooth transition */
}

.btn-carousel:hover,
.btn-carousel:active,
.btn-carousel:focus {
  background-color: #FFED05; /* Slightly darker shade for hover effect */
  color: #1a1920;
}

.btn-carousel.btn-secondary {
  background-color: #6c757d; /* Example secondary color */
  color: #fff; /* Text color for secondary button */
}

/* Adjust hover and active styles if needed */
.btn-carousel.btn-secondary:hover,
.btn-carousel.btn-secondary:active,
.btn-carousel.btn-secondary:focus {
  background-color: #5a6268; /* Darker shade for hover, active, and focus states */
  color: #fff; /* Ensure text is readable */
}

h1.display-5 {
  color: #1a1920;
}
.custom-image {
  aspect-ratio: 9 / 7; /* Sets a 9:7 aspect ratio */
  object-fit: cover;   /* Ensures image fills the space without distortion */
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}
.contact h1 {
  padding-left: 15px;
  padding-right: 15px;
  color: white !important;
  /*margin-top: 30px !important;*/
}
.contact {
  margin-top: 30px;
  padding-top: 1px;
  color: white !important;
  background-color: rgba(25, 24, 31, 1) !important;
  padding-left: 0;
  padding-right: 0;
}
.custom-footer {
  padding: 20px;
}
.offer h1, .contact h1 {
  font-size: 2em;
  font-weight: bold;
}
.contact i {
  font-size: 2em;
}
p.contact-value {
  margin-bottom: 0;
}
.icon-container {
  width: 30px !important;
  margin: 10px 20px 25px 20px;
}
.contact .fw-bold {
  color: whitesmoke;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 1em !important;
}
.contact p {
  font-size: 1.2em !important;
}
.inner-box {
  width: 330px;
}
footer.bg-dark {
  background-color: rgba(25, 24, 31, 1) !important;
}
footer a {
  color: white;
}
footer a:hover {
  text-decoration: underline;
  color: #FFED05;
}
.day-name {
  display:inline-block;
  width: 75px;
}
footer i {
  color: #FFED05;
}
.social-networks i {
  margin-top: 10px;
  width: 80px;
  font-size: 3.5em;
}
.icon-container-social {
  margin-top: 0;
  margin-bottom: 0;
  align-items: normal !important;
}
.details-title-container {
  height: 16em;
  background-color: rgba(25, 24, 31, 0.9) !important;
  position: relative; /* To allow absolute positioning of the image */
  display: flex;
  justify-content: center; /* Horizontally center the content */
  align-items: center; /* Vertically center the content */
  overflow: hidden; /* Ensure no image overflow */
}
.details-title {
  padding-top: 1em;
  color: white !important;
  text-align: center; /* Center the text horizontally */
  position: relative; /* Ensure title stays above the image */
  z-index: 1; /* Keep the title above the image */
  margin: 0;
  font-weight: bold;
}
.car-image {
  position: absolute; /* Position image behind content */
  top: 0;
  left: 0;
  width: 100%; /* Stretch image to cover the container */
  height: 100%; /* Ensure the image covers the container */
  object-fit: cover; /* Ensure the image covers the container while preserving aspect ratio */
  z-index: -1; /* Position the image behind the content */
}
.details-middle-container {
  margin-top: 2em;
}

.carousel {

}


/*.carousel-item {*/
/*  display: flex;*/
/*  align-items: center; !* Vertically center the images *!*/
/*  justify-content: center; !* Horizontally center the images *!*/
/*  padding: 20px; !* Optional padding for better spacing *!*/
/*}*/

/*!* Fixed height for carousel and responsive behavior *!*/
/*.carousel-inner {*/
/*  height: 500px; !* Set the fixed height *!*/
/*}*/



/* Ensure swiper takes up the full width and height of its container */
.swiper-container {
  position: relative;
  width: 100%;
  height: 620px;
  overflow: hidden;
  background-color: rgba(25, 24, 31, 1);
}
.swiper-slide {
  display: flex;
  justify-content: center; /* Center image horizontally */
  align-items: center;     /* Center image vertically */
  height: 620px;
}
.swiper-slide img {
  position: relative;
  width: 100%;
  height: 620px;
  object-fit: contain; /* Ensures images cover the slide without stretching */
}

@media (max-width: 1200px) {
  .details-column-name {
    width: 170px !important;
  }
}

/* Media query for smaller screens */
@media (max-width: 1024px) {
  .swiper-container, .contact-box {
    height: 500px !important; /* Reduce height for tablets */
  }

  .swiper-slide {
    height: 500px; /* Reduce height for tablets */
  }

  .swiper-slide img {
    height: 500px; /* Reduce height for tablets */
  }
}

/* Media query for smaller screens */
@media (max-width: 992px) {
  .contact-box-social, .contact-box-general {
    display: none;
  }
  .contact-box-social-link {
    margin-left: 0 !important;
    margin-top: 40px !important;
  }

}

@media (max-width: 768px) {
  .swiper-container {
    height: 400px !important; /* Reduce height for smaller devices (e.g., mobile phones) */
  }
  .contact-box {
    display:none;
  }

  .swiper-slide {
    height: 400px; /* Reduce height for smaller devices */
  }

  .swiper-slide img {
    height: 400px; /* Reduce height for smaller devices */
  }
}

@media (max-width: 480px) {
  .swiper-container, .contact-box {
    height: 300px !important; /* Further reduce height for very small devices */
  }

  .swiper-slide {
    height: 300px; /* Further reduce height for very small devices */
  }

  .swiper-slide img {
    height: 300px; /* Further reduce height for very small devices */
  }
}

/* Change the color of the navigation arrows */
.swiper-button-next,
.swiper-button-prev {
  color: rgba(255, 255, 255, 0.7) !important; /* Set arrow color to red */
  padding: 20px; /* Optional: Adjust padding for size */
  font-size: 1em !important;
}

.contact-box {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Adds a subtle shadow */
  border-radius: 5px;
  padding: 20px;
  height: 620px;
  color: rgba(25, 24, 31, 1);
}
.contact-box a {
  color: rgba(25, 24, 31, 1);
}
.contact-box a:hover {
  color: grey;
}
.contact-box h4 {
  margin-bottom: 20px;
}
.contact-box .icon-container {
  width: 10px;
  margin: 0px 5px 10px 0px;
}
.contact-box .fw-bold {
  color: grey;
}
.contact-box-social {
  margin-top: 20px;
}
.contact-box .fab {
  font-size: 3em;
  margin-bottom: 10px;
}
h1, h2, h3, h4, h5, h6 {
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.details-column-name {
  width: 210px;
  color: grey;
}
.details-row {
  line-height: 2em;
  margin-left: 0;
}
.details-column-value {
  color: rgba(25, 24, 31, 1);
}
.details-info-title {
  font-size: 2em;
  color: rgba(25, 24, 31, 1);
  margin-bottom: 20px;
  margin-top: 40px;
  font-weight: bold;
  margin-left: 10px;
}
.details-info-description {
  line-height: 1.8em;
  color: rgba(25, 24, 31, 1);
  margin-left: 15px;
}
.contact-box-general {
  font-weight: bold;
}
.contact-box-social {
  font-weight: bold;
}
.details-car-title {
  font-size: 1.5em;
  color: rgba(25, 24, 31, 1);
  margin-top: 30px;
  margin-bottom: 10px;
  margin-left: 10px;
}
.details-car-price {
  margin-left: 10px;
  color: grey;
}
.details-car-price-number {
  color: rgba(25, 24, 31, 1);
  font-weight: bold;
  font-size: 1.3em;
}
.privacy-pages {
  margin-top: 20px;
}
.divider {
  display: inline-block;
  width: 1px;
  height: 10px; /* Adjust the height to your preference */
  background-color: #ccc; /* Divider color */
}
footer .copyright {
  padding: 0 20px 20px 20px;
  color: darkgrey;
  margin-bottom: 0 !important;
}
.auto-counter {
  font-weight: 400;
}
.rating-star {
  font-size: 0.7em;
  position: relative;
  left:8px;
  color: #fba028;
  bottom:5px;
}

@media (max-width: 670px) {
  #yearsCountContainer {
    display: none;
  }
}
a:hover .reviews-block {
  text-decoration: underline;
}
a.reviews-link {
  text-decoration: none;  /* Remove the underline by default */
  color: inherit;
}

.carousel-control-next, .carousel-control-prev {
  width: 8% !important;
}