/*==========================================================================
Luxe by Lotels — Global Responsive Layer
Loaded AFTER the theme stylesheet and website-mobile.css so these rules win.
Replaces the theme's stepped breakpoint font sizes with fluid typography and
hardens layout, forms, media and tables across every viewport.

NOTE: the header, hamburger and off-canvas drawer live in css/nav.css.
==========================================================================*/

/* ---------- 1. Layout guards ---------- */
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
html, body {
  max-width: 100%;
  overflow-x: hidden;
}
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *::before, *::after { box-sizing: border-box; }

img, svg, video, iframe, embed, object { max-width: 100%; }
img { height: auto; }
iframe { border: 0; }

/* Flex/grid children must be allowed to shrink or they overflow on phones */
.row > * { min-width: 0; }

/* Long words / URLs never force a horizontal scroll */
p, li, td, th, h1, h2, h3, h4, h5, h6, a, span {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* ---------- 2. Fluid typography ---------- */
/* The theme ships h1 at a fixed 80px and website-mobile.css steps it down at
   767/575 only, which leaves a hard jump across the tablet range. */
h1, .h1 { font-size: clamp(2.125rem, 1.2rem + 4.6vw, 5rem);       line-height: 1.12; }
h2, .h2 { font-size: clamp(1.625rem, 1rem + 2.2vw, 2.8125rem);    line-height: 1.25; }
h3, .h3 { font-size: clamp(1.375rem, 1rem + 1.1vw, 1.875rem);     line-height: 1.3;  }
h4, .h4 { font-size: clamp(1.125rem, 0.95rem + 0.55vw, 1.5rem);   line-height: 1.4;  }
h5, .h5 { font-size: clamp(1.0625rem, 0.95rem + 0.3vw, 1.25rem);  line-height: 1.45; }
h6, .h6 { font-size: clamp(1rem, 0.93rem + 0.22vw, 1.125rem);     line-height: 1.5;  }

.display-1, .display-2, .display-3 { font-size: clamp(2.25rem, 1.5rem + 4vw, 4.5rem); line-height: 1.1; }

@media (max-width: 767.98px) {
  body { font-size: 16px; line-height: 1.7; }
}

/* ---------- 3. Spacing scale ---------- */
.section-padding { padding: clamp(60px, 8vw, 120px) 0; }
.section-padding.pt-0 { padding-top: 0; }
.section-padding.pb-0 { padding-bottom: 0; }

@media (max-width: 991.98px) {
  .mb-60 { margin-bottom: 40px; }
  .mt-35 { margin-top: 25px; }
}

@media (max-width: 575.98px) {
  .container, .container-fluid, .container-xxl {
    padding-left: 18px;
    padding-right: 18px;
  }
  .row { --bs-gutter-x: 1.25rem; }
}

/* ---------- 4. Home hero slider ---------- */
.banner__two-area { padding-top: 0; }
.banner__two-content {
  padding-top: clamp(150px, 22vw, 305px);
  padding-bottom: clamp(120px, 18vw, 270px);
  padding-left: 12px;
  padding-right: 12px;
}
.banner__two-content span { font-size: clamp(0.95rem, 0.85rem + 0.5vw, 1.25rem); line-height: 1.5; }
.banner__two-content h1 {
  font-size: clamp(2rem, 1rem + 4.8vw, 5rem) !important;
  line-height: 1.12 !important;
  margin-bottom: clamp(24px, 3vw, 45px);
  letter-spacing: 0.01em;
}
.banner__two-dots { bottom: clamp(28px, 4vw, 55px); }
.banner__two-video { padding: 0 clamp(12px, 3vw, 62px); }

@media (max-width: 991.98px) {
  .banner__two-video { display: none; }
}

/* ---------- 5. Inner-page banners ---------- */
.page__banner {
  padding-top: clamp(140px, 18vw, 235px);
  padding-bottom: clamp(60px, 9vw, 125px);
}
.page__banner-title h1 {
  font-size: clamp(1.75rem, 1.1rem + 3vw, 2.8125rem);
  line-height: 1.2;
  margin-bottom: 12px;
}
.page__banner-title ul li { font-size: 14px; }

.page-banner { height: auto; min-height: clamp(220px, 32vw, 400px); padding: 110px 0 50px; }
.page-banner-title { font-size: clamp(1.75rem, 1.1rem + 3vw, 3rem); }
.page-banner-breadcrumb { flex-wrap: wrap; }

.page-header {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}
.page-header-inner {
  position: relative;
  z-index: 2;
  padding-top: clamp(130px, 18vw, 200px);
  padding-bottom: clamp(50px, 8vw, 100px);
}

/* ---------- 6. Buttons & touch targets ---------- */
.theme-btn, .theme-border-btn, .btn {
  min-height: 44px;
  white-space: nowrap;
}
@media (max-width: 575.98px) {
  .theme-btn, .theme-border-btn {
    padding: 14px 24px;
    font-size: 14px;
  }
  .deluxe__two-btn, .t-right.md-t-left { text-align: left; }
}

/* ---------- 7. Cards & grids ---------- */
.deluxe__two-item-image img,
.services__two-item-icon img,
.room__area-image img,
.accommodations__two-left img,
.accommodations__two-right img,
.place__area-image img { width: 100%; }

.deluxe__two-item-content h4 { font-size: clamp(1.05rem, 0.95rem + 0.45vw, 1.5rem); }

@media (max-width: 767.98px) {
  .deluxe__cards .deluxe__two-item-image img { height: 220px; }
  .services__two-item { margin-bottom: 24px; }
  .services__two .row > [class*="col-"]:last-child .services__two-item { margin-bottom: 0; }
  .lg-mb-30, .md-mb-30, .sm-mb-30, .xl-mb-30 { margin-bottom: 30px; }
}
@media (max-width: 575.98px) {
  .deluxe__two-item-content-bottom { flex-wrap: wrap; gap: 10px; }
}

@media (max-width: 991.98px) {
  .accommodations__two-left-roll { display: none; }
  .accommodations__two-left,
  .accommodations__two-right { margin-bottom: 30px; }
  .accommodations__two-left img,
  .accommodations__two-right img { max-height: 420px; object-fit: cover; }
  .room__area-title { margin-bottom: 30px; }
  .room__area-image { margin: 30px 0; }
  .place__area-image { margin-bottom: 30px; }
}

.call__area-bg { border-radius: 10px; overflow: hidden; }
@media (max-width: 1199.98px) {
  .call__area-bg-left { margin-bottom: 20px; text-align: center; }
  .call__area-bg-right { justify-content: center; }
}

@media (max-width: 991.98px) {
  .booking__area { min-height: 320px; background-attachment: scroll !important; }
}

/* ---------- 8. Forms ---------- */
input, select, textarea, .form-control, .form-select, .nice-select { max-width: 100%; }
@media (max-width: 767.98px) {
  /* 16px prevents iOS Safari from zooming the page on focus */
  input, select, textarea, .form-control, .form-select, .nice-select { font-size: 16px !important; }
  .contact__area-form-item { margin-bottom: 0; }
  .contact__area-form .col-sm-6 { margin-bottom: 20px; }
}

/* ---------- 9. Contact page ---------- */
.contact__area-map iframe {
  width: 100%;
  height: clamp(260px, 45vw, 500px);
  display: block;
  border-radius: 10px;
}
.contact__area-map.section-padding { padding-bottom: 0; }
@media (max-width: 991.98px) {
  .contact__area-info-item h6 { font-size: 15px; line-height: 1.5; }
  .contact__area-social { margin-bottom: 40px; }
}

/* ---------- 10. Room list sidebar / room details ---------- */
@media (max-width: 991.98px) {
  .all__sidebar { margin-top: 30px; }
  .room__details-right { margin-top: 30px; }
  .all__sidebar-item-category ul li a { display: flex; justify-content: space-between; gap: 10px; }
}

/* ---------- 11. Tables ---------- */
.table-responsive, .table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
table { max-width: 100%; }

/* ---------- 12. Policy / long-form pages ---------- */
.policy-page h2 { margin-bottom: 20px; }
.policy-page ul, .policy-page ol { padding-left: 20px; }
@media (max-width: 575.98px) {
  .policy-page .py-5 { padding-top: 2.5rem !important; padding-bottom: 2.5rem !important; }
}

/* ---------- 13. Scroll-up button ---------- */
@media (max-width: 575.98px) {
  .scroll-up { right: 16px; bottom: 16px; width: 44px; height: 44px; }
}

/* ---------- 14. Motion & accessibility ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
:focus-visible {
  outline: 2px solid #B89146;
  outline-offset: 3px;
}

/* ---------- 15. Print ---------- */
@media print {
  .header__sticky, .site-footer, .scroll-up,
  .luxe-hamburger-btn, .luxe-mobile-drawer, .luxe-mobile-drawer-backdrop { display: none !important; }
}
