/* Vincent Flores Tour & Travel
   Palette drawn from Kelimutu's three crater lakes + Flores ikat weaving:
   lake teal, crater rust, sun gold, volcanic ink. */

:root {
  --ink: #16211f;
  --ink-soft: #3c4a47;
  --paper: #fcfbf7;
  --sand: #f3eddf;
  --teal: #0e6e6a;
  --teal-deep: #0b4f4c;
  --rust: #a5402d;
  --gold: #d9a441;
  --wa: #128c4a;
  --wa-hover: #0e7a40;
  --display: "Bricolage Grotesque", "Albert Sans", sans-serif;
  --body: "Albert Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --radius: 14px;
  --shadow: 0 10px 30px -12px rgba(22, 33, 31, 0.25);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); }

h1, h2, h3 { font-family: var(--display); line-height: 1.08; margin: 0 0 0.5em; }
h2 { font-size: clamp(1.6rem, 4.5vw, 2.4rem); font-weight: 800; letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; font-weight: 800; }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--rust);
  margin: 0 0 0.6rem;
}
.eyebrow.light { color: var(--gold); }

/* Woven ikat band — the page's top edge and footer edge */
.ikat {
  height: 7px;
  background: repeating-linear-gradient(90deg,
    var(--teal) 0 14px,
    var(--ink) 14px 17px,
    var(--gold) 17px 21px,
    var(--ink) 21px 24px,
    var(--rust) 24px 38px,
    var(--ink) 38px 41px,
    var(--sand) 41px 44px,
    var(--ink) 44px 47px);
}

/* ---------- header ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.55rem 1rem;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 10%, transparent);
}
.brand {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.15rem;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
  white-space: nowrap;
}
.brand-dot { color: var(--rust); padding: 0 0.12em; }
.topnav { display: none; gap: 1.1rem; }
.topnav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.95rem;
}
.topnav a:hover { color: var(--teal); }

.lang { position: relative; }
.lang summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 0.8rem;
  padding: 0.35rem 0.7rem;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  user-select: none;
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary::after { content: " ▾"; font-size: 0.7em; }
.lang ul {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  margin: 0;
  padding: 0.4rem;
  list-style: none;
  background: var(--paper);
  border: 1px solid color-mix(in srgb, var(--ink) 15%, transparent);
  border-radius: 12px;
  box-shadow: var(--shadow);
  min-width: 11rem;
  z-index: 50;
}
.lang li a {
  display: block;
  padding: 0.45rem 0.8rem;
  text-decoration: none;
  color: var(--ink);
  border-radius: 8px;
  font-size: 0.95rem;
}
.lang li a:hover { background: var(--sand); }
.lang li a.current { color: var(--rust); font-weight: 600; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:active { transform: scale(0.97); }
.btn.wa { background: var(--wa); color: #fff; }
.btn.wa:hover { background: var(--wa-hover); }
.btn.wa svg { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; }
.btn.ghost {
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  color: #fff;
}
.btn.ghost:hover { background: rgba(255, 255, 255, 0.12); }
.btn.small { padding: 0.6rem 1.1rem; font-size: 0.92rem; }
.btn.big { padding: 1.05rem 2rem; font-size: 1.1rem; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: min(92svh, 820px);
  display: flex;
  align-items: flex-end;
  color: #fff;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(15, 25, 23, 0.88) 0%, rgba(15, 25, 23, 0.35) 45%, rgba(15, 25, 23, 0.25) 100%);
}
.hero-inner {
  position: relative;
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  padding: 5rem 1.25rem 2.2rem;
}
.hero h1 {
  font-size: clamp(2.15rem, 7.2vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 15ch;
  text-wrap: balance;
}
.hero-sub {
  max-width: 52ch;
  font-size: clamp(1rem, 2.6vw, 1.15rem);
  color: rgba(255, 255, 255, 0.92);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 1.4rem 0 1.6rem; }
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
  list-style: none;
}
.badges li {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  padding: 0.4rem 0.8rem;
  border: 1px solid color-mix(in srgb, var(--gold) 70%, transparent);
  color: var(--gold);
  border-radius: 999px;
  background: rgba(15, 25, 23, 0.35);
}

/* ---------- sections ---------- */
main section { padding: 3.6rem 1.25rem; }
.section-sub { color: var(--ink-soft); max-width: 58ch; margin-bottom: 2rem; }

/* ---------- highlights of Flores ---------- */
.hl-section { max-width: 1060px; margin: 0 auto; }
.hl-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.hl-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid color-mix(in srgb, var(--ink) 8%, transparent);
}
.hl-card > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hl-body { padding: 0.9rem 1.1rem 1.1rem; border-top: 4px solid var(--teal); }
.hl-body h3 { font-size: 1.08rem; margin-bottom: 0.25em; }
.hl-body p { margin: 0; color: var(--ink-soft); font-size: 0.92rem; }

.flexbanner {
  margin: 2.5rem 0 0;
  background: var(--sand);
  border-left: 5px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.4rem 1.4rem 1.5rem;
}
.flexbanner p { color: var(--ink-soft); margin: 0.3rem 0 1rem; }

/* ---------- the car ---------- */
.car { max-width: 1000px; margin: 0 auto; }
.car-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
}
.car-strip img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------- about ---------- */
.about {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  gap: 1.8rem;
}
.about-photo img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
  border-top: 7px solid var(--rust);
}
.about-text p { color: var(--ink-soft); }

