* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  font-family: sans-serif;
  scroll-behavior: smooth;
  font-family: "Poppins", sans-serif;
}

:root {
  --black-alpha: hsla(0, 0%, 7%, 0.692);
  --black: #111;
  --white: #fafafa;
  --white-alpha: hsla(0, 0%, 98%, 0.411);
}

/* ------------------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------  HOLDING PAGE STYLES ----------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------------------ */
.holding-page {
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  background-image: url("../img/car-banner.jpg");
  background-position: right;
  background-size: cover;
  background-repeat: no-repeat;
}

.holding-page--text-container {
  background-color: #111;
  color: #fafafa;
  position: absolute;
  top: 50%;
  right: 200px;
  transform: translateY(-50%);
  width: 400px;
  height: 750px;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: var(--white) 8px solid;
}
.holding-page--text-container img {
  position: absolute;
  width: 200px;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
}
.holding-page--text-container h2 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  margin-top: 8rem;
}

.holding-page--text-container .body-large-text {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}
.holding-page--text-container .body-small-text {
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

/* ------------------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------  BODY ----------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------------------ */

.logo--container {
  display: flex;
  padding: 3rem;
  background-color: var(--white);
  justify-content: center;
  align-items: center;
}
.logo--container img {
  width: 100%;
  max-width: 250px;
}

.container {
  padding: 6rem;
  max-width: 1700px;
  margin: 0 auto;
}

/* ------------------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------  HERO ----------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------------------ */

.hero--image {
  background-image: url("../img/car-banner.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  height: 70vh;
  position: relative;
}

.hero--text {
  position: absolute;
  color: var(--white);
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  max-width: 600px;
  background-color: var(--black);
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero--text h1 {
  margin-bottom: 2rem;
  font-size: 2.2rem;
  line-height: 1.5;
}

.hero--text h2 {
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1.5;
}

.hero--alpha-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: transparent;
}

/* ------------------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------  INTRO ----------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------------------ */
.intro p {
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 2;
}

/* ------------------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------  OTHER BODY SECTIONS ----------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------------------ */
h4 {
  text-transform: uppercase;
  font-weight: bold;
  font-size: 1.2rem;
}

.flex-img-container {
  width: 50%;
  max-height: 60vh;
  object-position: center;
}

.flex-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 60vh;
}

.flex-container {
  display: flex;
  justify-content: flex-start;
}
.flex-text-container {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 4rem;
  max-width: 1200px;
}
.flex-text-container h2 {
  margin-top: 1rem;
  font-size: 2rem;
}
.flex-text-container h2,
.flex-text-container p,
.flex-text-container ul {
  margin-bottom: 1rem;
  line-height: 1.5;
}

.flex-text-container p {
  font-size: 1rem;
}

.flex-text-container p:first-of-type {
  margin-bottom: 0;
}

ul li {
  list-style-image: url("../img/icons/tick-svg.svg");
}
ul {
  padding-left: 2rem;
}

.info-box {
  background-color: var(--white);
  color: var(--black);
  border: 4px var(--black) solid;
  padding: 2rem;
  max-width: 400px;
  z-index: 10;
}

/* ------------------CONFIRMATION PAGE---------------------- */
.confirmation {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  width: fit-content;
  padding: 2rem;
  text-align: center;
  box-shadow: 10px 10px 10px black;
  margin: auto;
}

.confirmation * {
  margin-bottom: 0.5rem;
}

.flex-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  justify-content: space-between;
  background-image: url("../img/sports-car.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.tick-container {
  height: 80px;
}

.tick-container img {
  height: 100%;
  width: 100%;
}

.confirmation h1 {
  text-transform: uppercase;
  font-weight: 800;
}

nav img {
  height: 60px;
  position: absolute;
  top: 1rem;
  left: 1rem;
}

/* ------------------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------  BUTTONS ----------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------------------ */

.btn,
.btn-light {
  border: none;
  display: inline-block;
  padding: 0.75rem 2rem;
  cursor: pointer;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  transition: all 250ms ease-in;
  font-size: 1rem;
}
.btn {
  background-color: var(--black);
  color: var(--white);
  margin-top: 1rem;
  max-width: 250px;
  border-radius: 8px;
}
.btn:hover {
  background-color: var(--black-alpha);
  color: var(--black);
}

.btn-light {
  background-color: var(--white);
  color: var(--black);
  border-radius: 8px;
}
.btn-light:hover {
  background-color: var(--white-alpha);
  color: var(--white);
}

/* ------------------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------  CONTACT FORM ----------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------------------ */

.alpha-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: var(--black-alpha);
}

