/* ==========================================================================
   explorebogor — design tokens & base
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@1,500;1,600&family=Poppins:wght@500;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
  /* Color custom properties (--primary-950, --accent, --white-rgb, etc.) are
     generated at build time from the theme blueprints in src/data/colors/
     (grass.json, dusk.json, ocean.json, sahara.json, ...) — see BaseLayout.astro.
     Add a new theme by dropping a JSON file there and registering it in
     src/data/colors/index.ts, rather than hardcoding colors in this file. */

  --font-display: 'Playfair Display', Georgia, serif;
  --font-heading: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  --container: 1240px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-card: 0 20px 50px -20px rgb(var(--primary-950-rgb) / 0.35);
  --shadow-soft: 0 10px 30px -15px rgb(var(--primary-950-rgb) / 0.25);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

ul { list-style: none; margin: 0; padding: 0; }

button { font-family: inherit; cursor: pointer; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-heading);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.eyebrow::after {
  content: '';
  display: block;
  height: 1px;
  width: 64px;
  background: var(--border);
}

.eyebrow-on-dark { color: rgb(var(--white-rgb) / 0.6); }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
  color: var(--text);
}

.section-heading {
  color: var(--primary-700);
  font-size: clamp(28px, 3vw, 38px);
  letter-spacing: -0.01em;
}

p { line-height: 1.7; color: var(--text-soft); margin: 0; }

/* ==========================================================================
   Rich text (HTML content blocks from src/data/packages, src/data/journal)
   ========================================================================== */

.rich-text p + p { margin-top: 14px; }
.rich-text strong, .rich-text b { color: var(--text); font-weight: 600; }
.rich-text em, .rich-text i { font-style: italic; }
.rich-text a { color: var(--accent); text-decoration: underline; }
.rich-text ul, .rich-text ol { margin: 14px 0 0; padding-left: 20px; list-style: revert; }
.rich-text li + li { margin-top: 6px; }

.rich-text.text-justify p { text-align: justify; }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14.5px;
  padding: 15px 30px;
  border-radius: 999px;
  border: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }

.btn-dark {
  background: rgb(var(--primary-950-rgb) / 0.55);
  color: var(--white);
  backdrop-filter: blur(6px);
  border: 1px solid rgb(var(--white-rgb) / 0.25);
}

.btn-dark:hover { background: rgb(var(--primary-950-rgb) / 0.75); }

.btn-orange {
  background: var(--accent);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}

.btn-orange:hover { background: var(--accent-dark); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgb(var(--white-rgb) / 0.6);
}

.btn-outline:hover { background: rgb(var(--white-rgb) / 0.15); }

/* ==========================================================================
   WhatsApp CTA (inline button + site-wide floating button)
   ========================================================================== */

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  padding: 13px 24px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, background 0.25s ease;
}

.whatsapp-btn:hover { background: #1ebe5a; transform: translateY(-2px); }

.whatsapp-floating {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px -10px rgb(0 0 0 / 0.4);
  z-index: 200;
  transition: transform 0.25s ease, background 0.25s ease;
}

.whatsapp-floating:hover { background: #1ebe5a; transform: translateY(-3px); }

.detail-hero-whatsapp.whatsapp-btn { margin-top: 26px; }

/* ==========================================================================
   Navbar
   ========================================================================== */

.navbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 30px 0;
}

.navbar.is-solid {
  position: fixed;
  padding: 16px 0;
  background: rgb(var(--primary-950-rgb) / 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px -12px rgb(var(--black-rgb) / 0.4);
  transition: padding 0.3s ease;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 24px;
  color: var(--white);
  letter-spacing: 0.01em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 38px;
}

.nav-menu a {
  font-family: var(--font-heading);
  font-size: 14.5px;
  font-weight: 500;
  color: rgb(var(--white-rgb) / 0.92);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width 0.25s ease;
}

.nav-menu a:hover::after,
.nav-menu a[aria-current="page"]::after { width: 100%; }

.nav-menu .caret {
  width: 9px;
  height: 9px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
}

.nav-dropdown { position: relative; }

.dropdown-panel {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--surface-paper);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 14px;
  min-width: 210px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-dropdown:hover .dropdown-panel,
.nav-dropdown:focus-within .dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-panel a {
  display: block;
  color: var(--text);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
}

.dropdown-panel a:hover { background: var(--surface-dim); }
.dropdown-panel a::after { display: none; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 22px;
}

.icon-btn {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--white);
  border: 1px solid rgb(var(--white-rgb) / 0.35);
  background: rgb(var(--white-rgb) / 0.08);
  transition: background 0.2s ease;
  flex: none;
}

.icon-btn:hover { background: rgb(var(--white-rgb) / 0.2); }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  color: var(--white);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

/* ==========================================================================
   Hero (home)
   ========================================================================== */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 130px;
  background-size: cover;
  background-position: center;
  isolation: isolate;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(var(--black-rgb) / 0.6) 0%, rgb(var(--black-rgb) / 0.32) 42%, rgb(var(--black-rgb) / 0) 72%),
    linear-gradient(180deg, rgb(var(--overlay-rgb) / 0.55) 0%, rgb(var(--overlay-rgb) / 0.25) 35%, rgb(var(--overlay-rgb) / 0.75) 100%);
  z-index: -1;
}

