:root {
  --gold: #b4975e;
  --gold-light: #e8c873;
  --blue-dark: #800000;
  --blue-light: #4E9B82;
  --white: #fffdf7;
  --gray-light: #f5f5f5;
  --transition: all 0.4s ease;
}

.pav_next:focus {
  background-color: transparent !important;
}

.pav_prev:focus {
  background-color: transparent !important;
}

.pav_next:hover {
  background-color: transparent !important;
}

.pav_prev:hover {
  background-color: transparent !important;
}

.cs-room-basic-info {
  margin: var(--item-v-space) 0;
}

.cs-room-basic-info ul {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
}

.cs-room-basic-info ul li {
  display: flex;
  align-items: center;
  margin: 5px 0;
  padding-right: 30px;
  line-height: 28px;
}

.cs-room-basic-info ul li:last-child {
  padding-right: 0;
}

.cs-room-basic-info .csrbi-icon {
  margin-right: 10px;
}

.cs-room-basic-info .csrbi-icon i {
  display: flex;
  font-size: 15px;
}

.cs-room-basic-info .csrbi-text {
  font-size: 15px;
  font-size: 0.875rem;
  white-space: nowrap;
}

select {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 12px;
  padding-right: 30px;
}

input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
  opacity: 0.7;
}



* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  color: #333;
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h5 {
  font-family: "Marcellus";
  color: var(--blue-dark);
}

/* Hero Slider Section */
.hero-cover {

  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.cover-image {
  position: relative;
  width: 100%;
  height: 100%;
}

.cover-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom,
      rgba(10, 36, 99, 0.2),
      rgba(10, 36, 99, 0.5));
}

.cover-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  z-index: 2;
}



@media (max-width: 768px) {

  .cover-text h1 {
    font-size: 3rem;
  }

  .cover-text p {
    font-size: 1.2rem;
  }


}

/* Section Styles */
.section {
  padding: 100px 10%;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.section-header h2:after {
  content: "";
  position: absolute;
  width: 60px;
  height: 3px;
  background: var(--blue-light);
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
}

.section-header p {
  max-width: 700px;
  margin: 0 auto;
  color: #666;
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #25d366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 5px 20px rgba(37, 211, 102, 0.3);
  z-index: 100;
  transition: var(--transition);
  text-decoration: none !important;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 45px;
  height: 45px;
  background: var(--blue-dark);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 3px 15px rgba(10, 36, 99, 0.2);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--blue-light);
}

.villa-card {
  margin-bottom: 4rem;
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
}

.villa-image {
  height: 400px;
  object-fit: cover;
  width: 100%;
}

.price-tag {
  position: absolute;
  top: 15px;
  left: 30px;
  background: white;
  padding: 0.3rem 0.8rem;
  font-weight: bold;
  border-radius: 4px;
}

.villa-title {
  font-size: 2rem;
  color: #333;
  margin-bottom: 1rem;
}

.villa-subtitle {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1rem;
}

.villa-features {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.villa-description {
  color: #555;
  line-height: 1.6;
}

.discover-btn {
  color: #b30707;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  border-bottom: 1px solid #b30707;
  text-decoration: none;
  padding-bottom: 0.2rem;
}

.discover-btn:hover {
  color: #800000;
  border-bottom: 1px solid #800000;
}

.feature-icon {
  color: #b30707;
}

.icon-text {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.section-title {
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 600;
  color: #178d50;
}

.image-container {
  position: relative;
  overflow: hidden;
  height: 400px;
  cursor: pointer;
  background-color: black;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.7;
}

.bottom-text {
  position: absolute;
  bottom: 10px;
  left: 10px;
  color: white;
  padding: 4px 10px;
  border-radius: 5px;
  z-index: 2;
  transition: opacity 0.3s ease;
}

.hover-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, #8FCBB496 0%, #8FCBB496 100%);
  color: white;
  display: flex;
  flex-direction: column;
  align-items: last baseline;
  justify-content: end;
  text-align: start;
  font-size: 16px;
  padding: 2rem;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.4s ease-in-out;
  z-index: 3;
}

.hover-overlay a {
  background-color: transparent;
  color: white;
  text-decoration: none !important;
  border: none;
  transition: all 0.5s ease;
  position: relative;
  /* Add this for the pseudo-element positioning */
  padding-bottom: 5px;
  /* Add some space for the underline */
}

.hover-overlay a:hover {
  color: white;
}

/* Create the animated underline effect */
.hover-overlay a::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: white;
  transition: width 0.5s ease;
}

.hover-overlay a:hover::after {
  width: 0%;
}

.image-container:hover .hover-overlay {
  opacity: 1;
  transform: translateY(0);
}

.image-container:hover .bottom-text {
  opacity: 0;
}

.list-class {
  margin-bottom: 25px;
}

.disc-style li::marker {
  color: var(--blue-light);
}

.hidden_btn {
  display: none;
  color: white !important;
  padding: 15px 30px;
  font-size: 1.3rem;
  font-family: "Montserrat", sans-serif;
}

.hidden_btn:hover {
  background-color: #018594;
  color: white !important;
}

