/* Google Fonts Import */
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

:root {
  --bs-primary: #c70000;
  --bs-primary-rgb: 199, 0, 0;
  --bs-secondary: #b6b6b6;
  --bs-success: #28a745;
  --bs-info: #17a2b8;
  --bs-warning: #ffc107;
  --bs-danger: #c70000;
  --bs-light: #ffffff;
  --bs-dark: #212121;
  --bs-backdrop: #f6f6f6;
  --bs-gray: #666666;
}

/* Global Typography */
body {
  font-family: "Poppins", sans-serif !important;
}
/* Utility Classes */
.w-10 {
  width: 10% !important;
}

.text-gray {
  color: var(--bs-gray) !important;
}

.bg-light {
  background-color: var(--bs-light) !important;
}

.text-secondary {
  color: var(--bs-secondary) !important;
}

.fs-7 {
  font-size: 0.875rem !important;
}

.fs-8 {
  font-size: 0.75rem !important;
}

.bg-background {
  background-color: var(--bs-backdrop);
}

.icon-bold {
  font-size: 24px;
  text-shadow: 1px 0px 0px var(--bs-gray);
}

.main-wrapper {
  position: relative;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("../../../img/main.jpg") center/cover;
  background-attachment: fixed;
}

.navbar-nav {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  gap: 1.5rem;
  margin-top: 2rem;
}
.nav-item img {
  width: 20px;
  height: 20px;
}
.nav-item button {
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  border-radius: 0.25rem;
}
.nav-item button:hover {
  background-color: var(--bs-danger);
  color: var(--bs-light);
}

/* Styling untuk elemen nav-link */
.nav-link {
  position: relative;
  color: #000; /* Warna teks default */
  transition: color 0.3s ease; /* Transisi warna teks */
}

/* Menambahkan garis bawah dengan animasi */
.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px; /* Ukuran garis */
  background-color: red; /* Warna garis */
  transform: scaleX(0); /* Memulai garis dari 0 lebar */
  transform-origin: bottom right;
  transition: transform 0.3s ease-in-out;
}

/* Hover effect */
.nav-link:hover {
  color: red; /* Warna teks saat hover */
}

/* Mengubah warna garis saat hover */
.nav-link:hover::after {
  transform: scaleX(1); /* Memperluas garis saat hover */
  transform-origin: bottom left;
}

/* Mengubah warna SVG menjadi merah saat hover */
.nav-link:hover img {
  fill: red; /* Mengubah warna SVG ke merah */
  filter: invert(29%) sepia(99%) saturate(6844%) hue-rotate(357deg)
    brightness(94%) contrast(101%); /* Atau menggunakan filter untuk warna merah */
}

fieldset,
legend {
  all: revert;
}
.content-section {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: white;
  padding-top: 60px;
}

.booking-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 1200px;
  margin: 2rem; 
}
.booking-card form {
  padding: 20px;
}

.toggle-buttons {
  display: flex;
  gap: 10px;
  margin: 20px 0;
}

.toggle-btn {
  padding: 10px 20px;
  border-radius: 25px;
  border: 1px solid #ddd;
  background: white;
  cursor: pointer;
  transition: all 0.3s;
}

.toggle-btn.active {
  background: #dc3545;
  color: white;
  border-color: #dc3545;
}

.search-btn {
  background: #000;
  color: white;
  border-radius: 5px;
  padding: 10px 30px;
  border: none;
  width: 100%;
}

.time-input-group {
  position: relative;
}

.time-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
}

.nav-language {
  position: absolute;
  top: 20px;
  right: 20px;
}

