/* ============================================================
   Visit New York City — Shared Stylesheet
   ============================================================ */

/* === VARIABLES === */
:root {
  --navy:        #1B3F6E;
  --navy-dark:   #122d51;
  --blue:        #2563EB;
  --blue-dark:   #1D4ED8;
  --sky:         #BFDBFE;
  --pale:        #EFF6FF;
  --text:        #1E293B;
  --muted:       #64748B;
  --light:       #F8FAFC;
  --border:      #E2E8F0;
  --white:       #FFFFFF;

  --font-serif:  'DM Serif Display', Georgia, 'Times New Roman', serif;
  --font-sans:   'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius:      12px;
  --radius-sm:   8px;
  --shadow:      0 1px 3px rgba(0,0,0,0.07), 0 8px 24px rgba(0,0,0,0.06);
  --shadow-md:   0 4px 12px rgba(0,0,0,0.09), 0 16px 40px rgba(0,0,0,0.08);
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul { list-style: none; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  line-height: 1.2;
  color: var(--text);
  font-weight: 400;
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.65rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p  { color: var(--muted); line-height: 1.75; }

/* === LAYOUT === */
.container      { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 24px; }
.section        { padding: 80px 0; }
.section-sm     { padding: 52px 0; }
.section-pale   { background: var(--pale); }
.section-navy   { background: var(--navy); }

/* === NAVIGATION === */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--navy);
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: -0.01em;
}
.nav-logo span { color: var(--blue); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}
.nav-link {
  padding: 7px 13px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}
.nav-link:hover { color: var(--text); background: var(--light); }
.nav-link.active { color: var(--navy); background: var(--pale); font-weight: 600; }
.nav-cta {
  margin-left: auto;
  flex-shrink: 0;
  padding: 9px 20px;
  background: var(--navy);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: background 0.15s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--navy-dark); }
.nav-cta.active { background: var(--blue); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  border-radius: 6px;
  transition: background 0.15s;
}
.nav-toggle:hover { background: var(--light); }
.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
}
.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 10px 24px 20px;
  border-top: 1px solid var(--border);
  gap: 2px;
  background: white;
}
.nav-mobile.open { display: flex; }
.nav-mobile .nav-link { padding: 10px 14px; display: block; }
.nav-mobile .nav-cta {
  display: block;
  margin: 8px 0 0;
  text-align: center;
  padding: 12px 20px;
}

/* === HERO (full viewport, home) === */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-dark);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(18,45,81,0.75) 0%,
    rgba(18,45,81,0.5) 60%,
    rgba(18,45,81,0.35) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  padding: 100px 24px 80px;
  width: 100%;
}
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 18px;
}
.hero h1 { color: var(--white); margin-bottom: 20px; max-width: 700px; }
.hero > .hero-content > p {
  color: rgba(255,255,255,0.72);
  font-size: 1.1rem;
  max-width: 500px;
  margin-bottom: 40px;
}

/* === PAGE HERO (interior pages) === */
.page-hero {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--navy-dark);
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18,45,81,0.88) 20%, rgba(18,45,81,0.35) 100%);
}
.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  padding: 44px 24px;
  width: 100%;
}
.page-hero h1 { color: white; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 14px;
}
.breadcrumb a { color: rgba(255,255,255,0.55); transition: color 0.15s; }
.breadcrumb a:hover { color: white; }
.breadcrumb span { color: rgba(255,255,255,0.3); }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-family: var(--font-sans);
  transition: all 0.15s;
  white-space: nowrap;
}
.btn-primary  { background: var(--navy);  color: white; }
.btn-primary:hover  { background: var(--navy-dark); transform: translateY(-1px); }
.btn-navy    { background: var(--navy);  color: white; }
.btn-navy:hover    { background: var(--navy-dark); transform: translateY(-1px); }
.btn-white   { background: white; color: var(--navy); }
.btn-white:hover   { background: var(--pale); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--blue); border: 1.5px solid var(--blue); }
.btn-outline:hover { background: var(--pale); }
.btn-outline-white { background: transparent; color: white; border: 1.5px solid rgba(255,255,255,0.5); }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: white; }
.btn-sm  { padding: 8px 16px; font-size: 13px; }
.btn-lg  { padding: 14px 30px; font-size: 15px; }

