/* =====================================================
   VYBENT HOTELS — GLOBAL MOBILE RESPONSIVE CSS
   Include this on every page:
   <link rel="stylesheet" href="vybent-mobile.css">
   Place AFTER your page's own <style> block
   ===================================================== */

/* ── RESET OVERFLOW ── */
html, body { overflow-x: hidden !important; }
img { max-width: 100%; height: auto; }
* { -webkit-text-size-adjust: 100%; }

/* ── HAMBURGER BUTTON ── */
.vb-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
  margin-left: 8px;
  flex-shrink: 0;
}
.vb-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #0c1f4a;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.vb-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.vb-hamburger.open span:nth-child(2) { opacity: 0; transform: translateX(-8px); }
.vb-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── MOBILE DRAWER ── */
.vb-mob-drawer {
  display: none;
  position: fixed;
  top: 74px;
  left: 0;
  right: 0;
  bottom: 0;
  background: #ffffff;
  z-index: 998;
  flex-direction: column;
  overflow-y: auto;
  padding: 0 0 30px;
  box-shadow: 0 8px 30px rgba(12,31,74,.15);
  border-top: 1px solid #e2ddd6;
  animation: drawerSlide 0.25s ease;
}
.vb-mob-drawer.show { display: flex; }
@keyframes drawerSlide {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.vb-mob-drawer a {
  display: block;
  color: #1a1a2e;
  font-size: 1rem;
  font-weight: 500;
  padding: 16px 24px;
  border-bottom: 1px solid #f3efe8;
  text-decoration: none;
  transition: background 0.15s;
  font-family: 'DM Sans', sans-serif;
}
.vb-mob-drawer a:hover { background: #faf8f4; }
.vb-mob-drawer .vb-mob-cta {
  background: #0c1f4a !important;
  color: #fff !important;
  margin: 16px 24px 0;
  border-radius: 10px;
  text-align: center;
  font-weight: 700 !important;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-bottom: none !important;
  padding: 16px 24px !important;
}
.vb-mob-drawer .vb-mob-contact {
  padding: 18px 24px 0;
  margin-top: 6px;
  border-top: 1px solid #e2ddd6;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.vb-mob-drawer .vb-mob-contact a {
  border-bottom: none;
  padding: 6px 0;
  font-size: .9rem;
  color: #0c1f4a;
  font-weight: 600;
}

/* =====================================================
   TABLET  ≤ 1024px
   ===================================================== */
@media (max-width: 1024px) {

  /* Show hamburger, hide desktop nav */
  .vb-hamburger { display: flex !important; }
  
  nav, .topbar, .breadcrumb-bar,
  .search-section, .search-strip, .search-wrap,
  .filter-bar, .filter-tabs,
  .main-layout, .content-layout, .booking-layout,
  .rooms-section, .similar-section, .exp-right,
  .page-hero-content, .page-hero-c,
  .partners-section, .details-section,
  .experience-section, .also-section, .gallery-strip,
  .map-section, .faq-section, .cta-band,
  section, footer .footer-main, footer .footer-bottom,
  .footer-main, .footer-bottom,
  .hero-content, .hero-c { padding-left: 28px !important; padding-right: 28px !important; }

  /* Nav height */
  nav { height: 62px !important; }
  .mob-nav, .mobile-nav { top: 62px !important; }

  /* Grid collapses */
  .hotels-grid { grid-template-columns: 1fr 1fr !important; gap: 18px !important; }
  .testi-grid { grid-template-columns: 1fr 1fr !important; gap: 18px !important; }
  .loc-grid { grid-template-columns: 1fr 1fr !important; gap: 16px !important; }
  .footer-main { grid-template-columns: 1fr 1fr !important; gap: 28px !important; }
  .stats-strip { grid-template-columns: 1fr 1fr !important; }
  .stat-block:nth-child(2) { border-right: none !important; }

  /* Sidebar/two-col pages go single column */
  .main-layout,
  .content-layout,
  .booking-layout,
  .details-grid { grid-template-columns: 1fr !important; }

  .sidebar, .booking-card, .book-card, .summary-card,
  .quick-info-card, .qf-card { position: static !important; }

  /* Experience section */
  .exp-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
  .exp-mini, .hero-stats { display: none !important; }
  

  /* Search bar */
  .search-bar { grid-template-columns: 1fr 1fr !important; }
  .search-btn { grid-column: 1 / 3 !important; justify-content: center !important; border-radius: 8px !important; }

  /* Story/team grids */
  .story-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
  .story-badge { display: none !important; }
  .team-grid { grid-template-columns: 1fr 1fr !important; gap: 18px !important; }
  .awards-grid { grid-template-columns: 1fr 1fr !important; gap: 14px !important; }

  /* CTA */
  .cta-band .cta-inner, .cta-inner { flex-direction: column !important; text-align: center !important; }
  .cta-btns { justify-content: center !important; }

  /* Room cards */
  .room-card, .hcard { grid-template-columns: 1fr !important; }
  .hcard-img-wrap, .rc-gallery { min-height: 220px !important; }

  /* Gallery */
  .gallery-hero { grid-template-columns: 1fr 1fr !important; grid-template-rows: 220px 160px !important; padding-left: 24px !important; padding-right: 24px !important; }
  .gallery-grid { grid-template-columns: 1fr 1fr !important; grid-template-rows: 200px 200px !important; }
  .g-item.tall { grid-row: auto !important; }

  /* Info grid */
  .info-grid { grid-template-columns: 1fr 1fr !important; }
  .info-cell:nth-child(3n) { border-right: 1px solid #e2ddd6 !important; }
  .info-cell:nth-child(2n) { border-right: none !important; }

  /* Sim grids */
  .sim-grid, .similar-section .sim-grid { grid-template-columns: 1fr 1fr !important; gap: 16px !important; }

  /* Info strip contact page */
  .info-strip { grid-template-columns: 1fr 1fr !important; }

  /* Hero */
  .hero-stats { display: none !important; }
  .hero-visual { display: none !important; }

  /* FAQ */
  .faq-grid { grid-template-columns: 1fr !important; }

  /* Policy grids */
  .policy-grid, .pol-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 768px) {

  nav {
    height: auto;
    padding: 10px 12px;
  }

  .nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }


  .book-now-btn {
    padding: 8px 12px;
    font-size: 12px;
  }
   .hero {
    height: auto;
    min-height: 500px;
  }


  .hero-content h1 {
    font-size: 26px;
    line-height: 1.3;
  }

  .hero-content p {
    font-size: 14px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 10px;
  }
 .btn {
    padding: 10px 14px;
    font-size: 13px;
  }
   .gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 12px;
  }
  .gallery-grid {
  display: grid !important;
}

  .gallery-grid img {
    height: 220px;
    object-fit: cover;
  }
  
   .container {
    padding: 0 15px;
  }

  .section {
    padding: 50px 0;
  }
  
  h1, h2, h3 {
    margin-bottom: 10px;
  }

  p {
    margin-bottom: 10px;
  }
  

  .exp-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px;
  }

  /* IMAGE FIRST */
  .exp-left {
    order: 1;
    width: 100%;
  }

  /* CONTENT BELOW */
  .exp-right {
    order: 2;
    width: 100%;
    text-align: center;
  }

  /* IMAGE FIX */
  .exp-img-main {
    width: 100%;
    height: 220px !important;
    object-fit: cover;
    border-radius: 14px;
  }

  /* REMOVE FLOATING CARDS */
  .exp-mini {
    display: none !important;
  }

  /* FEATURE ALIGNMENT */
  .feature-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }

  /* SEARCH FIX */
  .search-bar {
    grid-template-columns: 1fr !important;
  }
.bcbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 20px !important;
  }

  .bcbar-btns {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .gallery-hero {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto !important;
    padding: 10px 20px !important;
  }

  .gi.main {
    grid-row: auto !important;
  }

  .gi img {
    height: 220px !important;
    object-fit: cover;
  }
  .gallery-hero > div:last-child {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 8px;
  }
   .layout {
    grid-template-columns: 1fr !important;
    padding: 20px !important;
  }

  .book-card {
    position: static !important;
    margin-top: 20px;
  }
   .sr-img {
    height: 180px !important;
  }

  .sr-img img {
    object-fit: cover;
  }
}
/* =====================================================
   MOBILE  ≤ 640px
   ===================================================== */
@media (max-width: 640px) {

  /* Universal padding */
  nav, .topbar, .breadcrumb-bar,
  .search-section, .search-strip, .search-wrap,
  .filter-bar, .filter-tabs,
  .main-layout, .content-layout, .booking-layout,
  .rooms-section, .similar-section,
  .page-hero-content, .page-hero-c,
  .partners-section, .details-section,
  .experience-section, .also-section, .gallery-strip,
  .map-section, .faq-section,
  section, .footer-main, .footer-bottom,
  .hero-content, .cta-inner { padding-left: 18px !important; padding-right: 18px !important; }

  /* Topbar — show only address, hide links */
  .topbar { font-size: .72rem !important; }
 

  /* Nav */
  
  .btn-book { padding: 9px 16px !important; font-size: .78rem !important; }

  /* HERO */
  .hero, .page-hero { min-height: 440px !important; }
  .hero h1, .page-hero-content h1, .page-hero-c h1 {
    font-size: clamp(1.8rem, 6.5vw, 2.4rem) !important;
    line-height: 1.12 !important;
  }
  .hero-desc, .hero p { font-size: .9rem !important; }
  .hero-actions { flex-direction: column !important; gap: 10px !important; }
  .btn-primary, .btn-outline-w, .btn-outline-hero {
    width: 100% !important;
    text-align: center !important;
    padding: 15px 20px !important;
    font-size: .92rem !important;
  }

  /* Search bar — fully stacked */
  .search-bar { grid-template-columns: 1fr !important; margin-top: 14px !important; border-radius: 12px !important; }
  .sf, .search-field { border-right: none !important; border-bottom: 1px solid #e2ddd6 !important; }
  .sf:last-of-type { border-bottom: none !important; }
  .search-btn { grid-column: 1 !important; justify-content: center !important; padding: 15px !important; border-radius: 8px !important; }

  /* Stats */
  .stats-strip, .stats-bar { grid-template-columns: 1fr 1fr !important; }
  .stat-block { padding: 22px 10px !important; }
  .stat-num, .stat-number { font-size: 1.9rem !important; }
  .stat-txt, .stat-text { font-size: .65rem !important; }

  /* Hotels grid — single column */
  .hotels-grid { grid-template-columns: 1fr !important; }
  .hc-img { height: 230px !important; }

  /* Testi — single col */
  .testi-grid { grid-template-columns: 1fr !important; }

  /* Locations */
  .loc-grid { grid-template-columns: 1fr 1fr !important; gap: 10px !important; }
  .loc-img { height: 230px !important; }

  /* Experience */

  .exp-img,
  .story-img-main,
  .exp-img-main {
    height: 200px !important;
  }

  .section-title {
    font-size: 1.6rem !important;
  }

  .section-title {
    font-size: 1.6rem !important;
  }


  /* Gallery */


  .gallery-hero {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto !important;
    padding: 10px 15px !important;
    gap: 8px;
  }

  .gi,
  .gi.main {
    height: 200px !important;
  }

  .gi img {
    height: 100% !important;
    object-fit: cover;
  }

  /* 2 images side by side */
  .gallery-hero > div:last-child {
    grid-template-columns: 1fr 1fr !important;
    display: grid;
    gap: 8px;
  }
 .bcbar {
    padding: 10px 15px !important;
  }

  .bc {
    flex-wrap: wrap;
    font-size: 0.75rem;
  }

  .bcbar-btns {
    width: 100%;
    justify-content: space-between;
    gap: 6px;
  }
  .layout {
    grid-template-columns: 1fr !important;
    padding: 15px !important;
    gap: 20px;
  }
    .book-card {
    position: static !important;
    border-radius: 14px;
  }

  .bc-head {
    padding: 18px 20px;
  }

  .bc-body {
    padding: 18px;
  }
   .sr-img {
    height: 160px !important;
  }
   .rh-name {
    font-size: 1.5rem;
  }

  .sec-title {
    font-size: 1rem;
  }


  /* Section header row */
  .section-header-row { flex-direction: column !important; align-items: flex-start !important; gap: 14px !important; }

  /* Section titles */
  .section-title { font-size: clamp(1.55rem, 5vw, 2rem) !important; }

  /* Footer */
  .footer-main { grid-template-columns: 1fr !important; gap: 24px !important; padding: 30px 18px !important; }
  .footer-bottom { flex-direction: column !important; gap: 6px !important; text-align: center !important; }

  /* Filter bar */
  .filter-inner, .filter-bar .filter-inner { gap: 8px !important; flex-wrap: wrap !important; }
  .sort-select { width: 100% !important; margin-left: 0 !important; }
  .filter-sep { display: none !important; }

  /* Room cards */
  .room-card { grid-template-columns: 1fr !important; }
  .rc-gallery, .hcard-img-wrap { min-height: 200px !important; height: 200px !important; }
  .rc-actions { flex-direction: column !important; gap: 8px !important; width: 100% !important; }
  .btn-detail, .btn-book-room, .btn-view-hotel {
    width: 100% !important;
    text-align: center !important;
  }

  /* Booking card */
  .bc-row, .bf-row, .fg-row, .fg-row-3 { grid-template-columns: 1fr !important; }
  .pay-methods { grid-template-columns: 1fr 1fr !important; }
  .radio-grid { grid-template-columns: 1fr !important; }

  /* Progress bar */
  .progress-inner { gap: 2px !important; }
  .step-label { display: none !important; }
  .step-label.active-lbl { display: block !important; font-size: .7rem !important; }
  .step-line { flex: 0.5 !important; }

  /* Contact */
  .info-strip { grid-template-columns: 1fr !important; }
  .map-overlay-info { flex-direction: column !important; padding: 18px !important; }
  .moi-actions { flex-direction: column !important; width: 100% !important; }
  .btn-map { text-align: center !important; }

  /* About page */
  .values-grid { grid-template-columns: 1fr !important; }
  .timeline-section .timeline-section  { grid-template-columns: 1fr !important; }
  .team-grid { grid-template-columns: 1fr 1fr !important; }
  .awards-grid { grid-template-columns: 1fr 1fr !important; }

  /* CTA */
  .cta-btns { flex-direction: column !important; width: 100% !important; }
  .btn-gold, .btn-ow, .btn-outline-white, .btn-wht, .btn-white-outline {
    width: 100% !important;
    text-align: center !important;
    display: block !important;
  }

  /* Hotel detail tabs */
  .tabs-nav { overflow-x: auto !important; -webkit-overflow-scrolling: touch !important; }
  .tab-btn { white-space: nowrap !important; padding: 12px 14px !important; font-size: .8rem !important; }

  /* Highlights / amenities grids */
  .highlights-grid, .amenities-grid { grid-template-columns: 1fr !important; }
  .am-grid { grid-template-columns: 1fr 1fr !important; }
  .incl-grid { grid-template-columns: 1fr !important; }
  .pol-grid, .policy-grid { grid-template-columns: 1fr !important; }

  /* Similar / also sections */
  .sim-grid, .sim-rooms, .also-grid, .exp-grid-small { grid-template-columns: 1fr !important; }

  /* Confirmation screen */
  .conf-btns { flex-direction: column !important; align-items: center !important; }
  .conf-btns a { width: 100% !important; text-align: center !important; }

  /* Thank you page */
  .ref-pill { flex-direction: column !important; gap: 10px !important; border-radius: 14px !important; text-align: center !important; }
  .ref-pill-sep { display: none !important; }
  .exp-grid .exp-card { min-width: auto !important; }
  .exp-grid { grid-template-columns: 1fr  !important; }

  /* Quick connect */
  .quick-card, .hours-card, .properties-card { margin-bottom: 16px !important; }

  /* Breadcrumb bar */
  .breadcrumb-bar, .bcbar { flex-direction: column !important; gap: 10px !important; align-items: flex-start !important; }
  .share-btns, .bcbar-btns { width: 100% !important; justify-content: flex-start !important; }
}

/* =====================================================
   EXTRA SMALL  ≤ 380px
   ===================================================== */
@media (max-width: 380px) {
  nav, .topbar, .footer-main, .footer-bottom,
  .hero-content, .search-wrap, .gallery-strip,
  .cta-inner, .page-hero-content, .page-hero-c,
  .details-section, .experience-section, .also-section,
  .map-section, .faq-section { padding-left: 14px !important; padding-right: 14px !important; }
  section {
  padding-left: 20px !important;
  padding-right: 20px !important;
}

.hero-content {
  padding-left: 15px !important;
  padding-right: 15px !important;
}

  .hero h1, .page-hero-content h1 { font-size: 1.7rem !important; }
  .loc-grid { grid-template-columns: 1fr !important; }
  .team-grid { grid-template-columns: 1fr !important; }
  .pay-methods { grid-template-columns: 1fr 1fr !important; }
  
}
