/* =========================================
   Reef Playacar - Standalone CSS
   ========================================= */

/* ===== RESET ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: Arial, Helvetica, sans-serif;
  color: #222;
  background: #fff;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* ===== LAYOUT ===== */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}

.section {
  padding: 10px 0;
}

.section-alt {
  background: #f6f9fb;
}

.section-header {
  margin-bottom: 18px;
}

.section-header p {
  color: #555;
}

/* ===== HEADER ===== */
.site-header {
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.main-nav {
  display: flex;
  gap: 18px;
  align-items: center;
}

.main-nav a {
  font-weight: 600;
  color: #222;
}

.main-nav a:hover {
  opacity: 0.75;
}

.nav-toggle {
  display: none;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 10px;
  padding: 8px 10px;
}

.mobile-nav {
  display: none;
  border-top: 1px solid #eee;
  background: #fff;
}

.mobile-nav a {
  display: block;
  padding: 12px 20px;
  border-bottom: 1px solid #f2f2f2;
  font-weight: 600;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 800;
  transition: transform 0.08s ease, opacity 0.12s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: #04ABCE;
  color: #fff;
}

.btn-primary:hover { opacity: .9; }

.btn-ghost {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.35);
  color: #fff;
}

/* ===== HERO ===== */
.hero-slider {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity .6s ease, transform .8s ease;
}

.hero-slide--active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.65), rgba(0,0,0,.15));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 20px;
}

.hero-overlay h1 {
  color: #fff;
  font-size: 44px;
  line-height: 1.1;
  margin-bottom: 10px;
}

.hero-overlay h2 {
  color: #fff;
  font-size: 34px;
  margin-bottom: 10px;
}

.hero-overlay p {
  color: rgba(255,255,255,.92);
  max-width: 680px;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}

/* ===== BOOKING CARD ===== */
.section-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 22px;
  align-items: start;
}

.booking-wrapper {
  width: 100%;
}

.booking-card {
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 10px 35px rgba(0,0,0,.14);
  border: 1px solid #f0f0f0;
}

.booking-card h3 {
  font-size: 22px;
  margin-bottom: 4px;
}

.booking-sub {
  font-size: 13px;
  color: #777;
  margin-bottom: 12px;
}

.book_button {
  width: 100%;
  border: 0;
  background: #04ABCE;
  color: #fff;
  padding: 14px;
  border-radius: 12px;
  font-weight: 900;
  font-size: 15px;
}

.book_button:hover {
  opacity: .92;
}

.testing-booking-form {
  display: grid;
  gap: 12px;
}

.testing-booking-form label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  color: #555;
}

.testing-booking-form input,
.testing-booking-form select {
  width: 100%;
  min-height: 46px;
  border: 1px solid #d8e0e5;
  border-radius: 10px;
  background: #fff;
  color: #222;
  padding: 10px 12px;
  font-size: 15px;
}

.stay-date-selects {
  display: grid;
  grid-template-columns: 1.15fr .75fr .95fr;
  gap: 8px;
}

.booking-range-picker {
  position: relative;
}

.booking-range-trigger {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d8e0e5;
  border-radius: 10px;
  background: #fff;
  color: #2b427a;
  font: inherit;
  font-size: 15px;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.booking-range-trigger:focus-visible {
  outline: 3px solid rgba(4,171,206,.24);
  border-color: #04ABCE;
}

.booking-range-icon {
  flex: 0 0 auto;
  color: #111;
  font-size: 18px;
  line-height: 1;
}

.booking-range-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 40;
  width: min(620px, calc(100vw - 40px));
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) 140px 160px;
  gap: 10px;
  padding: 14px;
  border: 1px solid #d8e0e5;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(15,23,32,.18);
}

.booking-range-panel[hidden] {
  display: none;
}

.booking-guests-field select,
.booking-children-field select {
  min-height: 46px;
  color: #2b427a;
  font-weight: 900;
}

.booking-guests-field[data-guest-summary]::after {
  content: attr(data-guest-summary);
  color: #667085;
  font-size: 12px;
  font-weight: 800;
}

.departure-display {
  font-weight: 800;
  letter-spacing: .02em;
}

.results-page .section {
  background: #f6f9fb;
  min-height: 70vh;
}

.results-summary {
  margin-bottom: 18px;
}

.results-summary h1 {
  font-size: 34px;
  line-height: 1.15;
  margin-bottom: 6px;
}

.intro-msg {
  color: #555;
}

.intro-msg span {
  color: #111;
  font-weight: 800;
}

.results-search {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  background: #fff;
  border: 1px solid #edf1f4;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  margin-bottom: 18px;
}

.rate-results {
  list-style: none;
  display: grid;
  gap: 14px;
}

.rate-card {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 18px;
  align-items: center;
  background: #fff;
  border: 1px solid #edf1f4;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
}

.rate-room {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  align-items: center;
}

.rate-room img {
  width: 150px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  background: #eef3f6;
}