/* Footer Styles */
.footer {
  padding: 50px 0;
  background-color: #000000;
  border-top: 1px solid #000000;
}
.footer-logo {
  width: 150px;
  margin-bottom: 20px;
}
.footer-nav {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}
.footer-nav .nav-link {
  color: #ffffff;
  padding: 0.5rem 1rem;
  font-weight: 500;
}
.footer-secondary-nav {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}
.footer-secondary-nav .nav-link {
  color: #ffffff;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}
.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
}
.social-links a {
  color: #ffffff;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}
.social-links a:hover {
  color: #dc3545;
}
.footer-divider {
  width: 100%;
  max-width: 800px;
  margin: 30px auto;
  border-top: 1px solid #eee;
}

.custom-divider {
  width: 100%;
  max-width: 800px;
  margin: 10px auto;
  border-top: 1px solid #dadada;
}

.h-14 {
  height: 3.5rem;
}

/* Form Styles */
.form-control {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ced4da;
  font-size: 14px;
}
.form-control:focus {
  box-shadow: none;
  border-color: var(--bs-primary) !important;
}
.form-group {
  margin-bottom: 16px;
  position: relative;
}
.form-group i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #6c757d;
  z-index: 2;
}
.form-group .form-control {
  padding-left: 35px;
}
.form-label {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
  color: #212529;
}
.form-check-input {
  background-color: var(--bs-light);
  border: 2px solid #ced4da;
  border-radius: 0.25rem;
  width: 20px;
  height: 20px;
  transition: all 0.3s ease;
}
.form-check-input:checked {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
}
.form-check-input:focus {
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 0.1rem rgba(var(--bs-primary-rgb));
}
.form-check-input:checked::before {
  color: white;
  font-size: 1.2rem;
  text-align: center;
  line-height: 1;
}
.input_bottomline {
  border: none;
  border-bottom: 1px solid var(--bs-dark);
}
.input_bottomline:focus {
  border-bottom: 1px solid var(--bs-dark);
  outline: none;
}
.input_bottomline[type="number"]::-webkit-inner-spin-button,
.input_bottomline[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.select_bottomline {
  border: none;
  border-bottom: 2px solid var(--bs-secondary);
  border-radius: 0;
  font-size: 14px;
  padding-left: 0;
  box-shadow: none;
}
.select_bottomline:focus {
  outline: none;
}
.select_bottomline::after,
.select_bottomline::before {
  color: var(--bs-secondary);
}
input[type="datetime-local"].input_bottomline {
  border: none;
  border-bottom: 2px solid var(--bs-secondary);
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type="datetime-local"].input_bottomline {
  border: none;
  border-bottom: 2px solid var(--bs-secondary);
}

/* Custom Radio Button */
.custom-radio .form-check-input {
  width: 1.3em;
  height: 1.3em;
  border-radius: 50%;
}
.custom-radio .form-check-input:checked {
  background-color: var(--bs-primary) !important;
  border-color: var(--bs-primary) !important;
}
.custom-radio .form-check-label {
  margin-left: 10px;
}

select.form-select:focus {
  border-color: var(--bs-primary);
  border-width: 1px; /* Menipiskan border */
  box-shadow: 0 0 0 0.05rem rgba(var(--bs-primary-rgb), 0.5); /* Lebih tipis dari sebelumnya */
  outline: none;
}

#calendarContainer {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 15px;
}
.flatpickr-calendar {
  background: transparent;
  border: none;
  box-shadow: none !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 auto;
  position: static !important;
  padding-left: 20px;
  padding-right: 20px;
}
.flatpickr-months {
  display: flex;
  justify-content: space-between;
}
.flatpickr-month {
  background: transparent;
}
.flatpickr-current-month {
  font-size: 16px;
  padding: 8px 0;
}
.flatpickr-weekday {
  background: transparent;
  color: #333;
  font-weight: 600;
}
.flatpickr-days {
  display: flex;
  gap: 20px;
  border: none;
  width: 100% !important;
}
.dayContainer {
  width: 100% !important;
  min-width: auto !important;
  max-width: none !important;
}
.flatpickr-day.selected {
  background-color: var(--bs-primary) !important;
  border-color: #a56623 !important;
  color: white !important;
}
.flatpickr-day.disabled {
  color: #ccc;
}

.badge-outline-danger {
  color: #dc3545;
  background-color: transparent;
  border: 1px solid #dc3545;
  padding: 0.6em;
  border-radius: 0.25rem;
}

