/*=============== GOOGLE FONTS ===============*/
@import url('https://fonts.googleapis.com/css2?family=Boldonse&family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Syne:wght@400..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&family=Outfit:wght@100..900&display=swap');



/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;

  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --first-color: #daa520;
  --first-color-light: #868585;
  --text-light: #e1e0e6;
  --bg-light: rgb(214, 213, 218, .3);
  --bg-color: #0d0a24;
  --text-color: #13131B;
  --white-color: #f8f9fa;
  --text-color-light: hsl(203, 8%, 80%);

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font:"Outfit", serif;
  --header-font: "Syne", sans-serif;
  --biggest-font-size: 2.25rem;
  --h2-font-size: 1.25rem;
  --normal-font-size: .938rem;
  --smaller-font-size: .75rem;

  /*========== Font weight ==========*/
  --font-semi-bold: 600;

  /*========== z index ==========*/
  --z-fixed: 100;
}

/* Responsive typography */
@media screen and (min-width: 1024px) {
  :root {
    --biggest-font-size: 4rem;
    --h2-font-size: 1.5rem;
    --normal-font-size: 1rem;
    --smaller-font-size: .813rem;
  }
}

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

h1, h2, h3, h4 {
  color: var(--black-color);
}

p,span {
  font-family: var(--body-font);
  font-size: 15px;
  font-weight: 300
}

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: #000000;
  color: var(--text-color);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  font-family: var(--body-font);
}

img {
  max-width: 100%;
  height: auto;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1224px;
  margin-inline: 1.5rem;
}

.main {
  overflow: hidden; /* For the animations */
}

/*=============== HEADER & NAV ===============*/
.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  transition: background .3s;

}

.nav {
  position: relative;
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo,
.nav__toggle,
.nav__link,
.nav__close {
  color: var(--white-color);
}


.nav__logo span {
    font-size: 25px;
    font-family: var(--header-font);
    color: var(--white-color);
}


.logo-dark {
  display: none;
}
  
.nav__toggle {
  display: inline-flex;
  font-size: 1.25rem;
  cursor: pointer;
}

.nav-buttons {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--white-color);
}

.nav-button {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--white-color);
    border-radius: 10px;
    font-size: 13px;
  }

.nav-button-2 {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--white-color);
  border-radius: 10px;
  font-size: 13px;
}

.toggle-background i {
  color: var(--whitet-color);
  font-size: 20px;
}

.change-theme {
  font-size: 1.25rem;
  color: var(--container-color);
  cursor: pointer;
  transition: color .3s;
}


body.dark-theme {
  --title-color: hsl(207, 4%, 95%);
  --text-color: hsl(207, 4%, 95%);
  --body-color: var(--first-color);
  --container-color: var(--first-color);
}

body.dark-theme {
  background-color: var(--container-color);
}


@media screen and (max-width: 767px) {
  .nav__menu {
    position: fixed;
    background-color: #000000;
    color: var(--white-color);
    width: 100%;
    left: 0;
    top: -100%;
    box-shadow: 0 3px 8px hsla(203, 71%, 4%, .2);
    padding: 4rem 0 3.5rem;
    transition: top .4s;
    overflow: hidden;
  }  
}

.nav__list {
  display: flex;
  flex-direction: column;
  text-align: center;
  row-gap: 2rem;
}

.nav__link {
  color: var(--white-color);
}

.nav__link:hover::after {
  width: 100%;
}

.active-link {
    background: linear-gradient(45deg, rgba(175, 175, 204, 0.5) 30%, rgba(54, 52, 100, 0.4) 70%);
    padding: 10px 24px;
    border-radius: 10px;
}

.nav__close,
.nav__img {
  position: absolute;
}

