/* ==========================================================================
   Nandanam Travels — stylesheet
   Mobile-first, no framework, no build step.
   Palette: deep teal-green + warm gold + off-white.
   ========================================================================== */

:root {
  /* Brand colours */
  --green-900: #06302c;
  --green-800: #0a423d;
  --green-700: #0d4f4a;
  --green-600: #12645d;
  --green-100: #e3efec;
  --gold-500:  #f5c04e;
  --gold-600:  #e0a92f;
  --gold-100:  #fdf3dc;

  /* Neutrals */
  --cream:     #faf7f1;
  --white:     #ffffff;
  --ink:       #1a2422;
  --ink-soft:  #4d5b58;
  --line:      #e2ded5;

  /* Utility */
  --wa:        #25d366;
  --wa-dark:   #1da851;
  --danger:    #b3261e;

  --radius:    14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(6, 48, 44, .06), 0 2px 8px rgba(6, 48, 44, .06);
  --shadow-md: 0 4px 12px rgba(6, 48, 44, .08), 0 12px 28px rgba(6, 48, 44, .08);
  --shadow-lg: 0 10px 24px rgba(6, 48, 44, .12), 0 24px 48px rgba(6, 48, 44, .10);

  --header-h:  68px;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

/* ------------------------------- Base ---------------------------------- */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img, svg, iframe { max-width: 100%; }
img { height: auto; display: block; }

h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: 2rem; }
h2 { font-size: 1.65rem; }
h3 { font-size: 1.18rem; }
p  { margin: 0 0 1em; }

a { color: var(--green-700); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--green-600); }

/* Visible focus for keyboard users everywhere */
:focus-visible {
  outline: 3px solid var(--gold-600);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--green-700);
  color: #fff;
  padding: 12px 18px;
  z-index: 200;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.wrap-narrow { max-width: 720px; }

/* Anchor targets clear the sticky header */
section[id], #top { scroll-margin-top: calc(var(--header-h) + 12px); }

/* ------------------------------ Buttons -------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;                 /* thumb-friendly tap target */
  padding: 13px 22px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn .ico { width: 20px; height: 20px; flex: none; }

.btn-primary { background: var(--green-700); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--green-600); color: #fff; box-shadow: var(--shadow-md); }

.btn-gold { background: var(--gold-500); color: var(--green-900); box-shadow: var(--shadow-sm); }
.btn-gold:hover { background: var(--gold-600); color: var(--green-900); box-shadow: var(--shadow-md); }

