/* ─── HERO ─────────────────────────────────────────────────── */

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}
.hero-text { position: relative; z-index: 1; color: #fff; }
.hero-text h1 {
  font-family: 'Times New Roman ', serif;
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 300;
  letter-spacing: 1px;
}
.hero-text .line { width: 60px; height: 1.5px; background: #fff; margin-top: 8px; }

/* ─── ROOMS LISTING ─────────────────────────────────────────── */
.card {
  border: 1px solid #eee;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  display:none;
}
.rooms-section {
  max-width: 1300px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 50px) clamp(16px, 3vw, 30px);
  display: flex;
  gap: clamp(16px, 3vw, 40px);
  flex-wrap: wrap;
}
.filter-col { min-width: 140px; width: 100%; max-width: 220px; }
.filter-btn {
  background: #c47c1e;
  color: #fff;
  border: none;
  width: 100%;
  padding: 14px 20px;
  font-family: 'Times New Roman ', sans-serif;
  font-size: 17px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  border-radius: 3px;
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.5vw, 30px);
  flex: 1;
  min-width: 0;
}
.card {
  border: 1px solid #eee;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.card img {
  width: 100%;
  height: clamp(160px, 22vw, 220px);
  object-fit: cover;
  display: block;
}
.card-body { padding: 16px 14px 20px; text-align: center; }
.card-body h3 {
  font-family: DM Sans;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: #111;
}
.stars { color: #c47c1e; font-size: 1rem; margin-bottom: 8px; letter-spacing: 2px; }
.price { font-size: 1.05rem; font-weight: 700; color: #111; margin-bottom: 14px; }
.btn-select {
  background: #c47c1e;
  color: #fff;
  border: none;
  width: 100%;
  padding: 12px;
  font-family: 'DM Sans ', sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 3px;
}
.btn-select:hover { background: #a8660f; }

/* ─── PROMO PHOTOS ──────────────────────────────────────────── */
.promo-section {
  max-width: 1300px;
  margin: 0 auto clamp(30px, 5vw, 50px);
  padding: 0 clamp(16px, 3vw, 30px);
}
.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: clamp(10px, 2vw, 20px);
  margin-bottom: 16px;
}
.promo-grid img {
  width: 100%;
  height: clamp(180px, 25vw, 300px);
  object-fit: cover;
  border-radius: 4px;
  display: block;
}
.promo-caption { font-size: 18px; line-height: 1.7; color: #333; margin-top: 12px; }

/* ─── DETAIL BLOCKS ─────────────────────────────────────────── */
.detail-block { padding: clamp(18px, 3vw, 28px) 0 }
.detail-block:nth-child(odd) { background: #ffffff; }
.detail-block:nth-child(even) { background: #fff; }

.detail-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 4vw, 20px);
  align-items: start;
}
.detail-inner.reverse { direction: rtl; }
.detail-inner.reverse > * { direction: ltr; }

.detail-text h2 {
  font-family: 'Times New Roman ', sans-serif;
  font-size: 25px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.detail-block:nth-child(odd) .detail-text h2 { color: #000000; }
.detail-block:nth-child(even) .detail-text h2 { color: #111; }

.detail-text p { font-size: 17px; line-height: 1.85; margin-bottom: 12px; }
.detail-block:nth-child(odd) .detail-text p { color: #3a1f00; }
.detail-block:nth-child(even) .detail-text p { color: #000000; }

.detail-text ul { list-style: none; padding: 0; margin-bottom: 14px; }
.detail-text ul li {
  font-size: 17px;
  padding: 3px 0 3px 20px;
  position: relative;
  line-height: 1.5;
}
.detail-text ul li::before {
  content: '✔';
  position: absolute;
  left: 0;
  font-size: 0.75rem;
}
.detail-block:nth-child(odd) .detail-text ul li { color: #3a1f00; }
.detail-block:nth-child(even) .detail-text ul li { color: #000000; }

/* ─── ENHANCED GALLERY ──────────────────────────────────────── */
.detail-gallery {
  position: relative;
}

/* Multi-image gallery wrapper */
.gallery-multi {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
}

.gallery-main-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  cursor: zoom-in;
}

.gallery-main-wrap::after {
  content: '⤢';
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
  z-index: 2;
}
.gallery-main-wrap:hover::after {
  opacity: 1;
}

.main-img {
  width: 100%;
  height: clamp(222px, 40vw, 530px);
  object-fit: cover;
  border-radius: 6px;
  display: block;
  transition: transform 0.4s ease;
}
.gallery-main-wrap:hover .main-img {
  transform: scale(1.03);
}

/* Single image: larger, no zoom cursor, but still clickable for popup */
.gallery-single .gallery-main-wrap {
  cursor: zoom-in;
}
.gallery-single .main-img {
  height: clamp(260px, 35vw, 420px);
}

/* Auto-scroll progress bar */
.gallery-progress {
  height: 3px;
  background: rgba(255,255,255,0.25);
  border-radius: 0 0 6px 6px;
  overflow: hidden;
  margin-bottom: 6px;
}
.gallery-progress-bar {
  height: 100%;
  background: #c47c1e;
  border-radius: 3px;
  width: 0%;
  transition: width 0.1s linear;
}

/* ─── THUMB STRIP — 7 per row, scrollable when more ─────────── */
.thumb-strip {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  margin-top: 6px;
  width: 100%;
}

/* Scrollable mode: single row, fixed 7-thumb column width, scroll horizontally */
.thumb-strip.scrollable {
  grid-template-columns: unset;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 5px * 6) / 7);
  grid-template-rows: 1fr;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.35) transparent;
  padding-bottom: 4px; /* room for scrollbar */
}
.thumb-strip.scrollable::-webkit-scrollbar {
  height: 3px;
}
.thumb-strip.scrollable::-webkit-scrollbar-track {
  background: transparent;
}
.thumb-strip.scrollable::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.35);
  border-radius: 2px;
}

.thumb-strip img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 3px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s, opacity 0.2s, transform 0.2s;
  opacity: 0.72;
  display: block;
}
.thumb-strip img:hover {
  opacity: 1;
  transform: translateY(-2px);
}
.thumb-strip img.active {
  border-color: #c47c1e;
  opacity: 1;
}

/* Prev/Next arrows on multi-gallery */
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  line-height: 1;
}
.gallery-arrow:hover { background: rgba(196,124,30,0.85); }
.gallery-arrow.prev { left: 8px; }
.gallery-arrow.next { right: 8px; }

/* ─── LIGHTBOX / FULLSCREEN POPUP ──────────────────────────── */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 16px;
}
.lightbox-overlay.active {
  display: flex;
  animation: lbFadeIn 0.25s ease;
}
@keyframes lbFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.lightbox-img-wrap {
  position: relative;
  max-width: min(92vw, 1100px);
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-img-wrap img {
  max-width: 100%;
  max-height: 78vh;
  border-radius: 4px;
  object-fit: contain;
  box-shadow: 0 8px 50px rgba(0,0,0,0.7);
  animation: lbSlideIn 0.3s ease;
}
@keyframes lbSlideIn {
  from { transform: scale(0.93); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}
.lightbox-close {
  position: fixed;
  top: 16px;
  right: 20px;
  background: none;
  border: 2px solid rgba(255,255,255,0.5);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
  z-index: 10001;
}
.lightbox-close:hover { background: rgba(255,255,255,0.15); border-color: #fff; }

.lightbox-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.12);
  border: none;
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 10001;
}
.lightbox-arrow:hover { background: rgba(196,124,30,0.75); }
.lightbox-arrow.lb-prev { left: 12px; }
.lightbox-arrow.lb-next { right: 12px; }

.lightbox-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 92vw;
}
.lightbox-thumbs img {
  width: 60px;
  height: 44px;
  object-fit: cover;
  border-radius: 3px;
  cursor: pointer;
  opacity: 0.55;
  border: 2px solid transparent;
  transition: opacity 0.2s, border-color 0.2s;
}
.lightbox-thumbs img.active,
.lightbox-thumbs img:hover {
  opacity: 1;
  border-color: #c47c1e;
}
.lightbox-counter {
  color: rgba(255,255,255,0.6);
  font-size: 0.78rem;
  font-family: 'Times New Roman ', sans-serif;
  margin-top: 10px;
  letter-spacing: 1px;
}

/* ─── FLYER / PROMO ─────────────────────────────────────────── */
.flyer-wrap {
  display: flex;
  gap: clamp(16px, 3vw, 30px);
  align-items: flex-start;
  max-width: 1300px;
  margin: 40px auto;
  padding: 0 clamp(16px, 4vw, 40px);
  flex-wrap: wrap;
}
.flyer-text {
  flex: 1;
  min-width: min(280px, 100%);
  font-size: 17px;
  line-height: 1.8;
  color: #333;
}
.flyer-text h3 { font-size: 1rem; font-weight: 700; margin: 16px 0 6px; }
.flyer-text ul { padding-left: 18px; margin-bottom: 10px; }
.flyer-text ul li { margin-bottom: 4px; }

.flyer-card {
  width: clamp(260px, 30vw, 320px);
  max-width: 100%;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0,0,0,0.12);
  background: #1a6b6b;
  color: #fff;
}
.flyer-card img { width: 100%; height: 180px; object-fit: cover; display: block; }
.flyer-card-body { padding: 16px; }
.flyer-card-body h3 {
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.flyer-card-body p { font-size: 0.78rem; line-height: 1.6; margin-bottom: 12px; }
.flyer-card-footer {
  background: rgba(255,255,255,0.1);
  padding: 10px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  gap: 8px;
  flex-wrap: wrap;
}
.book-btn {
  background: #1a6b6b;
  color: #fff;
  border: none;
  padding: 8px 14px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  border-radius: 3px;
  white-space: nowrap;
}

/* ─── CONTACT FORM ──────────────────────────────────────────── */
.contact-section {
  max-width: 1300px;
  margin: clamp(30px, 5vw, 60px) auto;
  padding: 0 clamp(16px, 4vw, 40px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 3vw, 30px);
  align-items: start;
}
.contact-section img {
  width: 100%;
  height: clamp(263px, 53vw, 555px);
  object-fit: cover;
  border-radius: 4px;
  display: block;
}
.contact-form { background: #b5a8a0; padding: clamp(20px, 4vw, 32px) clamp(16px, 3vw, 28px); border-radius: 4px; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 0.8rem; font-weight: 600; margin-bottom: 6px; color: #222; }
.form-group label span { color: #c00; }
.form-group input, .form-group textarea {
  width: 100%;
  padding: 11px 13px;
  border: none;
  border-radius: 3px;
  font-family: 'Times New Roman ', sans-serif;
  font-size: 0.85rem;
  color: #888;
  background: #fff;
  outline: none;
}
.form-group textarea { height: 110px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.submit-btn {
  background: #e67e22;
  color: #fff;
  border: none;
  padding: 13px 28px;
  font-family: 'Times New Roman ', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 3px;
  margin-top: 6px;
  width: 100%;
}
.submit-btn:hover { background: #c0641a; }

/* ─── TURTLEBACK GRIDS ──────────────────────────────────────── */
.turtleback-text-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 4vw, 40px);
  font-size: 17px;
  line-height: 1.85;
  color: #333;
  margin-bottom: clamp(24px, 4vw, 40px);
}
.turtleback-pass-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 4vw, 40px);
  align-items: start;
}

/* ─── WHATSAPP ──────────────────────────────────────────────── */
.whatsapp-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 52px;
  height: 52px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  z-index: 999;
  cursor: pointer;
  text-decoration: none;
}
.whatsapp-btn svg { width: 28px; height: 28px; fill: #fff; }
/* ─── TOP DETAILS ───────────────────────────────────────────── */
.top-details {
  max-width: 1300px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 20px) clamp(16px, 4vw, 40px);
}

