@import "./reset.css";
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

:root {
  --container-width: 1270px;
  --container-padding: 15px;
  --secondary: rgba(15, 31, 28, 0.5);
  --orange: #ff7c4e;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #f6f6f6;
  color: #0f1f1c;
}

.none {
  display: none !important;
}

.container {
  max-width: var(--container-width);
  padding: 0 var(--container-padding);
  margin: 0 auto;
}

.container-right {
  padding-left: calc(
    (100% - var(--container-width)) / 2 + var(--container-padding)
  );
}

.container-left {
  padding-right: calc(
    (100% - var(--container-width)) / 2 + var(--container-padding)
  );
}

/* Header */

.header {
  overflow: hidden;
  position: relative;
  min-height: 940px;
  padding-top: 44px;
  color: #fff;

  background:
    linear-gradient(132.05deg, #428e5f -17.38%, #112120 78.4%), #204434;
}

.header a {
  color: #fff;
}

.header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 96px;

  background-image: url("./../img/header/header-bottom.svg");
  background-size: 100%;
}

.header__top {
  margin-bottom: 86px;
}

.header__row {
  display: flex;
}

.header__content {
  max-width: 592px;
  position: relative;
  z-index: 1;
}

.header__img {
  position: relative;
  flex-grow: 1;
}

.header__img img {
  position: absolute;
  top: -181px;
  right: -87;

  max-width: unset;
  width: 894px;
  height: 940px;

  pointer-events: none;
}

.header__img::after {
  content: "";

  position: absolute;
  top: 0px;
  right: -170px;

  width: 830px;
  height: 622px;

  background-image: url("./../img/header/header-elements.svg");
  pointer-events: none;
}

/* Nav */

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  column-gap: 80px;

  font-weight: 500;
  font-size: 15px;
}

.nav__list {
  display: flex;
  gap: 80px;
}

.nav__list a {
  position: relative;
}

.nav__list a.active::after,
.nav__list a:hover::after {
  content: "";
  display: block;

  position: absolute;
  background: #c4c4c4;
  border-radius: 100px;
  width: 35px;
  height: 4px;
}

.nav__list.nav__list--footer a.active::after,
.nav__list.nav__list--footer a:hover::after {
  display: none;
}

.nav__list.nav__list--footer a.active,
.nav__list.nav__list--footer a:hover {
  color: var(--orange);
}

.nav__login {
  display: flex;
  align-items: center;
  gap: 25px;
  font-style: 15px;
  font-weight: 500;
}

.nav__toggle {
  display: none;
}

/* Logo */

.logo {
  font-weight: 700;
  font-size: 20px;
  color: #fff;
}

.logo a {
  color: inherit !important;
}

.logo--footer {
  color: var(--orange);
}

/* Header content */

.header__badge {
  font-weight: 500;
  font-size: 18px;

  display: inline-block;

  padding: 12px 30px;

  border-radius: 15px;
  background: rgba(255, 255, 255, 0.25);

  margin-bottom: 7px;
}

.header__title {
  max-width: 592px;
  font-weight: 400;
  font-size: 55px;

  margin-bottom: 30px;
}

.header__text {
  color: rgba(240, 240, 240, 0.5);
  font-weight: 700;
  font-size: 25px;

  margin-bottom: 68px;
}

/* Destinations */

.destinations {
  padding: 96px 0 100px;
  overflow-x: hidden;
}

.destinations__row {
  display: flex;
  gap: 50px;
}

.destinations__content {
  max-width: 456px;
}

.destinations__slider {
  width: 1110px;
  flex-shrink: 0;
}

.destinations__title {
  font-size: 55px;
  font-weight: 600;

  margin-bottom: 15px;
}

.destinations__title span {
  font-size: 30px;
}

.destinations__text {
  font-size: 25px;
  font-weight: 500;
  color: var(--secondary);

  margin-bottom: 60px;
}

/* Slider */

.owl-item {
}

