/* ==========================================================================
   Royal Bengal Tiger India — common.css
   Shared design system + components for every page on the site.
   Load this BEFORE the page's own <style> block so page-level values win.
   ========================================================================== */
/* ---------- Self-hosted webfonts (swap = no invisible-text delay) ---------- */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/cormorant-garamond-v20-latin-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/cormorant-garamond-v20-latin-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/cormorant-garamond-v20-latin-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/cormorant-garamond-v20-latin-400italic.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/assets/fonts/dm-sans-v14-latin-300.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/dm-sans-v14-latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/dm-sans-v14-latin-500.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/dm-sans-v14-latin-600.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/dm-mono-v13-latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/dm-mono-v13-latin-500.woff2') format('woff2');
}


/* ---------- Reset & base ---------- */
:root {
  --ink: #0F1C10;
  --forest: #1A3320;
  --moss: #2D5A3D;
  --sage: #6A9A7A;
  --amber: #B07415;
  --gold: #E8B84B;
  --cream: #F5F0E8;
  --paper: #FAF8F4;
  --smoke: #E8E4DC;
  --white: #FFFFFF;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --mono: 'DM Mono', monospace;
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --shadow: 0 8px 40px rgba(15,28,16,.15);
}
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html, body {
  max-width: 100%;
  overflow-x: hidden;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
}
img {
  display: block;
  max-width: 100%;
}
a {
  text-decoration: none;
  color: inherit;
}
.icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: -0.125em;
  flex-shrink: 0;
}

/* ---------- Navigation ---------- */
.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--gold);
  font-size: 1.5rem;
  cursor: pointer;
}
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 68px;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(232,184,75,.2);
  transition: background .3s;
}
.nav-logo {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .03em;
}
.nav-logo span {
  color: var(--gold);
}
.nav-links {
  display: flex;
  align-items: center;
}
.nav-links a {
  font-size: .8rem;
  font-weight: 500;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  transition: color .2s;
}
.nav-links a:hover {
  color: var(--gold);
}
.nav-cta {
  background: var(--gold);
  color: var(--forest) !important;
  padding: 9px 22px;
  border-radius: var(--r-sm);
  font-weight: 600 !important;
}
.nav-cta:hover {
  background: var(--amber);
  color: #fff !important;
}
.nav-links a:hover, .nav-links a.current {
  color: var(--gold);
}

/* ---------- Breadcrumb ---------- */
.breadcrumb-bar {
  background: var(--cream);
  border-bottom: 1px solid var(--smoke);
}
.breadcrumb-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .03em;
  color: #5a6b5e;
}
.breadcrumb-inner a {
  color: var(--forest);
  font-weight: 600;
}
.breadcrumb-inner a:hover {
  color: var(--amber);
}
.breadcrumb-inner span.sep {
  color: var(--sage);
}

/* ---------- Page header ---------- */
.page-header {
  background: var(--forest);
  color: var(--white);
  text-align: center;
}
.page-header .section-eyebrow {
  color: var(--gold);
  margin-bottom: 14px;
}
.page-header h1 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 16px;
}
.page-header p {
  color: rgba(255,255,255,.75);
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.75;
}

/* ---------- Layout & section primitives ---------- */
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.section-eyebrow {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 12px;
}
.divider {
  width: 52px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin: 20px 0;
}
.two-col {
  display: grid;
  align-items: start;
  margin-top: 8px;
}
.side-photo {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: sticky;
  top: 100px;
}
.side-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.section-cream {
  background: var(--cream);
}
.section-h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 700;
  color: var(--forest);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-lead {
  font-size: 1rem;
  color: #5a6b5e;
  line-height: 1.8;
}

/* ---------- Stats bar ---------- */
.stats-bar {
  background: var(--forest);
}
.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  text-align: center;
}
.stat-num {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  color: rgba(255,255,255,.6);
  margin-top: 6px;
  text-transform: uppercase;
}

