/* Travel blog styles.
   Visual rules are copied from index.html so every blog page matches the
   home page: same tokens, type, navbar, buttons, cards, spacing, and footer.
   The home page also requests "SF Pro Display" from Google Fonts. That family
   is not served (the stylesheet returns HTTP 400), so both pages render this
   system stack. */

:root {
  --apple-dark: #1d1d1f;
  --apple-mid: #3a3a3c;
  --apple-light: #f5f5f7;
  --apple-white: #ffffff;
  --apple-blue: #0071e3;
  --apple-blue-hover: #0077ed;
  --apple-gray: #6e6e73;
  --apple-border: rgba(0,0,0,0.08);
  --nav-height: 48px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: var(--apple-white);
  color: var(--apple-dark);
  text-align: center;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--nav-height);
}

body.has-hero {
  padding-top: 0;
}

/* ── NAVBAR (same as index.html) ── */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: var(--nav-height);
  padding: 0 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(22, 22, 23, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  color: white;
  z-index: 1000;
  border-bottom: 0.5px solid rgba(255,255,255,0.1);
}

.nav-brand {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: #f5f5f7;
  text-decoration: none;
  flex: 0 0 auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: rgba(245,245,247,0.85);
  text-decoration: none;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: #f5f5f7;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: rgba(245,245,247,0.85);
  font-family: inherit;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.01em;
  padding: 8px 0;
  cursor: pointer;
}

.nav-toggle:hover {
  color: #f5f5f7;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 2000;
  padding: 8px 14px;
  background: var(--apple-white);
  color: var(--apple-dark);
  border-radius: 980px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.skip-link:focus {
  top: 8px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 11px 22px;
  background: var(--apple-blue);
  color: white;
  border-radius: 980px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  letter-spacing: -0.01em;
  transition: background 0.2s ease, transform 0.15s ease;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn:hover {
  background: var(--apple-blue-hover);
  transform: scale(1.02);
}

.btn:active {
  transform: scale(0.98);
}

.btn-secondary {
  background: transparent;
  color: var(--apple-blue);
  border: 1.5px solid var(--apple-blue);
}

.btn-secondary:hover {
  background: rgba(0, 113, 227, 0.06);
}

.btn-dark {
  background: var(--apple-dark);
  color: white;
}

.btn-dark:hover {
  background: #3a3a3c;
}

.btn-gyg {
  background: #FF5533;
}
.btn-gyg:hover { background: #e04a2d; }

.btn-viator {
  background: #1A1A2E;
}
.btn-viator:hover { background: #2a2a4e; }

.btn-tripadvisor {
  background: #34E0A1;
  color: #1d1d1f;
}
.btn-tripadvisor:hover { background: #28c98e; }

.btn-coming-soon {
  background: var(--apple-gray);
  cursor: default;
  opacity: 0.7;
}
.btn-coming-soon:hover {
  background: var(--apple-gray);
  transform: none;
}

/* ── DIVIDER ── */
.section-divider {
  width: 100%;
  height: 1px;
  background: var(--apple-border);
}

/* ── SECTIONS ── */
.section {
  padding: 96px 24px;
  max-width: 980px;
  margin: 0 auto;
}

.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--apple-blue);
  margin-bottom: 12px;
}

h2,
.section h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--apple-dark);
  margin-bottom: 12px;
}

.section-desc {
  font-size: 17px;
  font-weight: 400;
  color: var(--apple-gray);
  line-height: 1.6;
  max-width: 540px;
  margin: 0 auto 40px;
}

/* ── CHANNEL / STORY CARD ── */
.channel-card {
  background: var(--apple-light);
  border-radius: 18px;
  overflow: hidden;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.channel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.channel-card.is-static:hover {
  transform: none;
  box-shadow: none;
}

.channel-info {
  padding: 20px 22px 22px;
}

.channel-info h3 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--apple-dark);
  margin-bottom: 8px;
}

.channel-info p {
  font-size: 13px;
  color: var(--apple-gray);
  margin-bottom: 14px;
  line-height: 1.5;
  text-shadow: none;
}

.channel-info p:last-child {
  margin-bottom: 0;
}

/* ── FOOTER ── */
footer {
  padding: 24px 20px;
  background: var(--apple-light);
  border-top: 1px solid var(--apple-border);
  font-size: 12px;
  color: var(--apple-gray);
  letter-spacing: 0.01em;
}

/* ── TRAVEL ── */
.travel-bg {
  background: var(--apple-light);
  min-height: calc(100vh - var(--nav-height) - 61px);
}

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

.destination-grid.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.destination-grid.cols-1 {
  grid-template-columns: minmax(0, 360px);
  justify-content: center;
}