/* ---------- gallery ---------- */
.gallery { max-width: 1060px; margin: 0 auto; }
.gallery .grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem;
}
.gallery figure { margin: 0; }
.gallery .zoom {
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
}
.gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.25s ease;
}
.gallery .zoom:hover img { transform: scale(1.04); }
.gallery figure.vid { grid-column: 1 / -1; }
.gallery figure.vid video {
  width: 100%;
  max-height: 440px;
  border-radius: 10px;
  background: #000;
}
.gallery figcaption {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--ink-soft);
  padding: 0.3rem 0.15rem 0;
}

/* ---------- reviews ---------- */
.reviews { max-width: 1060px; margin: 0 auto; }
.gcard {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1.2rem;
  padding: 0.85rem 1.4rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
  border-radius: 999px;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.gcard:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -12px rgba(22, 33, 31, 0.35); }
.gcard svg { width: 1.4em; height: 1.4em; flex: none; }
.gcard .gstars { color: var(--gold); letter-spacing: 0.12em; }
.gcard .garrow { color: var(--teal); }
.review-strip {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.8rem;
}
.review {
  scroll-snap-align: start;
  flex: 0 0 min(78vw, 340px);
  margin: 0;
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--ink) 8%, transparent);
  border-top: 4px solid var(--teal);
  border-radius: var(--radius);
  padding: 1.2rem 1.3rem;
  box-shadow: var(--shadow);
}
.review p { margin: 0 0 0.8rem; color: var(--ink-soft); }
.review footer { font-weight: 600; font-size: 0.9rem; }

/* ---------- practical ---------- */
.practical {
  background: var(--teal-deep);
  color: #fff;
}
.practical-inner, .practical > * { max-width: 760px; margin-left: auto; margin-right: auto; }
.practical h2 { color: #fff; }
.included {
  list-style: none;
  padding: 0;
  margin: 1.2rem auto;
  display: grid;
  gap: 0.6rem;
}
.included li { padding-left: 1.7rem; position: relative; }
.included li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}
.practical .note {
  font-size: 0.92rem;
  color: color-mix(in srgb, #fff 78%, transparent);
  border-top: 1px solid color-mix(in srgb, #fff 25%, transparent);
  padding-top: 1rem;
}

/* ---------- contact ---------- */
.contact { text-align: center; max-width: 620px; margin: 0 auto; }
.contact p { color: var(--ink-soft); }
.contact .btn { margin: 1.2rem 0 0.8rem; }
.contact .phone { font-family: var(--mono); font-size: 1rem; color: var(--ink); }

/* ---------- footer ---------- */
footer {
  background: var(--ink);
  color: color-mix(in srgb, var(--paper) 80%, transparent);
  text-align: center;
  padding: 0 1rem 2rem;
  font-size: 0.9rem;
}
footer .ikat { margin: 0 -1rem 2rem; }
.foot-name { font-family: var(--display); font-weight: 800; font-size: 1.1rem; color: var(--paper); margin-bottom: 0.2rem; }
footer a { color: color-mix(in srgb, var(--paper) 75%, transparent); }
.foot-langs { font-size: 0.82rem; }
.foot-small { font-size: 0.75rem; opacity: 0.7; }

/* ---------- WhatsApp FAB ---------- */
.wa-fab {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--wa);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px -6px rgba(18, 140, 74, 0.55);
}
.wa-fab svg { width: 30px; height: 30px; fill: #fff; }
.wa-fab:hover { background: var(--wa-hover); }

/* ---------- lightbox ---------- */
#lightbox {
  border: 0;
  border-radius: var(--radius);
  padding: 0;
  background: var(--ink);
  max-width: min(94vw, 1000px);
}
#lightbox::backdrop { background: rgba(10, 16, 15, 0.85); }
#lightbox img { max-height: 80vh; width: 100%; object-fit: contain; }
#lightbox p {
  color: var(--paper);
  font-family: var(--mono);
  font-size: 0.8rem;
  margin: 0;
  padding: 0.6rem 1rem 0.8rem;
}
#lightbox-close {
  position: absolute;
  top: 0.4rem;
  right: 0.6rem;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  border: 0;
  font-size: 1.5rem;
  line-height: 1;
  border-radius: 50%;
  width: 2.2rem;
  height: 2.2rem;
  cursor: pointer;
}

/* ---------- reveal on scroll (JS adds .pre only to off-screen elements) ---------- */
.reveal { transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.pre { opacity: 0; transform: translateY(16px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal.pre { opacity: 1; transform: none; transition: none; }
  .gallery img { transition: none; }
}

:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- desktop ---------- */
@media (min-width: 720px) {
  .topnav { display: flex; }
  main section { padding: 4.5rem 1.5rem; }
  .hl-grid { grid-template-columns: repeat(2, 1fr); }
  .car-strip { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 5fr 6fr; align-items: center; }
  .gallery .grid { grid-template-columns: repeat(3, 1fr); }
  .included { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1040px) {
  .gallery .grid { grid-template-columns: repeat(4, 1fr); }
  .hl-grid { grid-template-columns: repeat(4, 1fr); }
  .car-strip { grid-template-columns: repeat(3, 1fr); }
}