.hero-content { width: 100%; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }

.hero-text { max-width: 620px; }

.hero-certificate { flex: none; width: 480px; filter: drop-shadow(0 12px 24px rgb(var(--black-rgb) / 0.35)); }
.hero-certificate img { width: 100%; display: block; }

.hero-content h1 {
  font-size: clamp(38px, 5.4vw, 62px);
  color: var(--white);
  margin-bottom: 30px;
}

.hero-content h1 em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--white);
}

.hero-content p {
  color: rgb(var(--white-rgb) / 0.82);
  font-size: 16.5px;
  max-width: 460px;
  margin-bottom: 32px;
}

/* ==========================================================================
   Discover floating card
   ========================================================================== */

.discover-card {
  position: relative;
  margin-top: -90px;
  z-index: 5;
}

.discover-inner {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  background: var(--primary-950);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 0 25px 2px rgb(var(--white-rgb) / 0.4), 0 0 60px 14px rgb(var(--white-rgb) / 0.22), var(--shadow-card);
  min-height: 190px;
}

.discover-info {
  position: relative;
  padding: 34px 40px;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  color: var(--white);
}

.discover-info::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(var(--overlay-rgb) / 0.88) 10%, rgb(var(--overlay-rgb) / 0.35) 90%);
}

.discover-info > * { position: relative; }

.discover-eyebrow {
  font-family: var(--font-heading);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgb(var(--white-rgb) / 0.75);
  margin-bottom: 12px;
}

.discover-info h3 {
  font-size: 25px;
  color: var(--white);
  margin-bottom: 10px;
}

.discover-info .location {
  font-size: 13px;
  color: rgb(var(--white-rgb) / 0.7);
}

.discover-controls {
  position: absolute;
  top: 30px;
  right: 34px;
  z-index: 2;
  display: flex;
  gap: 8px;
}

.discover-controls button {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgb(var(--white-rgb) / 0.35);
  background: rgb(var(--white-rgb) / 0.1);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.discover-controls button:hover { background: rgb(var(--white-rgb) / 0.25); }

.discover-media {
  position: relative;
  background-size: cover;
  background-position: center;
}

.play-btn {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgb(var(--white-rgb) / 0.92);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-btn::after {
  content: '';
  border-style: solid;
  border-width: 8px 0 8px 13px;
  border-color: transparent transparent transparent var(--primary-900);
  margin-left: 3px;
}

/* ==========================================================================
   About section
   ========================================================================== */

.about-section { padding: 130px 0 100px; }

.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
  align-items: center;
}

.about-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 440px;
  box-shadow: var(--shadow-soft);
}

.about-photo img { width: 100%; height: 100%; object-fit: cover; }

.about-text .eyebrow { margin-bottom: 22px; }

.about-text h2 {
  color: var(--primary-700);
  font-size: clamp(28px, 3.2vw, 38px);
  margin-bottom: 20px;
}

.about-text p + p { margin-top: 14px; }

.about-stats {
  display: flex;
  gap: 44px;
  margin: 34px 0;
}

.about-stats div strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 26px;
  color: var(--primary-700);
}

.about-stats div span {
  font-size: 13px;
  color: var(--text-soft);
}

.about-social {
  display: flex;
  gap: 12px;
}

.about-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-soft);
  transition: all 0.2s ease;
}

.about-social a:hover {
  background: var(--primary-900);
  border-color: var(--primary-900);
  color: var(--white);
}

/* ==========================================================================
   Story / content sections
   ========================================================================== */