/* ---------- Guide prose / TOC ---------- */
.guide-prose h2 {
  scroll-margin-top: 90px;
}
.guide-prose h2:first-child {
  margin-top: 0;
}
.guide-prose p {
  line-height: 1.85;
  color: #3d4a40;
}
.guide-prose p strong, .guide-prose li strong {
  color: var(--forest);
}
.guide-prose ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.guide-prose ul li {
  font-size: .93rem;
  line-height: 1.75;
  color: #3d4a40;
  padding-left: 24px;
  position: relative;
}
.guide-prose ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .6em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}
.guide-toc {
  display: flex;
  flex-wrap: wrap;
  padding: 20px 24px;
  background: var(--white);
  border: 1px solid var(--smoke);
  border-radius: var(--r-md);
}
.guide-toc a {
  font-weight: 600;
  color: var(--forest);
  background: var(--cream);
  border-radius: 100px;
  transition: background .2s, color .2s;
}
.guide-toc a:hover {
  background: var(--gold);
  color: var(--forest);
}
.guide-prose p strong {
  color: var(--forest);
}
.guide-prose ul li strong {
  color: var(--forest);
}
.guide-prose h3 {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--forest);
}

/* ---------- Zone cards ---------- */
.zones-grid {
  display: grid;
}
.zone-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow);
}
.zone-slideshow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.zone-card:hover .zone-slideshow {
  transform: scale(1.1);
}
.zone-slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.1s ease;
}
.zone-slideshow img.active {
  opacity: 1;
}
.zone-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,22,11,.92) 0%, rgba(10,22,11,.15) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: background .4s;
}
.zone-card:hover .zone-overlay {
  background: linear-gradient(to top, rgba(10,22,11,.97) 0%, rgba(10,22,11,.45) 60%, transparent 100%);
}
.zone-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--forest);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 10px;
  width: fit-content;
}
.zone-name {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 8px;
}
.zone-desc {
  color: rgba(255,255,255,.7);
  line-height: 1.6;
}
.zone-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.zone-tag {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.8);
  padding: 3px 10px;
  border-radius: 100px;
}
.zone-more {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  font-weight: 600;
  opacity: 0;
  transform: translateY(6px);
  transition: .3s;
}
.zone-card:hover .zone-more {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- FAQ ---------- */
.faq-item {
  border-bottom: 1px solid var(--smoke);
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 0;
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 600;
  color: var(--forest);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-q .faq-icon {
  flex-shrink: 0;
  color: var(--amber);
  transition: transform .3s;
}
.faq-item.open .faq-q .faq-icon {
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .3s;
  font-size: .88rem;
  color: #5a6b5e;
  line-height: 1.8;
}
.faq-item.open .faq-a {
  max-height: 300px;
  padding-bottom: 18px;
}

/* ---------- YouTube facade ---------- */
.yt-facade {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  background: #000;
  box-shadow: inset 0 0 10px rgba(0,0,0,.5);
  cursor: pointer;
}
.yt-facade img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.yt-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(10,22,11,.55);
  border: 2px solid rgba(255,255,255,.85);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .25s ease, background .25s ease;
}
.yt-play-btn::before {
  content: '';
  width: 0;
  height: 0;
  margin-left: 4px;
  border-style: solid;
  border-color: transparent transparent transparent var(--gold);
}
.yt-facade:hover .yt-play-btn, .yt-facade:focus-visible .yt-play-btn {
  transform: translate(-50%, -50%) scale(1.08);
  background: rgba(10,22,11,.75);
}

/* ---------- Contact card ---------- */
.contact-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 40px 32px;
  margin-top: 12px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--gold);
  text-align: center;
}
.contact-card h2 {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--forest);
  margin-bottom: 10px;
}
.contact-card p {
  font-size: .92rem;
  color: #5a6b5e;
  margin-bottom: 26px;
  line-height: 1.7;
}
.contact-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cream);
  color: var(--forest);
  font-weight: 600;
  font-size: .86rem;
  padding: 12px 20px;
  border-radius: 100px;
  transition: .2s;
}
.contact-links a:hover {
  background: var(--gold);
}
.contact-links a.whatsapp-link {
  background: #25D366;
  color: #fff;
}
.contact-links a.whatsapp-link:hover {
  background: #1fb959;
}

