/* Public website (landing, destinations, booking, ID scan).
   Loaded after style.css; colors match the staff side (navy + orange). */
:root {
  --navy: #0b2a6f;
  --navy-deep: #071a47;
  --orange: #f7921e;
  --orange-dark: #d97706;
  --cream: #fff7ec;
  --text: #1d2639;
  --soft: #6b7489;
  --radius: 18px;
  --shadow: 0 14px 40px rgba(11, 42, 111, .10);
}

body.site { background: #fff; color: var(--text); }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
main.full { max-width: none; padding: 0; }
main.site-main { max-width: 1080px; padding: 36px 20px 70px; }
.script { margin: 0; font-family: "Caveat", cursive; font-size: 28px; font-weight: 700; color: var(--orange); line-height: 1.1; }

/* ---------- Header ---------- */
.topinfo { background: var(--navy-deep); color: rgba(255,255,255,.75); font-size: 13px; }
.topinfo .wrap { display: flex; justify-content: space-between; gap: 12px; padding-top: 8px; padding-bottom: 8px; }
.topinfo a { color: #fff; text-decoration: none; font-weight: 500; }
.topinfo a:hover { color: var(--orange); }

.site-nav { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 2px 18px rgba(7,26,71,.08); }
.site-nav .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 76px; }
.logo { display: flex; align-items: center; gap: 12px; color: var(--navy); text-decoration: none; }
.logo strong { display: block; font-size: 19px; font-weight: 800; line-height: 1.1; }
.logo small { display: block; color: var(--soft); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.logo.light { color: #fff; }
.logo.light small { color: rgba(255,255,255,.6); }
.logo-mark { display: block; flex: none; width: 52px; height: 52px; border-radius: 50%; object-fit: contain; }
.logo.light .logo-mark { background: #fff; box-shadow: 0 0 0 3px #fff; }

.site-nav nav > ul { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.site-nav nav a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--text); font-size: 15px; font-weight: 500; text-decoration: none; }
.site-nav nav a:hover, .site-nav nav a.active { color: var(--orange); }
.caret { display: inline-block; margin-left: 4px; border: 5px solid transparent; border-top-color: currentColor; vertical-align: -2px; }
.has-menu { position: relative; }
.dropdown { position: absolute; top: 100%; left: 0; min-width: 260px; margin: 0; padding: 8px 0; list-style: none; background: #fff; border-radius: 12px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .18s ease; }
.has-menu:hover .dropdown, .has-menu:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { padding: 12px 20px; border-radius: 0; }
.dropdown a:hover { background: #f4f6fb; color: var(--navy); }
.dropdown .all a { border-top: 1px solid #edf0f6; color: var(--orange); font-weight: 600; }
.site-nav nav a.nav-cta { margin-left: 8px; padding: 11px 22px; border-radius: 999px; background: var(--orange); color: #fff; font-weight: 600; }
.site-nav nav a.nav-cta:hover { background: var(--navy); color: #fff; }

.nav-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: none; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--navy); border-radius: 2px; }

@media (max-width: 900px) {
  .topinfo span { display: none; }
  .topinfo .wrap { justify-content: flex-end; }
  .nav-toggle { display: block; }
  .site-nav nav { position: absolute; top: 100%; left: 0; right: 0; display: none; background: #fff; box-shadow: 0 12px 24px rgba(7,26,71,.12); }
  .site-nav nav.open { display: block; }
  .site-nav nav > ul { flex-direction: column; align-items: stretch; padding: 10px 20px 18px; }
  .dropdown { position: static; display: none; min-width: 0; padding: 0 0 0 14px; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .has-menu.open .dropdown { display: block; }
  .site-nav nav a.nav-cta { margin: 8px 0 0; text-align: center; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 28px; border: 2px solid transparent; border-radius: 999px; font: inherit; font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer; transition: .18s ease; }
.btn-accent { background: var(--orange); color: #fff; }
.btn-accent:hover { background: var(--navy); }
.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--navy); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: #fff; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn.block { display: flex; width: 100%; margin-top: 10px; }

/* ---------- Hero ---------- */
.hero { position: relative; display: flex; align-items: center; min-height: 640px; overflow: hidden; background: var(--navy-deep); color: #fff; }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1.06); transition: opacity 1.2s ease, transform 7s ease; }
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero-fallback { background: radial-gradient(circle at 80% 20%, #1f7a8c 0, transparent 45%), radial-gradient(circle at 10% 90%, #f7921e55 0, transparent 40%), linear-gradient(135deg, #071a47, #0b2a6f 55%, #0e4a7a); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,26,71,.85) 0%, rgba(7,26,71,.55) 45%, rgba(7,26,71,.15) 100%); }
.hero-content { position: relative; padding-top: 80px; padding-bottom: 130px; }
.hero .script { font-size: 40px; }
.hero h1 { max-width: 720px; margin: 8px 0 16px; font-size: clamp(36px, 6vw, 68px); font-weight: 800; line-height: 1.08; }
.hero .lead { max-width: 560px; margin: 0 0 30px; font-size: 18px; color: rgba(255,255,255,.85); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-dots { display: flex; gap: 8px; margin-top: 40px; }
.hero-dots button { width: 12px; height: 12px; padding: 0; border: 2px solid #fff; border-radius: 50%; background: transparent; cursor: pointer; }
.hero-dots button.active { width: 32px; border-radius: 999px; background: var(--orange); border-color: var(--orange); }
.hero-caption { margin: 16px 0 0; font-size: 14px; color: rgba(255,255,255,.7); }
.hero-caption a { color: #fff; font-weight: 600; }

.quick-book-wrap { position: relative; z-index: 2; margin-top: -60px; }
.quick-book { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 16px; align-items: end; padding: 24px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.quick-book label { margin: 0; color: var(--navy); }
.quick-book .btn { height: 48px; }
@media (max-width: 700px) { .quick-book { grid-template-columns: 1fr; } }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section.tint { background: var(--cream); }
.section-head { margin-bottom: 44px; }
.section-head.center { text-align: center; }
.section-head h2 { margin: 6px 0 0; color: var(--navy); font-size: clamp(28px, 4vw, 42px); font-weight: 800; line-height: 1.15; }
.empty { padding: 30px; text-align: center; color: var(--soft); background: #fff; border-radius: var(--radius); }

.type-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 20px; }
.type-card { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 30px 16px; border: 1px solid #edf0f6; border-radius: var(--radius); background: #fff; color: var(--text); text-align: center; text-decoration: none; transition: .2s ease; }
.type-card:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-4px); }
.type-icon { display: grid; place-items: center; width: 74px; height: 74px; margin-bottom: 8px; border-radius: 50%; background: var(--cream); color: var(--orange); transition: .2s ease; }
.type-icon svg { width: 36px; height: 36px; }
.type-card:hover .type-icon { background: var(--orange); color: #fff; }
.type-card strong { color: var(--navy); font-size: 17px; }
.type-card span:last-child { color: var(--soft); font-size: 13px; }

.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }
.filters button { padding: 8px 18px; border: 1px solid #f1dcc0; border-radius: 999px; background: #fff; color: var(--text); font: inherit; font-size: 14px; cursor: pointer; }
.filters button.active, .filters button:hover { background: var(--navy); border-color: var(--navy); color: #fff; }

.dest-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.dest-card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); background: #fff; box-shadow: 0 6px 24px rgba(11,42,111,.06); transition: .25s ease; }
.dest-card:hover { box-shadow: var(--shadow); transform: translateY(-6px); }
.dest-card[hidden] { display: none; }
.dest-media { position: relative; display: block; text-decoration: none; aspect-ratio: 4 / 3; overflow: hidden; background: #e8edf7; }
.dest-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.dest-card:hover .dest-media img { transform: scale(1.07); }
.media-fallback { display: grid; place-items: center; width: 100%; height: 100%; background: linear-gradient(135deg, var(--navy), #1f7a8c); color: rgba(255,255,255,.85); font-size: 64px; font-weight: 800; }
.media-fallback.small { width: 64px; height: 52px; border-radius: 10px; font-size: 22px; }
.tag { display: inline-block; padding: 5px 14px; border-radius: 999px; background: var(--orange); color: #fff; font-size: 12px; font-weight: 600; }
.dest-media .tag { position: absolute; top: 16px; left: 16px; }
.photo-count { position: absolute; right: 14px; bottom: 14px; padding: 4px 10px; border-radius: 999px; background: rgba(7,26,71,.7); color: #fff; font-size: 12px; }
.dest-body { flex: 1; padding: 20px 22px 6px; }
.rating-line { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--soft); }
.dest-body h3 { margin: 8px 0 6px; font-size: 21px; line-height: 1.25; }
.dest-body h3 a { color: var(--navy); text-decoration: none; }
.dest-body h3 a:hover { color: var(--orange); }
.loc { display: flex; align-items: center; gap: 6px; margin: 0; color: var(--soft); font-size: 14px; }
.loc svg { width: 16px; height: 16px; color: var(--orange); flex: none; }
.tagline { margin: 10px 0 0; color: var(--text); font-size: 14px; }
.dest-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 16px 22px 0; padding: 16px 0 20px; border-top: 1px dashed #e3e7ef; font-weight: 600; color: var(--navy); }
.dest-foot small { display: block; color: var(--soft); font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; }
.dest-foot .more { color: var(--orange); font-size: 14px; text-decoration: none; white-space: nowrap; }

.stats-band { padding: 70px 0; background: linear-gradient(120deg, var(--navy-deep), var(--navy)); color: #fff; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stats strong { display: block; color: var(--orange); font-size: 46px; font-weight: 800; line-height: 1.1; }
.stats span { color: rgba(255,255,255,.8); }
@media (max-width: 700px) { .stats { grid-template-columns: 1fr 1fr; } }

/* ---------- Reviews ---------- */
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 26px; }
.review-card { position: relative; margin: 0; padding: 32px 28px 26px; border: 1px solid #edf0f6; border-radius: var(--radius); background: #fff; }
.review-card .quote { position: absolute; top: 4px; right: 22px; color: #ffe1bd; font-family: Georgia, serif; font-size: 96px; line-height: 1; }
.review-card blockquote { position: relative; margin: 12px 0 20px; color: var(--text); font-size: 15px; }
.review-card figcaption { display: flex; align-items: center; gap: 12px; }
.review-card figcaption strong { display: block; color: var(--navy); }
.review-card figcaption small { color: var(--soft); }
.review-card figcaption small a { color: var(--orange); text-decoration: none; }
.avatar { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; }
.stars { color: var(--orange); }

.review-form-wrap { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; margin-top: 60px; padding: 40px; border-radius: var(--radius); background: var(--cream); }
.review-form-wrap h3 { margin: 4px 0 10px; color: var(--navy); font-size: 28px; }
@media (max-width: 860px) { .review-form-wrap { grid-template-columns: 1fr; padding: 26px; } }
.review-form .hp { position: absolute; left: -9999px; }
.star-input { margin: 0 0 14px; padding: 0; border: 0; }
.star-input legend { margin-bottom: 4px; padding: 0; font-size: 13px; font-weight: 600; }
.star-row { display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { margin: 0; color: #d5dae5; font-size: 34px; line-height: 1; cursor: pointer; transition: color .1s; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: var(--orange); }
.star-input input:focus-visible + label { outline: 2px solid var(--navy); border-radius: 4px; }

/* ---------- CTA + footer ---------- */
.cta-band { padding: 70px 0; background: var(--orange); background: linear-gradient(110deg, var(--orange), #f8b34a); color: #fff; }
.cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta .script { color: var(--navy); }
.cta h2 { margin: 4px 0 0; font-size: clamp(26px, 4vw, 38px); font-weight: 800; }
.cta .btn-accent { background: var(--navy); }
.cta .btn-accent:hover { background: #fff; color: var(--navy); }

.site-foot { padding-top: 70px; background: var(--navy-deep); color: rgba(255,255,255,.7); font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 50px; }
.foot-grid h4 { margin: 6px 0 16px; color: #fff; font-size: 17px; }
.foot-grid ul { margin: 0; padding: 0; list-style: none; }
.foot-grid li { margin-bottom: 10px; }
.foot-grid a { color: rgba(255,255,255,.7); text-decoration: none; }
.foot-grid a:hover { color: var(--orange); }
.foot-grid p { margin-top: 18px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 20px; padding-bottom: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- Destination page ---------- */
.page-banner { position: relative; padding: 110px 0 70px; background: linear-gradient(135deg, var(--navy-deep), var(--navy) 60%, #1f7a8c) center / cover; color: #fff; }
.banner-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,26,71,.9), rgba(7,26,71,.35)); }
.page-banner .wrap { position: relative; }
.page-banner h1 { margin: 12px 0 8px; font-size: clamp(32px, 5vw, 54px); font-weight: 800; }
.page-banner a { color: #fff; }
.crumbs { margin-bottom: 18px; font-size: 14px; color: rgba(255,255,255,.75); }
.crumbs a { color: rgba(255,255,255,.9); text-decoration: none; }
.crumbs a:hover { color: var(--orange); }
.banner-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; color: rgba(255,255,255,.85); }

.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; padding-top: 50px; padding-bottom: 90px; }
@media (max-width: 960px) { .detail-grid { grid-template-columns: 1fr; } }
.detail-block { margin-bottom: 44px; }
.detail-block h2 { margin: 0 0 16px; color: var(--navy); font-size: 26px; font-weight: 700; }
.lead-dark { font-size: 18px; color: var(--navy); font-weight: 500; }

.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 200px 200px; gap: 10px; margin-bottom: 40px; }
.g-item { position: relative; padding: 0; overflow: hidden; border: 0; border-radius: 14px; background: #e8edf7; cursor: zoom-in; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.g-item:hover img { transform: scale(1.06); }
.g-main { grid-row: span 2; }
.gallery.g-1 { grid-template-columns: 1fr; grid-template-rows: 440px; }
.gallery.g-2 { grid-template-columns: 1fr 1fr; grid-template-rows: 360px; }
.gallery.g-2 .g-main { grid-row: auto; }
.gallery.g-3 { grid-template-columns: 2fr 1fr; }
.gallery.g-4 .g-item:nth-child(4) { grid-column: span 2; }
.g-more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(7,26,71,.6); color: #fff; font-size: 20px; font-weight: 700; }
@media (max-width: 640px) {
  .gallery, .gallery.g-3 { grid-template-columns: 1fr 1fr; grid-template-rows: 220px; grid-auto-rows: 120px; }
  .gallery.g-1 { grid-template-columns: 1fr; grid-template-rows: 260px; }
  .gallery.g-2 { grid-template-rows: 200px; }
  .g-main { grid-column: span 2; grid-row: auto; }
  .gallery.g-2 .g-main { grid-column: auto; }
  .gallery.g-4 .g-item:nth-child(4) { grid-column: auto; }
}

.lightbox { width: min(1100px, 94vw); max-height: 92vh; padding: 0; border: 0; border-radius: 14px; background: #000; overflow: visible; }
.lightbox::backdrop { background: rgba(7,15,35,.88); }
.lightbox figure { margin: 0; }
.lightbox img { display: block; width: 100%; max-height: 82vh; object-fit: contain; }
.lightbox figcaption { padding: 10px 16px; color: #fff; font-size: 14px; }
.lb-close, .lb-prev, .lb-next { position: absolute; z-index: 2; display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%; background: #fff; color: var(--navy); font-size: 28px; cursor: pointer; }
.lb-close { top: -16px; right: -16px; }
.lb-prev { top: 50%; left: 12px; transform: translateY(-50%); }
.lb-next { top: 50%; right: 12px; transform: translateY(-50%); }

.rating-summary { display: flex; flex-wrap: wrap; gap: 30px; align-items: center; margin-bottom: 26px; padding: 24px; border-radius: var(--radius); background: var(--cream); }
.big-score { display: flex; flex-direction: column; align-items: center; min-width: 120px; }
.big-score strong { color: var(--navy); font-size: 52px; font-weight: 800; line-height: 1; }
.big-score span:last-child { color: var(--soft); font-size: 13px; }
.dist { flex: 1; min-width: 220px; }
.dist-row { display: grid; grid-template-columns: 34px 1fr 28px; gap: 10px; align-items: center; font-size: 13px; color: var(--soft); }
.dist-bar { height: 8px; border-radius: 999px; background: #f1e3cf; overflow: hidden; }
.dist-bar span { display: block; height: 100%; background: var(--orange); }
.review-item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid #edf0f6; }
.review-item p { margin: 8px 0 0; }
.review-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; }
.review-meta strong { color: var(--navy); }

.detail-side { display: flex; flex-direction: column; gap: 24px; }
.info-card { padding: 28px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.info-card h3 { margin: 0 0 16px; color: var(--navy); font-size: 20px; }
.info-card dl { margin: 0 0 10px; }
.info-card dt { color: var(--soft); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.info-card dd { margin: 2px 0 14px; color: var(--text); font-weight: 600; }
.mini-dest .media-fallback { text-decoration: none; }
.mini-dest { display: flex; gap: 12px; align-items: center; padding: 8px 0; color: var(--text); text-decoration: none; }
.mini-dest img { width: 64px; height: 52px; border-radius: 10px; object-fit: cover; }
.mini-dest strong { display: block; color: var(--navy); font-size: 14px; }
.mini-dest small { color: var(--soft); }
.mini-dest:hover strong { color: var(--orange); }

/* Inner public pages (book, verify, scan) reuse the staff card styles. */
.site-main .page-head h1 { color: var(--navy); }
.site-main .button { border-radius: 999px; background: var(--orange); }
.site-main .button:hover { background: var(--navy); }
.site-main .button.secondary { background: #fff; color: var(--navy); }

/* QR self check-in (visit.php) */
.page-banner.compact { padding: 70px 0 90px; }
.page-banner .script { font-size: 32px; }
.checkin-wrap { position: relative; max-width: 760px; margin-top: -60px; padding-bottom: 80px; }
.checkin-card { display: block; padding: 32px; border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.checkin-intro { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.checkin-intro h2 { margin: 0; color: var(--navy); font-size: 22px; }
.checkin-card .hp { position: absolute; left: -9999px; }
.btn.small { padding: 9px 18px; font-size: 13px; }
.checkin-card.done { text-align: center; }
.checkin-card.done h2 { margin: 12px 0 6px; color: var(--navy); font-size: 28px; }
.done-mark { display: inline-grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: #e7f6ec; color: #17663a; font-size: 40px; font-weight: 700; }
.hero-actions.center { justify-content: center; margin-top: 18px; }
@media (max-width: 560px) { .checkin-card { padding: 22px; } }

/* Headings on dark photo/colour bands stay white (style.css colours h1/h2 navy for staff pages). */
.hero h1, .page-banner h1, .cta h2, .stats-band h2 { color: #fff; }
.page-banner.compact .banner-shade { background: linear-gradient(0deg, rgba(7,26,71,.92), rgba(7,26,71,.7)); }
