/* Trip planner mockup v02 — shared tokens aligned with frontend/tailwind.config.mjs */
:root {
  --hh-cream: #fbf7f0;
  --hh-stone: #f6f1e8;
  --hh-sandstone: #e9e1d6;
  --hh-charcoal: #1e1e1b;
  --hh-green: #e20711;
  --hh-green-hover: #b3060d;
  --hh-blue: #3d5a80;
  --hh-muted: #6b6b5f;
  --hh-border: #e8e0d0;
  --gp-banner: #302782;
  --font-serif: "Source Serif 4", Georgia, serif;
  --font-sans: "Source Sans 3", system-ui, sans-serif;
  --radius-xl: 1rem;
  --radius-2xl: 1rem;
  --shadow-sm: 0 1px 2px rgba(30, 30, 27, 0.05);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.08);
}

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

body {
  font-family: var(--font-sans);
  background: var(--hh-cream);
  color: var(--hh-charcoal);
  line-height: 1.55;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--hh-green); text-decoration: none; }
a:hover { color: var(--hh-green-hover); }

.mockup-banner {
  background: var(--hh-charcoal);
  color: var(--hh-cream);
  text-align: center;
  font-size: 12px;
}
.mockup-banner strong { color: #f5c4c4; }
.mockup-banner a { color: #a8c4f0; margin: 0 0.35rem; }

.section-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--hh-muted);
  margin-bottom: 1rem;
}

/* ——— Timeline (shared) ——— */
.timeline { padding: 0; }
.slot { position: relative; padding-left: 2.25rem; }
.slot:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 26px;
  bottom: 0;
  width: 2px;
  background: var(--hh-border);
}
.slot-dot {
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  z-index: 1;
}
.slot-meal .slot-dot { background: #faf0ea; color: #b8734a; }
.slot-activity .slot-dot { background: #fde8e9; color: var(--hh-green); }
.slot-transition .slot-dot {
  background: var(--hh-stone);
  width: 14px; height: 14px; left: 4px; top: 6px;
}
.slot-transition .slot-dot::after { content: "→"; font-size: 9px; color: var(--hh-muted); }
.slot-flex .slot-dot { background: #eef4f7; color: var(--hh-blue); }

.slot-content {
  background: var(--hh-stone);
  border: 1px solid var(--hh-border);
  border-radius: var(--radius-xl);
  padding: 0.9rem 1rem;
  margin-bottom: 0.45rem;
}
.slot-transition .slot-content {
  background: transparent;
  border: none;
  padding: 0.25rem 0 0.65rem;
  margin-bottom: 0;
}
.slot-time {
  font-size: 11px;
  font-weight: 600;
  color: var(--hh-green);
  margin-bottom: 0.25rem;
}
.slot-transition .slot-time { color: var(--hh-muted); font-weight: 500; }
.slot-type {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--hh-muted);
  margin-bottom: 0.2rem;
}
.slot-title { font-weight: 600; font-size: 14px; margin-bottom: 0.25rem; }
.slot-note { font-size: 13px; color: var(--hh-muted); line-height: 1.5; }

.block-window {
  font-size: 12px;
  color: var(--hh-muted);
  margin-bottom: 0.65rem;
  font-style: italic;
}
.stops-grid { display: flex; flex-direction: column; gap: 0.45rem; }
.stop {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.55rem 0.65rem;
  background: white;
  border: 1px solid var(--hh-border);
  border-radius: 8px;
}
.stop img {
  width: 44px; height: 44px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}
.stop-info h4 { font-size: 13px; font-weight: 600; margin-bottom: 0.1rem; }
.stop-info p { font-size: 12px; color: var(--hh-muted); }
.stop-duration {
  margin-left: auto;
  font-size: 11px;
  color: var(--hh-muted);
  white-space: nowrap;
}
.unordered-hint {
  font-size: 11px;
  color: var(--hh-blue);
  margin-top: 0.45rem;
}

.day-tab-bar {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid var(--hh-border);
}
.day-tab {
  border: 1px solid var(--hh-border);
  background: white;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  color: var(--hh-muted);
  transition: all 0.15s ease;
}
.day-tab:hover { border-color: var(--hh-green); color: var(--hh-charcoal); }
.day-tab.active {
  background: var(--hh-green);
  border-color: var(--hh-green);
  color: white;
  font-weight: 500;
}
.day-tab .tab-date {
  display: block;
  font-size: 10px;
  opacity: 0.85;
  font-weight: 400;
  margin-top: 0.1rem;
}
.day-tab.active .tab-date { opacity: 0.9; }

.readonly-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 11px;
  color: var(--hh-muted);
  background: var(--hh-stone);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  margin-top: 0.5rem;
}

.slot-warn {
  font-size: 12px;
  color: #b8734a;
  margin-top: 0.5rem;
  padding: 0.4rem 0.6rem;
  background: #faf0ea;
  border-radius: 6px;
}
.slot-warn.hidden { display: none; }

.template-picker { margin-bottom: 1.25rem; }
.template-picker .section-label { margin-bottom: 0.5rem; }
.template-row { display: flex; gap: 0.65rem; flex-wrap: wrap; }
.tpl-chip {
  border: 1px solid var(--hh-border);
  background: white;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
  color: var(--hh-muted);
  transition: all 0.15s ease;
}
.tpl-chip:hover { border-color: var(--hh-green); color: var(--hh-charcoal); }
.tpl-chip.active {
  border-color: var(--hh-green);
  background: #fde8e9;
  color: var(--hh-charcoal);
  font-weight: 500;
}

/* ——— Mockup shell (banner, hub, site nav) ——— */
.mockup-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem 0.5rem;
  line-height: 1.45;
  padding: 0.5rem 0.75rem;
}

