/* Popup Styles */
#popupOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(30, 30, 30, 0.65);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: popupFadeIn 0.4s;
}

@keyframes popupFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

#popupBox {
  background: #fff;
  max-width: 517px;
  width: 92vw;
  padding: 32px 22px 22px 22px;
  border-radius: 6px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.22);
  position: relative;
  text-align: center;
  animation: popupScaleIn 0.4s;
  min-height: 500px;
}

@keyframes popupScaleIn {
  from {
    transform: scale(0.85);
  }
  to {
    transform: scale(1);
  }
}

.popupClose {
  position: absolute;
  top: 1px;
  right: 4px;
  background: none;
  border: none;
  font-size: 2rem;
  color: black;
  cursor: pointer;
  transition: color 0.2s;
}

.popupClose:hover {
  color: #721c24;
}

.popupImg {
  max-width: 100%;
  max-height: 280px;
  border-radius: 6px;
  margin-bottom: 18px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.popupTitle {
  font-size: 1.35rem;
  margin-bottom: 10px;
  color: #a52a2a;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.popupText {
  font-size: 1.05rem;
  color: #333;
  line-height: 1.6;
}

@media (max-width: 600px) {
  #popupBox {
    padding: 18px 8px 14px 8px;
  }
  .popupTitle {
    font-size: 1.1rem;
  }
  .popupImg {
    max-height: 230px;
  }
}

/* TripAdvisor Rating Banner */
.tripadvisor-rating-banner {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1100;
  background: linear-gradient(180deg, #ffffff, #fbfcfd);
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #e9ecef;
  box-shadow: 0 8px 30px rgba(16, 24, 40, 0.06);
  display: inline-flex;
  align-items: center;
  min-width: 160px;
  max-width: 320px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.tripadvisor-rating-banner:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(16, 24, 40, 0.1);
}

.tripadvisor-rating-banner .ta-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.tripadvisor-rating-banner .ta-inner .ta-logo {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #f0f0f0;
}

.tripadvisor-rating-banner .ta-inner .ta-content {
  font-size: 14px;
  color: #111827;
  line-height: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tripadvisor-rating-banner .ta-inner .ta-content .muted {
  font-size: 12px;
  color: #6b7280;
  font-weight: 500;
}

@media (max-width: 992px) {
  .tripadvisor-rating-banner {
    display: none;
  }
}

.tripadvisor-reviews .ta-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.04);
  max-width: 880px;
  margin: 0 auto;
}

.tripadvisor-reviews .ta-card .ta-review {
  border-bottom: 1px solid #f1f5f9;
  padding: 14px 0;
  margin-bottom: 10px;
}

.tripadvisor-reviews .ta-card .ta-review:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* Slider Overlay */
.sliderOverlayTxt {
  z-index: -1;
  height: 0px;
  position: absolute;
  top: 4px;
  width: 100%;
  box-shadow: 60px 60px 121px 81px #000000;
}

@media (max-width: 768px) {
  .homeSlider.pc {
    display: none;
  }
  .homeSlider.mobile {
    display: block !important;
  }
}

.homeSlider.mobile {
  display: none;
}

/* Room Categories */
.room-categories {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.category-tab {
  padding: 10px 26px;
  border-radius: 22px;
  border: none;
  background: #fff;
  color: #e8a41d;
  font-weight: 600;
  font-size: 1.08rem;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  outline: none;
}

.category-tab.active {
  background-color: #e8a41d;
  color: #fff;
  box-shadow: 0 4px 18px rgba(165, 42, 42, 0.13);
}

.category-tab:hover:not(.active) {
  background: #f5e7e7;
  color: #e8a41d;
  box-shadow: 0 2px 14px rgba(165, 42, 42, 0.09);
}

@media (max-width: 600px) {
  .room-categories {
    justify-content: center;
  }
  .category-tab {
    padding: 8px 20px;
    font-size: 0.95rem;
  }
}

/* General Styles */
.WebArea {
  min-height: 200px;
}

.about-text {
  font-display: swap;
  min-height: 100px;
}

.adress_cut {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  overflow: hidden;
  -webkit-box-orient: vertical;
}

.adress_cut2 {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  overflow: hidden;
  -webkit-box-orient: vertical;
}

.room_button_ {
  display: flex;
  justify-content: space-evenly;
}

.button_des {
  display: flex;
  justify-content: space-evenly;
}

/* Home Room Section */
.home-room .row > [class*="col-"]:nth-child(n + 7) {
  display: none !important;
}

.home-room .row > [class*="col-"]:nth-child(-n + 6) {
  margin-bottom: 32px;
}

@media (max-width: 991px) {
  .home-room .row {
    flex-direction: column !important;
  }
  .home-room .row > [class*="col-"] {
    order: 0 !important;
  }
}

/* Modal Popup */
#myPopup {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
}

.popupContent {
  background-color: white;
  margin: 10% auto;
  padding: 17px 0;
  width: 80%;
  max-width: 30%;
  position: relative;
  border-radius: 5px;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.close-dialog {
  position: absolute;
  font-size: 24px;
  color: #a52a2a;
  cursor: pointer;
  top: 15px;
  right: 15px;
}

.button-container {
  text-align: right;
}

.button-container .btn-primary:hover {
  background-color: #a52a2a !important;
  border-color: #a52a2a !important;
}

.button-container .btn-primary:focus {
  border-color: #a52a2a !important;
}