.nav__close {
  top: 1rem;
  right: 1.5rem;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Show menu */
.show-menu {
  top: 0;
}


/* Change background header */
.header-bg {
  background-color: #000000;
  box-shadow: 0 2px 4px hsla(0, 0%, 1%, 0.2);
}

.header-bg .nav__link,
.header-bg .toggle-background i {
  color: var(--white-color);
}

.dark-theme .header-bg {
  background-color: var(--container-color);
}




/*=============== HOME ===============*/
.home {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-image: url(../img/home-1.jpg);
    background-size: cover;
    background-position: center;
    background-color: rgba(0, 0, 0, 0.5);
    background-blend-mode: overlay;
    background-attachment: fixed;
}

.home-content {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 100vh;
    width: 100%;
}

.home-header {
    padding-bottom: 50px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    width: 100%;
}
.home-header h1 {
    font-size: 70px;
    font-family: var(--header-font);
    color: var(--white-color);
}

.home-head span {
    color: var(--white-color);
}

.home-specifications {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding-bottom: 20px;
}

.home-spec-details {
    text-align: center;
    color: var(--white-color);
}

.home-spec-details h3 {
    font-family: var(--header-font);
    font-size: 30px;
}

.home-subtitle {
    position: absolute;
    top: 40%;
    left: 80%;
    transform: translate(-50%, -50%);
    color: var(--white-color);
    background: rgba(255, 255, 255, 0.1);
    padding: 50px;
    border-radius: 20px;
}

.home-subtitle h3 {
    font-size: 40px;
}

.home-subtitle p {
    padding-bottom: 20px;
}

.home-subtitle-img {
    display: flex;
    align-items: center;
}

.home-subtitle-img img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.home-subtitle-img img:nth-child(2),
.home-subtitle-img img:nth-child(3),
.home-subtitle-img img:nth-child(4),
.home-subtitle-img img:nth-child(5)
 {
    margin-left: -20px;
}

.home-subtitle-rating {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--white-color);
    display: flex;
    align-items: center;
    margin-left: -20px;
    justify-content: center;
}

.home-subtitle-rating h3 {
    font-size: 15px;
    color: var(--text-color);
}


/* destination */


.destination {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.destination-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 50px;
    color: var(--white-color);
}

.destination-header h1 {
    font-family: var(--header-font);
    font-size: 70px;
    width: 100%;
    color: var(--white-color);
}

.destination-header p {
  text-align: right;
  width: 50%;
  color: var(--first-color-light);
}

.destination-img {
    width: 100%;
    height: 100%;
}

.destination-img img {
    width: 100%;
}



/* Goal */
.goal {
  position: relative;
  overflow: hidden;
  padding: 0 0 100px;
}

.goal-container {
  position: relative;
}

.goal-header {
  display: flex;
  /* flex-direction: column; */
  gap: 10px;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 0px;
  width: 100%;
}

.goal-header h1 {
   font-family: var(--header-font);
    font-size: 70px;
    width: 100%;
    color: var(--white-color);
    text-align: right;
}

.goal-header p {
  width: 50%;
  text-align: right;
  padding-bottom: 30px;
}

.goal-grids {
  display: flex;
  height: 100%;
  gap: 10px;
  padding-bottom: 10px;
  padding-top: 50px;
}

.goal-big-grid {
  flex: 4;
}

.goal-big-grid-2 {
  flex: 5;
  display: flex;
  align-items: center;
  /* justify-content: center; */
  gap: 10px;
}

