/* Global Styles */
@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');
@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&family=Tajawal:wght@200;300;400;500;700;800;900&display=swap');

html {
  font-size: 16px;
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }

  p {
    line-height: 1.5;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 12px;
  }

  p {
    line-height: 1.5;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

li {
  list-style: none;
}

li a {
  text-decoration: none !important;
  display: block;
  padding: 10px;
  color: white;
}

a.active {
  color: black;
}

body {
  font-family: 'Roboto'
}

button {
  border: 0;
  outline: 0;
  cursor: pointer;
}

/* Start Navbar Styles */

header {
  height: 58px;
  transition: 0.3s;
  color: white;
  background-color: #000;
  padding: 2rem 3rem;

}

header .links {
  align-items: center;

  a {
    img {
      filter: invert(1);
      height: 50px;
    }
  }
}


header .links ul li .auth {
  display: none;
}

header .search input {
  padding: .5375rem 1.25rem;
  width: 18.75rem;
  border: 1px solid white;
  color: white;
  background: #ffffff3d;
}

header .search input::placeholder {
  color: white;
}

header .search svg {
  right: 10px;
  color: white;
}

header .search input.active {
  border: 1px solid rgba(0, 0, 0, 0.23);
  background-color: white;
}

header .search input.active::placeholder {
  color: black;
}

.close-btn {
  cursor: pointer;
  right: .625rem;
  top: .625rem;
  display: none;
  z-index: 5;
}

header .links ul {
  gap: 1rem;
}

header .auth {
  display: flex;
}

header .auth button:first-child {
  color: white;
}

header .auth button.login,
header .auth button:last-child {
  transition: 0.3s;
}

header .auth button.login:hover {
  opacity: 0.7;
}

header .auth button.login {
  color: white;
}

button.dash {
  display: none;
}

#langButton {
  position: relative;
  padding: 0 10px;

  &::after {
    position: absolute;
    content: '';
    right: -10px;
    border: 6px solid transparent;
    border-top-color: white;
    top: 23px;
  }
}

/* Responsive Navbar Styles */
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
  display: none;
}

@media (max-width: 1250px) {
  header {
    padding: 30px;
  }

  button.dash {
    display: block;
  }

  header .links {
    gap: 20px;
  }

  header .search input.open {
    /* padding: 1rem; */
    /* width: 12.75rem; */
    outline: 0;
  }

  header .links ul {
    flex-direction: column;
    position: fixed;
    background-color: white;
    gap: 1px;
    transition: 0.3s;
    left: 0;
    width: 100%;
    height: 101%;
    top: 0;
    justify-content: space-between;
    font-size: 25px;
    text-align: center;
    z-index: 5;
    transform: translateX(-150%);
  }

  header .links ul.active {
    position: fixed;
    padding: 0;
    transform: translateX(0%);

  }

  .close-btn {
    display: block;
  }

  header .links ul .auth {
    display: block;
  }

  header .links ul li a {
    padding: 50px;
    color: black;
  }

  header .links ul li a:hover {
    background-color: #f0f0f0;
  }

  header .search input {
    /* position: absolute; */
    top: 30px;
    border: 0px solid white;
    width: 0;
    padding: 0;
    transition: 0.3s;
    height: 3.125rem;
  }

  header .search input.active {
    border: 0px solid rgba(0, 0, 0, 0.23);
  }

  header .search input.active.open {
    border: 1px solid rgba(0, 0, 0, 0.23);
  }

  header .search svg {
    cursor: pointer;
  }
}

@media (max-width: 767px) {
  header {
    padding: 1rem;
  }

  header .search input {
    transition: 0s;
  }

  header .links {
    a {
      img {
        height: 35px;
      }
    }
  }

  header .search input {
    transition: 0s;
  }

  header .search input.open {
    right: 0;
    width: 9rem;
    z-index: 5;
  }

  header .auth1 {
    display: none;
  }

  .lang-card.active {
    width: auto;
    right: 10px;
    top: 60px;
  }

  .dd ul {

    position: fixed !important;
    padding: 0;

  }

}

/* End Navbar */
/* Start Slider Styles */

.slider {
  height: calc(100vh - 78px);
  margin: 10px;
  border-radius: 10px;
}

.slider .list {
  transition: .3s;
}

.slider .list .item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.slider .list .item .content {
  padding: 1rem 2rem;
  bottom: 15%;
  width: 90%;
  z-index: 2;
}

.slider-dots {
  z-index: 2;
}

.slider .list .item .content .content-text {
  width: 35rem;
}

@media (max-width:767px) {
  .slider .list .item .content .content-text {
    width: 28rem;
  }
}


.slider .list .item .content .content-text p.destination {
  width: fit-content;
}