/* === MINDTRIP FORM INTEGRATION === */
.mindtrip-form { display: contents; }
.mindtrip-form.block { display: flex; flex-direction: column; }

/* Textarea prompt */
.mindtrip-prompt {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 15px;
  font-family: var(--font-sans);
  line-height: 1.55;
  color: var(--text);
  resize: none;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  background: white;
}
.mindtrip-prompt:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.mindtrip-prompt::placeholder { color: #94a3b8; }

/* Default button style — override per context */
.mindtrip-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-family: var(--font-sans);
  background: var(--navy);
  color: white;
  transition: all 0.15s;
  white-space: nowrap;
}
.mindtrip-button:hover { background: var(--navy-dark); transform: translateY(-1px); }
.mindtrip-button.btn-navy  { background: var(--navy); }
.mindtrip-button.btn-navy:hover  { background: var(--navy-dark); }
.mindtrip-button.btn-white { background: white; color: var(--navy); }
.mindtrip-button.btn-white:hover { background: var(--pale); }
.mindtrip-button.btn-outline { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.mindtrip-button.btn-outline:hover { background: var(--pale); }
.mindtrip-button.btn-outline-white { background: transparent; color: white; border: 1.5px solid rgba(255,255,255,0.5); }
.mindtrip-button.btn-outline-white:hover { background: rgba(255,255,255,0.1); }
.mindtrip-button.btn-sm { padding: 8px 16px; font-size: 13px; }
.mindtrip-button.btn-lg { padding: 14px 30px; font-size: 15px; }
.mindtrip-button.full-width { width: 100%; }

/* === AI SEARCH BOX (hero widget) === */
.ai-search-box {
  background: white;
  border-radius: var(--radius);
  padding: 24px;
  max-width: 580px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.18);
}
.ai-search-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.ai-search-label svg { color: var(--blue); }
.ai-search-box .mindtrip-prompt { margin-bottom: 12px; }
.ai-search-box .mindtrip-button { width: 100%; }

/* === SECTION HEADER === */
.section-header { margin-bottom: 44px; }
.section-header h2 { margin-bottom: 12px; }
.section-header p { font-size: 1.0625rem; max-width: 540px; }
.section-header.centered { text-align: center; }
.section-header.centered p { margin: 0 auto; }
.section-header.white h2 { color: white; }
.section-header.white p { color: rgba(255,255,255,0.65); }

/* === FEATURE CARD (home page 3-col) === */
.feature-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  cursor: pointer;
  background: var(--navy);
}
.feature-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.feature-card:hover .feature-card-img { transform: scale(1.04); }
.feature-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18,45,81,0.85) 0%, rgba(18,45,81,0.2) 55%, transparent 100%);
  transition: background 0.3s;
}
.feature-card:hover .feature-card-overlay {
  background: linear-gradient(to top, rgba(18,45,81,0.9) 0%, rgba(18,45,81,0.3) 55%, transparent 100%);
}
.feature-card-body {
  position: relative;
  z-index: 2;
  padding: 28px 24px;
  width: 100%;
}
.feature-card-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 8px;
}
.feature-card-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: white;
  margin-bottom: 14px;
  line-height: 1.25;
}
.feature-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  transition: color 0.15s, gap 0.15s;
}
.feature-card:hover .feature-card-cta { color: white; gap: 8px; }

