/*============================================================================================*/
/* Your custom styles below */
/*============================================================================================*/

/* ---- Room Tiles (2-per-row grid) ---- */
.room-tile {
  display: block;
  text-decoration: none;
  color: inherit;
  margin-bottom: 30px;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.07);
  transition: box-shadow 0.3s, transform 0.3s;
}
.room-tile:hover {
  color: inherit;
  text-decoration: none;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.13);
  transform: translateY(-4px);
}
.room-tile__img {
  position: relative;
  height: 240px;
  overflow: hidden;
}
.room-tile__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.room-tile:hover .room-tile__img img {
  transform: scale(1.06);
}
.room-tile__body {
  padding: 22px 22px 20px;
}
.room-tile__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}
.room-tile__head h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0;
}
.room-tile__price {
  font-size: 1.05rem;
  font-weight: 700;
  color: #978667;
  white-space: nowrap;
}
.room-tile__price em {
  font-weight: 400;
  font-style: normal;
  font-size: 0.75rem;
  opacity: 0.7;
}
.room-tile__tags {
  list-style: none;
  padding: 12px 0 0;
  margin: 0;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: space-between;
}
.room-tile__tags li {
  font-size: 0.8rem;
  color: #777;
  display: flex;
  align-items: center;
  gap: 5px;
}
.room-tile__tags li i {
  color: #978667;
  font-size: 1.1rem;
}

/* ---- Seamless room gallery ---- */
.carousel_room_seamless .item {
  overflow: hidden;
}
.carousel_room_seamless .item img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, filter 0.4s ease;
}
.carousel_room_seamless .item:hover img {
  transform: scale(1.05);
  filter: brightness(0.85);
}
.carousel_room_seamless .owl-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  padding: 0 15px;
}
.carousel_room_seamless .owl-nav button {
  pointer-events: all;
  background: rgba(0,0,0,0.5) !important;
  color: #fff !important;
  width: 44px;
  height: 44px;
  border-radius: 50% !important;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}
.carousel_room_seamless .owl-nav button:hover {
  background: rgba(0,0,0,0.8) !important;
}
.carousel_room_seamless .owl-nav button i {
  font-size: 24px;
  line-height: 1;
}
@media (max-width: 991px) {
  .carousel_room_seamless .item img {
    height: 240px;
  }
}
@media (max-width: 575px) {
  .carousel_room_seamless .item img {
    height: 180px;
  }
}

/* ---- Room tiles image height (listing page) ---- */
.room-tile__img {
  height: 280px;
}

/* ---- Smaller hero on inner pages ---- */
.hero.small-height {
  height: 45vh;
  min-height: 280px;
}

/* ---- Remove sticky header entirely ---- */
header.fixed_header {
  position: absolute !important;
}
header.is_stuck,
header.sticky {
  position: absolute !important;
  background: transparent !important;
  box-shadow: none !important;
  animation: none !important;
}

/* ---- Testimonials (no avatar) ---- */
.box_overlay {
  padding: 40px 45px;
}
.box_overlay .pic {
  position: static;
  margin-bottom: 15px;
  text-align: center;
}
.box_overlay .pic h4 {
  position: static;
  font-size: 18px;
  font-weight: 600;
}
.box_overlay .pic h4 small {
  font-size: 12px;
  opacity: 0.7;
  margin-top: 4px;
}
.box_overlay .pic figure {
  display: none;
}
.box_overlay .comment {
  text-align: center;
  font-size: 16px;
  line-height: 1.7;
}

/* ============================================================================================
   MOBILE OPTIMIZATIONS
   ============================================================================================ */

/* ---- Tablet (max-width: 991px) ---- */
@media (max-width: 991px) {

  /* Hero section */
  .hero .wrapper {
    text-align: center;
    padding: 0 15px;
  }
  .hero .wrapper small {
    letter-spacing: 2px;
    font-size: 12px;
  }
  .hero.small-height {
    height: 40vh;
    min-height: 240px;
  }

  /* Spacing reductions */
  .margin_120_95 {
    padding-top: 60px;
    padding-bottom: 45px;
  }

  /* Title sections centered */
  .title {
    text-align: center;
  }
  .title small,
  .title h2 {
    text-align: center;
  }

  /* Booking form on room pages */
  .booking_wrapper {
    padding: 20px 15px;
  }

  /* Room tiles */
  .room-tile__head {
    flex-direction: column;
    gap: 4px;
  }
  .room-tile__tags {
    flex-wrap: wrap;
    gap: 8px;
  }
}

/* ---- Mobile (max-width: 767px) ---- */
@media (max-width: 767px) {

  /* Hero section */
  .hero .wrapper h1,
  .hero .wrapper h3 {
    font-size: 26px;
    font-size: 1.625rem;
    line-height: 1.3;
  }
  .hero .wrapper small {
    font-size: 11px;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
  }
  .hero.full-height {
    height: 100vh;
    min-height: auto;
  }

  /* General spacing */
  .margin_120_95 {
    padding-top: 45px;
    padding-bottom: 35px;
  }
  .add_bottom_120 {
    margin-bottom: 60px;
  }
  .add_bottom_90 {
    margin-bottom: 40px;
  }

  /* Container padding */
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* Centered text sections */
  .intro {
    text-align: center;
    margin-top: 30px;
  }
  .intro p {
    text-align: center;
  }

  /* Room tiles */
  .room-tile__img {
    height: 200px;
  }
  .room-tile__body {
    padding: 16px 16px 14px;
  }
  .room-tile__head h3 {
    font-size: 1.05rem;
  }
  .room-tile__price {
    font-size: 0.95rem;
  }
  .room-tile__tags li {
    font-size: 0.75rem;
  }

  /* Booking section */
  #booking_section .title,
  #booking_section p,
  #booking_section .phone_element {
    text-align: center;
  }
  #booking_section .phone_element a {
    justify-content: center;
  }

  /* Facilities boxes */
  .box_facilities {
    text-align: center;
    margin-bottom: 20px;
  }

  /* Footer */
  footer .move_content {
    text-align: center;
  }
  footer .move_content h5 {
    text-align: center;
  }
  footer .move_content ul {
    text-align: center;
  }

  /* Parallax section */
  .parallax_section_1 {
    min-height: 450px;
  }

  /* Pinned content */
  .pinned_over_content .title h2 {
    font-size: 28px;
    line-height: 1.3;
  }

  /* Reviews section */
  .reviews_sum_details {
    margin-bottom: 30px;
  }
}

/* ---- Small mobile (max-width: 575px) ---- */
@media (max-width: 575px) {

  /* Hero */
  .hero .wrapper h1,
  .hero .wrapper h3 {
    font-size: 22px;
    font-size: 1.375rem;
    line-height: 1.3;
  }
  .hero .wrapper small {
    font-size: 10px;
    letter-spacing: 1px;
  }

  /* Booking form in hero */
  .booking_form .qty-buttons label {
    font-size: 12px;
  }
  .booking_form input {
    height: 45px;
    font-size: 13px;
  }
  .booking_form input[type=submit] {
    height: 45px;
    font-size: 14px;
  }

  /* Room tiles */
  .room-tile__img {
    height: 180px;
  }
  .room-tile__tags {
    flex-direction: column;
    gap: 6px;
  }

  /* Booking wrapper form fields */
  .booking_wrapper .form-control {
    font-size: 14px;
  }

  /* Search results banner */
  #search_results_banner {
    text-align: center;
  }
  #search_results_banner .title h2 {
    font-size: 22px;
  }

  /* Phone element */
  .phone_element span {
    font-size: 14px;
  }
}
