/* ============================================================
   legacy-map.css — re-skins the existing class names with the
   new tokens.

   Why this exists: the indexed pages already use class names like
   .hotel-card, .sec-title-hi, .btn-book. Renaming them would mean
   editing markup on pages that carry real search traffic, for no
   user-visible gain and real risk to content and schema.

   So the markup stays exactly as it is and only its appearance
   changes. New pages should use the component classes in
   components.css directly; this file is for converting existing
   pages without touching their HTML.
   ============================================================ */

/* ---- nav --------------------------------------------------- */
nav {
  position: sticky; top: 0; z-index: 1000;
  background: var(--maroon);
  border-bottom: 1px solid rgba(250,247,240,0.14);
  padding-inline: var(--gutter);
  backdrop-filter: none;
}
.nav-inner {
  max-width: var(--wrap); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px; height: auto;
}
.nav-logo { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 600; color: var(--ivory); text-decoration: none; }
.nav-logo span { color: var(--saffron); }
.nav-links { display: flex; gap: var(--space-6); list-style: none; }
.nav-links a {
  color: rgba(250,247,240,0.85); text-decoration: none;
  font-family: var(--font-body); font-size: var(--text-sm);
  font-weight: 500; letter-spacing: 0; text-transform: none;
}
.nav-links a:hover, .nav-links a.active { color: var(--saffron); }
.nav-cta { background: var(--saffron); color: var(--ink) !important; padding: var(--space-2) var(--space-4); border-radius: var(--radius-sm); font-weight: 600; }
.hamburger { width: var(--tap-min); height: var(--tap-min); background: none; border: 0; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; display: none; }
.hamburger span { display: block; height: 2px; background: var(--ivory); border-radius: 2px; }
@media (max-width: 900px) {
  .hamburger { display: flex; }
  .nav-links { position: absolute; inset: 64px 0 auto 0; background: var(--maroon); flex-direction: column; gap: 0; padding: var(--space-2) var(--gutter) var(--space-4); display: none; }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: var(--space-3) 0; min-height: var(--tap-min); }
}

/* ---- page hero ------------------------------------------------ */
.page-hero { background: var(--maroon); padding: var(--space-12) var(--gutter) var(--space-8); }
.page-hero::before { content: none; }           /* drop the legacy diagonal texture */
.hero-inner { max-width: var(--wrap); margin-inline: auto; }
.page-badge {
  display: inline-block; font-family: var(--font-body);
  font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--saffron-light);
  border: 1px solid rgba(227,184,114,0.55); border-radius: var(--radius-sm);
  padding: var(--space-1) var(--space-3); margin-bottom: var(--space-4);
}
.page-title-hi { font-family: var(--font-hindi); font-size: clamp(var(--text-xl), 4.5vw, var(--text-3xl)); color: var(--ivory); line-height: var(--leading-hindi); margin-bottom: var(--space-2); }
.page-title-en { font-family: var(--font-display); font-size: clamp(var(--text-base), 2.2vw, var(--text-lg)); color: rgba(250,247,240,0.72); font-weight: 400; line-height: var(--leading-tight); }
.page-updated  { font-size: var(--text-xs); color: rgba(250,247,240,0.45); margin-top: var(--space-3); }

/* ---- content shell --------------------------------------------- */
.content-wrap  { max-width: var(--wrap); margin-inline: auto; padding: var(--space-12) var(--gutter) var(--space-8); }
.section-block { margin-bottom: var(--space-12); }
.sec-title-hi  { font-family: var(--font-hindi); font-size: var(--text-xl); color: var(--maroon); line-height: var(--leading-hindi); margin-bottom: var(--space-1); }
.sec-title-en  { font-family: var(--font-body); font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--saffron-deep); margin-bottom: var(--space-3); }
.divider       { width: 56px; height: 2px; background: var(--saffron); margin-bottom: var(--space-6); }
p.hi, p.hindi  { font-family: var(--font-hindi); line-height: var(--leading-hindi); color: var(--ink); margin-bottom: var(--space-3); }
p.en           { color: var(--ink); margin-bottom: var(--space-3); }

