html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Georgia', serif;
  background: #f1e6d8;
  color: #3c2f2f;
  line-height: 1.6;
}

/* Navbar */
header.navbar {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 200px;
  padding: 0 2rem;
  background: #e9ddcc;
  z-index: 1000;
}

.logo img {
  max-height: 200px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: #3c2f2f;
  font-size: 1rem;
}

.book-now {
  background-color: #5a3e36;
  color: #fff !important;
  padding: 0.6rem 1rem;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.book-now:hover {
  background-color: #3c2b25;
}

/* Burger button */
.burger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.burger-bar {
  width: 100%;
  height: 3px;
  background-color: #3c2f2f;
  border-radius: 2px;
}

@media (max-width: 900px) {
  header.navbar {
    flex-wrap: wrap;
    height: auto;
    padding: 1rem 2rem;
  }

  .logo img {
    max-height: 100px;
  }

  .burger {
    display: flex;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #e9ddcc;
    position: absolute;
    top: 100%;
    left: 0;
    padding: 1rem 0;
    border-top: 1px solid #ccc;
  }

  .nav-links a {
    margin: 0.75rem 0;
    font-size: 1.2rem;
  }

  .nav-links.active {
    display: flex;
  }
}

/* Hero */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  /* padding: 2rem; */
  color: white;
  text-align: center;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.hero.visible {
  opacity: 1;
  transform: translateX(0);
}

.hero h1 {
  font-size: 3rem;
  max-width: 900px;
}

.header-1 {
  background-image: url('background.png');
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 0;
  overflow: hidden;
}



body,
html {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}

main {
  margin: 0;
  padding: 0;
  width: 100%;
}


/* Reviews */
/* .reviews-section {
  background-color: #e9ddcc;
  padding: 4rem 2rem;
  text-align: center;
}

.review-carousel {
  position: relative;
  height: auto;  /* changed from fixed 120px */
/* max-width: 700px;
  margin: 0 auto 3rem;
  overflow: visible;
} */


/* .review { */
/* font-size: 1.2rem;
  padding: 1rem 1rem 2rem; /* extra bottom padding for name */
/* opacity: 0;
  transition: opacity 1s ease-in-out;
  position: absolute;
  width: 100%;
  margin-bottom: 1.5rem; /* Adds space below the review text */
/* line-height: 1.6;
} */
*/ */

/* .review.active {
  opacity: 1;
} */
*/ .leave-review {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.leave-review textarea {
  width: 100%;
  max-width: 600px;
  height: 120px;
  padding: 1rem;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.leave-review button {
  background-color: #5a3e36;
  color: #fff;
  border: none;
  padding: 0.7rem 1.5rem;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;

  /* Centering & size */
  display: block;
  margin: 0 auto;
  width: auto;
  min-width: 120px;
  text-align: center;
}

/* Footer */
.footer {
  background-color: #000000;
  color: #fff;
  text-align: center;
  padding: 2rem 1rem;
}

.footer-content p {
  margin: 0.5rem 0;
  color: rgba(255, 255, 255, 0.85);
}

.star-rating {
  direction: rtl;
  font-size: 2rem;
  unicode-bidi: bidi-override;
  display: flex;
  justify-content: center; /* center horizontally */
  margin-bottom: 1rem;
}


.star-rating input[type="radio"] {
  display: none;
}

.star-rating label {
  color: #ccc;
  cursor: pointer;
  display: inline-block;
  transition: color 0.2s ease-in-out;
}

.star-rating label:hover,
.star-rating label:hover~label,
.star-rating input[type="radio"]:checked~label {
  color: #f5b301;
  /* gold-ish */
}


/* Both texts in same spot */
#hero-message,
#about-us-text {
  max-width: 700px;
  margin: 0 auto;
  color: white;
  text-align: center;
  font-weight: 600;
  line-height: 1.4;
  /* limit to ~3 lines height */
  max-height: 5rem;
  overflow: hidden;
  font-size: 2.5rem;
  transition: opacity 0.6s ease;
  position: relative;
}

/* About us text a bit smaller and lighter */
#about-us-text {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #eee;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 700px;
  opacity: 0;
  max-height: none;
  /* Let it expand fully */
  pointer-events: none;
  text-align: center;
  padding: 0 1rem;
}

#hero-message,
#about-us-text {
  transition: opacity 0.6s ease;
  opacity: 1;
}

