/* ==========================================================================
   Unity 2026 — shared stylesheet
   Palette and layout follow the approved key visual.
   ========================================================================== */

:root {
  /* Core palette */
  --navy-900: #0c2455;
  --navy-800: #12356e;
  --navy-700: #17458c;
  --navy-600: #1d55ad;
  --sky-500: #3f9ade;
  --sky-400: #62b3ea;
  --sky-300: #8fcbf2;

  --gold-600: #a8801f;
  --gold-500: #c9a227;
  --gold-400: #dfc063;
  --gold-200: #f0e2b4;

  --cream: #f7f2e6;
  --cream-soft: #fcf9f2;
  --paper: #ffffff;

  --ink: #17202f;
  --ink-soft: #4d5867;
  --line: #e6ddc9;

  /* Category accents (mirror the icon colours in the key visual) */
  --c-info: #1b4f9c;
  --c-rules-yes: #2fa84f;
  --c-rules-no: #e04b4b;
  --c-flight: #1b6fc4;
  --c-hotel: #e8892b;
  --c-rundown: #7b4fa8;
  --c-dest: #17a2a0;
  --c-contact: #12356e;

  /* System */
  --radius: 14px;
  --radius-sm: 8px;
  --shell: 1120px;
  --shadow-card: 0 10px 30px rgba(12, 36, 85, 0.08);
  --shadow-lift: 0 18px 40px rgba(12, 36, 85, 0.16);

  --font-script: "Lobster", "Brush Script MT", cursive;
  --font-display: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--navy-700); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy-800);
  line-height: 1.2;
  margin: 0 0 .6em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }

p { margin: 0 0 1rem; }

:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 3px;
  border-radius: 4px;
}

.shell {
  width: min(var(--shell), calc(100% - 2.5rem));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy-800);
  color: #fff;
  padding: .7rem 1.2rem;
  z-index: 999;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- Navigation ------------------------------------------------- */

.topbar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  padding: 1.1rem 0;
}
.topbar--solid {
  position: relative;
  background: var(--navy-900);
}