.slide {
  margin-bottom: 25px;
  width: 60%;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .section {
    padding: 80px 7%;
  }

}

@media (max-width: 768px) {
  .cover-text h1 {
    font-size: 3rem;
  }

  .cover-text p {
    font-size: 1.2rem;
  }


  .room-amenities {
    flex-direction: column;
  }

  .slide {
    width: 100% !important;
  }
}

@media (max-width: 576px) {

  .section {
    padding: 60px 5%;
  }

  .room-amenities {
    flex-direction: column;
  }
}

@media (max-width: 400px) {
  .hidden_btn {
    padding: 15px 15px;
  }

  .slide {
    margin-bottom: -20px !important;
  }

  h2 {
    font-size: 2rem !important;
  }
}

.list_style {
  margin-right: 200px !important;
}

/* Other Waves Slider Styles */
/* Slider Container */
.waves-slider-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* Slider Track */
.waves-slider-track {
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
}

.waves-slide {
  min-width: 100%;
  display: flex;
  gap: 20px;
  flex-wrap: nowrap;
}

/* Individual Items */
.wave-item {
  flex: 0 0 auto;
  padding: 0 10px;
  box-sizing: border-box;
}

/* Desktop: Show 2 images */
@media (min-width: 769px) {
  .wave-item {
    width: 50%;
  }
}

/* Mobile: Show 1 image */
@media (max-width: 768px) {
  .wave-item {
    width: 100%;
  }
}

.waves-slide {
  gap: 0;
}

/* Hide non-active slides completely */
.waves-slider-track {
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
}

/* Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  color: rgba(255, 255, 255, 0.747);
  border: none;
  width: 40px;
  height: 100%;
  border-radius: 50%;
  display: flex;
  margin-left: 20px;
  margin-right: 20px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10;
}

.slider-prev {
  left: 0;
}

.slider-next {
  right: 0;
}

/* Hide arrows when not needed */
.slider-arrow[disabled] {
  opacity: 0.3;
  cursor: not-allowed;
}

.slider-arrow i {
  font-size: 1.2rem;
}

.slider-arrow:hover {
  color: white;
}

/* Mobile arrow size adjustment */
@media (max-width: 576px) {
  .slider-arrow {
    width: 35px;
    height: 35px;
  }
}

/* hero new section */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.hero,
.booking {
  z-index: 2 !important;
  position: relative;
}

.hero {
  margin-top: -70px !important;
  position: relative;
  height: 95vh;
  background-image: url('../images/stay/PMK_1821.webp');
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  /* Adjust alpha for brightness */
  z-index: 0;
  pointer-events: none;
}

.hero>* {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-family: "Marcellus", serif !important;
  font-weight: 400;
  font-style: normal;
  font-size: 100px;
  text-align: center;
  color: white !important;
}

.hero p {
  margin-top: 10px;
  font-size: 20px;
  font-family: "Montserrat", sans-serif !important;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

/* Booking section */
.booking {
  max-width: max-content;
  margin: -50px auto 0 auto;
  background-color: #97A891;
  padding: 20px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  gap: 20px;
  border-radius: 10px;
  font-family: 'Montserrat', sans-serif !important;
  margin-bottom: 30px !important;
}

.booking div {
  background-color: #7e9477;
  padding: 10px;
  border-radius: 5px;
  color: white !important;
  font-size: 14px;
  display: flex;
  flex-direction: row;
  min-width: 200px;
}

.booking div label {
  margin-right: 10px;
  color: white !important;
  margin-top: 5px !important;
  padding: 5px;
  border-radius: 3px;
  width: 100%;
  text-align: flex-start;
  font-size: 14px;
  min-width: 100px;
}

.booking select {
  color: white !important;
  /* background-color: #C3AC7E; */
  appearance: none;
  /* Modern browsers */
  -webkit-appearance: none;
  /* Safari, Chrome */
  -moz-appearance: none;
  /* Firefox */
  padding-right: 30px;
  background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='16' viewBox='0 0 24 24' width='16' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 20px;
}




.booking select option:checked {
  /* background-color: #E8C873 !important; */
  color: white;
}

.booking div input,
.booking div select {
  width: 100%;
  padding: 5px;
  border: none;
  color: white !important;
  background-color: #7e9477;
  border-radius: 3px;
}

.booking .book-btn {
  background-color: #7e9477;
  color: white;
  border: none;
  padding: 15px 25px;
  font-weight: 500 !important;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
  font-family: 'Montserrat', sans-serif !important;
  text-decoration: none !important;
}

.booking .book-btn:hover {
  background-color: #12653a;
}

.booking div input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 42px;
    text-align: center;
    padding: 0 20px;
  }

  .hero p {
    font-size: 16px;
    text-align: center;
    padding: 0 20px;
  }

  .booking div {
    display: none;
  }

  .booking {
    flex-direction: column;
    align-items: center;
  }
}

/* Mobile view overflow fix */
@media (max-width: 768px) {
  .container {
    width: 100% !important;
    max-width: 100% !important;
  }

  .carousel-inner {
    max-height: 250px !important;
    overflow: hidden !important;
  }

  body {
    overflow-x: hidden !important;
  }
}