@use "../abstracts/" as *;

/* Home style
-------------------------------------------------------------- */
.slider-page {
  margin: 122px 0 48px;

  .slide-inner {
    position: relative;
    @include flex(center, flex-start);

    .content {
      position: absolute;
      z-index: 1;
      padding: 0 16px 28px 68px;

      h2 {
        padding-left: 4px;
      }

      p {
        padding-left: 4px;
        font-family: $font-1;
        font-size: 17px;
        letter-spacing: 1.7px;
      }
    }
  }
}

.sl-product-4 {
  margin-left: -27px;
}

.slider-page-style2 {
  display: flex;

  .mySwiper1 {
    width: 68.2%;
    margin-left: 0;
  }

  .right {
    width: 31.8%;

    .box {
      padding: 50px 55px 55px;
      height: 50%;

      &.style {
        padding: 58px 55px 55px;
        .content {
          padding-left: 40%;

          h3 {
            font-size: 40px;
            line-height: 45px;
          }
        }
      }

      .content {
        position: relative;
        text-align: left;

        h5 {
          text-transform: uppercase;
          color: $color-2;
          font-style: italic;
          letter-spacing: 1.2px;
        }

        h3 {
          font-size: 45px;
          line-height: 35px;
        }

        .img-link {
          img {
            height: 47px;
          }
        }
      }
    }
  }

  .bg_slide,
  .bg_slide {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;

    img {
      width: 100%;
      height: 100%;
    }
  }

  .slide-inner {
    position: relative;
    display: flex;
    align-items: center;
    padding: 77px 0;
    height: 100%;

    .content,
    .image {
      width: 50%;
      z-index: 1;

      h2 {
        font-size: 70px;
        line-height: 75px;
      }
    }
    &.t1 {
      justify-content: center;
      h2 {
        text-align: center;
      }
    }
  }
}

.tf-title {
  position: relative;

  &.left {
    &::after {
      left: 0;
    }
  }

  &.center {
    &::after {
      left: 50%;
      transform: translateX(-50%);
    }
  }

  &::after {
    position: absolute;
    content: "";
    bottom: 0;
    height: 4px;
    width: 108px;
    background-color: $color-main;
    border-radius: 4px;
  }

  .sub-title {
    text-transform: uppercase;
    margin-bottom: 10px;
    color: $color-2;
    letter-spacing: 1.5px;
  }

  h2 {
    letter-spacing: 1px;
    color: $color-3;

    &.white {
      color: $white;
    }
  }
}

.ic-botom {
  position: relative;

  &::before {
    border-radius: 4px;
    position: absolute;
    content: "";
    width: 60px;
    height: 4px;
    background-color: $color-main;
    bottom: 0;
    left: 0;
  }
}

.counter_wrapper {
  margin-top: 50px;
  padding: 40px 200px;
  display: flex;
  border-radius: 20px;

  .box {
    position: relative;
    width: 25%;
    padding: 22px 15px 28px;
    border-right: 1px dashed rgba(239, 239, 239, 0.2);

    &:nth-child(1) {
      padding: 22px 0 28px 20px;
    }

    &:nth-child(2) {
      padding: 22px 4px 28px 20px;
    }

    &:nth-child(4) {
      padding: 22px 10px 28px 0px;
    }

    &:last-child {
      border: none;

      &::after {
        display: none;
      }
    }

    .content {
      .box-couter {
        text-align: center;
      }

      .number-content {
        font-family: $font-1;
        font-size: 50px;
        font-weight: bold;
        color: $color-main;
        line-height: 1.2;
        letter-spacing: 2px;
      }

      .desc {
        text-align: center;
        font-size: 17px;
        color: $white;
        letter-spacing: 0.5px;
        text-transform: uppercase;
      }
    }

    &::after {
      position: absolute;
      bottom: 30px;
      right: -6.5px;
      content: "";
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background-color: $color-4;
    }

    &.style {
      &::after {
        bottom: auto;
        top: 20px;
      }
    }
  }
}

.home1 {
  .testimonial-wrapper {
    .swiper-next-testimonial {
      right: 8.4%;
      top: 35%;
    }
    .swiper-prev-testimonial {
      left: 8.4%;
      top: 35%;
    }
  }
}

