/* Nav Bar  */

.nav-header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 999;
}

.nav-bar-container {
  background-color: #fff;
  color: #000000;
  display: flex;
  justify-content: center;
  height: 90px;
  width: 100%;
  border-radius: 0px 0px 40px 40px;
  box-shadow: 2px 0px 10px -6px #000;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.8rem 1rem;
}

.nav-bar .logo-container {
  width: auto;
  height: 100%;
}

.nav-bar .logo {
  width: auto;
  height: 100%;
}

.nav-bar ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 0;
  min-width: 425px;
}

.nav-bar ul li {
  position: relative;
}

.nav-bar ul li::before {
  content: "";
  position: absolute;
  width: 0%;
  height: 100%;
  border-bottom: 3px solid #000000;
  left: 0;
  bottom: 0;
  transition: width 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.nav-bar ul li:hover::before {
  width: 100%;
}

.nav-bar ul .active::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-bottom: 3px solid #000000;
  left: 0;
  bottom: 0;
}

.nav-bar ul li a {
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  color: #4e4e4e;
  padding: 18px 8px;
  display: block;
  position: relative;
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.nav-bar .button-container {
  display: flex;
  gap: 0.6rem;
}

.nav-bar .button-container .log-out-btn {
  border-radius: 50px;
  background-color: #ffffff;
  color: #000000;
  outline: none;
  font-size: 0.75rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid #000000;
  padding: 0.2rem 1rem;
  margin: auto 0;
  height: 40px;
}

.nav-bar .button-container .log-out-btn svg {
  width: 1rem;
  height: 1rem;
}

.nav-bar .book-now-btn {
  font-size: 0.75rem;
  font-weight: 500;
  background-color: #c8102e;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  border: none;
  padding: 0.8rem 1rem;
  border-radius: 50px;
  cursor: pointer;
  display: flex;
  gap: 0.2rem;
  transition: all 0.3s ease-in-out;
  align-items: center;
  padding: 0.2rem 1rem;
  margin: auto 0;
  height: 40px;
}

.nav-bar .book-now-btn:hover {
  background-color: #e21335;
}

.nav-bar .book-now-btn svg {
  width: 1.2rem;
  height: 1.2rem;
}

/* nav bar small screen*/
.nav-bar-sm-container {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: #00000024;
}

.nav-bar-sm {
  padding: 1rem;
  height: 100%;
  width: 200px;
  background-color: #ffffff;
  animation: nav-bar-sm 0.4s ease forwards;
}

@keyframes nav-bar-sm {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

.nav-bar-sm ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 30px;
  margin: 0;
}

.nav-bar-sm ul li {
  padding: 8px 12px;
}

.nav-bar-sm ul li a {
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  color: #000000;
}

.nav-bar-sm .nav-close-btn {
  display: flex;
}

.nav-bar-sm .nav-close-btn button {
  background-color: transparent;
  border: 0;
  outline: 0;
  margin: 0 0 0 auto;
}

.nav-bar-open-btn-sm {
  display: none;
  height: 40px;
  width: 40px;
}

.nav-bar-open-btn-sm svg {
  fill: #000000;
  height: 26px;
  width: 26px;
  margin: auto;
}

@media (max-width: 800px) {
  .nav-bar ul {
    display: none;
  }

  .nav-bar-sm-container.show {
    display: block;
  }

  .nav-bar-open-btn-sm {
    display: flex;
  }

  .nav-bar {
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem;
  }

  .nav-bar-container {
    height: 90px;
  }

  .nav-bar-container .logo-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: auto;
    height: 100%;
  }
}

@media (max-width: 400px) {
  .nav-bar .book-now-btn {
    display: none;
  }
}
