/* ============================================
   Navodayan Travel — Shared Design System
   "for Navodayans, by navodayans"
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Work+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --forest: #2C4A3B;
  --forest-dark: #1D3229;
  --rust: #A8532F;
  --rust-light: #C46B44;
  --wheat: #D4A24C;
  --cream: #F3EDE0;
  --cream-warm: #EBE2CE;
  --ink: #2A2622;
  --ink-soft: #55503F;
  --white: #FFFDF8;
  --line: rgba(42, 38, 34, 0.14);

  --font-display: 'Fraunces', serif;
  --font-body: 'Work Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius: 4px;
  --max-width: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  color: var(--forest-dark);
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.25rem; }

p { color: var(--ink-soft); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rust);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: '';
  width: 18px;
  height: 1px;
  background: var(--rust);
}

/* ---------- Header / Nav ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--forest-dark);
}
.brand .mark {
  width: 34px;
  height: 34px;
  border-radius: 3px;
  background: var(--forest);
  color: var(--wheat);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  transform: rotate(-3deg);
}
.brand .tagline {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  color: var(--rust);
  font-weight: 500;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
  font-size: 0.94rem;
  font-weight: 500;
}
.nav-links a { position: relative; padding: 4px 0; color: var(--ink); }
.nav-links a:hover { color: var(--rust); }
.nav-links a.active { color: var(--forest-dark); font-weight: 600; }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px;
  background: var(--rust);
}

.nav-cta {
  background: var(--forest);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.88rem;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--forest-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--forest-dark); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn-primary { background: var(--rust); color: var(--white); }
.btn-primary:hover { background: var(--rust-light); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--forest-dark); border: 1.5px solid var(--forest); }
.btn-outline:hover { background: var(--forest); color: var(--white); }
.btn-whatsapp { background: #2C4A3B; color: var(--white); }
.btn-whatsapp:hover { background: var(--forest-dark); }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Sections ---------- */
section { padding: 90px 0; }
.section-tight { padding: 60px 0; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head p { margin-top: 14px; font-size: 1.05rem; }

.bg-forest { background: var(--forest); color: var(--white); }
.bg-forest h2, .bg-forest h3 { color: var(--white); }
.bg-forest p { color: rgba(255,253,248,0.78); }
.bg-forest .trunk-tag p { color: var(--ink-soft); }
.bg-white { background: var(--white); }

/* ---------- Trunk Tag (signature element) ---------- */
.trunk-tag {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 6px;
  position: relative;
  padding: 26px 22px 22px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.trunk-tag::before {
  content: '';
  position: absolute;
  top: -9px;
  left: 24px;
  width: 18px;
  height: 18px;
  background: var(--wheat);
  border-radius: 50%;
  border: 3px solid var(--cream);
  box-shadow: 0 0 0 1px var(--line);
}
.trunk-tag:hover { transform: rotate(-1deg) translateY(-3px); box-shadow: 0 10px 24px rgba(42,38,34,0.1); }
.trunk-tag .tag-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 10px;
  display: block;
}

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

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 32px 26px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.service-card:hover { border-color: var(--rust); transform: translateY(-3px); }
.service-card .icon {
  width: 46px; height: 46px;
  background: var(--cream-warm);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  font-size: 1.3rem;
}
.service-card h3 { margin-bottom: 8px; }
.service-card p { font-size: 0.94rem; margin-bottom: 16px; }
.service-card .link { font-size: 0.86rem; font-weight: 600; color: var(--rust); }

/* ---------- Forms ---------- */
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 7px;
  color: var(--forest-dark);
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--white);
  color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--rust);
}
.field textarea { resize: vertical; min-height: 100px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.service-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 34px;
  flex-wrap: wrap;
}
.service-tab {
  padding: 11px 20px;
  border: 1.5px solid var(--line);
  border-radius: 24px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  background: var(--white);
  color: var(--ink-soft);
}
.service-tab.active { background: var(--forest); color: var(--white); border-color: var(--forest); }

/* ---------- Stat row ---------- */
.stat-row { display: flex; gap: 48px; flex-wrap: wrap; }
.stat .num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--wheat);
}
.stat .label { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; opacity: 0.85; }

/* ---------- Footer ---------- */
footer { background: var(--forest-dark); color: rgba(255,253,248,0.72); padding: 60px 0 28px; }
footer h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 16px; font-family: var(--font-body); font-weight: 600; }
footer a { color: rgba(255,253,248,0.72); }
footer a:hover { color: var(--wheat); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; font-size: 0.9rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,253,248,0.14);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Whatsapp float ---------- */
.wa-float {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.22);
  z-index: 200;
  font-size: 1.6rem;
}
.wa-float:hover { transform: scale(1.06); }

/* ---------- Utility ---------- */
.center { text-align: center; margin-left: auto; margin-right: auto; }
.mt-40 { margin-top: 40px; }
.badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--wheat);
  color: var(--ink);
  padding: 5px 12px;
  border-radius: 3px;
  font-weight: 600;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-links { position: fixed; top: 68px; left: 0; right: 0; background: var(--cream);
    flex-direction: column; align-items: flex-start; padding: 20px 28px; gap: 18px;
    border-bottom: 1px solid var(--line); transform: translateY(-130%); transition: transform 0.25s ease; }
  .nav-links.open { transform: translateY(0); }
  .nav-toggle { display: flex; }
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
  .stat-row { gap: 28px; }
}
