* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; color: #222; background: #fff; line-height: 1.5; }
.header { display: flex; justify-content: space-between; align-items: center; padding: 16px 48px; border-bottom: 1px solid #ddd; position: sticky; top: 0; background: #fff; z-index: 100; }
.logo img { height: 48px; width: auto; }
nav a { margin-left: 24px; text-decoration: none; color: #222; font-weight: 500; }
nav a:hover { text-decoration: underline; }

.gallery { display: grid; grid-template-columns: 2fr 1fr; gap: 8px; max-width: 1200px; margin: 24px auto; padding: 0 24px; height: 480px; }
.main-photo { width: 100%; height: 100%; object-fit: cover; border-radius: 12px 0 0 12px; }
.thumb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.thumb-grid img { width: 100%; height: 100%; object-fit: cover; }
.thumb-grid img:nth-child(2) { border-radius: 0 12px 0 0; }
.thumb-grid img:nth-child(4) { border-radius: 0 0 12px 0; }

.content-grid { display: grid; grid-template-columns: 1fr 380px; gap: 48px; max-width: 1200px; margin: 0 auto; padding: 0 24px 48px; }
h1 { font-size: 2rem; margin-bottom: 8px; }
.subtitle { color: #717171; margin-bottom: 16px; }
.stats { display: flex; gap: 16px; margin-bottom: 24px; font-size: 0.95rem; }
.stats i { color: #FF5A5F; }

.highlights { margin: 32px 0; }
.highlight { display: flex; gap: 16px; margin-bottom: 20px; }
.highlight i { font-size: 1.4rem; color: #222; margin-top: 4px; width: 32px; }

.description p { margin-bottom: 12px; }
.amenities { margin-top: 32px; }
.amenity-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.amenity-list li { display: flex; align-items: center; gap: 8px; }

.reviews { margin-top: 40px; }
.review { border-bottom: 1px solid #eee; padding: 16px 0; }
.review strong { display: block; margin-bottom: 4px; }

.booking-card { border: 1px solid #ddd; border-radius: 12px; padding: 24px; box-shadow: 0 6px 16px rgba(0,0,0,0.12); position: sticky; top: 100px; height: fit-content; }
.price .amount { font-size: 1.6rem; font-weight: 700; }
.note { color: #008A05; font-weight: 600; margin: 8px 0 16px; }
form label { display: block; margin-bottom: 12px; font-size: 0.9rem; font-weight: 500; }
form input, form select, form textarea { width: 100%; padding: 12px; margin-top: 4px; border: 1px solid #b0b0b0; border-radius: 8px; font-size: 1rem; }
.date-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.book-btn { width: 100%; background: #FF5A5F; color: white; border: none; padding: 14px; border-radius: 8px; font-size: 1.05rem; font-weight: 600; cursor: pointer; margin-top: 8px; }
.price-summary { background: #f7f7f7; padding: 10px 12px; border-radius: 8px; }
.flatpickr-calendar { font-family: inherit; }
.disclaimer { font-size: 0.8rem; color: #717171; margin-top: 12px; }
#booking-result { margin-top: 16px; padding: 12px; border-radius: 8px; display: none; }
#booking-result.success { background: #e6f4ea; color: #137333; display: block; }

footer { text-align: center; padding: 32px; border-top: 1px solid #ddd; color: #717171; font-size: 0.9rem; }
footer a { color: #FF5A5F; }

@media (max-width: 900px) {
  .gallery, .content-grid { grid-template-columns: 1fr; }
  .gallery { height: auto; }
  .main-photo { height: 300px; border-radius: 12px; }
  .thumb-grid { grid-template-columns: repeat(4, 1fr); height: 100px; }
  .booking-card { position: static; }
  .header { padding: 16px 24px; }
  .amenity-list { grid-template-columns: 1fr; }
}

/* Lightbox */
.lightbox {
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  background: #111;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}
.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
  user-select: none;
  padding: 16px;
}
.lightbox-prev { left: 10px; }
.lightbox-next { right: 10px; }
.lightbox-caption {
  position: absolute;
  bottom: 20px;
  color: #fff;
  text-align: center;
  width: 100%;
  font-size: 1rem;
}
.gallery img { cursor: pointer; }