.btn-whatsapp { background: var(--wa); color: #06301b; box-shadow: var(--shadow-sm); }
.btn-whatsapp:hover { background: var(--wa-dark); color: #fff; box-shadow: var(--shadow-md); }

.btn-outline {
  background: transparent;
  color: var(--green-700);
  border-color: var(--green-700);
}
.btn-outline:hover { background: var(--green-700); color: #fff; }

.btn-ghost { background: transparent; color: var(--ink-soft); border-color: var(--line); }
.btn-ghost:hover { background: var(--white); color: var(--ink); }

.btn-sm  { min-height: 42px; padding: 9px 16px; font-size: .93rem; }
.btn-lg  { min-height: 56px; padding: 16px 28px; font-size: 1.05rem; }
.btn-block { display: flex; width: 100%; }

/* ------------------------------ Header --------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-weight: 800; font-size: 1.05rem; color: var(--green-800); letter-spacing: -.01em; }
.brand-tag { font-size: .72rem; color: var(--ink-soft); letter-spacing: .04em; text-transform: uppercase; }

.nav { display: none; }

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0 10px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  height: 2.5px;
  background: var(--green-800);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile menu panel */
.nav.open {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  padding: 10px 20px 20px;
}
.nav-list { list-style: none; margin: 0 0 14px; padding: 0; }
.nav-list a {
  display: block;
  padding: 14px 4px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.nav-list a:hover { color: var(--green-700); }
.nav-actions { display: flex; flex-direction: column; gap: 10px; }
.nav-actions .btn { width: 100%; min-height: 50px; font-size: 1rem; }

@media (min-width: 900px) {
  .hamburger { display: none; }
  .nav { display: flex; align-items: center; gap: 22px; }
  .nav-list { display: flex; gap: 6px; margin: 0; }
  .nav-list a { padding: 8px 12px; border: 0; border-radius: 10px; font-size: .95rem; }
  .nav-list a:hover { background: var(--green-100); }
  .nav-actions { flex-direction: row; gap: 8px; }
  .nav-actions .btn { width: auto; min-height: 42px; font-size: .93rem; }
}

/* -------------------------------- Hero --------------------------------- */

.hero {
  position: relative;
  isolation: isolate;
  color: #fff;
  padding: 60px 0 70px;
  overflow: hidden;
}
.hero::before {
  /* HERO BACKGROUND IMAGE — swap the url() below for your own photo,
     e.g. url("/images/hero-road.jpg"). Keep it under ~250 KB. */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("/images/hero-road.svg");
  background-size: cover;
  background-position: center 65%;
}
.hero::after {
  /* Dark overlay keeps text contrast accessible over any photo */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(6,48,44,.86) 0%, rgba(6,48,44,.72) 45%, rgba(6,48,44,.88) 100%);
}

.eyebrow {
  margin: 0 0 12px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--gold-500);
}
.eyebrow-dark { color: var(--green-600); }

.hero h1 { font-size: clamp(1.85rem, 6vw, 3.1rem); max-width: 16ch; margin-bottom: .35em; }
.hero-sub { max-width: 54ch; font-size: 1.05rem; color: rgba(255,255,255,.9); margin-bottom: 1.6em; }

.hero-cta { display: flex; flex-direction: column; gap: 12px; margin-bottom: 34px; }
@media (min-width: 560px) {
  .hero-cta { flex-direction: row; flex-wrap: wrap; }
  .hero-cta .btn { min-width: 210px; }
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.hero-points li {
  padding: 7px 15px;
  font-size: .86rem;
  font-weight: 600;
  color: #fff;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
}

@media (min-width: 768px) { .hero { padding: 90px 0 100px; } }

/* ------------------------------ Sections ------------------------------- */

.section { padding: 56px 0; }
.section-alt { background: var(--white); }
.section-book { background: linear-gradient(180deg, var(--green-100) 0%, var(--cream) 100%); }
@media (min-width: 768px) { .section { padding: 84px 0; } }

.section h2 { font-size: clamp(1.55rem, 4vw, 2.25rem); max-width: 20ch; }
.section-intro { max-width: 60ch; color: var(--ink-soft); font-size: 1.03rem; margin-bottom: 2em; }

/* ------------------------------- Cards --------------------------------- */

.cards { display: grid; gap: 20px; }
@media (min-width: 720px) { .cards { grid-template-columns: repeat(3, 1fr); } }

.card {
  display: flex;
  flex-direction: column;
  padding: 26px 24px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card p { color: var(--ink-soft); font-size: .97rem; flex: 1; }
.card .btn { margin-top: 8px; }

.card-icon,
.trust-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 16px;
  border-radius: 16px;
  background: var(--green-100);
  color: var(--green-700);
}
.card-icon svg, .trust-icon svg { width: 28px; height: 28px; }

/* -------------------------------- Fleet -------------------------------- */

.fleet { display: grid; gap: 28px; align-items: center; }
@media (min-width: 860px) { .fleet { grid-template-columns: 1.05fr 1fr; gap: 48px; } }

.fleet-media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  background: var(--green-100);
}

.spec-list { list-style: none; margin: 0 0 20px; padding: 0; border-top: 1px solid var(--line); }
.spec-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 2px;
  border-bottom: 1px solid var(--line);
  font-size: .96rem;
}
.spec-k { color: var(--ink-soft); }
.spec-v { font-weight: 700; text-align: right; }

.fleet-note {
  padding: 14px 16px;
  background: var(--gold-100);
  border-left: 4px solid var(--gold-500);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .93rem;
  color: var(--ink);
}

/* ------------------------------- Trust --------------------------------- */

.trust-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }

.trust h3 { font-size: 1.08rem; }
.trust p { color: var(--ink-soft); font-size: .95rem; margin: 0; }

/* ---------------------------- Booking form ----------------------------- */

.disclaimer {
  padding: 14px 18px;
  margin-bottom: 24px;
  background: var(--gold-100);
  border: 1px solid var(--gold-500);
  border-radius: var(--radius);
  font-size: .94rem;
  color: #4a3708;
}

.booking-form {
  padding: 24px 20px 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
@media (min-width: 620px) { .booking-form { padding: 34px 32px 36px; } }

.field { margin-bottom: 20px; }
.field-row { display: grid; gap: 0; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; gap: 0 18px; } }

