@import url("https://fonts.googleapis.com/css2?family=Kufam:ital,wght@0,400..900;1,400..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Kufam:ital,wght@0,400..900;1,400..900&family=Murecho:wght@100..900&display=swap");

/* ====================
  Reset Default CSS Start
  ==================== */

:root {
  --primary-font: "Kufam", sans-serif;
  --secondary-font: "Murecho", sans-serif;
  --primary-color: rgba(250, 180, 29, 0.3);
  --secondary-color: #f7b935;
  --btn-hover: #ffcd29;
  --bg-1: #ffffff;
  --bg-2: #000000;
  --text-color-1: #000000;
  --text-color-2: #7d7d7d;
  --text-color-3: #ffffff;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
}

a {
  text-decoration: none !important;
}

ul {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}

button {
  border: none;
  outline: none;
  font-family: var(--secondary-font);
}

input {
  outline: none;
}

/* Width of the scrollbar */
::-webkit-scrollbar {
  width: 14px;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: var(--secondary-color);
  border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: var(--btn-hover);
}

/*====================
Reset Default CSS End
====================*/

/* Hero Start */
.room-suites-hero {
  width: 100%;
  height: 520px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.21) 0%,
      rgba(0, 0, 0, 0.7) 74%
    ),
    url(../img/gallery/gallery-bg-image.jpg) lightgray 50% / cover no-repeat;
}

#breadcrumbs {
  text-align: center;
  width: 100%;
  object-fit: cover;
}

#breadcrumbs h2 {
  font-size: 46px;
  margin-bottom: 24;
  color: var(--text-color-3);
  font-family: var(--primary-font);
  font-weight: bold;
}

#breadcrumbs a {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-color-3);
  font-family: var(--secondary-font);
}

#breadcrumbs .breadcrumb_last {
  font-size: 16px;
  font-weight: 600;
  color: var(--secondary-color);
  font-family: var(--secondary-color);
}

@media screen and (max-width: 768px) {
  #breadcrumbs h1 {
    font-size: 32px;
  }
  #breadcrumbs {
    margin-top: 20px;
  }

  .room-suites-hero {
    height: 300px;
  }

  #breadcrumbs h2 {
    font-size: 26px;
    margin-bottom: 16px;
  }
}

/* Hero End */

/* Gallery Tab Start */
body {
  background: var(--bg-1);
}

#gallery-section {
  padding: 80px 0;
  background: var(--bg-1);
}

#gallery-section header h2 {
  font-size: 34px;
  margin-bottom: 40px;
  color: var(--text-color-1);
  font-weight: bold;
  font-family: var(--primary-font);
}

#gallery-section header p {
  max-width: 900px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-color-2);
  font-family: var(--secondary-font);
  margin-top: 10px;
}

.tabs {
  margin-bottom: 20px;
}

.tabs .tab-wrapper {
  display: flex;
  margin: 40px 0px 60px 0px;
  flex-wrap: wrap;
}

.tab-button {
  font-size: 16px;
  padding: 10px 30px;
  cursor: pointer;
  border: none;
  margin: 5px 6px;
  font-family: var(--secondary-font);
  font-weight: 600;
  border-radius: 12px;
  background: linear-gradient(270deg, #fcfcfc 0%, #ececec 100%);
  transition: background-color 0.3s;
}

.tab-button.active {
  background: linear-gradient(270deg, #fab41d 0%, #fab41d 100%);
}

.tab-button:hover {
  background: linear-gradient(270deg, #fab41d 0%, #fab41d 100%);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 12px;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  display: block;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  border-radius: 10px;
  transition: opacity 0.3s;
}

.gallery-item:hover .overlay {
  opacity: 1;
}

.overlay button {
  display: block;
  font-size: 12px;
  font-family: var(--secondary-font);
  padding: 10px 20px;
  background-color: var(--bg-1);
  border: none;
  font-weight: 600;
  border-radius: 12px;
  color: var(--text-color-1);
  cursor: pointer;
  text-align: center;
  transition: 0.3s;
}

.overlay button:hover {
  background: var(--secondary-color);
}

.overlay button span {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 4px;
}

.overlay button img {
  width: 40px;
  height: 40px;
}

/* Modal Styles */
#gallery-section .modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.8);
}

#gallery-section .modal-content {
  position: relative;
  display: block;
  max-width: 60%;
  aspect-ratio: 16 / 12;
  border-radius: 24px;
  overflow: hidden;
}

#gallery-section .modal-content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-size: cover;
}

#gallery-section .modal-content button {
  width: 50px;
  height: 50px;
  background: var(--bg-1);
  position: absolute;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-color-1);
  bottom: 16px;
  left: 16px;
  border-radius: 8px;
}

#gallery-section .modal-content button i {
  padding-top: 4px;
  font-size: 24px;
}

.modal-content-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

#gallery-section .modal .prev,
#gallery-section .modal .next {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: transparent;
  border: 1px solid var(--text-color-3);
  color: var(--text-color-3);
  font-size: 20px;
  cursor: pointer;
  padding: 10px;
  border-radius: 10px;
  transition: 0.4s;
}

