/* =========================================
   LIWYMI 2027 — page-specific styles
   Scoped under #l27-page and prefixed with l27- so nothing here can
   collide with Bootstrap, liwymi.css, or any other page's styles.
   Loaded only on 2027.php — safe to leave in place while hidden.
========================================= */

#l27-page {
  --l27-navy-dark: #071a39;
  --l27-navy: #0b3a66;
  --l27-navy-light: #0f4573;
  --l27-gold: #ffc107;
  --l27-green: #2e7d32;

  font-family: Georgia, "Times New Roman", serif;
  color: #ffffff;
  background: var(--l27-navy);
  line-height: 1.6;
}

#l27-page img { max-width: 100%; display: block; }
#l27-page a { color: inherit; }
#l27-page h1, #l27-page h2, #l27-page h3, #l27-page h4 {
  font-family: Georgia, "Times New Roman", serif;
  margin: 0 0 0.5em;
}
#l27-page section { scroll-margin-top: 20px; }

.l27-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.l27-btn {
  display: inline-block;
  border: none;
  border-radius: 6px;
  padding: 12px 28px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.l27-btn-gold {
  background: var(--l27-gold);
  color: rgb(33, 37, 41);
}
.l27-btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255,193,7,0.35); }
.l27-btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.6);
}
.l27-btn-outline:hover { background: rgba(255,255,255,0.1); }
.l27-btn-disabled {
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.5);
  cursor: not-allowed;
}

/* ===== Status banner ===== */
.l27-ribbon {
  background: var(--l27-gold);
  color: rgb(33, 37, 41);
  text-align: center;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  padding: 10px 16px;
}

/* ===== Hero ===== */
.l27-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(rgba(7,26,57,0.55), rgba(7,26,57,0.75)),
    url('/assets/images/2027/gc-hero-2-infinity-pool.png') center/cover no-repeat;
  padding: 60px 20px;
}
.l27-hero-content { max-width: 760px; }
.l27-hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  line-height: 1.15;
  text-shadow: 0 3px 14px rgba(0,0,0,0.4);
}
.l27-hero-sub {
  font-size: 1.15rem;
  color: #f5dca3;
  margin-bottom: 1.6em;
}
.l27-hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== Intro ===== */
.l27-intro { padding: 60px 0 20px; text-align: center; }
.l27-intro p { max-width: 820px; margin: 0 auto; font-size: 1.15rem; }

/* ===== Destination switcher ===== */
.l27-switcher {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 40px 0 10px;
  flex-wrap: wrap;
}
.l27-switcher button {
  background: var(--l27-navy-light);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px;
  padding: 12px 30px;
  font-family: Georgia, serif;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.15s ease;
}
.l27-switcher button.l27-active {
  background: var(--l27-gold);
  color: rgb(33,37,41);
  font-weight: 700;
}

.l27-dest-panel { display: none; padding: 40px 0 80px; }
.l27-dest-panel.l27-active { display: block; }

/* ===== Section titles ===== */
.l27-section-title { text-align: center; font-size: 2rem; margin-bottom: 8px; }
.l27-section-sub { text-align: center; color: #cfe0f0; margin-bottom: 36px; }

/* ===== Badges ===== */
.l27-badge-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 14px 0;
}
.l27-pill {
  display: inline-block;
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 0.82rem;
  font-weight: 700;
}
.l27-pill-gold { background: var(--l27-gold); color: rgb(33,37,41); }
.l27-pill-green { background: var(--l27-green); color: #fff; }
.l27-pill-navy { background: var(--l27-navy-light); color: #fff; border: 1px solid rgba(255,255,255,0.2); }

.l27-achievement-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 16px;
}
.l27-achievement-badges .l27-pill {
  background: rgba(255,255,255,0.08);
  color: #f5dca3;
  border: 1px solid rgba(245,220,163,0.35);
  font-weight: 400;
  font-size: 0.78rem;
}

/* ===== Gallery ===== */
.l27-hero-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 24px 0 10px;
  border-radius: 14px;
  overflow: hidden;
}
.l27-hero-gallery img { height: 260px; width: 100%; object-fit: cover; }
@media (max-width: 700px) {
  .l27-hero-gallery { grid-template-columns: 1fr; }
  .l27-hero-gallery img { height: 200px; }
}

/* ===== Cards / grid ===== */
.l27-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 30px 0;
}
@media (max-width: 980px) { .l27-card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .l27-card-grid { grid-template-columns: 1fr; } }

.l27-card {
  background: var(--l27-navy-light);
  border-radius: 14px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,0.06);
}
.l27-feature-card { display: flex; gap: 12px; align-items: flex-start; }
.l27-feature-card .l27-emoji { font-size: 1.5rem; line-height: 1; }
.l27-feature-card p { margin: 0; }