.story {
  padding: 110px 0;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.story-grid.reverse .story-text { order: 2; }

.story-text .section-heading { margin-bottom: 22px; }

.story-text p + p { margin-top: 16px; }

.story-text .btn { margin-top: 30px; }

.story-images {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  align-items: end;
}

.story-images img:first-child {
  border-radius: var(--radius-lg);
  height: 360px;
  object-fit: cover;
}

.story-images img:last-child {
  border-radius: var(--radius-lg);
  height: 270px;
  object-fit: cover;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: var(--primary-950);
  color: rgb(var(--white-rgb) / 0.75);
  padding: 80px 0 30px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 50px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgb(var(--white-rgb) / 0.12);
}

.footer .logo { margin-bottom: 18px; }

.footer-top p { color: rgb(var(--white-rgb) / 0.55); font-size: 14.5px; }

.footer-col h4 {
  font-size: 14px;
  color: var(--white);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-col ul li { margin-bottom: 12px; }

.footer-col ul a {
  font-size: 14.5px;
  color: rgb(var(--white-rgb) / 0.6);
  transition: color 0.2s ease;
}

.footer-col ul a:hover { color: var(--white); }

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgb(var(--white-rgb) / 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.footer-social a:hover { background: rgb(var(--white-rgb) / 0.1); }

.footer-form {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

.footer-form input {
  flex: 1;
  min-width: 0;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgb(var(--white-rgb) / 0.2);
  background: rgb(var(--white-rgb) / 0.06);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 13.5px;
}

.footer-form input::placeholder { color: rgb(var(--white-rgb) / 0.4); }
.footer-form input:focus { outline: none; border-color: var(--accent); }

.footer-form button {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: var(--accent);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.footer-form button:hover { background: var(--accent-dark); }

.footer-form-note {
  font-size: 12.5px;
  color: rgb(var(--white-rgb) / 0.4);
  margin-top: 10px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 26px;
  font-size: 13px;
  color: rgb(var(--white-rgb) / 0.45);
}

/* ==========================================================================
   Destination detail hero
   ========================================================================== */

.detail-hero {
  position: relative;
  min-height: 66vh;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  padding-bottom: 60px;
  isolation: isolate;
}

.detail-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(var(--overlay-rgb) / 0.35) 0%, rgb(var(--overlay-rgb) / 0.2) 40%, rgb(var(--overlay-rgb) / 0.88) 100%);
  z-index: -1;
}

.detail-hero-content { width: 100%; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgb(var(--white-rgb) / 0.65);
  margin-bottom: 18px;
  font-family: var(--font-heading);
}

.breadcrumb a:hover { color: var(--white); }

.detail-hero-content h1 {
  color: var(--white);
  font-size: clamp(32px, 4.6vw, 50px);
  max-width: 700px;
  margin-bottom: 20px;
}

.detail-hero-content p {
  color: rgb(var(--white-rgb) / 0.82);
  font-size: 15.5px;
  max-width: 620px;
}

.hero-meta {
  display: block;
  font-family: var(--font-heading);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgb(var(--white-rgb) / 0.7);
  margin-bottom: 14px;
}

/* ==========================================================================
   Background section (text + side image)
   ========================================================================== */

.background-section { padding: 100px 0; }

.background-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 70px;
  align-items: center;
}

.background-grid .eyebrow { margin-bottom: 22px; }

.background-grid h2 {
  color: var(--primary-700);
  font-size: clamp(26px, 3vw, 34px);
  margin-bottom: 20px;
  line-height: 1.25;
}

.background-grid img {
  border-radius: var(--radius-lg);
  height: 420px;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}

/* ==========================================================================
   Gallery carousel
   ========================================================================== */

.gallery {
  position: relative;
  height: 560px;
  overflow: hidden;
}

.gallery-track {
  display: flex;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}

.gallery-slide {
  min-width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
}

.gallery-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgb(var(--overlay-rgb) / 0.35), transparent 40%);
}

.gallery-caption {
  position: absolute;
  left: 50px;
  bottom: 40px;
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 20px;
  z-index: 2;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: rgb(var(--white-rgb) / 0.92);
  color: var(--primary-900);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  z-index: 3;
  transition: background 0.2s ease;
}

.gallery-nav:hover { background: var(--white); }
.gallery-prev { left: 30px; }
.gallery-next { right: 30px; }

.gallery-progress {
  max-width: var(--container);
  margin: 0 auto;
  padding: 26px 32px 0;
}

.progress-track {
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 25%;
  background: var(--accent);
  transition: width 0.4s ease;
}

/* ==========================================================================
   Location section
   ========================================================================== */

.location-section { padding: 100px 0 120px; }

.location-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 60px;
  align-items: start;
  margin-top: 30px;
}

.location-grid.single {
  grid-template-columns: 1fr;
  max-width: 760px;
}

.location-grid h2 {
  color: var(--primary-700);
  font-size: clamp(26px, 3vw, 34px);
  margin-bottom: 18px;
}