#gallery-section .modal button:hover {
  background: var(--bg-1);
  color: var(--text-color-1);
}

#gallery-section .modal .prev {
  left: 12px;
}

#gallery-section .modal .next {
  right: 12px;
}

#gallery-section .close {
  display: none;
}

#gallery-section .pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
}

#gallery-section .pagination ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  text-align: center;
}

#gallery-section .pagination ul a {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  font-family: var(--secondary-font);
  background: var(--bg-1);
  color: var(--text-color-1);
  border: 1px solid var(--secondary-color);
  padding: 10px 40px;
  border-radius: 30px;
  font-weight: 500;
  transition: 0.4s;
}

#gallery-section .pagination ul a:hover {
  background: var(--secondary-color);
  color: var(--text-color-1);
  border: 1px solid var(--secondary-color);
}

#gallery-section .pagination ul .active {
  background: var(--secondary-color);
  color: var(--text-color-1);
  border: 1px solid var(--secondary-color);
}

#gallery-section .pagination ul .disable {
  background: var(--bg-1);
  color: var(--text-color-2);
  border: 1px solid var(--text-color-2);
}

.tooltip {
  visibility: hidden;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 5px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  bottom: 125%; /* Position above the button */
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s;
}

.autoplay:hover .tooltip {
  visibility: visible;
  opacity: 1;
}

.modal-content {
  position: relative;
}

.autoplay {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 24px;
  color: white;
}

@media (max-width: 992px) {
  .tabs .tab-wrapper {
    justify-content: center;
    margin-bottom: 40px;
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  #gallery-section header h2 {
    font-size: 28px;
    margin-bottom: 30px;
  }

  #gallery-section .modal button {
    width: 36px;
    height: 36px;
    font-size: 16px;
    padding: 8px;
  }

  .tab-button {
    font-size: 12px;
    padding: 10px 20px;
    margin: 4px 4px;
  }

  #gallery-section .modal .prev,
  #gallery-section .modal .next {
    width: 35px;
    height: 35px;
    font-size: 15px;
    padding: 10px;
  }

  #gallery-section .modal .prev i,
  #gallery-section .modal .next i {
    margin-bottom: 4px;
  }

  #gallery-section .modal-content {
    max-width: 100%;
    max-height: 70%;
  }
  #gallery-section .modal .prev {
    padding-top: 12px;
    margin-left: 6px;
    z-index: 9;
  }

  #gallery-section .modal .next {
    padding-top: 12px;
    margin-right: 6px;
    z-index: 9;
  }
  .autoplay i {
    font-size: 16px !important;
    margin-bottom: 4px;
  }
  #gallery-section .pagination {
    width: 100%;
    justify-content: center;
  }

  #gallery-section .pagination ul {
    width: 100%;
    justify-content: space-between !important;
  }

  #gallery-section .pagination ul a {
    font-size: 12px;
    padding: 6px 16px;
  }
}

@media (max-width: 576px) {
  .gallery {
    grid-template-columns: repeat(1, 1fr);
  }
}
/* Gallery Tab End */

/* News Latter Start */
#news-latter {
  width: 100%;
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.1) 100%
    ),
    url(../img/news-latter-bg.webp) no-repeat center center / cover;
}

#news-latter .item {
  text-align: center;
}

#news-latter .item span {
  color: var(--text-color-1);
  background: var(--bg-1);
  font-size: 14px;
  font-family: var(--secondary-font);
  font-weight: 500;
  padding: 8px 20px;
  border-radius: 30px;
}

#news-latter .item .title {
  margin: 20px 0;
}

#news-latter .item h2 {
  color: var(--text-color-3);
  font-size: 30px;
  font-family: var(--primary-font);
  line-height: 35px;
  font-weight: bold;
  margin: 0px;
}

#news-latter .item .button {
  display: flex;
  gap: 12px;
  justify-content: center;
}

#news-latter .item .get-in {
  color: var(--text-color-1);
  font-size: 14px;
  font-family: var(--secondary-font);
  font-weight: 500;
  background: var(--secondary-color);
  border: 1px solid var(--secondary-color);
  padding: 10px 40px;
  border-radius: 30px;
  transition: 0.4s;
}

#news-latter .item .get-in:hover {
  background: transparent;
  border-color: var(--secondary-color);
  color: var(--text-color-3);
}

#news-latter .item .book-now {
  color: var(--text-color-3);
  font-size: 14px;
  font-family: var(--secondary-font);
  font-weight: 500;
  background: transparent;
  border: 1px solid var(--secondary-color);
  padding: 10px 40px;
  border-radius: 30px;
  transition: 0.4s;
}

#news-latter .item .book-now:hover {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  color: var(--text-color-1);
}

@media (max-width: 768px) {
  #news-latter .item h2 {
    font-size: 24px;
  }
}

@media (max-width: 576px) {
  #news-latter .item h1 {
    font-size: 22px;
  }
  #news-latter .item {
    padding: 0px 10px;
  }
}

/* News Latter End */