.goal-grid {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.goal-img {
  overflow: hidden;
  position: relative;
  height: 100%;
  width: 100%;
  transition: .5s;
}

.goal-grid img {
  width: 100%;
  position: relative;
  overflow: hidden;
  height: 100%;
  object-fit: cover;
  display: block;
}


.layer {
  background: linear-gradient(45deg, rgba(0,0,0,0.9), transparent);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.goal-content {
  position: absolute;
  bottom: 0;
  padding: 0 20px 20px;
}

.goal-content h3 {
  font-family: var(--header-font);
  color: var(--white-color);
  font-size: 30px;
}

.goal-content p {
  color: var(--color-white);
}


.goal-grids-2 {
  display: flex;
  height: 100%;
  gap: 10px;
}

.goal-big-grid-3 {
  flex: 4;
}

.goal-big-grid-4 {
  flex: 5;
}

.goal-grid-2 {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.goal-img {
  overflow: hidden;
  position: relative;
  height: 100%;
  width: 100%;
  transition: .5s;
}

.goal-grid-2 img {
  width: 100%;
  position: relative;
  overflow: hidden;
  height: 100%;
  object-fit: cover;
  display: block;
}



/* Cars */

.cars {
  padding: 0 0 100px;
  position: relative;
  overflow: hidden;
}

.cars-header {
  text-align: center;
  color: var(--white-color);
}

.cars-header h1 {
  font-family: var(--header-font);
  font-size: 70px;
}

.cars-header p {
  color: var(--first-color-light);
}

.cars-grids {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 10px;
  padding-top: 50px;
}

.cars-grid {
  position: relative;
  overflow: hidden;
}

.cars-grid-img {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.car-grid-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
}

.layer {
  position: absolute;
  top: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  height: 100%;
  width: 100%;
  transition: .5s;
  overflow: hidden;
}

.cars-grid-content {
  padding-top: 20px;
}

.cars-grid-content h3 {
  color: var(--white-color);
  font-family: var(--header-font);
  font-size: 25px;
  padding-bottom: 10px;
}

.cars-grid-rating {
  display: flex;
  gap: 5px;
}

.cars-grid-rating i {
  color: var(--first-color);
}




/* Aerodynamics */

.aerodynamics {
  padding: 0 0 100px;
  position: relative;
  overflow: hidden;
}

.aerodynamics-header {
  position: relative;
  overflow: hidden;
  width: 100%;
} 

.aerodynamics-header video {
  width: 100%;
  height: 100%;
}

.aero-head {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
}

.aero-head h1 {
  font-size: 70px;
  color: var(--white-color);
  font-family: var(--header-font);
  width: 100%;
  padding-bottom: 20px;
}

.aero-head a {
  padding: 12px 24px;
  background: var(--white-color);
  color: var(--text-color);
}

.aerodynamics-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
}




/* Explore */

.explore {
  padding: 0 0 100px;
  position: relative;
  overflow: hidden;
}

.explore-content h1 {
  font-size: 70px;
  font-family: var(--header-font);
  color: var(--white-color);
  padding-bottom: 30px;
}

.explore-content p {
  color: var(--first-color-light);
  text-align: right;
  padding-bottom: 30px;
}

.explore-img {
  width: 100%;
}

.explore-img img {
  width: 100%;
}

.explore-btn {
  margin-top: 30px;
}

.explore-btn a {
  padding: 10px 20px;
  background: var(--white-color);
  color: var(--text-color);
}


/* Feedback */

.feedback {
  position: relative;
  overflow: hidden;
}

.feedback-container {
  position: relative;
  padding: 0 0 100px;
}

.feedback-header {
  padding-bottom: 100px;
}

.feedback-header h1 {
  text-align: right;
  font-size: 70px;
  font-family: var(--header-font);
  color: var(--white-color);
  text-transform: capitalize;
}

.feedback-grids {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.feedback-grid {
  padding: 20px 20px;
  transition: .5s;
}

.f-grid-flex {
  display: flex;
  align-items: center;
}

.feedback-img {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.feedback-img img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 50%;
}


.feedback-grid-header {
  padding-bottom: 20px;
  font-size: 22px;
}

.feedback-user {
  color: var(--white-color);
}

.feedback-user h3 {
  color: var(--white-color);
  font-family: var(--header-font);
  font-size: 20px;
}

.feedback-user span {
  font-weight: 200;
  font-family: var(--header-font);
}

.feedback-grid-text {
  color: var(--first-color-light);
}

.feedback-grid-text i {
  font-size: 40px;
}

.feedback-rating {
  margin-top: 20px;
}

.feedback-rating i {
  color: var(--first-color);
}

.feedback-grid:hover {
  transform: translateY(-5px);
}


/* Contact */

.contact {
  position: relative;
  padding: 100px 0 100px;
  overflow: hidden;
  background: url(../img/contact.jpg);
  background-size: cover;
  background-color: rgba(0, 0, 0, 0.8);
  background-attachment: fixed;
  background-blend-mode: overlay;
  margin-bottom: 100px;
}

.contact-header {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

.contact-header h1 {
  color: var(--white-color);
  font-size: 70px;
  font-family: var(--header-font);
  padding-bottom: 30px;
}

.contact-link a {
  padding: 12px 24px;
  background: var(--white-color);
  color: var(--text-color);
}



.contact-details {
  padding-bottom: 100px;
  overflow: hidden;
  position: relative;
}

.contact-details-grids {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.contact-details-grid {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-details-grid i {
  color: var(--first-color);
  font-size: 30px;
}

.contact-det-cont p {
  color: var(--first-color-light);
}




/* Footer */

.footer {
  position: relative;
  padding: 0 0 20px;
  overflow: hidden;
}

.footer-line {
  width: 100%;
  height: 1px;
  background: var(--first-color-light);
}

.footer-grids {
  display: flex;
  justify-content: space-between;
  padding: 100px 0;
}

.footer-grid {
  flex: 5;
}

.footer-grid h3 {
  font-size: 50px;
  color: var(--white-color);
  font-family: var(--header-font);
  padding-bottom: 20px;
}

.footer-grid p {
  color: var(--first-color-light);
  padding-bottom: 10px;
}

.footer-grid a {
  color: var(--first-color);
  font-weight: 300;
}

.footer-grid-links {
  flex: 2;
}

.footer-grid-links h3 {
  font-size: 20px;
  color: var(--white-color);
  font-family: var(--header-font);
  padding-bottom: 20px;
}

.footer-links {
  padding-bottom: 10px;
}

.footer-links a {
  color: var(--first-color-light);
  font-weight: 300;
}

.footer-grid-2 {
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-grid-2 p {
  color: var(--white-color);
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-links {
  height: 50px;
  width: 50px;
  border-radius: 50%;
  background: var(--first-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-links a {
  color: #000000;
  font-size: 20px;
}





/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 340px) {
    .container {
      margin-inline: 1rem;
    }  
  }
  
  /* For medium devices */
  @media screen and (min-width: 767px) {
    .nav {
      height: calc(var(--header-height) + 1.5rem);
    }
    .nav__toggle,
    .nav__close,
    .nav__img {
      display: none;
    }
  
    .nav__link {
      font-size: 12px;
      color: var(--white-color);
    }
    .nav__list {
      flex-direction: row;
      column-gap: 1.5rem;
    }
  }
  
  
  /* For large devices */
  
  @media screen and (min-width: 1048px) {
    .container {
      margin-inline: auto;
    }
  }

  @media screen and (max-width: 768px) {
    .home-header {
      display: flex;
      align-items:flex-start;
      justify-content: space-between;
      flex-direction: column;
      gap: 30px;
  }
  
  .home-header h1 {
      font-size: 30px;
      width: 100%;
  }

  .home-spec-details {
    width: 100%;
  }

  .home-spec-details h3 {
    font-family: var(--header-font);
    font-size: 20px;
    padding-bottom: 5px;
  }

  .destination-header {
    flex-direction: column;
  }

  .destination-header h1 {
      font-size: 30px;
  }

  .destination-header p {
    text-align: right;
    width: 100%;
    color: var(--first-color-light);
  }

  .goal-header h1 {
    font-size: 30px;
}

.goal-grids {
  display: flex;
  flex-direction: column;
}

.goal-big-grid-2 {
 flex-direction: column;
}

.goal-grids-2 {
 flex-direction: column;
}

  .cars-header h1 {
    font-family: var(--header-font);
    font-size: 30px;
  }

  .cars-grid-content h3 {
    font-size: 20px;
  }  

  .aero-head h1 {
    font-size: 25px;
    color: var(--white-color);
    font-family: var(--header-font);
    width: 100%;
    padding-bottom: 20px;
  }
  
  .aero-head a {
    padding: 10px 20px;
  }

  .explore-content h1 {
    font-size: 30px;
  }

  .feedback-header h1 {
    text-align: right;
    font-size: 30px;
  }

  .contact-header h1 {
    font-size: 30px;
    width: 100%;
  }
  
  .contact-link a {
    padding: 10px 20px;
  }
  
  .contact-details-grids {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
  }

  .footer-grids {
    flex-direction: column;
    gap: 30px;
  }

  .footer-grid p {
    color: var(--first-color-light);
    padding-bottom: 10px;
    width: 100%;
  }

  .footer-grid-2 {
    flex-direction: column;
    gap: 20px;
  }

  }