.trip-notes {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.trip-notes li {
  display: flex;
  gap: 14px;
  font-size: 14.5px;
  color: var(--text-soft);
  line-height: 1.65;
}

.trip-notes .note-mark {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--surface-dim);
  color: var(--primary-700);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.trip-notes strong { color: var(--text); }

.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  height: 380px;
  border: 1px solid var(--border);
}

.map-frame iframe { width: 100%; height: 100%; border: none; }

/* ==========================================================================
   Post navigation (prev/next journal entry)
   ========================================================================== */

.post-nav {
  border-top: 1px solid var(--border);
  padding: 34px 0;
}

.post-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.post-nav a {
  font-family: var(--font-heading);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--primary-700);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.post-nav a:hover { color: var(--accent-dark); }

/* ==========================================================================
   Explore grid page
   ========================================================================== */

.page-hero {
  position: relative;
  padding: 190px 0 90px;
  background: var(--primary-950);
  color: var(--white);
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgb(var(--accent-rgb) / 0.18), transparent 55%);
}

.page-hero-content { position: relative; max-width: 640px; }

.page-hero h1 { color: var(--white); font-size: clamp(32px, 4.5vw, 46px); margin-bottom: 16px; }
.page-hero p { color: rgb(var(--white-rgb) / 0.75); font-size: 16px; }

.explore-section { padding: 90px 0 120px; }

.filter-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.filter-chip {
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-paper);
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-soft);
  transition: all 0.2s ease;
}

.filter-chip:hover { border-color: var(--primary-700); color: var(--primary-700); }
.filter-chip.active { background: var(--primary-900); color: var(--white); border-color: var(--primary-900); }

.destination-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}

.dest-card {
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-paper);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dest-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }

.dest-card-link { display: contents; }

.dest-card-whatsapp.whatsapp-btn {
  width: 100%;
  justify-content: center;
  border-radius: 0;
  box-shadow: none;
  padding: 14px 26px;
}

.dest-card-media {
  height: 230px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.dest-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgb(var(--primary-950-rgb) / 0.75);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
}

.dest-card-body { padding: 24px 26px 28px; }

.card-meta {
  font-family: var(--font-heading);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 10px;
  display: block;
}

.dest-card-body h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.dest-card-body .location {
  font-size: 13px;
  color: var(--text-soft);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   Contact page
   ========================================================================== */

.contact-section { padding: 100px 0 120px; }

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
  align-items: start;
  margin-top: 40px;
}

.contact-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 440px;
  box-shadow: var(--shadow-soft);
  position: sticky;
  top: 120px;
}

.contact-photo img { width: 100%; height: 100%; object-fit: cover; }

.contact-intro { margin-bottom: 34px; }

.contact-intro h2 {
  color: var(--primary-700);
  font-size: clamp(26px, 3vw, 34px);
  margin-bottom: 16px;
}

.contact-details {
  margin-bottom: 34px;
}

.contact-social {
  display: flex;
  gap: 12px;
  margin-bottom: 44px;
}

.contact-form-card {
  background: var(--surface-paper);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  padding: 40px;
}

.contact-form-card h3 {
  font-size: 20px;
  color: var(--primary-700);
  margin-bottom: 26px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-form label {
  display: block;
  font-family: var(--font-heading);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-soft);
  margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14.5px;
  resize: vertical;
}

.contact-form textarea { min-height: 130px; }

.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--text-soft); opacity: 0.6; }

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus { outline: none; border-color: var(--accent); }

.contact-form .btn { margin-top: 6px; align-self: flex-start; }