.contact-form--container {
  background-image: url("../img/sports-car.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 4rem;
  color: var(--white);
  position: relative;
}
.form {
  display: flex;
  flex-direction: column;
  width: 650px;
  z-index: 1;
  margin-left: 6rem;
  margin-right: 2rem;
}

.form h2 {
  margin-bottom: 2rem;
  font-size: 2rem;
  text-transform: uppercase;
}

.form label,
.label {
  color: var(--white-alpha);
  display: block;
}
.form label {
  margin-bottom: 1.5rem;
}
.form label input,
.form label select,
.form textarea {
  display: block;
  background-color: transparent;
  border: none;
  border-bottom: var(--white) 3px solid;
  width: 100%;
  font-size: 1rem;
  color: var(--white);
  padding: 0.5rem;
}
.form label input:focus,
.form label select:focus,
.form textarea:focus {
  outline: none;
}

label span {
  font-size: 10px;
  color: #8b0000;
}

.border-bottom {
  padding: 1.5px;
  background-color: var(--white);
  width: 100%;
  margin-bottom: 1rem;
}

/* custom select dropdown */
/* The container must be positioned relative: */
.custom-select {
  position: relative;
}

.custom-select select {
  display: none; /*hide original SELECT element: */
}

.select-selected {
  background-color: transparent;
}

/* Style the arrow inside the select element: */
.select-selected:after {
  position: absolute;
  content: "";
  top: 14px;
  right: 10px;
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-color: #fff transparent transparent transparent;
}

/* Point the arrow upwards when the select box is open (active): */
.select-selected.select-arrow-active:after {
  border-color: transparent transparent #fff transparent;
  top: 7px;
}

/* style the items (options), including the selected item: */
.select-items div,
.select-selected {
  color: #ffffff;
  padding: 8px 0.5rem;
  border: 1px solid transparent;
  border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
  cursor: pointer;
}

/* Style items (options): */
.select-items {
  position: absolute;
  background-color: var(--black);
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
}

/* Hide the items when the select box is closed: */
.select-hide {
  display: none;
}

.select-items div:hover,
.same-as-selected {
  background-color: var(--white-alpha);
}

.error {
  color: #f34545;
}
#success {
  color: #45f37f;
  margin-top: 0.5rem;
  text-align: center;
}
#success.fail {
  color: #f34545;
}
#submit-btn.disable-submit {
  opacity: 0.2;
  background-color: var(--white-alpha);
}
/* ------------------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------  FOOTER ----------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------------------ */
.footer {
  background-color: var(--black);
  color: var(--white);
  padding: 2rem;
}
.footer--inner {
  display: flex;
  max-width: 1700px;
  margin: 0 auto;
  justify-content: space-evenly;
  padding: 3rem 0;
}

.footer--inner a, .footer--inner p {
  display: flex;
  text-decoration: none;
  color: #fff;
}

.footer--inner a img, .footer--inner p img {
  width: 25px;
  margin-right: 15px;
}

.footer--inner-left-padding {
    padding-left: 40px;
    margin-bottom: 0.25rem;
}
.footer--logo--container {
  display: flex;
  justify-content: center;
  align-items: center;
}
.footer--logo--container img {
  width: 100%;
  max-width: 250px;
}
.footer h2 {
  margin-bottom: 0.5rem;
}
.footer h3 {
  font-size: 1rem;
  text-decoration: underline;
  margin-bottom: 0.5rem;
}
.footer a {
  margin-bottom: 0.25rem;
}

.carousel-container {
  position: relative;
  /* height: 60vh; */
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}
.left {
  left: 0;
}
.right {
  right: 0;
}

.responsive .slick-slide {
  margin: 0 2rem;
  height: 40vh;
}