.rate-room h2 {
  font-size: 20px;
  line-height: 1.2;
  margin-bottom: 4px;
}

.rate-room p,
.rate-price span {
  color: #666;
  font-size: 13px;
}

.rate-price {
  display: grid;
  gap: 6px;
  text-align: right;
}

.rate-price strong {
  color: #04ABCE;
  font-size: 30px;
  line-height: 1;
}

.rate-breakdown {
  display: grid;
  gap: 4px;
  margin: 2px 0 4px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #f6f9fb;
  text-align: left;
}

.rate-breakdown div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #4f5963;
  font-size: 12px;
  line-height: 1.3;
}

.rate-breakdown b {
  color: #1f2933;
  white-space: nowrap;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  color: #04ABCE;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.dining-hero .hero-overlay {
  background: linear-gradient(90deg, rgba(0,0,0,.68), rgba(0,0,0,.28));
}

.rooms-hero .hero-overlay {
  background: linear-gradient(90deg, rgba(0,0,0,.68), rgba(0,0,0,.25));
}

.dining-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: center;
}

.rooms-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: center;
}

.dining-intro h2 {
  font-size: 34px;
  line-height: 1.15;
  margin-bottom: 10px;
}

.rooms-intro h2 {
  font-size: 34px;
  line-height: 1.15;
  margin-bottom: 10px;
}

.dining-intro p {
  color: #555;
  max-width: 760px;
}

.rooms-intro p {
  color: #555;
  max-width: 780px;
}

.dining-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.room-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.dining-stats div {
  min-height: 104px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 16px;
  border-radius: 14px;
  background: #0f1720;
  color: #fff;
  text-align: center;
}

.room-highlights div {
  min-height: 104px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 16px;
  border-radius: 14px;
  background: #0f1720;
  color: #fff;
  text-align: center;
}

.dining-stats strong {
  font-size: 26px;
  line-height: 1;
}

.room-highlights strong {
  font-size: 26px;
  line-height: 1;
}

.dining-stats span {
  font-size: 12px;
  color: rgba(255,255,255,.78);
}

.room-highlights span {
  font-size: 12px;
  color: rgba(255,255,255,.78);
}

.venue-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.room-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.venue-card {
  overflow: hidden;
  border: 1px solid #e6edf2;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
}

.room-card-modern {
  overflow: hidden;
  border: 1px solid #e6edf2;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
}

.venue-card-featured {
  grid-column: span 2;
}

.room-card-wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
}

.venue-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #edf3f6;
}

.room-card-modern img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  background: #edf3f6;
}

.venue-body {
  padding: 16px;
}

.room-card-body {
  padding: 18px;
}

.venue-body h3 {
  margin: 4px 0 6px;
  font-size: 21px;
  line-height: 1.2;
}

.room-card-body h3 {
  margin: 6px 0 8px;
  font-size: 24px;
  line-height: 1.15;
}

.venue-body p {
  color: #555;
  font-size: 14px;
}

.room-card-body p {
  color: #555;
  margin-bottom: 12px;
}

.room-card-body ul {
  display: grid;
  gap: 8px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.room-card-body li {
  position: relative;
  padding-left: 22px;
  color: #444;
  font-size: 14px;
}

.room-card-body li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #04ABCE;
  font-weight: 900;
}

.venue-type {
  color: #04ABCE;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.room-badge {
  display: inline-block;
  color: #04ABCE;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.venue-grid-compact .venue-card img {
  aspect-ratio: 16 / 9;
}

.amenity-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.amenity-grid div {
  padding: 16px;
  border: 1px solid #e6edf2;
  border-radius: 14px;
  background: #fff;
  font-weight: 800;
  color: #222;
}

.book_flyout {
  display: none;
  margin-top: 14px;
}

.booking-note {
  margin-top: 10px;
  font-size: 12px;
  color: #666;
}

/* ===== FEATURE BOX ===== */
.feature-card {
  background: #0f1720;
  color: #fff;
  border-radius: 16px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,.08);
}

.checklist {
  list-style: none;
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.checklist li {
  padding-left: 26px;
  position: relative;
  color: rgba(255,255,255,.92);
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #04ABCE;
  font-weight: 900;
}

.mini-cards {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 10px;
  margin-top: 16px;
}

.mini-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  padding: 12px;
}

.mini-card span {
  font-size: 12px;
  opacity: .8;
}

/* ===== GALLERY GRID ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-grid a {
  display: block;
  overflow: hidden;
  border-radius: 14px;
}

.gallery-grid img {
  transition: transform .4s ease;
}

.gallery-grid a:hover img {
  transform: scale(1.04);
}

/* ===== CTA / FOOTER ===== */
.site-footer {
  background: #111;
  color: #aaa;
  margin-top: 60px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 20px;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #aaa;
}

.footer-links a:hover {
  color: #fff;
}

/* ===== DESKTOP BOOKING CTA ===== */
.desktop-booking-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1200;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: #04ABCE;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 10px 28px rgba(4,171,206,.28);
}