.accordion-button:not(.collapsed) {
  color: #212121 !important;
  background-color: transparent !important;
  box-shadow: none !important;
}
.accordion {
  --bs-accordion-btn-focus-box-shadow: none !important;
}
.btn-collapse-active {
  --bs-btn-hover-color: #dc3545 !important;
  --bs-btn-hover-bg: none !important;
  --bs-btn-active-color: #dc3545 !important;
  --bs-btn-active-bg: #ffffff !important;
}
.btn-collapse-disabled {
  border: none !important;
  background-color: #f3f3f3;
  --bs-btn-hover-color: #6c757d !important;
  --bs-btn-hover-bg: #f3f3f3 !important;
  --bs-btn-active-color: ##6c75 !important;
  --bs-btn-active-bg: #ffffff !important;
}

/*-----------------
    19. Invoice
-----------------------*/

.invoice-section .invoice-item-bill ul li:first-child,
.table .dropdown-item,
.footer-social-widget .nav-social {
  justify-content: start;
  -webkit-justify-content: start;
  -ms-flex-pack: start;
}
.invoice-section {
  position: relative;
  padding: 80px 0;
}
@media (max-width: 991.98px) {
  .invoice-section {
    padding: 60px 0;
  }
}
@media (max-width: 767.98px) {
  .invoice-section {
    padding: 50px 0;
  }

  .toggle-btn {
    padding: 6px 10px; /* Menyesuaikan padding lebih kecil di perangkat kecil */
    font-size: 0.8rem; /* Menyesuaikan ukuran font lebih kecil di perangkat kecil */
  }

  .search-btn {
    padding: 8px 16px; /* Menyesuaikan padding lebih kecil di perangkat kecil */
    font-size: 0.8rem; /* Menyesuaikan ukuran font lebih kecil di perangkat kecil */
  }
}
.invoice-section .card-body {
  background: #ffffff;
  box-shadow: 0px 4px 24px rgba(225, 225, 225, 0.25);
  border-radius: 14px;
  padding: 40px;
  max-width: 1076px;
  margin: auto;
}
@media (max-width: 575.98px) {
  .invoice-section .card-body {
    padding: 20px;
  }
}
.invoice-section .invoice-item {
  margin: 0 0 22px;
}
.invoice-section .invoice-item .invoice-info {
  text-align: right;
}
@media (max-width: 575.98px) {
  .invoice-section .invoice-item .invoice-info {
    margin: 10px 0 0;
    text-align: left;
  }
}
.invoice-section .invoice-item .invoice-info h1 {
  font-weight: 700;
  font-size: 32px;
  color: #2f2f2f;
  margin: 0 0 10px;
}
@media (max-width: 1199.98px) {
  .invoice-section .invoice-item .invoice-info h1 {
    font-size: 22px !important;
  }
}
.invoice-section .invoice-item .invoice-info h6 {
  font-weight: 500;
  font-size: 14px;
  color: #737373;
}
.invoice-section .invoice-item-bill {
  position: relative;
  background: #201f1d;
  border-radius: 10px;
  padding: 30px;
  margin: 0 0 37px;
}
@media (max-width: 768px) {
  .invoice-section .invoice-item-bill {
    padding: 15px;
  }
}
.invoice-section .invoice-item-bill:before {
  content: "";
  position: absolute;
  top: -45px;
  left: -45px;
  width: 179px;
  height: 180px;
  background-size: cover;
}
.invoice-section .invoice-item-bill ul {
  position: relative;
  display: flex;
  flex-flow: row wrap;
  padding-left: 0;
  list-style: none;
  margin: 0;
}
.invoice-section .invoice-item-bill ul li {
  -ms-flex: 33.33%;
  flex: 33.33%;
  max-width: 33.33%;
  border-left: 1px solid #fcfbfb;
  display: flex;
  justify-content: center;
}
@media (max-width: 575.98px) {
  .invoice-section .invoice-item-bill ul li {
    -ms-flex: 100%;
    flex: 100%;
    max-width: 100%;
    border-left: 0;
    padding-left: 0;
    justify-content: start;
    margin: 0 0 15px;
  }
  .invoice-section .invoice-item-bill ul li:last-child {
    margin: 0;
  }
}
.invoice-section .invoice-item-bill ul li:first-child {
  border-left: 0;
}
.invoice-section .invoice-item-bill ul li .invoice-info h6 {
  font-weight: 500;
  font-size: 18px;
  color: #ffffff;
  margin: 0 0 15px;
}
.invoice-section .invoice-item-bill ul li .invoice-info p {
  font-size: 14px;
  color: #ffffff;
  margin: 0 0 15px;
}
.invoice-section .payment-details {
  margin-top: 40px;
  max-width: 925px;
}
@media (max-width: 575.98px) {
  .invoice-section .payment-details .invoice-terms {
    margin: 0 0 20px;
  }
}
.invoice-section .payment-details .invoice-terms h6 {
  font-weight: 500;
  font-size: 18px;
  color: #2f2f2f;
  margin-bottom: 18px;
}
.invoice-section .payment-details .invoice-terms .invocie-note {
  border: 2px dashed #787878;
  border-radius: 4px;
  max-width: 266px;
  padding: 20px;
}
.invoice-section .payment-details .invoice-terms .invocie-note h6 {
  font-weight: 500;
  font-size: 18px;
  color: #201f1d;
  margin: 0 0 20px;
}
.invoice-section .payment-details .invoice-terms .invocie-note p {
  font-weight: 500;
  font-size: 14px;
  color: #2f2f2f;
}
.invoice-section .invoice-total {
  background: #f1f1f1;
  border: 2px dashed #fcfcfc;
  margin: 33px 0 33px;
  padding: 10px;
  /* max-width: 945px; */
  text-align: right;
}
.invoice-section .invoice-total h4 {
  font-weight: 500;
  font-size: 20px;
  color: #201f1d;
}
@media (max-width: 767.98px) {
  .invoice-section .invoice-total h4 {
    font-size: 18px;
  }
}
.invoice-section .invoice-total h4 span {
  padding-left: 88px;
}
@media (max-width: 575.98px) {
  .invoice-section .invoice-total h4 span {
    padding: 0;
  }
}
.invoice-section .invoice-total-box .invoice-total-inner p {
  font-weight: 500;
  font-size: 14px;
  color: #828282;
  margin-bottom: 25px;
}
.invoice-section .invoice-total-box .invoice-total-inner p span {
  float: right;
  font-weight: 700;
  font-size: 15px;
  color: #2f2f2f;
}
.invoice-section .invoice-note-footer .invocie-note {
  margin: 0 0 20px;
}
.invoice-section .invoice-note-footer .invocie-note h6 {
  font-weight: 500;
  font-size: 18px;
  color: #201f1d;
  margin: 0 0 13px;
}
.invoice-section .invoice-note-footer .invocie-note p {
  font-weight: 500;
  font-size: 14px;
  color: #2f2f2f;
}
.invoice-section .invoice-note-footer .invoice-sign {
  float: right;
}
@media (max-width: 575.98px) {
  .invoice-section .invoice-note-footer .invoice-sign {
    float: left;
  }
}
.invoice-section .invoice-note-footer .invoice-sign img {
  margin: 0 0 19px;
}
@media (max-width: 991.98px) {
  .invoice-section .invoice-note-footer .invoice-sign img {
    margin: 0;
  }
}
.invoice-section .invoice-note-footer .invoice-sign span {
  font-weight: 500;
  font-size: 18px;
  color: #201f1d;
  text-align: center;
}