/* ---- cards ------------------------------------------------------- */
.hotel-card, .stay-card, .info-box, .answer-box {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.hotel-card:hover { transform: none; box-shadow: var(--shadow-md); }
.hc-body    { padding: var(--space-4); }
.hc-icon    { font-size: var(--text-xl); }
.hc-name    { font-family: var(--font-hindi); font-size: var(--text-lg); color: var(--maroon); line-height: var(--leading-hindi); }
.hc-name-en { font-family: var(--font-display); font-size: var(--text-sm); color: var(--ink-muted); }
.hc-meta    { font-size: var(--text-sm); color: var(--ink-muted); }
.hc-badge   { font-size: var(--text-xs); font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.stay-grid  { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.sc-label   { font-size: var(--text-xs); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--saffron-deep); }
.sc-name    { font-family: var(--font-display); font-size: var(--text-lg); color: var(--maroon); }
.sc-price   { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.sc-note    { font-size: var(--text-sm); color: var(--ink-muted); }

.info-box, .answer-box { padding: var(--space-4) var(--space-6); }
.ib-title, .ab-title { font-family: var(--font-display); font-size: var(--text-base); color: var(--maroon); margin-bottom: var(--space-2); }
.answer-box { border-left: 3px solid var(--saffron); }

/* ---- pills / badges ------------------------------------------------ */
.pill, .badge-best, .badge-budget, .badge-free, .pill-budget, .pill-mid, .pill-free {
  display: inline-block; font-size: var(--text-xs); font-weight: 600;
  padding: var(--space-1) var(--space-3); border-radius: 999px;
  background: var(--surface-alt); color: var(--ink); border: 1px solid var(--border);
}
.badge-best, .pill-mid { background: var(--saffron); color: var(--ink); border-color: transparent; }

/* ---- buttons --------------------------------------------------------- */
.btn-book, .btn-book-mmt, .btn-book-wa, .btn-wa {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: var(--tap-min); padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-sm); text-decoration: none;
  font-family: var(--font-body); font-size: var(--text-sm); font-weight: 600;
  border: 1px solid transparent;
}
.btn-book      { background: #003580; color: #fff; }   /* Booking.com brand */
.btn-book-mmt  { background: #EB2026; color: #fff; }   /* MakeMyTrip brand */
.btn-book-wa, .btn-wa { background: var(--wa-green); color: #06351B; }

/* ---- comparison table -------------------------------------------------- */
.comp-table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.comp-table th, .comp-table td { padding: var(--space-3); border-bottom: 1px solid var(--border); text-align: left; }
.comp-table th { background: var(--maroon); color: var(--ivory); }

/* ---- FAQ ------------------------------------------------------------- */
.faq-section { background: var(--surface-alt); }
.faq-inner   { max-width: var(--wrap-text); margin-inline: auto; padding-inline: var(--gutter); }
.faq-item    { border-top: 1px solid var(--border); background: none; }
.faq-q       { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); padding: var(--space-4) 0; min-height: var(--tap-min); cursor: pointer; }
.faq-q-text  { font-family: var(--font-hindi); color: var(--maroon); line-height: var(--leading-hindi); }
.faq-q-en    { font-family: var(--font-display); font-size: var(--text-sm); color: var(--ink-muted); }
.faq-arrow   { flex: none; color: var(--saffron-deep); transition: transform .2s ease; }
.faq-item.open .faq-arrow { transform: rotate(45deg); }
.faq-a       { color: var(--ink); padding-bottom: var(--space-4); }

/* ---- breadcrumb / related / wa-cta -------------------------------------- */
.breadcrumb        { background: var(--surface-alt); border-bottom: 1px solid var(--border); font-size: var(--text-sm); }
.breadcrumb-inner  { max-width: var(--wrap); margin-inline: auto; padding: var(--space-3) var(--gutter); color: var(--ink-muted); }
.related           { background: var(--surface-alt); }
.related-inner     { max-width: var(--wrap); margin-inline: auto; padding: var(--space-12) var(--gutter); }
.related-title     { font-family: var(--font-display); color: var(--maroon); margin-bottom: var(--space-4); }
.related-grid      { display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.related-link      { display: block; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: var(--space-4); text-decoration: none; color: var(--maroon); font-weight: 600; font-size: var(--text-sm); }
.related-link:hover{ border-color: var(--saffron); }
.wa-cta            { background: var(--maroon); color: var(--ivory); }
.wa-cta-inner      { max-width: var(--wrap-text); margin-inline: auto; padding: var(--space-12) var(--gutter); text-align: center; }

/* ---- footer -------------------------------------------------------------- */
footer { background: var(--maroon); color: rgba(250,247,240,0.78); padding-block: var(--space-12); }
.footer-inner  { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); text-align: center; }
.footer-brand  { font-family: var(--font-display); font-size: var(--text-xl); color: var(--ivory); margin-bottom: var(--space-2); }
.footer-links  { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-4); margin-block: var(--space-6); font-size: var(--text-sm); }
.footer-links a{ color: rgba(250,247,240,0.88); text-decoration: none; }
.footer-links a:hover { color: var(--saffron); text-decoration: underline; }
.footer-copy   { font-size: var(--text-xs); color: rgba(250,247,240,0.55); }

/* ---- mobile bar ------------------------------------------------------------ */
.mobile-bar { position: fixed; inset: auto 0 0 0; z-index: 999; display: none; }
.mobile-bar-inner { display: flex; }
.mbar-btn { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 56px; text-decoration: none; font-size: var(--text-xs); font-weight: 600; }
.mbar-guide { background: var(--saffron); color: var(--ink); }
.mbar-wa    { background: var(--wa-green); color: #06351B; }
.mbar-icon  { font-size: var(--text-base); }
@media (max-width: 768px) { .mobile-bar { display: block; } body { padding-bottom: 56px; } }

/* ---- stay-nudge: the hotel CTA block ------------------------------------
   Appears on hawan.html, mp-circuit.html and nalkheda-railway-station.html.
   Commercially the most important component after the hotel pages, so it
   belongs in the shared system rather than being copied three times. */
.answer-box-inner { max-width: var(--wrap); margin-inline: auto; padding: var(--space-6) var(--space-8); }

.stay-nudge {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--saffron);
  border-radius: var(--radius-md);
  padding: var(--space-6);
}
.sn-title { font-family: var(--font-display); font-size: var(--text-lg); color: var(--maroon); margin-bottom: var(--space-2); }
.sn-text  { font-size: var(--text-sm); color: var(--ink); margin-bottom: var(--space-4); }
.sn-opts  { display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); margin-bottom: var(--space-4); }
.sn-opt   { background: var(--surface-alt); border-radius: var(--radius-sm); padding: var(--space-4); }
.sn-city  { font-family: var(--font-display); font-weight: 600; font-size: var(--text-base); color: var(--maroon); }
.sn-meta  { font-size: var(--text-xs); color: var(--ink-muted); margin: var(--space-1) 0 var(--space-3); }
.sn-btns  { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.sn-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: var(--tap-min); padding: var(--space-2) var(--space-4);
  background: #003580; color: #fff;            /* Booking.com brand */
  font-family: var(--font-body); font-size: var(--text-sm); font-weight: 600;
  border-radius: var(--radius-sm); text-decoration: none;
}
.sn-btn:hover { opacity: .9; color: #fff; }
.sn-btn.mmt   { background: #EB2026; }          /* MakeMyTrip brand */
.sn-near { font-size: var(--text-sm); color: var(--ink-muted); margin-bottom: var(--space-3); }
.sn-disc { font-size: var(--text-xs); color: var(--ink-muted); font-style: italic; margin: 0; }
.sn-disc a { color: var(--maroon); font-weight: 600; }

/* ============================================================
   Blog article components.
   One vocabulary shared by 13 of the 14 posts, so mapping it here
   converts the whole blog at once.
   ============================================================ */
.article-hero { background: var(--maroon); padding: var(--space-16) var(--gutter) var(--space-12); position: relative; }
.article-hero::before { content: none; }          /* drop the legacy diagonal texture */
.article-hero-inner { position: relative; z-index: 1; max-width: var(--wrap-text); margin-inline: auto; text-align: center; }
.article-badge {
  display: inline-block; font-family: var(--font-body);
  font-size: var(--text-xs); font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  /* plain --saffron is 3.27:1 on maroon; the light tone is 5.22:1 */
  color: var(--saffron-light);
  border: 1px solid rgba(227,184,114,0.5); border-radius: var(--radius-sm);
  padding: var(--space-1) var(--space-3); margin-bottom: var(--space-4);
}
.article-title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(var(--text-xl), 4.5vw, var(--text-3xl));
  color: var(--ivory); line-height: var(--leading-tight); margin-bottom: var(--space-3);
}
/* The legacy gradient-clipped text left some headings unreadable on a
   maroon band. Flat ivory is legible and keeps the display face. */
.article-title .hl { background: none; -webkit-text-fill-color: currentColor; color: var(--saffron-light); }
.article-meta { font-size: var(--text-sm); color: rgba(250,247,240,0.62); font-style: normal; }

.article-wrap { max-width: var(--wrap-text); margin-inline: auto; padding: var(--space-12) var(--gutter) var(--space-16); }
.article-body h2 { font-family: var(--font-display); font-size: var(--text-xl); color: var(--maroon); margin: var(--space-12) 0 var(--space-4); }
.article-body h3 { font-family: var(--font-display); font-size: var(--text-lg); color: var(--maroon); margin: var(--space-8) 0 var(--space-3); }
.article-body p  { margin-bottom: var(--space-4); color: var(--ink); line-height: var(--leading-body); }
.article-body ul, .article-body ol { margin: var(--space-2) 0 var(--space-6) var(--space-6); }
.article-body li { margin-bottom: var(--space-2); color: var(--ink); }
.article-body strong { color: var(--maroon); }
.article-body a { color: var(--maroon); text-decoration: underline; text-underline-offset: .15em; }

/* display:block made this scrollable but also broke table semantics for
   assistive tech; the wrapper pattern used elsewhere is better, and the
   width cap keeps it inside a phone either way. */
.data-table { width: 100%; border-collapse: collapse; margin: var(--space-6) 0; font-size: var(--text-sm); display: table; }
.data-table th { background: var(--maroon); color: var(--ivory); padding: var(--space-3) var(--space-4); text-align: left; font-family: var(--font-body); font-weight: 600; }
.data-table td { padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--border); color: var(--ink); }
.data-table tr:nth-child(even) td { background: var(--surface-alt); }

.cta-box { background: var(--maroon); border-radius: var(--radius-md); padding: var(--space-8); text-align: center; margin: var(--space-12) 0; }
.cta-box h3 { font-family: var(--font-display); font-size: var(--text-lg); color: var(--saffron-light); margin-bottom: var(--space-3); }
.cta-box p  { color: rgba(250,247,240,0.82); margin-bottom: var(--space-6); margin-inline: auto; }
.cta-box .btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: var(--tap-min); padding: var(--space-3) var(--space-8);
  background: var(--saffron); color: var(--ink); font-family: var(--font-body);
  font-weight: 600; border-radius: var(--radius-sm); text-decoration: none; border: 0;
}
.cta-box .btn-primary:hover { background: var(--saffron-deep); color: var(--ivory); }
.cta-box .btn-wa {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: var(--tap-min); padding: var(--space-3) var(--space-6);
  background: var(--wa-green); color: #06351B; border: 0;
  border-radius: var(--radius-sm); font-weight: 600; text-decoration: none;
}

.related-posts { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: var(--space-8); margin: var(--space-8) 0; }
.related-posts h3 { font-family: var(--font-display); font-size: var(--text-lg); color: var(--maroon); margin-bottom: var(--space-4); letter-spacing: 0; }
.related-list { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.related-list a { font-size: var(--text-sm); font-weight: 600; text-decoration: none; color: var(--maroon); }
@media (max-width: 640px) { .related-list { grid-template-columns: 1fr; } }

.mbar-call { background: var(--maroon); color: var(--saffron-light); border-inline: 1px solid rgba(250,247,240,0.18); }
.nav-back  { color: rgba(250,247,240,0.85); text-decoration: none; font-size: var(--text-sm); }
.hero-badge, .page-hero-inner, .section-inner { }   /* no-ops; page CSS still provides layout */

/* ---- legal / simple pages (disclaimer, terms, privacy, contact) -------- */
.legal-wrap, .container { max-width: var(--wrap-text); margin-inline: auto; padding: var(--space-12) var(--gutter); }
.page-title  { font-family: var(--font-display); font-size: clamp(var(--text-xl), 4vw, var(--text-3xl)); color: var(--maroon); margin-bottom: var(--space-3); }
.page-meta, .last-updated { font-size: var(--text-sm); color: var(--ink-muted); margin-bottom: var(--space-8); }
.alert-box {
  background: var(--surface-alt); border-left: 3px solid var(--saffron);
  border-radius: var(--radius-sm); padding: var(--space-4) var(--space-6); margin: var(--space-6) 0;
}
.nav-brand { font-family: var(--font-display); font-size: var(--text-lg); color: var(--ivory); text-decoration: none; }
/* .hero on the legal pages is a plain maroon band, not the homepage hero */
.legal-wrap + .hero, .container .hero { background: var(--maroon); color: var(--ink-inverse); }