.desktop-booking-fab:hover {
  transform: translateY(-1px);
}

/* ===== MOBILE BOOKING BAR ===== */
.mobile-booking-bar {
  display: none;
}

@media (max-width: 980px) {
  .section-grid { grid-template-columns: 1fr; }
  .mini-cards { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .dining-intro { grid-template-columns: 1fr; }
  .rooms-intro { grid-template-columns: 1fr; }
  .venue-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .venue-card-featured { grid-column: span 1; }
  .room-card-wide { grid-template-columns: 1fr; }
  .amenity-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; }
}

@media (max-width: 768px) {
  .desktop-booking-fab { display: none; }

  .mobile-booking-bar {
    display: block;
    position: fixed;
    bottom: 0;
    width: 100%;
    background: rgba(0,0,0,.94);
    z-index: 1300;
  }

  .mbb-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    gap: 10px;
  }

  .mbb-text {
    color: #fff;
  }

  .mbb-text strong {
    display: block;
    font-size: 14px;
  }

  .mbb-text span {
    font-size: 12px;
    opacity: .85;
  }

  .mbb-button {
    background: #04ABCE;
    color: #fff;
    border: 0;
    padding: 12px 16px;
    border-radius: 12px;
    font-weight: 900;
  }

  body {
    padding-bottom: 76px;
  }

  .hero-overlay h1 { font-size: 34px; }
  .hero-overlay h2 { font-size: 28px; }
  .hero-overlay p  { font-size: 16px; }
}

/* Booking collapsed state — SAFE for Skyscanner */
.booking-collapsed {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: all .35s ease;
}

.booking-collapsed.is-open {
  max-height: 1500px;
  opacity: 1;
  pointer-events: auto;
}



#bookingWrapper {
  max-width: 480px;
  margin: 0 auto;
}

/* Smooth scroll spacing */
#booking {
  scroll-margin-top: 120px;
}
/* Mobile / Desktop visibility */
.mobile-only { display: none; }
.desktop-only { display: block; }

@media (max-width: 768px) {

  .mobile-only { display: block; }
  .desktop-only { display: none; }

  .booking-card {
    padding: 14px;
    border-radius: 14px;
  }

  .booking-title {
    font-size: 24px;
    text-align: center;
    margin-bottom: 2px;
  }

  .booking-sub {
    text-align: center;
    font-size: 14px;
    margin-bottom: 8px;
  }

  .booking-trust {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
    margin-bottom: 8px;
    color: #555;
  }

  .booking-trust span {
    background: #f2f6f8;
    padding: 4px 8px;
    border-radius: 20px;
  }

  .testing-booking-form {
    gap: 8px;
  }

  .testing-booking-form label {
    gap: 4px;
  }

  .testing-booking-form input,
  .testing-booking-form select {
    min-height: 44px;
    padding: 8px 10px;
    font-size: 16px;
  }

  .stay-date-selects {
    grid-template-columns: 1.2fr .72fr .9fr;
    gap: 6px;
  }

  .arrival-selects .stay-date-selects {
    grid-template-columns: minmax(0, 1.1fr) 72px 92px;
  }

  .booking-range-trigger,
  .booking-guests-field select,
  .booking-children-field select {
    min-height: 44px;
    font-size: 15px;
  }

  .booking-range-trigger::after {
    content: "Edit";
    flex: 0 0 auto;
    margin-left: auto;
    padding: 4px 8px;
    border-radius: 999px;
    background: #eef7fc;
    color: #086e9f;
    font-size: 12px;
    font-weight: 900;
  }

  .booking-range-trigger[aria-expanded="true"]::after {
    content: "Done";
  }

  .booking-range-panel {
    position: static;
    width: 100%;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 8px;
    padding: 10px;
    border-radius: 12px;
    box-shadow: none;
  }

  .booking-range-panel .arrival-selects .stay-date-selects {
    grid-template-columns: minmax(0, 1.1fr) 72px 92px;
  }

  .book_button {
    min-height: 48px;
    padding: 12px;
    margin-top: 4px;
    border-radius: 12px;
  }

  .dining-intro h2 {
    font-size: 28px;
  }

  .rooms-intro h2 {
    font-size: 28px;
  }

  .dining-stats,
  .room-highlights,
  .venue-grid,
  .room-grid,
  .amenity-grid {
    grid-template-columns: 1fr;
  }

  .room-card-modern img {
    min-height: 220px;
  }

  .results-search,
  .rate-card,
  .rate-room {
    grid-template-columns: 1fr;
  }

  .rate-room img {
    width: 100%;
  }

  .rate-price {
    text-align: left;
  }
}

@media (max-width: 420px) {
  .stay-date-selects {
    grid-template-columns: 1fr 72px 92px;
  }

  .arrival-selects .stay-date-selects {
    grid-template-columns: 1fr;
  }

  .booking-range-panel .arrival-selects .stay-date-selects {
    grid-template-columns: 1fr;
  }

  .booking-trust {
    justify-content: flex-start;
  }
}
