:root {
  --bs-primary: #2d7b42;
  --bs-secondary: #735c00;
  --bs-light: #f6f3ee;
  --bs-dark: #0e2a4a;
  --bs-body-color: #555;
  --bs-body-bg: #fff;
}

body {
  font-family: "Jost", sans-serif;
  color: var(--bs-body-color);
  background: #fff;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand h1,
.btn {
  font-family: "Yeseva One", serif;
}

.text-primary {
  color: var(--bs-primary) !important;
}

.bg-primary {
  background-color: var(--bs-primary) !important;
}

.bg-dark {
  background-color: var(--bs-dark) !important;
}

.bg-light {
  background-color: var(--bs-light) !important;
}

.btn-primary {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--bs-dark);
  border-color: var(--bs-dark);
}

.font-dancing-script {
  font-family: "Dancing Script", cursive;
}

.py-6 {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.btn.btn-dark,
.btn.btn-primary {
  position: relative;
  color: #fff;
  letter-spacing: 1px;
  border: none;
  overflow: hidden;
  z-index: 1;
}

.btn.btn-dark::before,
.btn.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  border-radius: 100%;
  transition: 0.5s;
  z-index: -1;
}

.btn.btn-primary::before {
  background: var(--bs-dark);
}

.btn.btn-dark::before {
  background: var(--bs-primary);
}

.btn.btn-dark:hover::before,
.btn.btn-primary:hover::before {
  left: 0;
  border-radius: 0;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
}

.btn-square {
  width: 38px;
  height: 38px;
}

.btn-lg-square {
  width: 48px;
  height: 48px;
}

#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
  z-index: 99999;
}

#spinner.show {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.5s ease-out, visibility 0s linear 0s;
}

.navbar {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 9;
  transition: 0.5s;
  background: rgba(14, 42, 74, 0.5);
}

.navbar .navbar-nav .nav-link {
  margin-right: 25px;
  padding: 40px 0;
  color: #fff;
  font-size: 18px;
  outline: none;
  transition: 0.5s;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
  color: var(--bs-primary);
}

.navbar-brand h1 {
  font-size: 2.5rem;
}

.carousel-item {
  height: 100vh;
  min-height: 720px;
  max-height: 880px;
}

.carousel-item img {
  height: 100%;
  object-fit: cover;
}

.carousel-caption {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(14, 42, 74, 0.5);
  z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
  width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 3rem;
  height: 3rem;
}

@media (min-width: 1200px) {
  .carousel-caption .display-1 {
    font-size: 6rem;
  }
}

@media (min-width: 992px) {
  .booking {
    position: relative;
    height: 125px;
    margin-top: -125px;
    background: rgba(14, 42, 74, 0.5);
    z-index: 1;
  }
}

@media (max-width: 991.98px) {
  .navbar {
    background: rgba(14, 42, 74, 0.92);
    min-height: 74px;
  }

  .navbar .navbar-nav {
    margin-top: 8px;
    border-top: 1px solid var(--bs-light);
  }

  .navbar .navbar-nav .nav-link {
    margin-right: 0;
    padding: 10px 0;
  }

  .carousel-item {
    min-height: 700px;
    max-height: none;
  }

  .carousel-caption .display-1 {
    font-size: 3.2rem;
    line-height: 1.15;
    word-break: normal;
  }

  .carousel-caption .row {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
  }

  .carousel-caption .col-10 {
    width: 100%;
    max-width: 100%;
    padding-right: 24px;
    padding-left: 24px;
  }

  .navbar-toggler {
    position: absolute;
    top: 18px;
    right: 24px;
    border-color: rgba(255, 255, 255, 0.75);
    margin-left: auto;
  }

  .booking {
    padding: 3rem 0;
    margin-bottom: 3rem;
    background: var(--bs-light);
  }

  .booking .booking-copy,
  .booking .booking-copy h2 {
    color: var(--bs-dark) !important;
  }
}