.contact-form-note {
  font-size: 13px;
  color: var(--text-soft);
  margin-top: 4px;
}
.contact-form-note.form-error { color: #c0392b; }

.contact-form .g-recaptcha { margin: 4px 0; }

.star-rating {
  display: flex;
  gap: 8px;
}

.star-rating-star {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-size: 32px;
  line-height: 1;
  color: var(--border);
  transition: color 0.18s ease, transform 0.15s ease, filter 0.18s ease;
}

.star-rating-star:hover,
.star-rating-star.is-hover { transform: scale(1.15) rotate(-4deg); }

.star-rating-star.is-filled,
.star-rating-star.is-hover {
  color: #ffc700;
  filter: drop-shadow(0 0 5px rgba(255, 199, 0, 0.65));
}

.star-rating-star.is-pop { animation: star-pop 0.4s ease; }

@keyframes star-pop {
  0% { transform: scale(1) rotate(0deg); }
  35% { transform: scale(1.45) rotate(-12deg); }
  65% { transform: scale(0.92) rotate(6deg); }
  100% { transform: scale(1) rotate(0deg); }
}

.review-captcha-row {
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.review-captcha-image {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  min-height: 50px;
}

.review-captcha-image svg { display: block; height: 50px; width: auto; }

.review-captcha-refresh {
  flex-shrink: 0;
  width: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 18px;
  cursor: pointer;
}

.review-captcha-refresh:hover { border-color: var(--accent); color: var(--accent); }

.review-captcha input { margin-top: 10px; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1080px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .destination-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav-menu, .nav-right .icon-btn { display: none; }
  .nav-toggle { display: flex; }
  .story-grid, .background-grid, .location-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .story-grid.reverse .story-text { order: 0; }
  .story-images { grid-template-columns: 1fr; }
  .story-images img:first-child, .story-images img:last-child { height: 280px; }
  .discover-inner { grid-template-columns: 1fr; }
  .discover-media { height: 180px; }
  .background-grid img { height: 300px; }
  .contact-photo { position: static; height: 320px; }
  .hero-certificate { width: 180px; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .hero { padding-bottom: 90px; min-height: 86vh; }
  .hero-content { flex-wrap: wrap; }
  .hero-certificate { display: none; }
  .discover-card { margin-top: -60px; }
  .discover-info { padding: 26px 24px; }
  .story { padding: 70px 0; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 10px; }
  .destination-grid { grid-template-columns: 1fr; }
  .gallery { height: 380px; }
  .gallery-caption { font-size: 16px; left: 24px; bottom: 24px; }
  .gallery-nav { width: 38px; height: 38px; }
  .about-section { padding: 90px 0 70px; }
  .about-photo { height: 320px; }
  .about-stats { gap: 30px; }
  .post-nav .container { flex-direction: column; gap: 14px; align-items: flex-start; }
  .contact-section { padding: 70px 0 90px; }
  .contact-form-card { padding: 28px; }
  .contact-form-row { grid-template-columns: 1fr; }
}

/* Mobile nav panel */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--primary-950);
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 30px 32px;
  transform: translateX(100%);
  transition: transform 0.35s ease;
}

.mobile-nav.open { transform: translateX(0); }

.mobile-nav-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
}

.mobile-nav-close {
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  color: var(--white);
  font-size: 22px;
}

.mobile-nav ul { display: flex; flex-direction: column; gap: 8px; }

.mobile-nav a {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  padding: 14px 0;
  border-bottom: 1px solid rgb(var(--white-rgb) / 0.1);
}

/* ── Reviews (dedicated page + Home page highlights) ─────────────────── */
.reviews-section { padding: 130px 0 100px; }
.home-reviews { padding: 100px 0; }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 50px;
}

.review-card {
  background: var(--surface-paper);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.review-stars { color: var(--accent); font-size: 15px; letter-spacing: 2px; }

.review-text { flex: 1; }

.review-person { display: flex; align-items: center; gap: 12px; }

.review-photo {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.review-name { display: block; font-weight: 600; color: var(--text); }
.review-location { display: block; font-size: 13px; color: var(--text-soft); }

/* Play Store-style rating summary — average + stars on the left, a 5→1
   star bar breakdown on the right. */
.rating-summary {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 50px;
  align-items: center;
  background: var(--surface-paper);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 36px 40px;
}

.rating-summary-average {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding-right: 50px;
  border-right: 1px solid var(--border);
}

.rating-summary-number {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}

.rating-stars { color: var(--accent); font-size: 20px; letter-spacing: 3px; }

.rating-summary-count { font-size: 13px; color: var(--text-soft); white-space: nowrap; }

.rating-summary-bars { display: flex; flex-direction: column; gap: 8px; }

.rating-bar-row { display: grid; grid-template-columns: 34px 1fr 28px; align-items: center; gap: 10px; }

.rating-bar-label { font-size: 13px; color: var(--text-soft); }

.rating-bar-track { height: 8px; border-radius: 999px; background: var(--surface-dim); overflow: hidden; }

.rating-bar-fill { height: 100%; background: var(--accent); border-radius: inherit; }

.rating-bar-count { font-size: 12.5px; color: var(--text-soft); text-align: right; }

.reviews-section .contact-form-card { margin: 40px 0; }

@media (max-width: 720px) {
  .reviews-section { padding: 90px 0 70px; }
  .home-reviews { padding: 70px 0; }
  .rating-summary { grid-template-columns: 1fr; text-align: center; }
  .rating-summary-average { padding-right: 0; border-right: none; border-bottom: 1px solid var(--border); padding-bottom: 24px; }
}