.testimonial-wrapper {
  position: relative;

  &.style3 {
    .testimonial-list ul li {
      margin: 0 10px;
    }
  }

  .swiper-next-testimonial,
  .swiper-prev-testimonial {
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    background-color: rgb(245, 168, 28);
    position: absolute;
    width: 63px;
    height: 63px;
    @include flex(center, center);
    box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.2);
    @include transition3;

    svg {
      width: 30px;
      height: 30px;

      path {
        fill: $white;
      }
    }

    &:hover,
    &.swiper-button-disabled {
      box-shadow: 0px 0px 18.27px 2.73px rgba(0, 0, 0, 0.2);
    }
  }

  .swiper-next-testimonial {
    right: 5%;
  }

  .swiper-prev-testimonial {
    left: 5%;
  }

  .testimonial-slider {
    max-width: 1170px;
    margin: 0 auto;

    .testimonial-item-style2 {
      text-align: center;
      border-radius: 35px;
      background-color: rgb(255, 244, 234);
      position: relative;
      padding: 50px 108px 54px;

      .img-bg {
        position: absolute;
        right: 0;
        top: 0;
      }

      .name {
        color: $color-2;
        margin-bottom: 4px;
        letter-spacing: 0.5px;
      }

      .desc {
        font-size: 17px;
        line-height: 28px;
        color: $color-3;
        font-family: $font-1;
        margin-bottom: 15px;
        letter-spacing: 0.2px;
      }
    }

    .testimonial-item {
      text-align: center;
      padding: 0 90px;

      .icon {
        width: 71px;
        height: 32px;
        margin: 0 auto 48px;
      }

      p {
        font-size: 20px;
        line-height: 2;
        font-family: $font-1;
        letter-spacing: 0.6px;

        &.name {
          font-style: italic;
          font-weight: 600;

          span {
            color: $color-4;
          }
        }
      }
    }
  }

  /* CSS cho slider testimonial */
  .testimonial-slider {
    position: relative;
  }

  .testimonial-slider .swiper-slide {
    width: 100%;
  }

  /* CSS cho danh sách người */
  .testimonial-list {
    &.style2 {
      ul {
        li a {
          width: 140px;
          height: 140px;
        }
      }
    }

    ul {
      display: flex;
      justify-content: center;
      list-style: none;
      padding: 0;

      li {
        margin: 0 18px;

        a {
          text-decoration: none;
          display: flex;
          width: 65px;
          height: 65px;
          border-radius: 50%;
          overflow: hidden;
          position: relative;
        }
      }
    }
  }

  .testimonial-list-item a {
    &::before {
      @include transition3;
      border-radius: 50%;
      position: absolute;
      width: 100%;
      height: 100%;
      left: 0;
      top: 0;
      content: "";
      border: 2.5px solid transparent;
      z-index: 1;
    }
    img {
      filter: grayscale(100%);
      @include transition3;
    }

    &.active {
      &::before {
        border-color: rgb(245, 168, 28);
      }
      img {
        filter: none;
      }
    }
  }
}

img.item-snack-bottom {
  position: absolute;
  bottom: -137px;
  left: -87px;
  &.right {
    left: unset;
    right: -74px;
    transform: rotateY(180deg);
  }
  &.t1 {
    bottom: -93px;
  }
}

.banner-1 {
  z-index: 2;
  position: relative;

  .overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url("./../../assets/images/backgroup/bg-section-2.jpg") center
      center no-repeat;
    background-size: cover;
    z-index: 1;
  }

  .image {
    width: 56%;
    z-index: 2;
    position: relative;

    img {
      max-width: 800px;
      width: 100%;
    }
  }

  .wrap-banner {
    width: 100%;
  }

  .content {
    width: 44%;
    z-index: 2;
    padding-left: 2px;
    padding-bottom: 6px;
    padding: 30px 0 36px 2px;

    p {
      font-family: $font-1;
      color: $white;
      font-weight: bold;
      font-style: italic;

      &:nth-child(1) {
        margin-bottom: 15px;
        font-size: 40px;
        line-height: 1;
        letter-spacing: 1px;
        padding-left: 25px;
      }

      &:nth-child(2) {
        margin-bottom: 10px;
        font-size: 60px;
        line-height: 40px;
        letter-spacing: 1.5px;
        padding-left: 12px;
      }

      &:nth-child(3) {
        font-size: 80px;
        line-height: 60px;
        margin-bottom: 35px;
      }
    }
  }
}