.hub-page {
  max-width: 52rem;
  margin: 0 auto;
  padding: 1.75rem 1rem 2.5rem;
}

@media (min-width: 640px) {
  .hub-page { padding: 2.5rem 1.5rem 3rem; }
}

/* Site nav — trip & group planner mockups */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--hh-border);
  background: rgba(251, 247, 240, 0.95);
  backdrop-filter: blur(8px);
}

.nav-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0.65rem 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--hh-charcoal);
  text-decoration: none;
  flex-shrink: 0;
}

.nav-open-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--hh-border);
  border-radius: 8px;
  background: white;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.125rem;
  height: 2px;
  background: var(--hh-charcoal);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle-bars {
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

.nav-open-input:checked + .nav-toggle .nav-toggle-bars {
  background: transparent;
}

.nav-open-input:checked + .nav-toggle .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-open-input:checked + .nav-toggle .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex: 1;
  justify-content: flex-end;
  min-width: 0;
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  font-size: 14px;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--hh-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.nav-links a:hover { color: var(--hh-green); }
.nav-links a.active { color: var(--hh-green); font-weight: 500; }

.btn-book {
  background: var(--hh-green);
  color: white;
  padding: 0.45rem 1.1rem;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-book:hover {
  background: var(--hh-green-hover);
  color: white;
}

@media (max-width: 768px) {
  .nav-inner {
    padding: 0.6rem 0.85rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-panel {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.35rem 0 0.5rem;
    border-top: 1px solid var(--hh-border);
    margin-top: 0.15rem;
  }

  .nav-open-input:checked ~ .nav-panel {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .nav-links li {
    border-bottom: 1px solid var(--hh-border);
  }

  .nav-links li:last-child { border-bottom: none; }

  .nav-links a {
    display: block;
    padding: 0.75rem 0.25rem;
    font-size: 15px;
  }

  .btn-book {
    display: block;
    text-align: center;
    margin-top: 0.65rem;
    padding: 0.65rem 1rem;
  }
}

/* Guest portal header */
.gp-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 247, 240, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hh-border);
}

.gp-header-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem 0.75rem;
}

.gp-logo-text {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
}

.gp-header-meta {
  font-size: 13px;
  color: var(--hh-muted);
  line-height: 1.4;
}