.topbar__inner {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.brandmark {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  line-height: .82;
  text-decoration: none;
  color: #fff;
  flex: 0 0 auto;
  padding: .35rem .1rem;
}
.brandmark__word {
  font-family: var(--font-script);
  font-size: 1.75rem;
  letter-spacing: .5px;
  text-shadow: 0 2px 0 rgba(12, 36, 85, .55);
}
.brandmark__year {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .72rem;
  letter-spacing: .32em;
  padding-left: .32em;
  color: var(--gold-400);
}

.nav {
  margin-left: auto;
  background: var(--navy-800);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  padding: .35rem;
}
.nav__list {
  list-style: none;
  display: flex;
  gap: .1rem;
  margin: 0;
  padding: 0;
}
.nav__list a {
  display: block;
  padding: .55rem 1rem;
  border-radius: 999px;
  color: #eaf2ff;
  text-decoration: none;
  font-size: .88rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color .18s ease, color .18s ease;
}
.nav__list a:hover, .nav__list a:focus-visible {
  background: #fff;
  color: var(--navy-800);
}
.nav__list a[aria-current="page"] {
  background: var(--gold-500);
  color: var(--navy-900);
  font-weight: 700;
}
.nav__list a[aria-current="page"]:hover { background: var(--gold-400); color: var(--navy-900); }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: var(--navy-800);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 10px;
  transition: background-color .2s ease, color .2s ease;
  padding: .6rem .8rem;
  font: 600 .9rem var(--font-display);
  cursor: pointer;
}
.nav-toggle:hover { background: #fff; color: var(--navy-800); }

/* ---------- Buttons ---------------------------------------------------- */

.btn {
  display: inline-block;
  border: 0;
  border-radius: 999px;
  padding: .7rem 1.4rem;
  font: 600 .88rem var(--font-display);
  text-decoration: none;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover, .btn:focus-visible { transform: translateY(-2px); }

/* Hover inverts each button: the fill becomes the text colour and vice versa.
   The outline is an inset shadow, not a border, so nothing shifts on hover. */
.btn--primary { background: var(--navy-800); color: #fff; box-shadow: 0 6px 14px rgba(18, 53, 110, .25); }
.btn--primary:hover, .btn--primary:focus-visible {
  background: var(--paper);
  color: var(--navy-800);
  box-shadow: inset 0 0 0 1.5px var(--navy-800), 0 10px 22px rgba(18, 53, 110, .2);
}

.btn--gold { background: var(--gold-500); color: var(--navy-900); }
.btn--gold:hover, .btn--gold:focus-visible {
  background: var(--navy-800);
  color: var(--gold-400);
  box-shadow: inset 0 0 0 1.5px var(--gold-500), 0 10px 22px rgba(12, 36, 85, .25);
}

.btn--ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .6);
}
.btn--ghost:hover, .btn--ghost:focus-visible {
  background: #fff;
  color: var(--navy-800);
  border-color: #fff;
}
.btn--block { display: block; text-align: center; }

/* ---------- Hero ------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 640px;
  display: grid;
  place-items: center;
  padding: 8rem 0 4rem;
  text-align: center;
  overflow: hidden;
  /* Warm sunset tones, so a slow-loading artwork never flashes flat blue. */
  background:
    radial-gradient(120% 80% at 50% 82%, #f9c877 0%, rgba(249, 200, 119, 0) 46%),
    linear-gradient(180deg, #3f93cf 0%, #7cb9de 34%, #d8c39b 68%, #b8823f 100%);
  background-color: #7cb9de;
}

/* Key visual. Two layers: the flat filename first, the old assets/img path as a
   safety net. Whichever one the server actually has is the one that paints. */
.hero__art {
  position: absolute;
  inset: 0;
  background-image:
    url("hero-bali.jpg"),
    url("assets/img/hero-bali.jpg");
  background-repeat: no-repeat, no-repeat;
  background-size: cover, cover;
  /* --hero-pan is driven by main.js: 0% = clouds at the top of the frame,
     100% = the gate and frangipani border at the bottom. */
  background-position:
    center var(--hero-pan, 0%),
    center var(--hero-pan, 0%);
  will-change: background-position;
}

/* No motion for anyone who has asked the OS to reduce it. */
@media (prefers-reduced-motion: reduce) {
  .hero__art {
    background-position: center 55%, center 55%;
    will-change: auto;
  }
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 31, 68, .34) 0%, rgba(8, 31, 68, .08) 40%, rgba(8, 31, 68, .34) 100%);
}
.hero__content { position: relative; z-index: 2; }

.hero__title {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(4rem, 13vw, 8.5rem);
  line-height: .9;
  color: #fff;
  margin: 0;
  -webkit-text-stroke: 6px var(--navy-900);
  paint-order: stroke fill;
  text-shadow: 0 12px 26px rgba(6, 24, 56, .45);
}
.hero__year {
  display: block;
  font-family: var(--font-script);
  font-size: clamp(2.6rem, 8vw, 5.2rem);
  margin-top: -.12em;
}

.hero__tagline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1rem, 2.4vw, 1.6rem);
  color: #fff;
  margin: 1.4rem 0 1.6rem;
  text-shadow: 0 3px 10px rgba(6, 24, 56, .6);
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  justify-content: center;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: var(--navy-800);
  color: #fff;
  border-radius: 999px;
  padding: .6rem 1.3rem;
  font: 700 .9rem var(--font-display);
  letter-spacing: .02em;
  box-shadow: 0 8px 20px rgba(6, 24, 56, .3);
}
.chip svg { width: 18px; height: 18px; }

/* ---------- Page banner (inner pages) ---------------------------------- */

