/* Global responsive foundation */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
}

img,
video,
iframe {
  max-width: 100%;
}

.toggle {
  display: none;
}

.mobile-logo {
  display: none;
}

/* Mobile header: see css/mobile-header.css */

@media only screen and (max-width: 900px) {
  .banner_item img {
    height: min(72vh, 520px);
    object-fit: cover;
  }

  .banner_text h1 {
    font-size: clamp(28px, 7vw, 48px);
    line-height: 1.15;
    padding: 0 16px;
  }

  .main_head,
  .big_head {
    font-size: clamp(28px, 6vw, 40px);
    line-height: 1.2;
  }

  p {
    font-size: 16px;
    line-height: 1.65;
  }

  .margin {
    margin: 50px 0;
  }

  .booking_slider {
    padding: 0 12px;
  }

  .booking_slider .slick-nav.prev-arrow.slick-arrow,
  .booking_slider .slick-nav.next-arrow.slick-arrow {
    top: auto;
    bottom: -48px;
    right: auto;
    font-size: 22px;
  }

  .booking_slider .slick-nav.next-arrow.slick-arrow {
    left: 16px;
  }

  .booking_slider .slick-nav.prev-arrow.slick-arrow {
    right: 16px;
  }

  .booking_item img {
    height: 320px;
  }

  .test_slider {
    padding: 10px 12%;
  }

  .quote {
    left: 4%;
    width: 120px;
  }

  .newly_box {
    padding: 0 8%;
  }

  .newly_box h3 {
    font-size: clamp(28px, 6vw, 40px);
  }

  .newly {
    background-attachment: scroll;
  }

  .explore_img h2 {
    font-size: clamp(36px, 10vw, 64px);
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
    padding: 0 16px;
  }

  .explore_img .img_in {
    width: min(100%, 360px);
    height: min(100%, 360px);
    margin: 0 auto;
  }

  .explore_img .img_1 img {
    position: relative;
    top: auto;
    right: auto;
    display: block;
    margin: 20px auto 0;
  }

  .do_img_text img {
    height: 280px;
  }

  .do_img_text h3 {
    font-size: clamp(32px, 8vw, 56px);
  }

  .ab_text {
    padding-left: 15px;
    padding-right: 15px;
  }

  .inner_banner img {
    height: min(42vh, 320px);
  }

  .inner_banner .in_text h2 {
    font-size: clamp(28px, 7vw, 44px);
    padding: 8px 16px;
  }

  .property {
    height: auto !important;
    overflow: visible !important;
  }

  .property-gallery {
    grid-template-columns: 1fr;
  }

  .property-gallery-main,
  .property-gallery-grid {
    min-height: 280px;
  }

  .property-gallery-main img {
    min-height: 280px;
    max-height: 360px;
  }

  .property-gallery-cell img {
    min-height: 140px;
    max-height: 200px;
  }

  .property-gallery-more {
    grid-template-columns: repeat(2, 1fr);
  }

  .property .see_all {
    font-size: 13px;
    padding: 6px 14px;
    right: 8px;
    bottom: 8px;
  }

  .property-calendar-frame,
  #pro_cal {
    height: min(85vh, 720px) !important;
    min-height: 480px;
  }

  .property_form {
    margin-top: 24px;
  }

  .pro_text .room_sat {
    flex-wrap: wrap;
  }

  .gallery .grid-item img,
  .gallery .grid-item img[style] {
    height: auto !important;
    min-height: 180px;
    max-height: 260px;
    object-fit: cover;
  }

  .foot_contact ul li a {
    font-size: 16px;
    word-break: break-word;
  }

  .ser_box {
    gap: 12px;
  }

  .ser_item {
    flex: 1 1 calc(50% - 12px);
    max-width: calc(50% - 12px);
    width: auto;
    min-height: 200px;
    padding: 24px 16px;
  }

  .ser_item h3 {
    font-size: 18px;
  }

  .ser_item img {
    width: 50px;
    margin-bottom: 20px;
  }

  .tabs__btn {
    width: 50%;
    font-size: 14px;
    padding: 12px 10px;
  }

  #gallery ul {
    gap: 12px;
  }

  #gallery li {
    width: 48%;
  }

  .image-scroll {
    padding: 60px 0 80px;
  }

  .image-scroll li {
    width: 40%;
    min-width: 140px;
  }

  .image-scroll li:nth-child(even),
  .image-scroll li:nth-child(odd) {
    transform: none;
  }

  .filters ul {
    margin: 0 10px;
    padding: 12px 6px;
  }

  .filters li {
    padding: 8px 12px;
    font-size: 13px;
  }

  .custom-model-wrap {
    max-height: calc(100vh - 100px);
  }

  .weatherwidget-io {
    max-width: 100%;
  }
}

/* Mobile */
@media only screen and (max-width: 767px) {
  nav {
    height: auto;
    min-height: auto;
  }

  .container-fluid {
    padding: 0 16px;
  }

  .head_btn {
    display: flex;
    width: 100%;
    justify-content: center;
    order: 5;
  }

  .nab-navbar {
    order: 4;
  }

  .calender form .input {
    width: 100% !important;
    flex: 1 1 100%;
  }

  .calender form {
    gap: 12px;
  }

  .box_item {
    width: 100% !important;
    margin-bottom: 24px;
  }

  .all_box {
    padding: 48px 0 16px;
  }

  .ser_item {
    flex: 1 1 100%;
    max-width: 100%;
    width: 100%;
    min-height: auto;
  }

  .ser_item:hover {
    transform: none;
  }

  .test_slider .slick-nav.prev-arrow.slick-arrow,
  .test_slider .slick-nav.next-arrow.slick-arrow {
    top: auto;
    bottom: -36px;
    font-size: 20px;
  }

  .banner_item img {
    height: min(58vh, 400px);
  }

  .slider-banner .slick-nav.prev-arrow.slick-arrow,
  .slider-banner .slick-nav.next-arrow.slick-arrow {
    padding: 6px;
    font-size: 18px;
  }

  .rev_head {
    font-size: clamp(20px, 5vw, 28px);
    padding: 0 12px;
  }

  .offers_item ul li {
    font-size: 15px;
  }

  .things_details img {
    height: auto;
    min-height: 180px;
    max-height: 240px;
  }

  #gallery li {
    width: 100%;
  }

  .maitipal img {
    height: auto;
    min-height: 160px;
    max-height: 220px;
  }
}

@media only screen and (max-width: 480px) {
  .nab-navbar ul li a {
    font-size: 15px;
    letter-spacing: 1px;
  }

  .head_btn a {
    width: 100%;
    text-align: center;
  }

  .all_btn {
    padding: 14px 28px;
    width: 100%;
    text-align: center;
  }

  .booking_text {
    padding: 16px;
  }

  .booking_text a {
    font-size: 16px;
  }
}

/* Large screens - ensure desktop nav always visible */
@media only screen and (min-width: 901px) {
  .nab-navbar .navigation {
    display: flex !important;
  }

  .toggle {
    display: none !important;
  }
}