.field label {
  display: block;
  margin-bottom: 7px;
  font-size: .92rem;
  font-weight: 700;
  color: var(--ink);
}
.req { color: var(--danger); }
.opt { font-weight: 400; color: var(--ink-soft); }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;                  /* comfortable on phones */
  padding: 13px 15px;
  font-family: inherit;
  font-size: 1rem;                   /* 16px+ stops iOS zoom-on-focus */
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .15s ease, box-shadow .15s ease;
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { min-height: 108px; resize: vertical; line-height: 1.5; }

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%234d5b58' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 22px;
  padding-right: 42px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green-600);
  box-shadow: 0 0 0 3px rgba(18, 100, 93, .18);
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible { outline: 3px solid var(--gold-600); outline-offset: 2px; }

.field input.invalid,
.field select.invalid,
.field textarea.invalid { border-color: var(--danger); }

.hint { margin: 6px 0 0; font-size: .84rem; color: var(--ink-soft); }
.err  { margin: 6px 0 0; font-size: .84rem; font-weight: 600; color: var(--danger); }

/* Honeypot — hidden from people, visible to bots */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

#submit-btn { margin-top: 6px; }
#submit-btn[disabled] { opacity: .65; cursor: progress; }

.form-foot { margin: 16px 0 0; text-align: center; font-size: .92rem; color: var(--ink-soft); }

/* --------------------------- Confirmation ------------------------------ */

.confirmation {
  padding: 30px 22px 26px;
  text-align: center;
  background: var(--white);
  border: 2px solid var(--wa);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
@media (min-width: 620px) { .confirmation { padding: 40px 36px 34px; } }

.confirm-tick {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
}
.confirm-tick svg { width: 34px; height: 34px; }

.confirmation h3 { font-size: 1.25rem; }
.confirmation > p { max-width: 46ch; margin: 0 auto 22px; color: var(--ink-soft); font-size: .98rem; }
.confirmation .btn + .btn { margin-top: 12px; }

.confirm-fallback { margin: 16px 0 0; font-size: .9rem; color: var(--ink-soft); }

/* ------------------------------ Contact -------------------------------- */

.contact-grid { display: grid; gap: 30px; }
@media (min-width: 880px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 44px; } }

.contact-list { list-style: none; margin: 0 0 26px; padding: 0; }
.contact-list li { padding: 13px 0; border-bottom: 1px solid var(--line); }
.ci-label {
  display: block;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 3px;
}
.ci-value { font-size: 1rem; color: var(--ink); }
a.ci-value { font-weight: 700; color: var(--green-700); }

.contact-actions { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 520px) { .contact-actions { flex-direction: row; } .contact-actions .btn { flex: 1; } }

.map-wrap {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  line-height: 0;
}
.map-wrap iframe { width: 100%; height: 340px; border: 0; }
@media (min-width: 880px) { .map-wrap iframe { height: 100%; min-height: 440px; } }

/* ------------------------------- Footer -------------------------------- */

.site-footer {
  padding: 46px 0 100px;             /* bottom padding clears the floating button */
  background: var(--green-900);
  color: rgba(255,255,255,.78);
  font-size: .94rem;
}
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--gold-500); text-decoration: underline; }

.footer-inner { display: grid; gap: 26px; }
@media (min-width: 700px) { .footer-inner { grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; } }

.footer-brand { font-size: 1.2rem; font-weight: 800; color: #fff; margin-bottom: .3em; }
.footer-h {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: .6em;
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.14);
}
.footer-note { color: rgba(255,255,255,.9); margin-bottom: .4em; }
.footer-copy { font-size: .84rem; color: rgba(255,255,255,.6); margin: 0; }

/* ------------------------ Floating WhatsApp button --------------------- */

.fab-whatsapp {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  color: #fff;
  background: var(--wa);
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(6, 48, 44, .28);
  transition: transform .18s ease, background-color .18s ease;
}
.fab-whatsapp svg { width: 34px; height: 34px; }
.fab-whatsapp:hover { background: var(--wa-dark); color: #fff; transform: scale(1.06); }
.fab-whatsapp:active { transform: scale(.96); }

@media (min-width: 900px) { .fab-whatsapp { right: 24px; bottom: 24px; } }

/* Respect users who ask for reduced transparency/motion in the header blur */
@supports not (backdrop-filter: blur(10px)) {
  .site-header { background: #fff; }
}