.page-banner {
  position: relative;
  background:
    linear-gradient(180deg, var(--navy-800) 0%, var(--navy-900) 100%);
  color: #fff;
  padding: 3.2rem 0 3.6rem;
  text-align: center;
  border-bottom: 4px solid var(--gold-500);
}
.page-banner::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 90px;
  background-image:
    radial-gradient(circle at 12% 100%, rgba(223, 192, 99, .22) 0 34px, transparent 35px),
    radial-gradient(circle at 88% 100%, rgba(223, 192, 99, .22) 0 34px, transparent 35px);
  pointer-events: none;
}
.page-banner h1 { color: #fff; margin-bottom: .35rem; }
.page-banner p {
  max-width: 60ch;
  margin: 0 auto;
  color: #d5e2f7;
}
.breadcrumb {
  font-size: .82rem;
  color: var(--gold-400);
  margin-bottom: .9rem;
}
.breadcrumb a { color: var(--gold-400); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Sections --------------------------------------------------- */

.section {
  position: relative;
  padding: 4.5rem 0;
}
.section--paper { background: var(--cream-soft); }
.section--tight { padding: 3rem 0; }

.section__head {
  text-align: center;
  max-width: 62ch;
  margin: 0 auto 2.6rem;
}
.section__head p { color: var(--ink-soft); }

.ornament {
  display: block;
  width: 190px;
  height: 12px;
  margin: 0 auto 1.6rem;
  background:
    linear-gradient(var(--gold-500), var(--gold-500)) center/100% 1px no-repeat;
  position: relative;
}
.ornament::before,
.ornament::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -4.5px;
  background: var(--gold-500);
  transform: rotate(45deg);
}
.ornament::before { left: calc(50% - 16px); }
.ornament::after { left: calc(50% + 7px); }

/* ---------- Menu cards (landing) --------------------------------------- */

.menu-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1rem;
}

.menu-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1rem 1.2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: transform .18s ease, box-shadow .18s ease;
}
.menu-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }

.menu-card__icon {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--accent, var(--navy-700));
}
.menu-card__icon svg { width: 30px; height: 30px; }

/* Split circle for the Do's & Don'ts card */
.menu-card__icon--split {
  background: none;
  display: flex;
  gap: .3rem;
  width: auto;
}
.menu-card__icon--split span {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.menu-card__icon--split span:first-child { background: var(--c-rules-yes); }
.menu-card__icon--split span:last-child { background: var(--c-rules-no); }
.menu-card__icon--split svg { width: 22px; height: 22px; }

.menu-card h3 {
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .02em;
  margin-bottom: .5rem;
}
.menu-card p {
  font-size: .82rem;
  color: var(--ink-soft);
  line-height: 1.5;
  margin-bottom: 1.2rem;
}
.menu-card .btn {
  margin-top: auto;
  font-size: .76rem;
  padding: .6rem .9rem;
}

/* ---------- About + gallery -------------------------------------------- */

.about {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1.4rem;
  align-items: stretch;
}

.about__panel {
  background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
  color: #fff;
  border-radius: var(--radius);
  padding: 2.4rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about__panel h2 { color: #fff; }
.about__panel p { color: #cfdcf2; }
.about__panel .ornament { margin-left: 0; margin-right: auto; width: 150px; }
.about__panel .btn { align-self: flex-start; margin-top: .6rem; }

.gallery {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1rem;
}
.gallery figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(150deg, var(--sky-400), var(--navy-700));
  min-height: 150px;
  position: relative;
}
.gallery figure:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.4rem .9rem .7rem;
  background: linear-gradient(transparent, rgba(8, 24, 56, .8));
  color: #fff;
  font: 600 .8rem var(--font-display);
}

/* ---------- Quote ribbon ------------------------------------------------ */

.ribbon {
  background: linear-gradient(180deg, var(--navy-800), var(--navy-900));
  color: #fff;
  text-align: center;
  padding: 3rem 1rem;
  border-top: 4px solid var(--gold-500);
}
.ribbon p {
  font-family: var(--font-script);
  font-size: clamp(1.3rem, 3.2vw, 2.1rem);
  line-height: 1.5;
  max-width: 24ch;
  margin: 0 auto;
}

/* ---------- Content blocks (inner pages) -------------------------------- */

.prose { max-width: 72ch; }
.prose ul, .prose ol { padding-left: 1.2rem; margin: 0 0 1.2rem; }
.prose li { margin-bottom: .45rem; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow-card);
}
.card h3 { margin-bottom: .5rem; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card__kicker {
  font: 700 .75rem var(--font-display);
  color: var(--gold-600);
  letter-spacing: .06em;
  display: block;
  margin-bottom: .4rem;
}

.rule-list { list-style: none; padding: 0; margin: 0; }
.rule-list li {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  padding: .6rem 0;
  border-bottom: 1px dashed var(--line);
}
.rule-list li:last-child { border-bottom: 0; }
.rule-list .mark {
  flex: 0 0 22px;
  width: 22px; height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font: 700 .8rem var(--font-display);
  margin-top: .18rem;
}
.mark--yes { background: var(--c-rules-yes); }
.mark--no { background: var(--c-rules-no); }

.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--paper); }
table { width: 100%; border-collapse: collapse; min-width: 560px; }
thead th {
  background: var(--navy-800);
  color: #fff;
  font: 700 .82rem var(--font-display);
  text-align: left;
  padding: .85rem 1rem;
}
tbody td {
  padding: .8rem 1rem;
  border-bottom: 1px solid var(--line);
  font-size: .92rem;
  vertical-align: top;
}
tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) { background: var(--cream-soft); }

