/* Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Open Sans', sans-serif;
  color: #333;
  scroll-behavior: smooth;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 50px;
  padding: 0 1.5rem;
  border-bottom: 1px solid #ddd;
  box-sizing: border-box;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.navbar.hidden {
  transform: translateY(-50px);
  pointer-events: none;
}

.navbar .logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  line-height: 25px;
  margin: 0;
}

.navbar nav a {
  margin: 0 0.75rem;
  line-height: 50px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  display: inline-block;
}

.navbar nav a:hover {
  color: #f08080;
}

/* Lightbox Styles */
#lightbox-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 9999;
  gap: 0.1rem;
}

#lightbox-overlay.active {
  visibility: visible;
  opacity: 1;
}

#lightbox-img {
  max-width: 90%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0,0,0,0.7);
  cursor: default;
}

#lightbox-prev,
#lightbox-next {
  background: rgba(255, 255, 255, 0.3);
  border: none;
  color: #fff;
  font-size: 3rem;
  cursor: pointer;
  padding: 0 0.5rem;
  border-radius: 4px;
  user-select: none;
  transition: background-color 0.2s ease;
  align-self: center;
}

#lightbox-prev:hover,
#lightbox-next:hover {
  background: rgba(255, 255, 255, 0.7);
}

/* Hero Slider */
.hero {
  position: relative;
  height: 70vh;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s;
}

.slide.active {
  opacity: 1;
  /* z-index: 1; */
}

.hero-text {
  position: absolute;
  bottom: 20%;
  left: 10%;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.hero-text h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

/* Info Sections */
.info-section {
  padding: 2rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.info-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin-bottom: 1rem;
  text-align: center;
}

.info-section h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  text-align: center;
}

.map-container iframe,
.info-section iframe {
  width: 100%;
  height: 450px;
  border: 0;
  border-radius: 8px;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  cursor: pointer;
}

/* Table */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

th,
td {
  border: 1px solid #ccc;
  padding: 1rem;
  text-align: center;
}

/* Form */
form {
  margin: 0 auto;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

form input,
form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
}

button {
  background: #f08080;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s ease;
}

button:hover {
  background: #d96f6f;
}

#form-status {
  margin-top: 1rem;
  font-weight: 500;
}

/* Footer */
footer {
  background: #222;
  color: #fafafa;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
}


/* .g-recaptcha {
    transform:scale(0.8);
    transform-origin:0 0;
    margin: auto;
} */

/* Responsive: Hide navbar on phones only when scrolling is handled by JS, so no nav hiding here */
/* But you can add minor font size or padding tweaks if needed */
@media (max-width: 600px) {
  .navbar {
    padding: 0 0.5rem;
  }

  .navbar .logo {
    font-size: 1.1rem;
    width: 150px;
  }

  .navbar nav a {
    /* margin: 0 0rem;
    font-size: 0.9rem;
    line-height: 50px; */
    visibility: hidden;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text {
    bottom: 10%;
    left: 10%;
    font-size: 1rem;
  }

  .desktop-only {
    display:none !important;
  }

}

@media (min-width: 800px) {
  .mobile-only {
    display:none !important;
  }
}

.amenities-list {
  max-width: 600px;
  margin: 2rem auto 0;
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  font-size: 1rem;
}

.amenities-list li {
  display: flex;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
}

.amenities-list .icon {
  margin-right: 0.6rem;
  font-size: 1.2rem;
  width: 1.5rem;
  text-align: center;
}

@media (max-width: 600px) {
  .amenities-list {
    grid-template-columns: 1fr;
  }
}

.about-clean {
  position: relative;
  padding: 3rem 1rem 4rem;
  background: #faf9f6;
  border-radius: 8px;
  max-width: 900px;
  margin: 3rem auto;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.about-clean h2 {
  position: relative;
  font-size: 2.1rem;
  font-family: 'Playfair Display', serif;
  margin-bottom: 2rem;
  text-align: center;
  color: #444;
}

.about-clean h2::before,
.about-clean h2::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 60px;
  height: 2px;
  background: #f08080;
  opacity: 0.5;
  transform: translateY(-50%);
  border-radius: 1px;
}

.about-clean h2::before {
  left: 0;
}

.about-clean h2::after {
  right: 0;
}

.about-clean .about-text p {
  max-width: 700px;
  margin: 1rem auto;
  font-size: 1.1rem;
  line-height: 1.7;
  text-align: center;
  color: #555;
  position: relative;
  padding-bottom: 1rem;
}

.about-clean .about-text p:not(:last-child)::after {
  content: "";
  display: block;
  width: 40px;
  height: 1.5px;
  background: #f08080;
  margin: 0.75rem auto 0;
  opacity: 0.3;
  border-radius: 1px;
}