.signature-box {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.25rem 1.25rem;
  color: var(--bs-primary);
  font-family: "Dancing Script", cursive;
  font-size: 2.3rem;
  border-bottom: 2px solid var(--bs-primary);
}

.fact-counter {
  background:
    linear-gradient(rgba(14, 42, 74, 0.62), rgba(14, 42, 74, 0.62)),
    url("assets/images/zk.c5a11c92.jpg") center center no-repeat;
  background-size: cover;
}

.room-item,
.blog-item,
.service-item {
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
  transition: 0.5s;
}

.room-item:hover,
.blog-item:hover,
.service-item:hover {
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.12);
}

.room-item .room-detail img {
  height: 195px;
  object-fit: cover;
  transition: 0.5s;
}

.room-item:hover .room-detail img {
  transform: scale(1.2);
}

.room-item .room-detail .position-absolute {
  background: rgba(14, 42, 74, 0.5);
}

.container.feature {
  max-width: 100% !important;
}

@media (min-width: 992px) {
  .feature-text {
    padding-left: calc(((100% - 960px) / 2) + 0.75rem) !important;
  }
}

@media (min-width: 1200px) {
  .feature-text {
    padding-left: calc(((100% - 1140px) / 2) + 0.75rem) !important;
  }
}

@media (min-width: 1400px) {
  .feature-text {
    padding-left: calc(((100% - 1320px) / 2) + 0.75rem) !important;
  }
}

.service-item {
  position: relative;
}

.service-item::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: var(--bs-primary);
  border-radius: 4px;
  z-index: 1;
}

.service-item::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: #fff;
  transition: 0.5s ease-out;
  z-index: 2;
}

.service-item:hover::after {
  width: 0;
  left: auto;
  right: 0;
}

.service-item * {
  position: relative;
  transition: 0.5s;
  z-index: 3;
}

.service-item:hover * {
  color: #fff !important;
}

.gallery-item {
  position: relative;
  display: block;
}

.gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.gallery-item .gallery-text {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(14, 42, 74, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 100px !important;
  opacity: 0;
  transition: 0.5s;
}

.gallery-item:hover .gallery-text {
  opacity: 1;
  padding-bottom: 20px !important;
}

.blog-item .blog-img {
  position: relative;
  margin-bottom: 3.5rem;
}

.blog-item .blog-img img {
  height: 250px;
  object-fit: cover;
}

.blog-item .blog-meta {
  position: absolute;
  left: 0;
  bottom: -35px;
  width: 100%;
  height: 70px;
  z-index: 1;
}

.footer .btn.btn-link {
  display: block;
  margin-bottom: 5px;
  padding: 0;
  text-align: left;
  color: var(--bs-light);
  transition: 0.3s;
  box-shadow: none;
  text-decoration: none;
}

.footer .btn.btn-link::before {
  position: relative;
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 10px;
}

.footer .btn.btn-link:hover {
  color: var(--bs-primary);
  letter-spacing: 1px;
}

.footer .copyright {
  padding: 25px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .copyright a {
  color: var(--bs-primary);
}

.footer .copyright a:hover {
  color: var(--bs-light);
}

.footer .row.g-2 img {
  height: 72px;
  object-fit: cover;
}

.back-to-top {
  position: fixed !important;
  display: none;
  right: 45px;
  bottom: 45px;
  z-index: 99;
}

@media (max-width: 575.98px) {
  .navbar-brand h1 {
    font-size: 1.9rem;
  }

  .carousel-caption .display-1 {
    max-width: 270px;
    margin-right: auto;
    margin-left: auto;
    font-size: 2.55rem;
  }

  .carousel-caption .fs-3 {
    max-width: 270px;
    margin-right: auto;
    margin-left: auto;
    font-size: 1.25rem !important;
  }

  .navbar-toggler {
    right: auto;
    left: 310px;
  }

  .py-6 {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .room-item {
    flex-direction: column;
  }

  .room-item > .bg-light {
    width: 100% !important;
    flex-direction: row !important;
    padding-bottom: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 1rem;
  }

  .room-item > .bg-light > div {
    padding: 0.75rem;
  }
}