.slider {
  height: 456px;
  position: relative;
}

.slider__item {
  margin-top: 27px;

  width: 335px;
  height: 402px;
  object-fit: cover;
  border-radius: 35px;
  transition: 0.4s ease-in;
}

.slider .center .slider__item {
  margin-top: 0;
  width: 380px;
  height: 456px;
}

.slider__btn {
  display: block;
  width: 68px;
  height: 68px;
  border-radius: 50%;

  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9;

  display: flex;
  align-items: center;
  padding-left: 26px;

  background:
    linear-gradient(129.54deg, #ff7b4e 15.57%, #ff584e 95.03%), #8b8b8b;
}

.slider__btn--prev {
  left: -27px;
  padding-left: 26px;
  justify-content: flex-start;
}

.slider__btn--next {
  right: -27px;
  padding-right: 26px;
  justify-content: flex-end;
}

/* Customers */

.customers {
  padding: 100px 0 133px;
}

.customers__row {
  display: flex;
  gap: 68px;
}

.customers__img {
  max-width: 478px;
}

.customers__img img {
  border-radius: 60px;
}

.customers__content {
}

.customers__title {
  font-size: 45px;
  font-weight: 500;
  margin-bottom: 35px;
}

/* Review */

.review {
  max-width: 490px;
}

.review__client {
  display: flex;
  align-items: center;
  column-gap: 33px;
  margin-bottom: 60px;
}

.review__client-avatar {
  overflow: hidden;
  width: 134px;
  height: 134px;
  border-radius: 50%;
  background-color: #ff794e;
}

.review__client-desc {
}

.review__client-desc-name {
  font-size: 33px;
  font-weight: 500;
  margin-bottom: 10px;
}
.review__client-desc-country {
  font-size: 25px;
  color: var(--secondary);
}

.review__text {
  color: var(--secondary);
  font-size: 22px;
  font-weight: 500;

  margin-bottom: 30px;
}
.review__rating {
}

/* CTA */

.cta {
  padding: 100px 0;
}

.cta__plate {
  position: relative;
  min-height: 580px;
  padding: 40px 15px;

  background-color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  border-radius: 60px;
}

.cta__plate::before,
.cta__plate::after {
  content: "";

  position: absolute;
  width: 63px;
  height: 83px;
}

.cta__plate::before {
  background-image: url("./../img/cta/cta-el-01.svg");

  left: 74px;
  bottom: 56px;
}

.cta__plate::after {
  background-image: url("./../img/cta/cta-el-02.svg");

  top: 74px;
  right: 80px;
}

.cta__title {
  text-align: center;
  font-size: 45px;
  font-weight: 500;
  margin-bottom: 30px;
}

.cta__text {
  font-size: 30px;
  color: var(--secondary);

  margin-bottom: 60px;
}

/* Subscribe */

.subscribe {
  padding: 35px 0 50px;
}

.subscribe__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.subscribe__title {
  max-width: 494px;

  font-size: 55px;
  font-weight: 600;
}

/* subscribe-form */

.subscribe-form {
  padding: 12px 15px 12px 46px;
  border-radius: 35px;
  background-color: #fff;

  display: flex;
  column-gap: 20px;
}

.subscribe-form__input {
  font-size: 24px;
  font-weight: 500;
  color: var(--secondary);
}

.subscribe-form__input::placeholder {
  color: var(--secondary);
}

/* Footer */

.footer {
  padding: 56px 0 74px;
}

.footer a {
  color: var(--secondary);
}

/* Buttons */

.btn {
  display: inline-block;
  padding: 25px 45px;
  color: #fff;

  background: linear-gradient(129.54deg, #ff7b4e 15.57%, #ff584e 95.03%);
  border-radius: 27px;

  font-size: 20px;
  font-weight: 600;
}

.btn:hover {
  color: #ffd700;
  transition: color 0.4s ease-in;
}

.btn:active {
  position: relative;
  top: 2px;
}

.btn--login {
  padding: 13px 44px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 100px;
}

.btn--header {
  font-size: 25px;
  font-weight: 600;

  padding: 27px 48px;
  display: inline-block;

  border-radius: 27px;
  background: linear-gradient(129.54deg, #ff7b4e 15.57%, #ff584e 95.03%);
}

.btn--subscribe {
  display: inline-block;
  padding: 36px 86px;

  border-radius: 35px;

  font-size: 25px;
  font-weight: 600;
  color: #fff;

  background:
    linear-gradient(129.54deg, #ff7b4e 15.57%, #ff584e 95.03%), #8b8b8b;
}

/* Menu Icon */

.menu-icon-wrapper {
  --time: 0.1s;
  --width: 40px;
  --height: 30px;
  --line-height: 4px;
  --color: #fff;

  height: var(--height);
  width: var(--width);
  display: flex;
  justify-content: center;
  align-items: center;
}

.menu-icon {
  position: relative;
  width: var(--width);
  height: var(--line-height);
  background-color: var(--color);
}

.menu-icon::before,
.menu-icon::after {
  content: "";
  display: block;

  position: absolute;
  left: 0;

  width: var(--width);
  height: var(--line-height);

  background-color: var(--color);
  transition:
    transform var(--time) ease-in,
    top var(--time) linear var(--time);
}

.menu-icon::before {
  top: calc(var(--line-height) * -2);
}

.menu-icon::after {
  top: calc(var(--line-height) * 2);
}

.menu-icon.menu-icon--active {
  background-color: transparent;
}

.menu-icon.menu-icon--active::before,
.menu-icon.menu-icon--active::after {
  top: 0;
  transition:
    top var(--time) linear,
    transform var(--time) ease-in var(--time);
}

.menu-icon.menu-icon--active::before {
  transform: rotate(45deg);
}

.menu-icon.menu-icon--active::after {
  transform: rotate(-45deg);
}

/* Media */
@media (max-width: 1269px) {
  .container-right {
    padding-left: 15px;
  }

  .container-left {
    padding-right: 15px;
  }
}

@media (max-width: 1200px) {
  .destinations__slider {
    width: 900px;
  }
}

@media (max-width: 1000px) {
  .nav__list--header {
    display: none;
  }

  .nav__login--header {
    display: none;
  }

  .nav {
    column-gap: 50px;
  }

  .nav__list {
    column-gap: 50px;
  }

  .nav__toggle {
    display: block;
  }

  .no-scroll {
    overflow-y: hidden;
  }

  .nav--mobile {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 99;

    flex-direction: column;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 40px;

    background:
      linear-gradient(209deg, #428e5f -17.38%, #112120 78.4%), #204434;
  }

  .nav--mobile .logo {
    font-size: 34px;
  }

  .nav--mobile .nav__list {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 40px;

    font-size: 22px;
  }

  .nav--mobile .nav__list a.active::after,
  .nav--mobile .nav__list a:hover::after {
    display: none;
  }

  .nav--mobile .nav__login {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 40px;

    font-size: 22px;
  }

  .nav--mobile .nav__toggle {
    position: fixed;
    top: 50px;
    right: 50px;
  }

  .header__img img {
    right: -256px;
  }

  .header__img::after {
    right: -300px;
  }

  .destinations__slider {
    width: 600px;
  }

  .slider {
    height: 304px;
  }

  .slider .slider__item {
    margin-top: 18px;
    width: 223px;
    height: 268px;
  }

  .slider .center .slider__item {
    margin-top: 0;
    width: 253px;
    height: 304px;
  }
}

@media (max-width: 850px) {
  .container-right {
    padding-right: 15px;
  }

  .header {
    padding-top: 20px;
    min-height: unset;
  }

  .header__top {
    margin-bottom: 40px;
  }

  .header__row {
    flex-direction: column;
  }
  .header__img img {
    position: static;
    width: 70%;
    height: auto;
  }

  .header__img::after {
    top: 100px;
    right: 0px;
  }

  .header__title {
    margin-bottom: 20px;
    font-size: 35px;
  }

  .header__text {
    max-width: 400px;
    margin-bottom: 40px;
    font-size: 20px;
  }

  .header__badge {
    margin-bottom: 5px;
    padding: 8px 20px;
    font-size: 16px;
    border-radius: 10px;
  }

  .btn--header {
    padding: 20px 30px;
    font-size: 20px;
    border-radius: 18px;
  }

  .destinations {
    padding: 40px 0 50px;
  }

  .destinations__row {
    flex-direction: column;
    row-gap: 30px;
  }

  .destinations__slider {
    width: 100%;
  }

  .slider__btn--prev {
    left: -15px;
  }
  .slider__btn--next {
    right: -15px;
  }

  .destinations__title {
    margin-bottom: 10px;
    font-size: 35px;
  }

  .destinations__title span {
    font-size: 20px;
    display: block;
  }

  .destinations__text {
    margin-bottom: 30px;
    font-size: 20px;
  }

  .btn {
    padding: 20px 35px;
    border-radius: 20px;
    font-size: 18px;
  }

  .btn--login {
    padding: 13px 44px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 100px;
  }

  /* Customer */

  .customers {
    padding: 50px 0 60px;
  }

  .customers__row {
    column-gap: 30px;
  }

  .customers__title {
    margin-bottom: 25px;
    font-size: 35px;
  }

  .review__client {
    column-gap: 30px;
    margin-bottom: 20px;
  }

  .review__client-avatar {
    width: 80px;
    height: 80px;
  }

  .review__client-desc-name {
    margin-bottom: 5px;
    font-size: 23px;
  }

  .review__client-desc-country {
    font-size: 18px;
  }

  .review__text {
    margin-bottom: 20px;
    font-size: 18px;
  }

  .review__rating {
    max-width: 200px;
  }

  .customers__img img {
    max-width: 250px;
    border-radius: 40px;
  }

  /* CTA */

  .cta {
    padding: 50px 0;
  }

  .cta__title {
    font-size: 35px;
    margin-bottom: 20px;
  }

  .cta__text {
    margin-bottom: 30px;
    font-size: 20px;
  }

  .cta__plate {
    min-height: 380px;
    padding: 20px 15px;
    border-radius: 40px;
  }

  /* subscribe */

  .subscribe {
    padding: 25px 0 30px;
  }

  .subscribe__title {
    margin-bottom: 30px;
    font-size: 35px;
  }

  .subscribe-form {
    padding: 10px 10px 10px 20px;
    border-radius: 25px;
    column-gap: 10px;
  }

  .subscribe-form__input {
    font-size: 20px;
  }

  /* Footer */

  .nav__login--footer {
    display: flex;
    gap: 10px;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .customers__row {
    flex-direction: column-reverse;
    row-gap: 30px;
  }

  .nav__list {
    column-gap: 20px;
  }
}

@media (max-width: 600px) {
  .nav--footer {
    flex-direction: column;
    row-gap: 30px;
  }

  .nav {
    justify-content: space-around;
    column-gap: 80px;
  }

  .nav__list--footer {
    display: flex;
    gap: 10px;
    flex-direction: column;
  }
}

@media (max-width: 460px) {
  .customers__img img {
    max-width: 100%;
  }

  .subscribe-form {
    padding: 10px;
    flex-direction: column;
    row-gap: 10px;
  }

  .subscribe-form__input {
    padding: 15px 0;
    text-align: center;
    background-color: #f0f0f0;
    border-radius: 20px;
    font-size: 18px;
  }

  .nav__list--footer {
    flex-direction: column;
    row-gap: 15px;
    align-items: center;
  }
}

@media (max-width: 460px) {
  .nav--mobile .nav__toggle {
    top: 20px;
    right: 15px;
  }

  .nav--mobile .nav__list,
  .nav--mobile .nav__login {
    row-gap: 20px;
  }
}