.top-details p {
  font-size: 17px;
  line-height: 1.85;
  color: #333;
  margin-bottom: 14px;
}

.top-details p:last-child {
  margin-bottom: 0;
}

/* ─── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .top-details {
    padding: clamp(20px, 3vw, 40px) clamp(16px, 3vw, 30px);
  }
}

@media (max-width: 600px) {
  .top-details {
    padding: 20px 14px;
  }
  .top-details p {
    font-size: 17px;
    line-height: 1.75;
  }
}

@media (max-width: 380px) {
  .top-details p {
    font-size: 17px;
  }
}
/* ─── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .rooms-section { flex-direction: column; }
  .filter-col { max-width: 100%; }
  .filter-btn { max-width: 200px; }
  .detail-inner { grid-template-columns: 1fr; }
  .detail-inner.reverse { direction: ltr; }
  .contact-section { grid-template-columns: 1fr; }
  .contact-section img { height: clamp(220px, 45vw, 340px); }
  .flyer-wrap { flex-direction: column; }
  .flyer-card { width: 100%; max-width: 480px; }
  .lightbox-arrow.lb-prev { left: 4px; }
  .lightbox-arrow.lb-next { right: 4px; }
}

@media (max-width: 600px) {
  .hero { height: 140px; }
  .hero-text h1 { font-size: 1.75rem; }
  .rooms-section { padding: 20px 14px; gap: 12px; }
  .cards-grid { grid-template-columns: 1fr; }
  .card img { height: 200px; }
  .promo-grid { grid-template-columns: 1fr; }
  .promo-grid img { height: 200px; }
  .detail-block { padding: 28px 0; }
  .detail-inner { padding: 0 14px; gap: 20px; }
  .main-img { height: 220px; }
  .gallery-single .main-img { height: 260px; }

  /* On mobile: 4 per row fixed, scrollable if more */
  .thumb-strip {
    grid-template-columns: repeat(4, 1fr);
  }
  .thumb-strip.scrollable {
    grid-auto-columns: calc((100% - 5px * 3) / 4);
  }

  .flyer-wrap { padding: 0 14px; margin: 24px auto; gap: 20px; }
  .flyer-card { width: 100%; }
  .contact-section { padding: 0 14px; gap: 20px; }
  .form-row { grid-template-columns: 1fr; }
  .whatsapp-btn { width: 46px; height: 46px; bottom: 16px; right: 16px; }
  .whatsapp-btn svg { width: 24px; height: 24px; }
  .turtleback-text-grid, .turtleback-pass-grid { grid-template-columns: 1fr; }
  .gallery-arrow { width: 28px; height: 28px; font-size: 0.85rem; }
  .lightbox-thumbs img { width: 48px; height: 36px; }
  .lightbox-arrow { width: 38px; height: 38px; font-size: 1.1rem; }
}

@media (max-width: 380px) {
  .hero-text h1 { font-size: 1.4rem; }
  .card-body h3 { font-size: 0.75rem; }
  .price { font-size: 0.95rem; }
  .detail-text h2 { font-size: 0.85rem; letter-spacing: 1.5px; }
  .detail-text p, .detail-text ul li { font-size: 17px; }
  .flyer-card-footer { font-size: 0.65rem; }
  .book-btn { padding: 7px 10px; font-size: 0.65rem; }
}