.destination-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 380px;
  cursor: pointer;
  text-decoration: none;
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.destination-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.18);
}

.destination-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.destination-card:hover img {
  transform: scale(1.05);
}

.destination-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.0) 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  text-align: left;
}

.destination-card-overlay h3 {
  font-size: 22px;
  font-weight: 700;
  color: #f5f5f7;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.destination-card-overlay span {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  font-weight: 400;
}

.dest-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: white;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 980px;
  z-index: 1;
}

/* Photo-less card. Same frame, type, and tag as a destination card.
   Used when the owner has not supplied a photo. Not a stock image. */
.destination-card-plain {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(0, 113, 227, 0.22), transparent 55%),
    var(--apple-dark);
}

.destination-card-static {
  cursor: default;
}

.destination-card-static:hover {
  transform: none;
  box-shadow: none;
}

.destination-card-static:hover img {
  transform: none;
}

/* Serengeti acacia sits left of center; keep it in the card and mobile hero crop. */
.focus-savanna {
  object-position: 28% 62%;
}

/* The iguana's head sits right of center; keep it in the tall card crop. */
.focus-iguana {
  object-position: 78% 58%;
}

/* Seven continent cards: three columns, last card centered on its own row. */
@media (min-width: 769px) {
  .dest-panel-content.has-continent-grid {
    max-width: 1080px;
  }

  .destination-grid.continent-grid > :last-child:nth-child(3n + 1) {
    grid-column: 2;
  }
}

/* ── CITY HERO (same frame as the home destination panel) ── */
.dest-panel-hero {
  position: relative;
  height: 420px;
  overflow: hidden;
}

.dest-panel-hero-placeholder {
  background:
    radial-gradient(ellipse at 30% 0%, rgba(0, 113, 227, 0.28), transparent 52%),
    linear-gradient(165deg, var(--apple-dark) 0%, var(--apple-mid) 52%, var(--apple-dark) 100%);
}

.dest-panel-hero-placeholder .dest-tag {
  top: calc(var(--nav-height) + 16px);
  left: 24px;
}

.dest-panel-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dest-panel-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.55) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 48px;
  text-align: center;
}

.dest-panel-hero-overlay h1,
.dest-panel-hero-overlay h2 {
  color: #f5f5f7;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 8px;
}

.dest-panel-hero-overlay p {
  color: rgba(255,255,255,0.75);
  font-size: 16px;
  text-shadow: none;
}

.dest-panel-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

/* Panel headings sit with the tour cards, same left edge as the home panel title. */
.dest-panel-content .section-label {
  text-align: left;
}

.tours-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 16px;
}

.tour-card {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--apple-light);
  border-radius: 18px;
  overflow: hidden;
  text-align: left;
  border: 1px solid var(--apple-border);
}

.tour-card.reverse {
  flex-direction: row-reverse;
}

.tour-card-img {
  width: 320px;
  min-width: 320px;
  height: 260px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

.tour-card-body {
  padding: 28px 32px;
  flex: 1;
}

.tour-card h3 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--apple-dark);
  margin-bottom: 10px;
}

.tour-card p {
  font-size: 15px;
  color: var(--apple-gray);
  line-height: 1.65;
  text-shadow: none;
  margin-bottom: 22px;
}

.tour-book-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.stories-block,
.tips,
.money {
  margin-top: 72px;
  text-align: left;
}

.tips ul,
.money ul {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-top: 8px;
}

.money ul {
  margin-top: 0;
}

.tips li,
.money li {
  background: var(--apple-light);
  border-radius: 18px;
  padding: 18px 22px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--apple-gray);
}

.tips li strong,
.money li strong {
  color: var(--apple-dark);
  font-weight: 600;
}

.money h2 {
  text-align: left;
  margin-bottom: 16px;
}

.money-intro {
  margin: 0 0 20px;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--apple-gray);
}

/* ── CURRENCY CONVERTER ── */
.fx-converter {
  margin-top: 28px;
  padding: 22px 22px 18px;
  background: #e8f2fd;
  border-radius: 18px;
  text-align: left;
}

.fx-converter form {
  margin: 0;
}

.fx-title {
  margin: 0 0 16px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--apple-dark);
  text-align: left;
}

.fx-fields {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto;
  gap: 12px 14px;
  align-items: end;
}

.fx-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--apple-gray);
  text-align: left;
}

.fx-amount,
.fx-currency {
  display: block;
  width: 100%;
  height: 48px;
  margin: 0;
  padding: 0 14px;
  font-family: inherit;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--apple-dark);
  background: var(--apple-white);
  border: 1px solid #d2d2d7;
  border-radius: 12px;
  box-shadow: none;
}