/* Popup WhatsApp */
.btn-wa {
  position: fixed;
  bottom: 20px;
  right: 20px;
  cursor: pointer;
  background-color: #25d366;
  z-index: 10000;
}
.wa-popup {
  position: fixed;
  bottom: 70px;
  right: 20px;
  width: 300px;
  background: #fff;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
  border-radius: 10px;
  font-family: sans-serif;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.5s ease-out;
}

.wa-popup.popup-animation {
  animation: popupAnimation 0.5s ease-out forwards;
}

@keyframes popupAnimation {
  0% {
    transform: translateY(100%);
  }
  100% {
    transform: translateY(0);
  }
}

.hidden-wa {
  display: none !important;
}

.wa-popup-header {
  padding: 12px;
  font-size: 14px;
  font-weight: bold;
  background: #1a1a1acc;
  color: #fff;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  position: relative;
}
#closePopup {
  bottom: 6rem;
  position: absolute;
  right: -19px;
  background: none;
  border: none;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  background-color: #1a1a1acc;
}

#refundMobile {
  display: none;
}

#refundDesktop {
  display: block;
}

/* Media query untuk tampilan mobile */
@media (max-width: 768px) {
  #refundMobile {
    display: block;
  }

  #refundDesktop {
    display: none;
  }
}

