/* global */
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
:root {
  /* --mainColor: #e95009; */
  /* --secondColor: #0d8e95; */
  --mainColor: #8905cf;
  --secondColor: #d70b8b;
  --textColorActive: #101a2e;

  --font-family: "Roboto", sans-serif;
  --shadow: rgba(145, 158, 171, 0.2) 0px 4px 5px -1px,
    rgba(145, 158, 171, 0.14) 0px 4px 5px 0px,
    rgba(145, 158, 171, 0.12) 0px 4px 5px 0px;
}
body,
html {
  font-family: var(--font-family);
  scroll-behavior: smooth;
  scroll-padding-top: 180px;
}
/* p{
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
} */

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background-color: rgb(250, 244, 244);
}

::-webkit-scrollbar-thumb {
  background: var(--mainColor);
  border-radius: 20px;
}

.shadow {
  box-shadow: var(--shadow);
}
/* .mainColor, */
.textMainColor {
  color: var(--mainColor);
}
.textSecondColor {
  color: var(--secondColor);
}
.textColorActive {
  color: var(--textColorActive);
}

.bgMainColor {
  background-color: var(--mainColor);
}
.bgSecondColor {
  background-color: var(--secondColor);
}
.bgColorActive {
  background-color: var(--textColorActive);
}

.bgEEE {
  background-color: #eee;
}
a,
a:hover {
  text-decoration: none;
  color: #000;
  transition: 0.8s all;
}
.w-fit {
  width: fit-content;
}
.h-220 {
  height: 220px;
}
::selection {
  background-color: var(--mainColor);
  color: #fff;
}
.font-lg {
  font-size: 60px;
}
.font-sm {
  font-size: 13px;
}
.cPointer {
  cursor: pointer;
}

.iconBox,
.icon {
  --Dimensions: 2.3rem;
  width: var(--Dimensions);
  height: var(--Dimensions);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.8s;
}

.iconBox {
  --Dimensions: 4rem;
  width: var(--Dimensions);
  height: var(--Dimensions);
  background-color: #fff;
  color: var(--mainColor);
}

.iconBox:hover,
.icon:hover {
  background-color: var(--textColorActive);
  color: #fff;
  transform: scale(1.17);
}

.icon {
  background-color: var(--secondColor);
  color: var(--mainColor);
}

.mainBtn,
.secBtn {
  border: 0;
  padding: 8px 30px;
  border-radius: 10px;
  font-size: 18px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  color: #fff;
  transition: all 1s;
}
.mainBtn,
.secBtn::after {
  background-color: var(--mainColor);
}
.secBtn,
.mainBtn::after {
  background-color: var(--secondColor);
}
.mainBtn::after,
.secBtn::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateY(-120%);
  z-index: -1;
  transition: all 1s;
}

.mainBtn:hover,
.secBtn:hover {
  color: #fff;

  &::after {
    transform: translateY(0%);
    /* z-index: -1; */
    width: 100%;
  }
}

.form-control:focus {
  color: var(--mainColor);
  border-color: var(--mainColor);
  box-shadow: 0 0 0 0.25rem #21484287;
}

.title {
  width: 480px;
}

/* end global style */

.imageBox {
  height: 500px;
}

figcaption.content {
  bottom: 50px;
  left: 10%;
  right: 10%;
  transform: translateY(180%);
  transition: all 1s;
}
.imageBox figure:hover figcaption.content {
  transform: translateY(0%);
}

/* navbar */
nav {
  .navbar {
    z-index: 99999999999911;
  }
  .navbar-brand figure {
    width: 80px;
  }
  .nav-item {
    transition: all 1s;
  }
  .nav-item:not(.mb-2) {
    font-size: 17px;
    position: relative;

    &::after {
      content: "";
      position: absolute;
      width: 0;
      height: 3px;
      background-color: var(--secondColor);
      transition: all 1s;
    }
  }

  .nav-item:hover {
    transform: scale(1.1);

    &::after {
      width: 85%;
    }
  }

  .navbar-toggler:focus {
    box-shadow: 0px 0px 5px 0px rgba(255, 170, 23, 0.5);
  }
  .navbar-toggler-icon {
    background-image: none;
    transition: all 1s;
  }
  .navbar-toggler-icon:hover {
    transform: scale(1.3);
  }

  .nav-link:focus,
  .nav-link:hover {
    color: var(--secondColor);
  }
  .navbar-nav .nav-item .nav-link.active {
    color: var(--secondColor);
  }
  .navbar-collapse form button {
    right: 45px;
  }
}

main {
  background-image: url(../images/gallery/gallery-hotelLobby-06.jpg);
  background-position: 100% 100%;
  background-size: cover;
  background-repeat: no-repeat;

  padding-top: 60px;

  h1 {
    font-size: 60px;
  }
}

.review {
  .userImg {
    width: 80px;
    height: 80px;
  }

  .reviewCart {
    box-shadow: var(--shadow);
    transition: all 1s;
  }
  .reviewCart:hover {
    border: 1px solid var(--mainColor);
    box-shadow: unset;
    transform: translateY(-20px);
  }
}

/* popular destination */
.destinationSlider {
  .slick-dots li button::before {
    font-size: 15px;

    opacity: 0.3;
    color: var(--mainColor);
  }

  .slick-dots li.slick-active button::before,
  .slick-dots li button:hover::before,
  .slick-dots li button:focus::before {
    opacity: 1;
  }
}
.destinationCard:hover .destinationLayer {
  transform: translateY(0%);
}

.destinationLayer {
  inset: 0;
  background-color: #00000060;
  transform: translateY(100%);
  transition: all 1s;
}

/* trending destinations*/

.trending {
  .card {
    transition: all 1s;
  }
  .card:hover {
    transform: translateY(-20px);
    border: 1px solid var(--secondColor);
  }
}

/* sign up newsletter */
/* .newsletter .container{
} */
.newsletter .content {
  width: 60%;
  background-color: bisque;
  position: relative;
  top: 90px;
  left: 50%;
  transform: translateX(-50%);
}

/* footer */
footer {
  .contactLogo figure {
    width: 50px;
  }
  & .contactLink a {
    width: fit-content;
    position: relative;
    font-size: 18px;
    z-index: 0;
  }
  & .contactLink a::after {
    content: "";
    width: 0%;
    height: 2px;
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: var(--secondColor);
    transition: all 0.8s;
  }
  & .contactLink a:hover {
    color: var(--secondColor);

    &::after {
      width: 100%;
    }
  }
}

/* media query */

@media (max-width: 992px) {
  main {
    .mainRow {
      padding-top: 150px;
    }
  }
  .newsletter .content {
    width: 75%;
  }
}

/* 767  <  screen width */
@media (min-width: 767px) {
  .destinationSlider {
    display: none;
  }
}

/* 767 >  screen width */
@media (max-width: 767px) {
  .destinationSlider {
    display: flex;
  }
  .destinationGrid {
    display: none;
  }
  .newsletter .content {
    width: 100%;
  }
}

@media (max-width: 550px) {
  main h1 {
    font-size: 35px;
  }

  .title {
    width: auto;
  }
}