/* === PLACE CARD (things to do) === */
.place-card {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.place-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.place-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: var(--light);
}
.place-card-body { padding: 20px; }
.place-card-name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 6px;
}
.place-card-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 16px;
}
.place-card-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* === GUIDE CARD (itineraries) === */
.guide-card {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.guide-card:hover { transform: translateY(-3px); border-color: var(--sky); box-shadow: var(--shadow-md); }
.guide-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--pale);
}
.guide-card-body { padding: 20px; }
.guide-card-meta {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.guide-card-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--border); }
.guide-card-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.35;
}
.guide-card-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* Guide card — featured (larger) */
.guide-card-featured {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  background: white;
  transition: box-shadow 0.2s;
}
.guide-card-featured:hover { box-shadow: var(--shadow-md); }
.guide-card-featured .guide-card-img {
  aspect-ratio: unset;
  height: 100%;
  min-height: 280px;
}
.guide-card-featured .guide-card-body {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.guide-card-featured .guide-card-title { font-size: 1.5rem; }

/* === NEIGHBORHOOD CARD === */
.hood-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--navy);
  display: block;
}
.hood-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.hood-card:hover .hood-card-img { transform: scale(1.05); }
.hood-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18,45,81,0.88) 0%, rgba(18,45,81,0.2) 55%, transparent 100%);
}
.hood-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 20px;
}
.hood-card-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: white;
  margin-bottom: 4px;
}
.hood-card-tag {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 14px;
}
.hood-explore-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--sky);
  transition: color 0.15s, gap 0.15s;
}
.hood-card:hover .hood-explore-link { color: white; gap: 7px; }

/* === VIBE BUTTONS (JS API) === */
.vibe-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}
.vibe-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1.5px solid var(--border);
  border-radius: 40px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  background: white;
  cursor: pointer;
  transition: all 0.15s;
}
.vibe-btn:hover { border-color: var(--blue); color: var(--blue); background: var(--pale); transform: translateY(-1px); }

/* === FOOD CARD (restaurants) === */
.food-card {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.food-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.food-card-img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  background: var(--pale);
}
.food-card-body { padding: 20px; }
.food-card-name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 6px;
}
.food-card-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

/* === MEDIA LINK STRIP === */
.media-strip {
  background: var(--pale);
  border: 1px solid var(--sky);
  border-radius: var(--radius);
  padding: 36px 40px;
  display: flex;
  align-items: center;
  gap: 48px;
}
.media-strip-text h3 { margin-bottom: 10px; }
.media-strip-text p { margin-bottom: 20px; max-width: 440px; }

/* === QUICK STARTS === */
.quick-starts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.quick-start-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 18px;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 40px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: all 0.15s;
  font-family: var(--font-sans);
}
.quick-start-btn:hover { border-color: var(--blue); color: var(--blue); background: var(--pale); transform: translateY(-1px); }

/* === CTA BAND === */
.cta-band {
  background: var(--navy);
  padding: 88px 0;
  text-align: center;
}
.cta-band h2 { color: white; margin-bottom: 16px; }
.cta-band p  { color: rgba(255,255,255,0.6); max-width: 500px; margin: 0 auto 36px; }

/* === INLINE LINKS === */
a.text-link {
  color: var(--blue);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: rgba(37,99,235,0.35);
  text-underline-offset: 3px;
  transition: color 0.15s, text-decoration-color 0.15s;
}
a.text-link:hover { color: var(--blue-dark); text-decoration-color: var(--blue-dark); }

/* === GRIDS === */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* === FOOTER === */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.6);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .footer-logo {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: white;
  margin-bottom: 12px;
  display: block;
}
.footer-brand p { font-size: 13.5px; line-height: 1.75; max-width: 240px; }
.footer-col h4 {
  color: rgba(255,255,255,0.5);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 13.5px;
  color: rgba(255,255,255,0.55);
  transition: color 0.15s;
}
.footer-col ul li a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a { color: rgba(255,255,255,0.45); transition: color 0.15s; }
.footer-bottom a:hover { color: white; }

/* === UTILS === */
.mt-4  { margin-top: 16px; }
.mt-6  { margin-top: 24px; }
.mt-8  { margin-top: 32px; }
.mt-12 { margin-top: 48px; }
.gap-sm { gap: 8px; }
.flex   { display: flex; }
.flex-center { display: flex; align-items: center; }
.gap-3  { gap: 12px; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .guide-card-featured { grid-template-columns: 1fr; }
  .guide-card-featured .guide-card-img { min-height: 240px; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }

  .section  { padding: 56px 0; }
  .section-sm { padding: 40px 0; }

  .hero { min-height: 70vh; }
  .hero-content { padding: 72px 24px 56px; }

  .media-strip { flex-direction: column; gap: 24px; padding: 28px 24px; }
  .media-strip-text p { max-width: none; }

  .cta-band { padding: 64px 0; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .vibe-row { gap: 8px; }
}
