/* 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;
  --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;
}

@keyframes myAnim {
  0%,
  100% {
    transform: translateY(0);
  }

  10%,
  30%,
  50%,
  70% {
    transform: translateY(-8px);
  }

  20%,
  40%,
  60% {
    transform: translateY(8px);
  }

  80% {
    transform: translateY(6.4px);
  }

  90% {
    transform: translateY(-6.4px);
  }
}

/* end global style */

.imageBox {
  height: 500px;
}
/*.destinationImgBox {*/
/*  height: 400px;*/
/*}*/
.mainDestinationSlider{
    .imageBox{
        height: 460px;
        background: url('../img/PYRAMIDS .webp') center no-repeat;
        background-size: cover;
        position: relative;
        figure{
            border-radius: 80px;
            width: 230px;
            height: 380px;
            top: 35px;
            left: 70px;
        }

        @media screen and (min-width:1400px) {
            figure{left: 100px;}
        }
        @media screen and (min-width:1201px )and(max-width:1400px) {
            figure{left: 70px;}
        }
        @media screen and (max-width:1200px) {
            figure{left: 44px;}
        }
        @media screen and (max-width:992px) {
            figure{left: 60px;}
        }
        @media screen and (max-width:767px) {
            figure{left: 18px;}
        }
        @media screen and (max-width:550px) {
            width: 280px;
            margin-inline: auto;
            figure{ left: 20px;  }
        }

    }
    .slick-dots{bottom: -40px;}

    .slick-dots li.slick-active button::before{
        color: var(--mainColor);
        opacity: .75;
        font-size: 14px;
    }
}

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: 150px;
  }
  .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(../img/gallery/gallery-hotelLobby-06.jpg);
  background-position: 100% 100%;
  background-size: cover;
  background-repeat: no-repeat;

  padding-top: 60px;

  h1 {
    font-size: 60px;
  }
}

.recommendation{
  img,figcaption h4{
    transition: 1s all;
  }
  .recommendTour:hover{
    img{
      transform: rotate(3deg) scale(1.1);
    }
    figcaption h4{
      color: var(--mainColor);
    }
    a button{
    animation: myAnim 7s ease 0s infinite normal forwards;
    }
  }
}

/* roomDetails */

.roomDetails{

  table{
    --bs-table-bg: #e8500952;
    --bs-table-hover-bg: #0d8e9585;
    --bs-table-striped-bg: #0d8e9585;

  }

  .headerLink a::after{
  content: '';
  height: 3px;
  width: 0%;
  background-color: var(--mainColor);
  position: absolute;
  bottom: -17px;
  left: 0;
   transition: 1s all;
  }

  .headerLink a:hover::after,
  .headerLink a.active::after{
   width: 100%;
  }

  /* roomDetails calender */
  figcaption{

    @import url(https://fonts.googleapis.com/css?family=Poppins:100,100italic,200,200italic,300,300italic,regular,italic,500,500italic,600,600italic,700,700italic,800,800italic,900,900italic);

    :root {
      --text-color: #1d1d1d;
    }
   & .container {
      width: 100%;
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;

    }
    & .calendar {
      width: 100%;
      max-width: 600px;
      padding: 30px 20px;
      border-radius: 10px;
      font-family: "Poppins", sans-serif;
    }
    & .calendar .header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 20px;
      padding-bottom: 20px;
      border-bottom: 2px solid #ccc;
    }
    & .calendar .header .month {
      display: flex;
      align-items: center;
      font-size: 25px;
      font-weight: 600;
      color: var(--text-color);
    }
    & .calendar .header .btns {
      display: flex;
      gap: 10px;
    }
    & .calendar .header .btns .btn {
      width: 50px;
      height: 40px;
      display: flex;
      justify-content: center;
      align-items: center;
      border-radius: 5px;
      color: #fff;
      font-size: 16px;
      cursor: pointer;
      transition: all 0.3s;
    }
    & .calendar .header .btns .btn:hover {
      background: var(--mainColor);
      transform: scale(1.05);
    }
    & .calendar .weekdays {
      display: flex;
      gap: 10px;
      margin-bottom: 10px;
    }
    & .calendar .weekdays .day {
      width: calc(100% / 7 - 10px);
      text-align: center;
      font-size: 16px;
      font-weight: 600;
    }
    & .calendar .days {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }
    & .calendar .days .day {
      width: calc(100% / 7 - 10px);
      height: 50px;
      background: #fff;
      display: flex;
      justify-content: center;
      align-items: center;
      border-radius: 5px;
      font-size: 16px;
      font-weight: 400;
      color: var(--text-color);
      transition: all 0.3s;
      user-select: none;
    }
    /* & .calendar .days .day:not(.next):not(.prev):hover {
      color: #fff;
      background: var(--mainColor);
      transform: scale(1.05);
    } */
    /* & .calendar .days .day.next,
    & .calendar .days .day.prev {
      color: #f11616;
    } */
    & .calendar .days .day.today {
      color: #fff;
      /* background: #0DCAF0; */
      background: #0D6EFD;
          transition: all 1s;

    }
    & .calendar .days .day.avaliable {
      color: #fff;
      background: #198754;
      transition: all 1s;
    }
    & .calendar .days .day.avaliable:hover ,
    & .calendar .days .day.today:hover {
      color: #fff;
      background: var(--mainColor);
      transform: scale(1.1);
    }
    & .calendar .days .day.unavaliable {
      color: #fff;
      background: #DC3545;
    }

  }
}

/* room listing */
.w-20{
  width: 20px;
}
/* banner */
.banner form{
  width: 80%;
  position: absolute;
  left: 50%;
  bottom: -70px;
  transform: translateX(-50%);

    & .subMenu {
    width: 200px;
    position: relative;
    top: 10px;
  }
  & .subMenu::before {
    content: "";
    position: relative;
    top: -37px;
    left: 45%;
    border: 8px solid;
    border-color: transparent transparent var(--mainColor) transparent;
  }

  & form .desc input[type='num'],
  & .desc input[type='num'] {
    width: 40px;
  }

  & .desc {
    flex-direction: column;
  }

  @media screen and (max-width: 992px) {
    & .desc {
      flex-direction: row;
    }
  }
}

/* start favorite */

.favorite .price {
  background-color: #fff;
  position: relative;
  bottom: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: fit-content;
  padding: 10px 15px;
}

figure.hoverImg img {
  transition: all 1s;
}
figure.hoverImg:hover img {
  transform: scale(1.1) rotate(3deg) ;
}

.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: 150px;
  }
  & .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;
  }

  .destinationImgBox{
  width: 270px;
  margin-inline: auto;
}
}