.subscribe {
  position: relative;
  align-items: center;

  .icon {
    position: absolute;
    left: 50px;
    border-radius: 50%;
    overflow: hidden;
    width: 81px;
    height: 81px;
    background-color: rgb(245, 168, 28);
    @include flex(center, center);
    top: 35%;

    img {
      width: 37px;
      height: 37px;
    }
  }

  .content {
    width: 52%;
    padding-right: 10px;

    h4 {
      line-height: 40px;
    }
  }

  .form {
    form {
      overflow: hidden;
      border-radius: 30px;
      width: 100%;
      height: 50px;
      position: relative;

      input {
        background-color: $white;
        border: none;
        outline: none;
        color: $color-3;
        font-size: 15px;

        &::placeholder {
          color: $color-3;
          font-size: 15px;
        }
      }

      button {
        &:hover {
          background-color: $color-3;

          svg {
            path {
              fill: $white;
            }
          }
        }

        @include transition3;
        position: absolute;
        top: 4px;
        right: 6px;
        border-radius: 50%;
        width: 42px;
        height: 42px;
        background-color: $color-main;
        @include flex(center, center);

        svg {
          width: 15px;
          height: 15px;

          path {
            @include transition3;
            fill: $white;
          }
        }
      }
    }
  }

  &.style1 {
    padding: 67px 50px 67px 160px;

    .form {
      padding-right: 14px;
      padding-left: 12px;
      width: 48%;
    }
  }

  &.style2 {
    padding: 84px;

    .form {
      form {
        max-width: 583px;
      }
    }

    .icon {
      top: 15px;
      left: 0;
      background-color: rgb(220, 3, 4);
    }
  }

  .overlay {
    z-index: -1;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;

    img {
      width: 100%;
      height: 100%;
    }
  }
}

.content-box {
  z-index: 1;

  h2.style {
    font-size: 90px;
    letter-spacing: 1px;
  }

  .button {
    @include flex(center, center);
    background-color: $color-main;
    width: 125px;
    height: 125px;
    min-width: 125px;
    border-radius: 20px;

    &.style2 {
      &:hover {
        background-color: $white;

        svg {
          path {
            fill: $color-3;
          }
        }
      }
    }

    svg {
      width: 50px;
      height: 50px;

      path {
        fill: $white;
        @include transition3;
      }
    }

    &:hover {
      background-color: $color-3;
    }
  }

  .list {
    display: flex;
    align-items: flex-start;

    li {
      margin-right: 32px;
      display: flex;
      align-items: flex-start;

      &:nth-child(2) {
        margin-right: 0;
      }

      svg {
        margin: 5px 10px 0 0px;
        width: 16px;
        height: 16px;
      }

      span {
        font-size: 17px;
        text-transform: uppercase;
        color: $white;
        letter-spacing: 1px;
      }
    }
  }

  &.style2 {
    padding: 0px 15px 20px 82px;
    h2.style2 {
      line-height: 60px;
    }
    h2.style {
      margin-bottom: -5px;
    }
  }

  &.style3 {
    padding: 102px 60px 0px 83px;
  }
  &.style4 {
    padding: 0px 65px 22px 83px;
  }
}

.image-wraper {
  .image {
    width: 50%;
  }
}

.page-title-inner {
  border-radius: 35px;
  position: relative;
  padding: 125px 15px 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  .bg-page-title-inner {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    img {
      width: 100%;
      height: 100%;
    }
  }

  .title {
    margin-bottom: 74px;
    font-size: 70px;
    position: relative;
    padding-bottom: 20px;

    &::before {
      position: absolute;
      content: "";
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      border-radius: 2px;
      background-color: $color-main;
      width: 89px;
      height: 4px;
    }
  }

  .icon_1,
  .icon_2 {
    position: absolute;
    z-index: 1;
  }

  .icon_1 {
    left: -1.5%;
    bottom: -12%;
  }

  .icon_2 {
    right: -1%;
    bottom: -15%;
  }

  .overlay {
    top: 0;
    left: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 35px;
    background-color: rgb(0, 0, 0);
    opacity: 0.4;
    z-index: 0;
  }

  .breadcrumb {
    z-index: 1;
  }

  ul {
    background-color: $color-2;
    height: 46px;
    border-radius: 23px;
    display: inline-block;
    padding: 9px 30px;

    li {
      display: inline-block;

      svg {
        width: 20px;
        height: 20px;
        margin: 0 4px;

        path {
          fill: $white;
        }
      }

      a,
      span {
        color: $white;
      }

      a:hover {
        color: $color-main;
      }
    }
  }
}

.content-box-style {
  border-radius: 35px;
  padding: 5.4% 21% 4.8%;
  text-align: center;
  overflow: hidden;

  &.style2 {
    padding: 5.4% 17% 4.8%;
  }

  h5 {
    line-height: 45px;
    font-weight: 400;
    letter-spacing: 0.8px;
  }
}

