/* Header */

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

h1,
h2,
.font-weight-bold {
  font-weight: 700 !important;
}

h3,
h4,
.font-weight-normal {
  font-weight: 400 !important;
}

.btn-square {
  width: 36px;
  height: 36px;
}

.btn-sm-square {
  width: 28px;
  height: 28px;
}

.btn-lg-square {
  width: 46px;
  height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding-left: 0;
  padding-right: 0;
  text-align: center;
}

@keyframes action {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-15px);
  }
}

.container-fluid.nav-bar,
.nav-bar.container-sm,
.nav-bar.container-md,
.nav-bar.container-lg,
.nav-bar.container-xl {
  position: absolute;
  z-index: 9;
}

@media (max-width: 991.98px) {
  .container-fluid.nav-bar,
  .nav-bar.container-sm,
  .nav-bar.container-md,
  .nav-bar.container-lg,
  .nav-bar.container-xl {
    position: relative;
    background: #33211d;
  }
  .navbar-collapse {
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 15px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  }
  .navbar-nav .nav-item .nav-link {
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
  }
}

.navbar-dark .navbar-nav .nav-link {
  padding: 15px;
  padding-right: 15px;
  font-weight: bold;
  letter-spacing: 1px;
  color: #fffbf2;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:active {
  color: #da9f5b;
}

.overlay-top::before,
.overlay-bottom::after {
  position: absolute;
  content: '';
  width: 100%;
  height: 15px;
  left: 0;
  z-index: 1;
}

.overlay-top::before {
  top: -1px;
  background: url(../img/overlay-top.png);
}

.overlay-bottom::after {
  bottom: -1px;
  background: url(../img/overlay-bottom.png);
}

.carousel-caption {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(51, 33, 29, 0.7);
  z-index: 1;
}

/* About */

.section-title {
  position: relative;
  padding: 115px 0 35px 0;
  text-align: center;
}

.section-title::after {
  position: absolute;
  content: '';
  width: 2px;
  height: 100px;
  top: 0;
  left: 50%;
  margin-left: 1px;
  background: #da9f5b;
}

/* Service */

.service-icon {
  margin-left: 15px;
  width: 45px;
  height: 45px;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 45px;
  color: #33211d;
  background: #da9f5b;
  transition: all 0.3s ease-in-out;
}

/* Menu */

.menu-price {
  position: absolute;
  margin: 0;
  top: -5px;
  right: 10px;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #33211d;
  background: #da9f5b;
}

/* Contact */

.contact-form .help-block ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

/* Reserve */

/* Testimonial */

.testimonial-carousel .owl-dots {
  margin-top: 30px;
  text-align: center;
}

.testimonial-carousel .owl-dot {
  position: relative;
  display: inline-block;
  margin: 0 5px;
  width: 20px;
  height: 20px;
  border-radius: 20px;
  background: #da9f5b;
  transition: 1s;
}

.testimonial-carousel .owl-dot.active {
  width: 40px;
  background: #33211d;
}

.testimonial-carousel .owl-item img {
  width: 80px;
  height: 80px;
}

/* Footer */
.reservation,
.page-header,
.offer,
.footer {
  background: linear-gradient(rgba(51, 33, 29, 0.9), rgba(51, 33, 29, 0.9)),
    url(../img/bg.jpg);
  background-position: top;
  background-repeat: no-repeat;
  background-size: cover;
}

/* style.css – agar alert sticky di section reserve */
#reserve-alert {
  position: absolute;
  top: -60px;
  left: 0;
  right: 0;
}

/* Back To Top */
.back-to-top {
  position: fixed;
  display: none;
  right: 30px;
  bottom: 30px;
  z-index: 11;
  animation: action 1s infinite alternate;
}

/* === PRELOADER === */
#preloader {
  position: fixed;
  inset: 0;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  font-family: Montserrat, Arial, Helvetica, sans-serif;
}

.spinner-wrap {
  display: flex;
  align-items: center; /* spinner & teks sejajar */
  gap: 12px; /* jarak antara spinner & teks */
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #da9f5b; /* warna primary */
  border-top: 4px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.loader-text {
  font-size: 18px;
  color: #33211d;
  white-space: nowrap; /* tetap satu baris */
  letter-spacing: 0.5px;
  font-style: italic;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}
