/* ==========================================================================
   KAMPUNG BAMBOO BANDUNG - RESPONSIVE & PRINT STYLESHEET
   Domain: kampungbamboo.my.id
   Pure Standard CSS without nested media queries (Zero cPanel Errors/Warnings)
   ========================================================================== */

/* Tablet & Mobile Screens (992px and down) */
@media (max-width: 992px) {
  body {
    padding-bottom: 70px;
  }

  .nav-wrapper {
    height: 62px;
  }

  .brand-logo {
    gap: 8px;
  }

  .brand-icon {
    width: 36px;
    height: 36px;
    font-size: 18px;
    border-radius: 10px;
  }

  .brand-text h1 {
    font-size: 15px;
  }

  .brand-text p {
    font-size: 9px;
  }

  /* Hide Desktop Nav Actions on mobile */
  .nav-actions {
    display: none !important;
  }

  /* Show Hamburger Button on mobile */
  .mobile-toggle {
    display: flex !important;
    background: #F4F7EE;
    border: 1.5px solid #D1DCC2;
    border-radius: 8px;
    width: 38px;
    height: 38px;
    color: #2D4F1E;
    cursor: pointer;
    padding: 0;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-left: auto;
  }

  /* Mobile Nav Menu Drawer */
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #FFFFFF;
    flex-direction: column;
    padding: 12px 16px 20px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    border-bottom: 2px solid #8C9C3E;
    z-index: 999;
    gap: 2px;
  }

  .nav-menu.open {
    display: flex !important;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-menu .nav-link {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
  }

  .nav-menu .nav-link:hover,
  .nav-menu .nav-link.active {
    background: #F4F7EE;
    color: #2D4F1E;
  }

  /* Hero on Mobile/Tablet */
  .hero-section {
    padding: 36px 0 50px;
  }

  .hero-grid {
    flex-direction: column;
    text-align: center;
    gap: 28px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-slider-wrap {
    max-width: 100%;
    height: 250px;
  }

  /* Public Mobile Bottom Navigation Dock */
  .mobile-public-bottom-nav {
    display: flex !important;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: #FFFFFF;
    border-top: 1px solid #E5E7EB;
    z-index: 9999;
    justify-content: space-around;
    align-items: center;
    padding: 0 4px;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
  }

  .mob-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #687762;
    padding: 4px;
    min-width: 52px;
  }

  .mob-nav-icon {
    font-size: 18px;
    line-height: 1;
    margin-bottom: 2px;
  }

  .mob-nav-label {
    font-size: 10px;
    font-weight: 600;
    white-space: nowrap;
  }

  .mob-nav-item.active,
  .mob-nav-item:hover {
    color: #2D4F1E;
    font-weight: 700;
  }

  .mob-nav-booking-cta {
    position: relative;
    top: -10px;
  }

  .mob-cta-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #2D4F1E;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(45, 79, 30, 0.3);
    border: 2px solid #FFFFFF;
  }

  .mob-cta-icon {
    font-size: 20px;
  }

  /* Grids on Tablet */
  .grid-3 > div,
  .grid-3 > article,
  .grid-3 > .card,
  .grid-4 > div,
  .grid-4 > article,
  .grid-4 > .feature-box,
  .grid-4 > .card {
    flex: 1 1 calc(50% - 12px);
  }

  .footer-grid > div {
    flex: 1 1 calc(50% - 16px);
  }
}

/* Small Mobile Screens (640px and down) */
@media (max-width: 640px) {
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero-title {
    font-size: 24px;
  }

  .hero-slider-wrap {
    height: 220px;
  }

  .grid-2 > div,
  .grid-3 > div,
  .grid-3 > article,
  .grid-3 > .card,
  .grid-4 > div,
  .grid-4 > article,
  .grid-4 > .feature-box,
  .grid-4 > .card,
  .footer-grid > div,
  .booking-grid-2 > div {
    flex: 1 1 100%;
    min-width: 100%;
  }

  .booking-card-box {
    padding: 14px;
    border-radius: 12px;
  }

  .form-card {
    padding: 18px;
  }
}

/* Tiny Mobile Screens (480px and down) - Standalone Media Query */
@media (max-width: 480px) {
  .brand-text p {
    display: none;
  }

  .hero-title {
    font-size: 22px;
  }

  .hero-floating-card {
    padding: 8px 12px;
    font-size: 12px;
  }
}

/* Print Stylesheet */
@media print {
  body {
    background-color: #FFFFFF;
    color: #000000;
    font-size: 12pt;
    margin: 0;
    padding: 0;
  }

  .topbar-announcement, 
  .navbar, 
  .footer, 
  .mobile-public-bottom-nav,
  .kb-chat-widget-wrapper,
  .btn {
    display: none !important;
  }
}