.slider .list .item .content .content-text p {
  letter-spacing: 1.1px;
  max-width: 27.375rem;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

a {
  position: relative;

  .go {
    display: none;
    padding: 5px;
    width: 30px;
    border: 1px solid;
    position: absolute;
    right: 10px !important;
    left: initial;
    border-radius: 50%;
    bottom: 10px;
  }

  &:hover {
    .img-container {
      img {
        transform: scale(1.1);
      }
    }

    .go {
      display: block;
    }
  }
}

.slider .list .item .content .profile .date {
  font-size: 1rem;
}

.slider .slider-dots {
  bottom: 70px;
}

.slider .slider-dots span.dot {
  border-radius: 100%;
  width: .75rem;
  height: .75rem;
  cursor: pointer;
  border: 1px solid white;
}

.slider .slider-dots span.dot.active {
  background-color: white;
}

@media (max-width: 700px) {
  .slider .list .item .content {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .slider {
    margin: 0px;
    border-radius: 0px;
  }

  .slider .list .item {
    border-radius: 0px;
  }
}

/* End Slider Styles */

/* Start Blogs Styles */
.title {
  h2 {
    color: #990000;
  }
}

.filter {
  height: fit-content;
  position: relative;
}


.dropdown.category {
  position: relative;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 5px;
  padding: 5px 25px;
  background-color: #990000d6;
  border: 0;
  color: white;
  outline: 0;
  cursor: pointer;

  option {
    padding: 10px;
  }
}

.droupdown-arrow {
  right: 20px !important;
  width: 30px;
}

.back-btn,
.next-btn {

  padding: 0;
  margin: auto;
}

.categorates {
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
}

h4.category {
  max-width: 12.5rem;
}

.categorates::-webkit-scrollbar {
  display: none;

}

.blogs .categorates button {
  background-color: rgba(128, 128, 128, 0.15);
  scroll-snap-align: start;
  min-width: 10rem;
  transition: 0.3s;
}

.swiper-btn {
  background: linear-gradient(150deg, #000000, #fe0018, #3c406f, #d87cee);

  &.disable {
    background: rgba(128, 128, 128, 0.15) !important;
  }
}

.rtl .swiper-btn {
  transform: scaleX(-1);
}

.blogs .categorates button.active {
  background-color: #990000;
  color: white;

  &:hover {
    background-color: #990000;

  }
}

.blogs .categorates button:hover {
  background-color: rgba(128, 128, 128, 0.1);

}

@media (max-width: 600px) {
  .blogs {
    padding: 1.5625rem .625rem;
  }
}

/* Start Cards Styles */

.img-container {
  height: 25rem;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  overflow: hidden;
  border-radius: 5px;

  img {
    transition: .3s;
  }
}

.card .img-container {
  height: 300px;
}

.card .img-container img {
  height: 100%;
  height: 100%;
  object-fit: fill;
}

.cards .card .category {
  background-color: rgba(169, 169, 169, 1);
  top: 20px;
  left: 20px;
}

.cards .card .card-body .description .card-text {
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}


.pagination-btn {
  border-radius: 5px;
  width: 45px !important;
  height: 45px !important;
  box-shadow: 0 .125rem .25rem #00000013;
  color: rgba(0, 0, 0, 0.641);
  display: flex;
  align-items: center;
  justify-content: center;
}

.rtl .pagination-btn svg {
  transform: scaleX(-1);
}

.pagination-btn.active {
  &:hover {
    background-color: #990000;
    color: white;

  }

  background-color: #990000;
  color: white;
}

.pagination-btn:hover {
  background-color: #eee;
  color: black;
}

/* End Pagination Styles */

/* Start Ads Styles */

.ads {
  grid-template-columns: 1fr 2fr;
}

.booking {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  position: relative;
}

.booking img {
  filter: blur(2px);
}

.booking button {
  font-size: 1rem;
  color: black;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: 10px;
  border: 2px solid #fafafa;
  background: white;
  cursor: pointer;
  margin: 35px 0;
  width: fit-content;
}

.article::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 1;
  border-radius: .9375rem;
}

.card-title {
  height: 40px;
}

.beyond {
  height: 500px;
  grid-row: 1 / 3;
  position: relative;

}

.beyond img {
  height: 100%;
}

.beyond h2 {
  z-index: 5;
}

.beyond::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: .9375rem;
}

.article .article-content p {
  z-index: 5 !important;
}

.article .article-content h3 {
  z-index: 5 !important;
}

.booking .booking-content h2,
.booking .booking-content p {
  z-index: 5;
}

@media (max-width: 1024px) {
  .ads {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .booking,
  .article {
    grid-column: 1 / 2;
    grid-row: auto;
    height: 25rem;
  }

  .booking .booking-content {
    justify-content: center;
    align-items: center;
  }

  .booking .booking-content button {
    margin: 0px;
    margin-bottom: 0;
    height: 50px;
  }

  .booking-content,
  .article-content {
    justify-content: center;
    align-items: center;
  }

  .article .article-content p {
    font-size: 1.75rem;
    z-index: 5 !important;

  }

  .article .article-content h3 {
    font-size: 4.375rem;
    z-index: 5 !important;

  }

  .beyond h2 {
    width: 95%;
    font-size: 1.5625rem;
  }
}

@media (max-width: 600px) {
  .ads {
    margin: 10px;
  }
}

/* End Ads Styles */