/* ===== About / prose ===== */
.l27-prose { max-width: 820px; margin: 0 auto 40px; }
.l27-prose h3 { color: #f5dca3; font-size: 1.25rem; margin-top: 1.8em; }
.l27-prose p { font-size: 1.02rem; }

/* ===== Room explorer ===== */
.l27-explorer-controls {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  background: var(--l27-navy-light);
  border-radius: 14px;
  padding: 22px;
  margin-bottom: 30px;
}
.l27-control-group { display: flex; flex-direction: column; gap: 8px; }
.l27-control-group label { font-size: 0.8rem; letter-spacing: 0.05em; color: #f5dca3; }
.l27-control-group .l27-option-set { display: flex; gap: 8px; flex-wrap: wrap; }
.l27-option-set button {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  border-radius: 999px;
  padding: 8px 16px;
  font-family: Georgia, serif;
  font-size: 0.88rem;
  cursor: pointer;
}
.l27-option-set button.l27-active { background: var(--l27-gold); color: rgb(33,37,41); border-color: var(--l27-gold); font-weight: 700; }

.l27-room-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 760px) { .l27-room-grid { grid-template-columns: 1fr; } }

.l27-room-card {
  background: var(--l27-navy-light);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.07);
  display: flex;
  flex-direction: column;
}
.l27-room-card img, .l27-room-photo-placeholder {
  width: 100%;
  height: 190px;
  object-fit: cover;
}
.l27-room-photo-placeholder {
  background: linear-gradient(135deg, #0f2a44, #0b3a66);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
  border-bottom: 1px dashed rgba(255,255,255,0.15);
}
.l27-room-photo-placeholder .l27-icon { font-size: 1.8rem; opacity: 0.7; }

.l27-room-card-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.l27-room-card-body h4 { font-size: 1.05rem; margin: 0; }

.l27-room-price { font-size: 1.4rem; font-weight: 700; color: var(--l27-gold); }
.l27-room-price small { display: block; font-size: 0.68rem; font-weight: 400; color: #cfe0f0; }

.l27-room-unavailable { color: rgba(255,255,255,0.5); font-style: italic; font-size: 0.95rem; }

/* ===== Price tables (flights/transfers) ===== */
.l27-table-wrap { overflow-x: auto; margin: 20px 0 40px; border-radius: 12px; }
table.l27-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--l27-navy-light);
  border-radius: 12px;
  overflow: hidden;
  min-width: 480px;
}
table.l27-table th, table.l27-table td {
  padding: 12px 16px;
  text-align: left;
  font-size: 0.92rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
table.l27-table th { background: rgba(0,0,0,0.2); color: #f5dca3; font-weight: 700; }

@media (max-width: 620px) {
  table.l27-table, table.l27-table thead, table.l27-table tbody, table.l27-table th, table.l27-table td, table.l27-table tr {
    display: block;
  }
  table.l27-table thead { display: none; }
  table.l27-table tr { border-radius: 10px; margin-bottom: 12px; padding: 6px 0; background: rgba(0,0,0,0.12); }
  table.l27-table td { border: none; display: flex; justify-content: space-between; gap: 12px; }
  table.l27-table td::before { content: attr(data-label); font-weight: 700; color: #f5dca3; }
}

.l27-provisional-tag {
  display: inline-block;
  background: rgba(255,193,7,0.15);
  color: var(--l27-gold);
  border: 1px solid rgba(255,193,7,0.4);
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 0.82rem;
  margin: 10px 0 20px;
}

/* ===== Placeholder card (excursions) ===== */
.l27-placeholder-card {
  border: 1px dashed rgba(255,255,255,0.3);
  border-radius: 14px;
  padding: 26px;
  text-align: center;
  color: rgba(255,255,255,0.75);
  max-width: 520px;
  margin: 0 auto 40px;
  background: rgba(255,255,255,0.03);
}

/* ===== Summary widget ===== */
.l27-summary-widget {
  background: var(--l27-navy-dark);
  border: 1px solid rgba(255,193,7,0.3);
  border-radius: 14px;
  padding: 24px;
  max-width: 520px;
  margin: 10px auto 50px;
}
.l27-summary-widget h4 { margin-bottom: 14px; color: var(--l27-gold); }
.l27-summary-row { display: flex; justify-content: space-between; font-size: 0.95rem; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.l27-summary-total { display: flex; justify-content: space-between; font-size: 1.25rem; font-weight: 700; padding-top: 12px; color: var(--l27-gold); }
.l27-summary-note { font-size: 0.78rem; color: rgba(255,255,255,0.55); margin-top: 10px; }

/* ===== Sub-hotel divider ===== */
.l27-hotel-block { margin-bottom: 60px; }
.l27-hotel-block .l27-hotel-title { font-size: 1.6rem; text-align: center; margin-bottom: 4px; }
.l27-hotel-block .l27-hotel-location { text-align: center; color: #f5dca3; margin-bottom: 18px; font-size: 0.95rem; }

/* ===== Register interest form ===== */
.l27-form-card {
  background: var(--l27-navy-light);
  border-radius: 16px;
  padding: 36px;
  max-width: 640px;
  margin: 0 auto;
}
.l27-form-row { margin-bottom: 18px; display: flex; flex-direction: column; gap: 6px; }
.l27-form-row label { font-size: 0.85rem; color: #f5dca3; }
.l27-form-row input, .l27-form-row select, .l27-form-row textarea {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  padding: 12px 14px;
  color: #fff;
  font-family: Georgia, serif;
  font-size: 0.95rem;
  width: 100%;
}
.l27-form-row textarea { resize: vertical; min-height: 90px; }
.l27-form-row input::placeholder, .l27-form-row textarea::placeholder { color: rgba(255,255,255,0.4); }

.l27-form-confirm {
  display: none;
  margin-top: 18px;
  background: rgba(46,125,50,0.2);
  border: 1px solid rgba(46,125,50,0.5);
  color: #baf0bd;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 0.92rem;
}
.l27-form-confirm.l27-show { display: block; }

/* ===== Pricing disclaimer ===== */
.l27-disclaimer-block {
  max-width: 700px;
  margin: 0 auto;
  padding: 30px 20px 10px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

/* ===== Utility ===== */
.l27-text-center { text-align: center; }