.about-content {
  height: 100%;
  padding: 52px 50px 50px;
  background-color: #fff4ea;

  &.style1 {
    padding: 50px 50px 50px 62px;
  }

  .content {
    width: 60%;
    position: relative;
    z-index: 1;
  }

  .inner-box {
    max-width: 343px;
    width: 100%;
    padding: 65px 40px;
    position: relative;

    .w-167 {
      width: 167px;
    }

    &.style2 {
      padding: 22px 25px 55px 33px;

      .phone {
        font-size: 40px;
      }
    }

    &.style {
      background: url("./../../assets/images/backgroup/bg-about-us.png") center
        center no-repeat;
      background-size: cover;
      text-align: center;
      padding-bottom: 115px;
      padding-top: 38px;

      > img {
        width: 118px;
      }

      h2 {
        font-size: 50px;
      }
    }

    .icon {
      right: -10px;
      top: -15px;
      position: absolute;
    }

    .fz-20 {
      font-size: 20px;
    }

    .lh-1_75 {
      line-height: 1.75;
    }

    .italic {
      font-style: italic;
    }

    .fz-13 {
      font-size: 13px;
    }
  }
}

.book-table {
  padding: 115px 225px 130px;
  border-radius: 35px;

  > div {
    position: relative;
    z-index: 1;
  }
}

.form-book-table {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;

  fieldset {
    width: calc((100% - 30px) / 3);
    margin-bottom: 15px;

    input {
      box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.29);
    }
  }

  .dropdown {
    .dropdown-menu {
      width: 100%;
      border-radius: 5px;
    }

    .btn-selector {
      position: relative;
      color: $color-3;
      font-family: $font-2;
      font-size: 15px;
      text-decoration: none;
      background-color: rgb(255, 255, 255);
      box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.29);
      height: 50px;
      border-radius: 25px;
      display: flex;
      align-items: center;
      padding: 5px 40px 5px 25px;

      .down {
        position: absolute;
        right: 28px;
      }
    }
  }
}

.side-bar {
  .Rectangle_25 {
    background-image: -moz-linear-gradient(
      -90deg,
      rgb(54, 53, 53) 0%,
      rgb(12, 12, 12) 100%
    );
    background-image: -webkit-linear-gradient(
      -90deg,
      rgb(54, 53, 53) 0%,
      rgb(12, 12, 12) 100%
    );
    background-image: -ms-linear-gradient(
      -90deg,
      rgb(54, 53, 53) 0%,
      rgb(12, 12, 12) 100%
    );
    position: absolute;
    left: 375px;
    top: 747px;
    width: 370px;
    height: 60px;
    z-index: 78;
  }
}

.Rectangle_263 {
  background-image: -moz-linear-gradient(
    90deg,
    rgb(169, 0, 1) 0%,
    rgb(237, 43, 44) 100%
  );
  background-image: -webkit-linear-gradient(
    90deg,
    rgb(169, 0, 1) 0%,
    rgb(237, 43, 44) 100%
  );
  background-image: -ms-linear-gradient(
    90deg,
    rgb(169, 0, 1) 0%,
    rgb(237, 43, 44) 100%
  );
  position: absolute;
  left: 776px;
  top: 885px;
  width: 771px;
  height: 50px;
  z-index: 116;
}

.simpleParallax {
  height: 100%;
}

.restaurant-section-style2 {
  position: relative;

  .overlay {
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2;
  }

  .img-bg {
    z-index: 1;
  }

  .content {
    position: relative;
    z-index: 3;

    .desc {
      font-size: 20px;
      margin-bottom: 45px;
    }
  }
}

.page_404 {
  min-height: 100vh;
  background: url("./../../assets/images/backgroup/bg-404.jpg") center center
    no-repeat;
  background-size: cover;
  padding: 185px 30px 195px;

  .image {
    margin-bottom: 38px;
    display: flex;
    justify-content: center;

    img {
      max-width: 658px;
      width: 100%;
    }
  }

  .content {
    display: flex;
    flex-direction: column;
    align-items: center;

    h2 {
      letter-spacing: 2.5px;
    }
  }
}

.home2 {
  .icon-box.style2 {
    display: flex;
    align-items: center;
  }
  .subscribe.style2 {
    padding: 48px 84px 84px 80px;
  }
  .subscribe.style2 .icon {
    top: 30px;
  }
  .about-inner .box .inner .icon svg {
    height: 47px;
  }
  .subscribe.style2 .icon {
    width: 100px;
    height: 100px;
    img {
      width: 45px;
      height: 46px;
    }
  }
  .subscribe .content {
    width: 100%;
  }
}