#about-us-text {
  pointer-events: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  padding: 0 1rem;
}

.services-section,
.about-section {
  background-color: #f1e6d8;
  padding: 4rem 2rem;
  text-align: center;
  color: #3c2f2f;
}

.services-section h2,
.about-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.services-section p,
.about-section p {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}


.reviews-section {
  background-color: #e9ddcc;
  padding: 4rem 2rem;
  text-align: center;
  font-family: Georgia, serif;
  /* matches your style */
}

.review-carousel {
  position: relative;
  max-width: 700px;
  margin: 0 auto 3rem;
  height: 150px;
  /* fix height to prevent jump */
}

.review {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  font-size: 1.2rem;
  padding: 1rem;
  line-height: 1.6;
  color: #4a3c31;
  pointer-events: none;
  /* avoid interaction on hidden */
}

.review.active {
  opacity: 1;
  pointer-events: auto;
  /* enable interaction */
  position: relative;
  /* bring active review into flow */
}


.review .review-text {
  display: block;
  margin-bottom: 1.5rem;
}

.review .reviewer-name {
  display: block;
  margin-top: 1rem;
  font-weight: bold;
  font-style: italic;
  font-size: 1rem;
  color: #555;
  text-align: right;
}

.success-message {
  color: #2e7d32;
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
  padding: 0.75rem 1rem;
  border-radius: 5px;
  margin-top: 1rem;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-size: 1rem;
  font-family: Georgia, serif;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.success-message.visible {
  display: block !important;
  opacity: 1;
}

:target {
  animation: highlight 2s ease;
}

@keyframes highlight {
  0% { background-color: #fef1c7; }
  100% { background-color: transparent; }
}

.navbar {
  position: relative !important;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #f1e6d8; 
  height: 70px; 
  display: flex;
  align-items: center;
  z-index: 10000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* body {
  padding-top: 70px; /* same as navbar height */


@media (max-width: 600px) {
  #hero-message {
    font-size: 1.8rem;       /* smaller font size */
    max-height: none;        /* allow it to expand */
    overflow: visible;       /* don't hide overflow */
    padding: 0 1rem;         /* add some horizontal padding */
    white-space: normal;     /* allow text to wrap */
    word-break: break-word;  /* break long words if needed */
  }
}

@media (max-width: 600px) {
  #about-us-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90vw;      /* use almost full width */
    width: 90vw;          /* explicitly set width */
    font-size: 1.2rem;    /* readable size */
    line-height: 1.4;
    padding: 0 1rem;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
    color: white;
    overflow-wrap: break-word;
    hyphens: auto;
  }
}

.hero, .header-1 {
  min-width: 300px;
}

/* Services Section */
.services-section {
  background-color: #f1e6d8;
  padding: 4rem 2rem;
  text-align: center;
  font-family: Georgia, serif;
}

.services-section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #3c2f2f;
}

.services-image img {
  max-width: 100%;
  height: auto;
  margin-bottom: 3rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  border-radius: 10px;
  transition: transform 0.4s ease;
}

.services-image img:hover {
  transform: scale(1.03);
}

/* Bundle Cards */
.bundle-card {
  background-color: #fefcf9;
  border: 1px solid #ddd;
  border-radius: 8px;
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem 1.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  text-align: left;
}

.bundle-card h3 {
  font-size: 1.5rem;
  color: #3c2f2f;
  margin-bottom: 1.5rem;
}

.bundle-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.2rem;
}

.bundle-label {
  font-weight: bold;
  color: #5a3e36;
  margin-bottom: 0.3rem;
}

.bundle-text {
  color: #3c2f2f;
  font-size: 1.05rem;
  line-height: 1.5;
}

