@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;
}

.container {
  max-width: var(--container-width);
  padding: 0 var(--container-padding);
  margin: 0 auto;
}

.block {
  height: 200px;
  background-color: blueviolet;
}

.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 {
  min-height: 940px;
  padding-top: 44px;
  background: linear-gradient(132.05deg, #428e5f -17.38%, #112120 78.4%),
    #204434;
  position: relative;
  overflow: hidden;
}

.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: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.header__top {
  margin-bottom: 86px;
  /* position: relative;
  z-index: 2; */
}

/* nav */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  column-gap: 80px;
}

.logo {
  font-weight: 700;
  font-size: 20px;
}

.nav__list {
  display: flex;
  column-gap: 80px;
  font-weight: 500;
  font-size: 15px;
}

.nav__list a {
  position: relative;
}

.nav__list a.active::after,
.nav__list a:hover::after {
  content: "";
  position: absolute;
  display: block;
  /* width: 35px; */
  height: 4px;
  background: #c4c4c4;
  border-radius: 50px;
  left: 0;
  right: 10px;
  bottom: -6px;
}

.nav__login {
  display: flex;
  align-items: center;
  column-gap: 25px;
}

.nav__login a {
  font-weight: 500;
  font-size: 15px;
}

.login__btn {
  display: inline-block;
  padding: 13px 43px;
  background: linear-gradient(129.54deg, #ff7b4e 15.57%, #ff584e 95.03%),
    #ffffff;
  border-radius: 100px;
}

.nav__toggle {
  display: none;
}

.header__row {
  display: flex;
  position: relative;
}

.header__row::before {
  content: "";
  position: absolute;
  background-image: url(../img/header/el-1.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  width: 48px;
  height: 63px;
  right: 700px;
}

.header__row::after {
  content: "";
  position: absolute;
  background-image: url(../img/header/el-2.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  width: 157px;
  height: 37px;
  right: 61px;
}

.header__row span::before {
  content: "";
  position: absolute;
  background-image: url(../img/header/el-3.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  width: 157px;
  height: 37px;
  bottom: -95px;
  right: 660px;
}

.header__row span::after {
  content: "";
  position: absolute;
  background-image: url(../img/header/el-4.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  width: 63px;
  height: 83px;
  bottom: -95px;
  right: 0;
}

/* header__content */
.header__content {
  max-width: 592px;
  z-index: 1;
}

.header__badge {
  font-weight: 500;
  font-size: 18px;
  padding: 11px 30px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 15px;
  color: #fff;
  display: inline-block;
  margin-bottom: 7px;
}

.header__title {
  font-weight: 400;
  font-size: 55px;
  line-height: 82px;
  color: #fff;
  margin-bottom: 30px;
}

.header__text {
  font-weight: 700;
  font-size: 25px;
  line-height: 38px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 68px;
}

.header__btn {
  padding: 26px 47px;
  font-weight: 600;
  font-size: 25px;
  background: linear-gradient(129.54deg, #ff7b4e 15.57%, #ff584e 95.03%);
  border-radius: 27px;
}

.header__img {
  position: relative;
  flex-grow: 1;
}

.header__img img {
  position: absolute;
  max-width: unset;
  width: 894px;
  height: 940px;
  top: -180px;
  right: -80px;
  pointer-events: none;
}

/* destinations */
.destinations {
  padding: 96px 0 100px;
  overflow-x: hidden;
}

.destinations__row {
  display: flex;
  column-gap: 50px;
}

.destinations__content {
  max-width: 456px;
  width: 100%;
}

.destinations__title {
  font-weight: 600;
  font-size: 55px;
  line-height: 82px;
  color: #0f1f1c;
  margin-bottom: 15px;
}

.destinations__title span {
  font-size: 30px;
}

.destinations__text {
  font-weight: 500;
  font-size: 25px;
  line-height: 38px;
  color: var(--secondary);
  margin-bottom: 60px;
}

.btn {
  padding: 24px 44px;
  font-weight: 600;
  font-size: 20px;
  background: linear-gradient(129.54deg, #ff7b4e 15.57%, #ff584e 95.03%);
  border-radius: 27px;
  color: #fefefe;
}

.btn:active {
  position: relative;
  top: 1px;
}

.destinations__slider {
  width: 1110px;
  height: 456px;
  flex-shrink: 0;
}

/* slider */
.slider {
  position: relative;
  height: 456px;
}

.slider__item {
  margin-top: 27px;
  width: 335px;
  height: 402px;
  object-fit: cover;
  border-radius: 35px;
  transition: 0.2s ease-in;
}

.slider .center .slider__item {
  margin-top: 0;
  width: 380px;
  height: 456px;
}

.slider__btn {
  display: block;
  width: 68px;
  height: 68px;
  background: linear-gradient(129.54deg, #ff7b4e 15.57%, #ff584e 95.03%),
    #8b8b8b;
  border-radius: 34px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}

.slider__btn--prev {
  left: -27px;
}

.slider__btn--next {
  right: -27px;
}

.slider__btn--next img {
  z-index: 1;
  transform: rotate(180deg);
}

/* customers */

.customers {
  padding: 100px 0 133px;
}

.customers__row {
  display: flex;
  column-gap: 68px;
}

.customers__img {
  width: 478px;
}

.customers__img img {
  border-radius: 60px;
}

.customers__title {
  font-weight: 500;
  font-size: 45px;
  line-height: 68px;
  color: #0f1f1c;
  margin-bottom: 35px;
}

/* review  */
.review {
  max-width: 490px;
}

.review__client {
  margin-bottom: 60px;
  display: flex;
  column-gap: 33px;
  align-items: center;
}

.review__client-avatar {
  overflow: hidden;
  width: 134px;
  height: 134px;
  background: #ff794e;
  border-radius: 50%;
}

.review__client-desc h3 {
  margin-bottom: 10px;
  font-size: 33px;
  font-weight: 500;
}

.review__client-desc p {
  font-weight: 400;
  font-size: 25px;
  color: var(--secondary);
}

.review__text {
  margin-bottom: 30px;
  color: var(--secondary);
  font-size: 22px;
  font-weight: 500;
}

/* cta */

.cta {
  padding: 100px 0;
}
.cta__plate {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 580px;
  border-radius: 60px;
  padding: 40px 15px;
  background-color: #fff;
  position: relative;
}

.cta__plate::before,
.cta__plate::after {
  position: absolute;
  width: 63px;
  height: 83px;
}

.cta__plate::before {
  content: "";
  background-image: url(../img/cta/cta-el-01.svg);
  left: 74px;
  bottom: 56px;
}

.cta__plate::after {
  content: "";
  background-image: url(../img/cta/cta-el-02.svg);
  top: 74px;
  right: 80px;
}

.cta__title {
  font-size: 45px;
  font-weight: 500;
  margin-bottom: 30px;
}
.cta__text {
  margin-bottom: 60px;
  font-size: 30px;
  color: var(--secondary);
}

/* 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;
  margin-bottom: 60px;
  font-weight: 600;
}

.subscribe-form {
  max-width: 800px;
  width: 100%;
  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;
  width: 100%;
}

.subscribe-form__input::placeholder {
  color: var(--secondary);
}

.subscribe-form__btn {
  padding: 33px 86px;
  font-size: 25px;
  font-weight: 600;
  border-radius: 35px;
}

/* footer */

.footer {
  padding: 56px 0 74px;
}

.footer a {
  color: var(--secondary);
}

a.logo--footer {
  color: var(--orange);
}

.nav__list--footer a:hover::after,
.nav__list--footer a.active::after {
  display: none;
}

.nav__list--footer a:hover,
.nav__list--footer a.active {
  color: var(--orange);
}

/* header burger-menu */
.menu-icon-wrapper {
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.menu-icon {
  position: relative;
  width: 30px;
  height: 5px;
  background-color: #fff;
}

.menu-icon::before {
  position: absolute;
  left: 0;
  top: -10px;
  content: "";
  width: 30px;
  height: 5px;
  background-color: #fff;
  transition: transform 0.2s ease-in, top 0.2s linear 0.2s;
}

.menu-icon::after {
  position: absolute;
  left: 0;
  top: 10px;
  content: "";
  width: 30px;
  height: 5px;
  background-color: #fff;
  transition: transform 0.2s ease-in, top 0.2s linear 0.2s;
}

.menu-icon.menu-icon--active {
  background-color: transparent;
}

.menu-icon.menu-icon--active::before {
  transform: rotate(45deg);
  top: 0;
  transition: top 0.2s linear, transform 0.2s ease-in 0.2s;
}

.menu-icon.menu-icon--active::after {
  transform: rotate(-45deg);
  top: 0;
  transition: top 0.2s linear, transform 0.2s ease-in 0.2s;
}