.carousel-item {
  height: 40vh;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ------------------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------  MEDIA QUERIES ----------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------------------ */

@media only screen and (max-width: 1200px) {
  /* HOLDING PAGE STYLES */
  .holding-page--text-container {
    right: 100px;
    width: 320px;
    height: 650px;
  }
  .holding-page {
    background-position: 80%;
  }
  .holding-page--text-container h2 {
    font-size: 1.4rem;
  }

  .holding-page--text-container .body-large-text {
    font-size: 1rem;
  }
  .holding-page--text-container .body-small-text {
    font-size: 0.75rem;
  }
  .holding-page--text-container img {
    width: 180px;
  }
  /* BODY STYLES */
  .container {
    padding: 4rem 2rem;
    max-width: 1000px;
  }
  .logo--container {
    padding: 1.5rem;
  }

  .info-box {
    margin-bottom: 2rem;
    max-width: unset;
    width: 500px;
  }
  /* HERO STYLES */
  .hero--text {
    max-width: 400px;
  }
  .hero--text h1 {
    font-size: 1.8rem;
  }
  .hero--text h2 {
    font-size: 1.2rem;
  }

  /* CONTACT FORM STYLES */
  .contact-form--container {
    background-position: 30%;
  }

  /* * OTHER BODY SECTIONS STYLES */
  .flex-container {
    flex-direction: column;
  }

  .flex-text-container,
  .flex-img-container {
    width: 100%;
  }

  .flex-img-container {
    max-height: 50vh;
  }

  .flex-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: 50vh;
  }
  .info-box {
    max-width: 500px;
    width: 95%;
  }
}

@media only screen and (max-width: 1024px) {
  .responsive .slick-slide {
    margin: 0 1rem;
    height: 30vh;
  }

  .carousel-item {
    height: 30vh;
  }
}

@media only screen and (max-width: 1000px) and (max-height: 600px) {
  .responsive .slick-slide {
    margin: 0 1rem;
    height: 60vh;
  }

  .carousel-item {
    height: 60vh;
  }
}

@media only screen and (max-width: 768px) {
  /* HOLDING PAGE STYLES */
  .holding-page--text-container {
    background-color: #111111c4;
    border: none;
    height: 100%;
    width: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transform: translateY(0);
  }
  .holding-page {
    background-position: 60%;
  }
  .holding-page--text-container-inner {
    width: 80%;
    max-width: 400px;
    margin-left: 2rem;
  }

  /* BODY STYLES  */
  .logo--container {
    padding: 1rem;
  }
  .logo--container img {
    max-width: 150px;
  }
  .container {
    padding: 3rem;
  }

  /* HERO STYLES */
  .hero--alpha-overlay {
    background-color: var(--black-alpha);
  }
  .hero--text {
    background-color: transparent;
    border: none;
  }

  /* CONTACT FORM STYLES */
  .form {
    max-width: 500px;
    width: 95%;
    margin-left: auto;
    margin-right: auto;
  }
  .contact-form--container {
    background-position: 22%;
  }

  /* FOOTER STYLES */
  .footer--inner {
    flex-direction: column;
    width: 100%;
    max-width: 350px;
    padding: 0.5rem;
  }
  .footer--inner div {
    margin-bottom: 1.5rem;
  }

  .footer--logo--container img {
    max-width: 150px;
  }
}

@media only screen and (max-height: 500px) and (orientation: landscape) {
  .confirmation {
    padding: 1rem;
    margin-top: 8rem;
    margin-bottom: 4rem;
  }

  .tick-container {
    height: 40px;
  }

  .confirmation h1 {
    font-size: 1.2rem;
  }
}

@media only screen and (max-width: 480px) {
  /* HOLDING PAGE STYLES  */
  .holding-page--text-container {
    padding: 1rem;
  }
  .holding-page--text-container-inner {
    width: 100%;
    margin-left: 0;
    padding: 1.5rem;
  }
  .holding-page--text-container img {
    width: 180px;
  }
  /* BODY STYLES  */
  h2 {
    font-size: 1.2rem;
  }
  .container {
    padding: 1.5rem;
  }

  /* HERO STYLES */
  .hero--text {
    padding: 0;
    padding-left: 1.5rem;
    max-width: 250px;
  }
  .hero--text h1 {
    font-size: 1.4rem;
  }
  .hero--text h2 {
    font-size: 1rem;
  }

  /* CONTACT FORM STYLES */
  .contact-form--container {
    padding: 3rem 1rem;
  }

  /* BUTTONS */
  .btn {
    width: 100%;
  }

  /* FOOTER STYLES */
  .footer p {
    font-size: 0.85rem;
  }
  .footer h2 {
    font-size: 1.2rem;
  }
  .footer h3 {
    font-size: 0.9rem;
  }

  .confirmation {
    padding: 1rem;
  }

  .tick-container {
    height: 40px;
  }

  .confirmation h1 {
    font-size: 1.2rem;
  }
}
@media only screen and (max-width: 380px) {
  /* HOLDING PAGE STYLES */
  .holding-page--text-container h2 {
    font-size: 1.2rem;
  }

  .holding-page--text-container .body-large-text {
    font-size: 0.85rem;
  }
  .holding-page--text-container .body-small-text {
    font-size: 0.75rem;
  }
}
