:root {
  --green-main: #98FB98;
  /* Pale Green */
  --green-medium: #3CB371;
  /* Medium Sea Green */
  --green-dark: #2E8B57;
  /* Sea Green */
  --green-light: #C1F0C1;
  /* Soft Light Green */
  --white: #ffffff;
  /* Pure White */
  --gray-light: #f5f5f5;
  /* Light Gray Background */
  --transition: all 0.4s ease;
}


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;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .booking-form {
    grid-template-columns: 1fr 1fr;
  }

  .check-availability-btn {
    grid-column: span 2;
  }
}

@media (max-width: 576px) {
  .booking-box {
    width: 98%;
  }

  .booking-form {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .check-availability-btn {
    grid-column: span 1;
  }
}

* {
  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;
}

/* Booking Box */
.booking-box {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 1000px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  z-index: 3;
}

.booking-form {
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 15px;
  padding: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  color: #555;
  font-size: 0.9rem;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-control {
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  background: #f9f9f9;
}

.form-control:focus {
  outline: none;
  border-color: #b4975e;
  background: white;
}

.check-availability-btn {
  background: #b4975e;
  color: white;
  border: none;
  padding: 0 25px;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  align-self: flex-end;
  height: 44px;
}

.check-availability-btn:hover {
  background: #c8ae7d;
}

@media (max-width: 768px) {
  .booking-form {
    grid-template-columns: 1fr;
  }

  .check-availability-btn {
    width: 100%;
    padding: 12px;
  }

  .cover-text h1 {
    font-size: 3rem;
  }

  .cover-text p {
    font-size: 1.2rem;
  }

  .booking-box {
    width: 90%;
    bottom: -100px;
  }
}

/* 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);
}

.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: #3F5E4E;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  border-bottom: 1px solid #3F5E4E;
  text-decoration: none !important;
  padding-bottom: 0.2rem;
}

.discover-btn:hover {
  color: #2C4236;
  border-bottom: 1px solid #2C4236;
  text-decoration: none !important;
}

.feature-icon {
  color: #b30707;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .section {
    padding: 80px 7%;
  }

  .hero-title {
    font-size: 5rem !important;
  }
}

@media (max-width: 992px) {
  .hero-title {
    font-size: 4rem !important;
  }
}

@media (max-width: 768px) {
  .villa-features {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    text-align: center;
  }

  .feature-item {
    width: calc(50% - 0.5rem);
    display: flex;
    flex-direction: column;
    /* ********* */
    align-items: center;
    justify-content: center;
  }

  .feature-item svg {
    margin-bottom: 0.5rem;
  }

  .cover-text h1 {
    font-size: 3rem;
  }

  .cover-text p {
    font-size: 1.2rem;
  }

  .booking-box {
    width: 90%;
    bottom: -100px;
  }

  .hero-title {
    font-size: 3rem !important;
    margin-bottom: 1rem !important;
  }

  .hero-subtitle {
    font-size: 1rem !important;
  }
}

@media (max-width: 576px) {
  .booking-form {
    grid-template-columns: 1fr;
  }

  .check-availability-btn {
    width: 100%;
    padding: 12px;
  }

  .section {
    padding: 60px 5%;
  }

  .hero-title {
    font-size: 2.5rem !important;
  }

  .hero-subtitle {
    font-size: 0.9rem !important;
  }
}

@media (max-width: 400px) {
  .hero-title {
    font-size: 2rem !important;
  }
}

.hero-title {
  font-family: "Marcellus", serif;
  font-size: 6rem;
  font-weight: 400 !important;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  line-height: 1.1;
  color: white !important;
}

.hero-subtitle {
  font-family: "Montserrat", sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  line-height: 1.6;
}

.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/IMG_1843-scaled.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 {
  max-width: max-content;
  margin: -50px auto 0 auto;
  background-color: #1F2E27;
  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;
}

.booking div {
  background-color: #3F5E4E;
  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: #3F5E4E;
  border-radius: 3px;
}

.booking .book-btn {
  background-color: #3F5E4E;
  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: #527A65;
}

.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;
  }
}