.fx-amount::-webkit-outer-spin-button,
.fx-amount::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.fx-amount[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

.fx-currency {
  padding-right: 36px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 L6 6.5 L11 1.5' fill='none' stroke='%236e6e73' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px 8px;
}

.fx-swap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 48px;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid #d2d2d7;
  background: var(--apple-white);
  color: var(--apple-blue);
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  white-space: nowrap;
}

.fx-swap svg {
  display: block;
  flex-shrink: 0;
}

.fx-swap:hover {
  background: rgba(0, 113, 227, 0.06);
}

.fx-swap[aria-pressed="true"] {
  background: var(--apple-blue);
  border-color: var(--apple-blue);
  color: #fff;
}

.fx-swap[aria-pressed="true"]:hover {
  background: var(--apple-blue-hover);
}

.fx-output {
  margin-top: 18px;
  min-height: 3.2rem;
  text-align: left;
}

.fx-equals {
  margin: 0 0 4px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--apple-gray);
}

.fx-result {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--apple-dark);
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.fx-message {
  margin: 0;
  padding-top: 6px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--apple-gray);
}

.fx-note {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin: 14px 0 0;
  font-size: 12px;
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: var(--apple-gray);
}

.fx-note[hidden] {
  display: none !important;
}

.fx-note a {
  color: var(--apple-blue);
  font-weight: 500;
  text-underline-offset: 2px;
}

.fx-note a:hover {
  color: var(--apple-blue-hover);
}

.fx-amount:focus-visible,
.fx-currency:focus-visible,
.fx-swap:focus-visible {
  outline: 2px solid var(--apple-blue);
  outline-offset: 3px;
}

/* ── BREADCRUMBS ── */
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  list-style: none;
  margin: 0 auto 28px;
}

.crumbs li {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--apple-gray);
}

.crumbs li + li::before {
  content: "/";
  margin: 0 8px;
  color: var(--apple-gray);
}

.crumbs a {
  color: var(--apple-blue);
  text-decoration: none;
}

.crumbs a:hover {
  text-decoration: underline;
}

.crumbs [aria-current="page"] {
  color: var(--apple-dark);
  font-weight: 500;
}

/* Owner-facing draft note. Same card radius, type, and border as the home cards. */
.placeholder-card {
  max-width: 680px;
  margin: 0 auto 8px;
  padding: 20px 22px 22px;
  background: var(--apple-white);
  border: 1px solid var(--apple-border);
  border-radius: 18px;
  text-align: left;
}

.placeholder-card p:last-child {
  font-size: 15px;
  line-height: 1.65;
  color: var(--apple-gray);
  margin: 0;
}

.placeholder-card a {
  color: var(--apple-blue);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.placeholder-card a:hover {
  color: var(--apple-blue-hover);
}

.city-copy {
  max-width: 680px;
  margin: 0 auto 8px;
  text-align: left;
}

.city-copy p {
  font-size: 17px;
  font-weight: 400;
  color: var(--apple-gray);
  line-height: 1.6;
  margin: 0 0 16px;
}

.city-copy p:last-child {
  margin-bottom: 0;
}

.city-copy a {
  color: var(--apple-blue);
  font-weight: 500;
  text-underline-offset: 2px;
}

.city-copy a:hover {
  color: var(--apple-blue-hover);
}

.photo-credit {
  max-width: 680px;
  margin: 0 auto 20px;
  font-size: 12px;
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: var(--apple-gray);
  text-align: left;
}

.photo-credit a {
  color: var(--apple-gray);
  text-underline-offset: 2px;
}

.photo-credit a:hover {
  color: var(--apple-dark);
}

.destination-card-overlay .card-credit {
  display: block;
  margin-top: 8px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: rgba(255,255,255,0.62);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--apple-blue);
  outline-offset: 3px;
}

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

/* ── MOBILE ── */
@media (max-width: 768px) {
  .section {
    padding: 72px 20px;
  }

  .tour-card,
  .tour-card.reverse {
    flex-direction: column;
  }

  .tour-card-img {
    width: 100%;
    min-width: 100%;
    height: 200px;
  }

  .tour-card-body {
    padding: 22px 20px;
  }

  .destination-grid,
  .destination-grid.cols-1,
  .destination-grid.cols-2 {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: none;
  }

  .destination-card {
    height: 340px;
  }

  .fx-converter {
    padding: 18px 16px 16px;
  }

  .fx-fields {
    grid-template-columns: 1fr;
  }

  .fx-swap {
    width: 100%;
  }

  .dest-panel-hero {
    height: 300px;
  }

  .tour-card {
    padding: 0;
  }
}

@media (max-width: 840px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 14px;
    background: rgba(22, 22, 23, 0.92);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 0.5px solid rgba(255,255,255,0.1);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 22px;
    font-size: 14px;
    text-align: left;
  }
}