/* Rundown */
.tabs {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2rem;
}
.tab {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--navy-800);
  border-radius: 999px;
  padding: .65rem 1.4rem;
  font: 600 .88rem var(--font-display);
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.tab:not([aria-selected="true"]):hover {
  background: var(--navy-800);
  border-color: var(--navy-800);
  color: #fff;
}
.tab[aria-selected="true"] {
  background: var(--navy-800);
  border-color: var(--navy-800);
  color: #fff;
}
.tabpanel[hidden] { display: none; }

.timeline { list-style: none; margin: 0; padding: 0 0 0 1.6rem; border-left: 2px solid var(--gold-400); }
.timeline li { position: relative; padding: 0 0 1.6rem 1.2rem; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -1.75rem;
  top: .45rem;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--gold-500);
  border: 2px solid var(--cream-soft);
}
.timeline time {
  font: 700 .85rem var(--font-display);
  color: var(--navy-700);
  display: block;
}
.timeline h3 { margin: .1rem 0 .25rem; font-size: 1.02rem; }
.timeline p { margin: 0; color: var(--ink-soft); font-size: .92rem; }

/* Placeholder marker */
.tbc {
  display: inline-block;
  background: var(--gold-200);
  color: var(--gold-600);
  border: 1px dashed var(--gold-500);
  border-radius: 999px;
  padding: .1rem .6rem;
  font: 700 .7rem var(--font-display);
  letter-spacing: .04em;
  vertical-align: middle;
}

.notice {
  background: #fff8e4;
  border: 1px solid var(--gold-400);
  border-left: 5px solid var(--gold-500);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  font-size: .92rem;
  margin-bottom: 2rem;
}
.notice strong { color: var(--gold-600); }

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
  min-height: 380px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1.5rem;
  color: var(--ink-soft);
}
.map-frame iframe { width: 100%; min-height: 380px; border: 0; display: block; }

.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding: .6rem 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list span { display: block; font-size: .8rem; color: var(--ink-soft); }
.contact-list a { font-weight: 600; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

.dest-card { padding: 0; overflow: hidden; }
.dest-card__img {
  height: 170px;
  background: linear-gradient(150deg, var(--sky-400), var(--navy-700));
  background-size: cover;
  background-position: center;
}
.dest-card__body { padding: 1.3rem 1.4rem 1.5rem; }

.back-home { text-align: center; padding-bottom: 4rem; }

/* ---------- Footer ------------------------------------------------------ */

.footer {
  background: var(--navy-900);
  color: #b9c9e4;
  padding: 3rem 0 2rem;
  font-size: .9rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.footer h4 {
  color: #fff;
  font-size: .82rem;
  letter-spacing: .08em;
  margin-bottom: .8rem;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: .45rem; }
.footer a { color: #b9c9e4; text-decoration: none; }
.footer a:hover { color: var(--gold-400); }
.footer__base {
  padding-top: 1.4rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .82rem;
}

/* ---------- Responsive -------------------------------------------------- */

@media (max-width: 1080px) {
  .menu-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 1.25rem;
    left: 1.25rem;
    margin-top: .6rem;
    border-radius: var(--radius);
    padding: .6rem;
  }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; }
  .nav__list a { padding: .8rem 1rem; border-radius: var(--radius-sm); }

  .about { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero { min-height: 520px; padding-top: 7rem; }
}

@media (max-width: 620px) {
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: 1fr; }
  .gallery figure:first-child { grid-row: auto; }
  .hero__title { -webkit-text-stroke-width: 4px; }
  .section { padding: 3.2rem 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