.service-btn {
  padding: 0.5rem 1rem;
  font-size: 1rem;
  font-family: 'Georgia', serif;
  background-color: #5a3e36;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-right: 1rem;
  opacity: 0;
  transform: translateX(-50px);
  animation-fill-mode: forwards;
  animation-duration: 0.5s;
  animation-timing-function: ease-out;
}

/* Slide in animations with delays */
#btn-airbnb {
  animation-name: slideInLeft;
  animation-delay: 0.3s;
}

#btn-longterm {
  animation-name: slideInLeft;
  animation-delay: 0.7s;
}

#btn-vacant {
  animation-name: slideInLeft;
  animation-delay: 1.1s;
}

@keyframes slideInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Services Section Styling */
.services-section {
  background-color: #f1e6d8;
  padding: 3rem 2rem;
  font-family: Georgia, serif;
}

.services-title {
  font-size: 2.8rem;
  text-align: center;
  color: #3c2f2f;
  margin-bottom: 2rem;
}

.offer-banner {
  background-color: #fff8e1;
  border: 2px solid #f5c518;
  font-size: 1.4rem;
  font-weight: bold;
  text-align: center;
  padding: 1.2rem 2rem;
  margin: 0 auto 3rem;
  border-radius: 10px;
  max-width: 600px;
  color: #5a3e36;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  animation: pop-loop 1.5s infinite ease-in-out;
}

@keyframes pop-loop {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Left-side nav buttons */
/* .service-nav-buttons {
  position: fixed;
  top: 80px; Adjust to match navbar height
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 1000;
} */

.service-btn {
  background-color: #5a3e36;
  color: white;
  padding: 0.8rem 1.2rem;
  font-size: 1.1rem;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  opacity: 0;
  transform: translateY(-20px);
  animation-fill-mode: forwards;
}

.service-btn.active {
  background-color: #3c2f2f;
}

/* Slide-in animation for buttons */
@keyframes slideInTop {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-btn:nth-child(1) {
  animation: slideInTop 0.4s ease forwards 0.2s;
}
.service-btn:nth-child(2) {
  animation: slideInTop 0.4s ease forwards 0.6s;
}
.service-btn:nth-child(3) {
  animation: slideInTop 0.4s ease forwards 1s;
}

/* Service Content Area */
/* .service-content {
  margin-left: 160px;
  margin-bottom: 4rem;
}

.service-content h3 {
  font-size: 2.3rem;
  text-align: center;
  margin-bottom: 1.5rem;
  color: #3c2f2f;
}

.bundle-table h4 {
  font-size: 1.5rem;
  margin: 1.2rem 0 0.5rem;
  color: #5a3e36;
}

.bundle-table table {
  width: 100%;
  border-collapse: collapse;
  background-color: #fffaf3;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
}

.bundle-table th,
.bundle-table td {
  border: 1px solid #d3c1a5;
  padding: 1.2rem;
  font-size: 1.15rem;
  color: #4a3c31;
  text-align: left;
}

.bundle-table th {
  background-color: #efe0c8;
  color: #3c2f2f;
}
 */

 /* Dropdown container */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown button style */
.dropbtn {
    cursor: pointer;
    padding: 0.5rem 1rem;
    color: white;
    text-decoration: none;
}

/* Hidden dropdown content */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1e6d8;
    min-width: 200px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    z-index: 1000;
    font-family: Georgia, serif;
}

/* Links inside the dropdown */
.dropdown-content a {
    color: #3c2f2f;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s ease;
}

.dropdown-content a:hover {
    background-color: #efe0c8;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #e9ddcc;
    position: absolute;
    top: 70px; /* Adjust if your navbar height differs */
    left: 0;
    padding: 1rem 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }
  
  .nav-links.active {
    display: flex;
  }

  .dropdown-content {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #f1e6d8;
  }

  .dropdown-content.active {
    display: flex !important;
  }

  .dropdown-content a {
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
    border-bottom: 1px solid #ddd;
  }

  .dropbtn {
    width: 100%;
    text-align: left;
    padding: 0.75rem 1.5rem;
    font-size: 1.2rem;
  }
}
