html,
body {
  overflow-x: hidden;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* ============ HERO SECTION ============ */
.hero {
  background: url("https://ik.imagekit.io/pandooin/tr:pr-true/production/images/itinerary/lombok-3d2n-kuta-mandalika-pink-beach/iaaTEbYJfUdkkNAp9w1hadd3XQkdWVqjsMFtLwQz.jpg") no-repeat center center;
  background-size: cover;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  text-shadow: 1px 1px 5px #000;
}

.hero h1 {
  font-size: 3rem;
}

.hero p {
  font-size: 1.25rem;
}

/* ============ SECTION TITLE ============ */
.section-title {
  font-size: 1.8rem;
  font-weight: bold;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 1px;
  color: #333;
  margin-bottom: 2rem;
}

/* ============ NAVBAR ============ */
.navbar-custom {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0));
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
}

.navbar-scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding-top: 0.4rem !important;
  padding-bottom: 0.4rem !important;
  animation: fadeDown 0.4s ease-in-out;
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.navbar-nav .nav-link {
  transition: color 0.3s ease, transform 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: #ffbf00;
  transform: translateY(-2px);
}

/* ============ CAROUSEL ============ */
.carousel-caption {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(2px);
  padding: 20px;
  border-radius: 10px;
}

.carousel-caption h1 {
  font-size: 2.5rem;
  font-weight: bold;
}

.carousel-caption p {
  font-size: 1.2rem;
}

.carousel-item img {
  height: 500px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .carousel-item img {
    height: 250px;
  }
}