/* ---------- Footer ---------- */
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand-name {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.footer-brand-name span {
  color: var(--gold);
}
.footer-brand-desc {
  font-size: .83rem;
  line-height: 1.8;
  max-width: 280px;
}
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  font-size: .85rem;
  transition: .2s;
}
.footer-social a:hover {
  background: var(--gold);
  color: var(--forest);
}
.footer-col h4 {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 18px;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col ul li a {
  font-size: .83rem;
  color: rgba(255,255,255,.55);
  transition: color .2s;
}
.footer-col ul li a:hover {
  color: var(--gold);
}
.footer-bottom {
  max-width: 1100px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: .75rem;
}

/* ---------- Floating WhatsApp button ---------- */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.6rem;
  z-index: 800;
  box-shadow: 0 6px 24px rgba(37,211,102,.4);
  transition: transform .2s, box-shadow .2s;
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 30px rgba(37,211,102,.5);
}
.wa-float:hover .wa-tooltip {
  opacity: 1;
}

/* ---------- Misc shared utilities ---------- */
.cross-links {
  margin: 40px 0 0;
  padding-top: 28px;
  border-top: 1px solid var(--smoke);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
  font-size: .85rem;
}
.cross-links a {
  color: var(--forest);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.cross-links a:hover {
  color: var(--amber);
}
footer {
  background: var(--ink);
  color: rgba(255,255,255,.6);
  padding: 64px 24px 32px;
}
.wa-tooltip {
  position: absolute;
  right: 72px;
  background: var(--ink);
  color: #fff;
  font-size: .75rem;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: var(--r-sm);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}
.notice-box {
  border-left: 4px solid var(--gold);
  border-radius: var(--r-md);
  padding: 18px 22px;
  margin: 22px 0 30px;
  font-size: .9rem;
  line-height: 1.75;
  color: #3d4a40;
}
.notice-box strong {
  color: var(--forest);
}
.inclusions-grid {
  display: grid;
}
.inclusion-card {
  background: var(--white);
  border-radius: var(--r-md);
  box-shadow: 0 2px 16px rgba(15,28,16,.06);
}
.inclusion-card h4 {
  font-family: var(--serif);
  color: var(--forest);
  margin-bottom: 6px;
}
.inclusion-card p {
  color: #5a6b5e;
  line-height: 1.6;
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(6px);
  padding: 7px 16px;
  border-radius: 100px;
  font-size: .78rem;
  font-weight: 500;
}
.hero-badge .icon {
  color: var(--gold);
  font-size: .8rem;
}
.usd-hint {
  font-weight: 500;
  margin-left: 3px;
}

/* Scrolled nav state — set by common.js via a class instead of an inline
   style write, so the browser handles it on the compositor path. */
.nav.is-scrolled { background: rgba(15,28,16,.97); }

/* ---------- Responsive: @media (max-width: 900px) ---------- */
@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .two-col {
    grid-template-columns: 1fr;
  }
  .side-photo {
    position: static;
    order: -1;
  }
}

/* ---------- Responsive: @media (max-width: 600px) ---------- */
@media (max-width: 600px) {
  .nav {
    padding: 0 20px;
  }
  .mobile-menu-btn {
    display: block;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--forest);
    padding: 20px;
    text-align: center;
    border-bottom: 2px solid var(--gold);
  }
  .nav-links.active {
    display: flex;
  }
  .contact-card {
    padding: 30px 22px;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .cross-links {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---------- Motion preferences ----------
   Users who ask their OS for reduced motion get no smooth-scroll jumps and
   no slideshow cross-fades. Costs nothing, and stops the hero rotation from
   being counted as layout instability by assistive setups. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