/* Timeline Container Styles */
.row-timeline {
  width: 100%;
  max-width: 1200px;
  margin: 0;
  padding: 60px 0;
  display: flex;
  align-items: center;
}

.col-lg-12 {
  width: 100%;
  padding: 0 15px;
}

.text-light {
  color: #ffffff !important;
}

/* Timeline Styles */
.container-timeline {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-timeline ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 10px;
  position: relative;
}

/* Timeline Items */
.container-timeline li {
  position: relative;
  padding: 10px 0;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease-out forwards;
}

/* Step Numbers */
.container-timeline li:before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  top: 0;
  left: 0;
  width: 50px;
  height: 50px;
  background: red;
  color: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  box-shadow: 0 4px 15px rgb(255, 0, 0);
  transition: all 0.3s ease;
  z-index: 2;
}

.container-timeline ul {
  counter-reset: step-counter;
}

/* Hover Effects */
.container-timeline li:hover:before {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgb(255, 0, 0);
}

/* Content Styles */
.container-timeline li h4 {
  font-size: 18px;
  font-weight: bold;
  margin: 70px 0 15px 0;
  transition: color 0.3s ease;
}

.container-timeline li p {
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

/* Connecting Line */
.container-timeline ul:after {
  content: "";
  position: absolute;
  top: 25px;
  left: 0;
  right: 0;
  height: 2px;
  background: red;
}

/* Animation */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Particle Effects */
.container-timeline:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(
      2px 2px at 20% 30%,
      rgba(0, 255, 0, 0.8),
      transparent
    ),
    radial-gradient(2px 2px at 60% 70%, rgba(0, 255, 0, 0.6), transparent),
    radial-gradient(1px 1px at 90% 40%, rgba(0, 255, 0, 0.4), transparent),
    radial-gradient(1px 1px at 40% 80%, rgba(0, 255, 0, 0.5), transparent);
  background-size: 200px 200px, 300px 300px, 150px 150px, 250px 250px;
  animation: sparkle 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes sparkle {
  0%,
  100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.1);
  }
}

  .carousel-item-custom {
      padding: 20px 0;
  }
  
  .caption {
      padding: 10px;
      transition: all 0.3s ease;
  }
  
  .caption img {
      transition: all 0.3s ease;
      max-height: 100px;
  }
  
  .caption p {
      font-size: 14px;
      margin-bottom: 0;
      font-weight: 500;
  }

/* Responsive Design */
@media (max-width: 768px) {
  .container-timeline ul {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }

  .container-timeline li:before {
    left: 50%;
    transform: translateX(-50%);
  }

  .container-timeline li h4 {
    font-size: 24px;
    margin-top: 80px;
  }

  .container-timeline li p {
    font-size: 14px;
  }

  .container-timeline ul:after {
    display: none;
  }

  .row {
    padding: 40px 0;
  }

  .caption img {
      max-height: 60px;
  }
  .caption p {
      font-size: 12px;
  }
  
  #section-call-to-action .row{
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container-timeline {
    padding: 0 10px;
  }

  .container-timeline li h4 {
    font-size: 20px;
  }

  .container-timeline li:before {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .container-timeline li h4 {
    margin-top: 70px;
  }
}