/* ============ CARD STYLING ============ */
.card,
.card-rental,
.card-kategori {
  transition: all 0.3s ease-in-out;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card:hover,
.card-rental:hover,
.card-kategori:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.card-img-top,
.img-rental {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
  background-color: #f0f0f0;
  border-radius: 0.5rem 0.5rem 0 0;
}

.card-title {
  font-size: 1.1rem;
  font-weight: bold;
  text-align: center;
}

.card-text {
  font-size: 0.95rem;
  color: #555;
}

.card .btn {
  margin-top: 10px;
}

/* ============ CARD KATEGORI ============ */
.card-kategori {
  background: white;
  padding: 1.2rem;
  cursor: pointer;
}

.card-kategori:hover {
  background: linear-gradient(135deg, #e8fff3, #f2fff9);
  transform: translateY(-6px) scale(1.02);
}

.card-kategori i {
  color: #28a745;
  font-size: 2.2rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

.card-kategori:hover i {
  transform: scale(1.2) rotate(-5deg);
  color: #20c997;
}

.card-kategori h6 {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #333;
}

/* ============ HOVER SECTION ============ */
section .border:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* ============ RESPONSIVE ORDER CLASS ============ */
@media (max-width: 768px) {
  .order-mobile-first {
    order: 1 !important;
  }
  .order-mobile-last {
    order: 2 !important;
  }
}

@media (min-width: 768.1px) {
  .order-mobile-first {
    order: 2 !important;
  }
  .order-mobile-last {
    order: 1 !important;
  }
}

/* ============ TABLET RESPONSIVENESS (768px–1024px) ============ */
@media (min-width: 768px) and (max-width: 1024px) {
  .card,
  .card-rental,
  .card-kategori {
    margin-bottom: 1.5rem;
    height: 50%;
    padding: 1.25rem;
  }

  .card-body,
  .card-rental .card-body {
    padding: 1rem;
  }

  .img-rental,
  .card-img-top {
    height: 13=1990px;
  }

  .card-title {
    font-size: 1.05rem;
  }
  .card-text {
    font-size: 0.92rem;
  }
  .card-kategori h6 {
    font-size: 0.9rem;
  }
  .card-kategori i {
    font-size: 2rem;
  }

  .carousel-caption h1 {
    font-size: 1.8rem;
  }
  .carousel-caption p {
    font-size: 1rem;
  }

  .navbar-brand {
    font-size: 1rem;
  }
  .section-title {
    font-size: 1.6rem;
  }

  .table td,
  .table th {
    font-size: 0.9rem;
    padding: 0.6rem;
  }

  .card-img-top.rounded {
    height: 220px;
  }

  .counter {
    font-size: 1.8rem;
  }

  .cta h2 {
    font-size: 2rem;
  }

  footer p {
    font-size: 0.9rem;
  }
}

/* ============ FOOTER ============ */
footer {
  background-color: #f8f9fa;
  padding: 2rem 0;
}
/* ================== CARD KATEGORI ================== */
.card-kategori {
  background: white;
  border-radius: 0.75rem;
  padding: 1.2rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease-in-out;
  cursor: pointer;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.card-kategori:hover {
  transform: translateY(-6px) scale(1.02);
  background: linear-gradient(135deg, #e8fff3, #f2fff9);
}

.card-kategori i {
  color: #28a745;
  font-size: 2rem;
  margin-bottom: 0.5rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

.card-kategori:hover i {
  transform: scale(1.2) rotate(-5deg);
  color: #20c997;
}

.card-kategori h6 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #333;
  margin: 0;
}

/* Responsive adjustment */
@media (max-width: 576px) {
  .card-kategori {
    padding: 1rem;
  }
  .card-kategori i {
    font-size: 1.6rem;
  }
  .card-kategori h6 {
    font-size: 0.85rem;
  }
}

@media (min-width: 577px) and (max-width: 768px) {
  .card-kategori {
    padding: 1.1rem;
  }
  .card-kategori i {
    font-size: 1.8rem;
  }
  .card-kategori h6 {
    font-size: 0.9rem;
  }
}
.card.hover-shadow {
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.card.hover-shadow:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.card .card-title {
  font-size: 1.05rem;
  font-weight: 600;
}

.card .card-text {
  font-size: 0.95rem;
  color: #555;
}

.card .btn-sm {
  font-size: 0.85rem;
  padding: 0.4rem 0.75rem;
}

@media (max-width: 576px) {
  .card .card-title {
    font-size: 1rem;
  }
  .card .card-text {
    font-size: 0.9rem;
  }
}

@media (min-width: 577px) and (max-width: 768px) {
  .card .card-title {
    font-size: 1rem;
  }
  .card .card-text {
    font-size: 0.92rem;
  }
}
.card.hover-shadow {
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.card.hover-shadow:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.card-title {
  font-size: 1.1rem;
  font-weight: 600;
}

.card-text {
  font-size: 0.95rem;
  color: #555;
}

@media (max-width: 768px) {
  .card-title {
    font-size: 1rem;
  }
  .card-text {
    font-size: 0.9rem;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .card-title {
    font-size: 1.05rem;
  }

  .card .btn-sm {
    font-size: 0.85rem;
    padding: 0.4rem 0.75rem;
  }

  .card-img-top,
  .card .bg-light img {
    height: 200px !important;
  }
}
.card-rental {
  transition: all 0.3s ease-in-out;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-rental:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.img-rental {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
  background-color: #f0f0f0;
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
}

/* Responsif Tablet (768–1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
  .img-rental {
    height: 180px;
  }

  .card-rental .card-title {
    font-size: 1.05rem;
  }

  .card-rental .btn {
    font-size: 0.85rem;
    padding: 0.4rem 0.75rem;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .card,
  .card-rental,
  .card-kategori {
    margin-bottom: 1.5rem;
    height: auto;
    padding: 1rem;
  }

  .card-body,
  .card-rental .card-body {
    padding: 1rem;
  }

  .img-rental,
  .card-img-top,
  .card .bg-light img {
    height: 190px !important;
    object-fit: cover;
  }

  .card-title,
  .card-rental .card-title {
    font-size: 1.05rem;
    text-align: center;
  }

  .card-text {
    font-size: 0.92rem;
    text-align: center;
  }

  .card-rental .btn,
  .card .btn-sm {
    font-size: 0.85rem;
    padding: 0.4rem 0.75rem;
    display: block;
    margin: 0 auto;
  }

  .section-title {
    font-size: 1.6rem;
  }

  footer p {
    font-size: 0.9rem;
  }

  /* Kontak Langsung Layout */
  .kontak-row .col-md-8,
  .kontak-row .col-md-4 {
    width: 100%;
    padding: 1rem;
    text-align: center;
  }

  .kontak-row {
    flex-direction: column !important;
  }

  .img-thumbnail {
    max-width: 100px;
    margin: 0 auto;
  }
}
