/* ===================================================================
   Trip Tin Adventures — stylesheet
   Theme: earthy forest green + sunset orange + warm sand
   =================================================================== */

:root {
  --forest: #1f3d33;
  --forest-2: #2f5d4f;
  --moss: #7bb59a;
  --sunset: #e07b39;
  --sunset-2: #f2b45a;
  --sand: #f6f1e7;
  --sand-2: #efe7d6;
  --ink: #17241f;
  --muted: #5d6b64;
  --white: #ffffff;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 40px -18px rgba(20, 40, 30, 0.35);
  --shadow-sm: 0 8px 22px -12px rgba(20, 40, 30, 0.3);
  --max: 1160px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, sans-serif;
  color: var(--ink);
  background: var(--sand);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: "Fraunces", Georgia, serif; line-height: 1.12; font-weight: 600; }

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: 22px;
}
.container--narrow { max-width: 780px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  border-radius: 999px;
  padding: 12px 22px;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, color 0.25s;
  font-size: 0.95rem;
  white-space: nowrap;
}
.btn--primary { background: var(--sunset); color: #fff; box-shadow: 0 10px 24px -12px rgba(224, 123, 57, 0.9); }
.btn--primary:hover { background: #cf6c2e; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.6); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-2px); }
.btn--sm { padding: 9px 16px; font-size: 0.85rem; }
.btn--lg { padding: 15px 30px; font-size: 1.02rem; }

/* ---------- Brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; }
.brand__logo { height: 76px; width: auto; display: block; transition: height 0.3s; }
/* two versions: light logo over dark bg, dark logo over light bg */
.brand__logo--dark { display: none; }
.nav.scrolled .brand__logo--light { display: none; }
.nav.scrolled .brand__logo--dark { display: block; }
.nav.scrolled .brand__logo { height: 60px; }
/* JPG logo has a solid white background — round the corners so it blends on the light navbar */
.brand__logo--dark { border-radius: 12px; }

/* Footer uses the white transparent logo on the dark background */
.brand--footer .brand__logo { height: 84px; }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding: 16px 0;
  transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
}
.nav.scrolled {
  background: rgba(246, 241, 231, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  padding: 10px 0;
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; }
.nav .brand__name, .nav .brand { color: #fff; }
.nav.scrolled .brand__name, .nav.scrolled .brand { color: var(--ink); }
.nav.scrolled .brand__accent { color: var(--forest-2); }
.nav__links { display: flex; align-items: center; gap: 26px; }
.nav__links a { color: #fff; font-weight: 500; font-size: 0.95rem; transition: color 0.2s; }
.nav__links a:not(.btn):hover { color: var(--sunset-2); }
.nav.scrolled .nav__links a:not(.btn) { color: var(--ink); }
.nav.scrolled .nav__links a:not(.btn):hover { color: var(--sunset); }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav__toggle span { width: 24px; height: 2.5px; background: #fff; border-radius: 2px; transition: 0.3s; }
.nav.scrolled .nav__toggle span { background: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  color: #fff;
  background:
    radial-gradient(120% 90% at 80% 10%, rgba(224,123,57,0.35), transparent 55%),
    linear-gradient(160deg, #16302a 0%, #1f3d33 45%, #2f5d4f 100%);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(2px 2px at 20% 30%, rgba(255,255,255,.5), transparent),
    radial-gradient(1.5px 1.5px at 70% 20%, rgba(255,255,255,.4), transparent),
    radial-gradient(1.5px 1.5px at 40% 70%, rgba(255,255,255,.3), transparent),
    radial-gradient(2px 2px at 85% 60%, rgba(255,255,255,.4), transparent);
  opacity: 0.7;
}
.hero__content { position: relative; z-index: 2; padding-block: 120px 90px; max-width: 760px; }
.hero__eyebrow {
  text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.78rem;
  color: var(--sunset-2); font-weight: 600; margin-bottom: 20px;
}
.hero__title { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 700; letter-spacing: -0.02em; }
.hero__sub { font-size: clamp(1.02rem, 2vw, 1.22rem); margin-top: 22px; max-width: 560px; color: rgba(255,255,255,0.88); }
.hero__actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 40px; margin-top: 56px; flex-wrap: wrap; }
.hero__stats strong { display: block; font-family: "Fraunces", serif; font-size: 1.9rem; }
.hero__stats span { font-size: 0.86rem; color: rgba(255,255,255,0.75); }
.hero__scroll {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  z-index: 2; font-size: 0.82rem; letter-spacing: 0.1em; color: rgba(255,255,255,0.8);
  animation: bob 2.2s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 7px); } }

/* ---------- Sections ---------- */
.section { padding: 92px 0; }
.section--tint { background: var(--sand-2); }
.section__head { max-width: 680px; margin-bottom: 46px; }
.kicker {
  text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.76rem;
  font-weight: 700; color: var(--sunset); margin-bottom: 12px;
}
.section__head h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); letter-spacing: -0.02em; }
.section__lead { margin-top: 16px; color: var(--muted); font-size: 1.05rem; }

/* ---------- Why grid ---------- */
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why__card {
  background: var(--white); border-radius: var(--radius); padding: 30px 24px;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(31,61,51,0.06);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.why__card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.why__icon { font-size: 1.8rem; display: block; margin-bottom: 14px; }
.why__card h3 { font-size: 1.18rem; margin-bottom: 8px; }
.why__card p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Category cards ---------- */
.cat__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat__card {
  position: relative; min-height: 340px; border-radius: var(--radius); overflow: hidden;
  display: flex; align-items: flex-end; color: #fff;
  background-image: var(--img); background-size: cover; background-position: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.cat__card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.cat__body { padding: 24px; position: relative; z-index: 2; }
.cat__body h3 { font-size: 1.35rem; margin-bottom: 6px; }
.cat__body p { font-size: 0.92rem; color: rgba(255,255,255,0.88); margin-bottom: 12px; }
.cat__link { font-weight: 600; font-size: 0.9rem; color: var(--sunset-2); }

/* ---------- Trip cards ---------- */
.trip__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.trip__card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(31,61,51,0.06);
  display: flex; flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.trip__card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.trip__media { position: relative; height: 150px; }
.trip__tag {
  position: absolute; top: 12px; left: 12px; background: rgba(23,36,31,0.65);
  color: #fff; font-size: 0.72rem; font-weight: 600; padding: 5px 11px; border-radius: 999px;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.trip__price {
  position: absolute; bottom: 12px; right: 12px; background: var(--sunset);
  color: #fff; font-size: 0.8rem; font-weight: 700; padding: 5px 11px; border-radius: 999px;
}
.trip__body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.trip__meta { display: flex; justify-content: space-between; font-size: 0.78rem; color: var(--muted); gap: 8px; }
.trip__body h3 { font-size: 1.14rem; }
.trip__body p { font-size: 0.9rem; color: var(--muted); flex: 1; }
.trip__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.trip__date { font-size: 0.82rem; font-weight: 600; color: var(--forest-2); }
.trip__card { position: relative; }
.trip__link { position: absolute; inset: 0; z-index: 1; }
.trip__foot .btn { position: relative; z-index: 2; }
.trip__card--feature { outline: 2px solid var(--sunset); outline-offset: 0; }
.trip__flag {
  position: absolute; top: 12px; right: 12px; background: rgba(23,36,31,0.65);
  color: #fff; font-size: 0.72rem; font-weight: 600; padding: 5px 11px; border-radius: 999px;
}

/* ---------- Band quote ---------- */
.band {
  background: linear-gradient(135deg, var(--forest), var(--forest-2));
  color: #fff; padding: 64px 0; text-align: center;
}
.band__quote {
  font-family: "Fraunces", serif; font-size: clamp(1.4rem, 3.4vw, 2.2rem);
  font-weight: 500; max-width: 900px; margin-inline: auto; font-style: italic;
}

/* ---------- Stories ---------- */
.story__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.story__card {
  background: var(--white); border-radius: var(--radius); padding: 28px 26px;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(31,61,51,0.06);
  display: flex; flex-direction: column; gap: 16px;
}
.story__stars { color: var(--sunset-2); letter-spacing: 2px; }
.story__card blockquote { font-size: 1rem; color: #29332e; }
.story__card figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.story__avatar {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--moss), var(--forest-2)); color: #fff; font-weight: 700;
}
.story__card figcaption strong { display: block; font-size: 0.95rem; }
.story__card figcaption small { color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item { background: var(--white); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq__q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 18px 20px; font-size: 1.02rem; font-weight: 600; color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; font-family: inherit;
}
.faq__icon { font-size: 1.4rem; color: var(--sunset); transition: transform 0.3s var(--ease); font-weight: 400; }
.faq__item.open .faq__icon { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); }
.faq__a p { padding: 0 20px 18px; color: var(--muted); }

/* ---------- Join / newsletter ---------- */
.join { padding: 80px 0; background:
  radial-gradient(120% 120% at 100% 0%, rgba(224,123,57,0.4), transparent 55%),
  linear-gradient(135deg, #1f3d33, #2f5d4f); color: #fff; }
.join__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.join__text h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.join__text p { color: rgba(255,255,255,0.85); margin-top: 10px; max-width: 420px; }
.join__form { display: flex; gap: 10px; flex-wrap: wrap; position: relative; }
.join__form input {
  padding: 14px 18px; border-radius: 999px; border: 0; min-width: 260px;
  font-size: 0.98rem; font-family: inherit; outline: none;
}
.join__msg { flex-basis: 100%; font-size: 0.88rem; color: var(--sunset-2); min-height: 1em; }

/* ---------- Footer ---------- */
.footer { background: #142720; color: rgba(255,255,255,0.82); padding-top: 56px; }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 34px; padding-bottom: 40px; }
.footer .brand__name { color: #fff; }
.footer__brand p { margin-top: 14px; font-size: 0.92rem; max-width: 300px; color: rgba(255,255,255,0.65); }
.footer__col h4 { font-family: "Inter", sans-serif; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255,255,255,0.5); margin-bottom: 14px; }
.footer__col a { display: block; font-size: 0.93rem; padding: 5px 0; color: rgba(255,255,255,0.78); transition: color 0.2s; }
.footer__col a:hover { color: var(--sunset-2); }
.footer__bar { border-top: 1px solid rgba(255,255,255,0.1); padding: 18px 0; }
.footer__barinner { display: flex; justify-content: space-between; font-size: 0.82rem; color: rgba(255,255,255,0.55); flex-wrap: wrap; gap: 8px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .why__grid, .cat__grid, .trip__grid { grid-template-columns: repeat(2, 1fr); }
  .story__grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: absolute; top: 100%; right: 0; left: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: rgba(246,241,231,0.98); backdrop-filter: blur(10px);
    padding: 16px 22px 22px; box-shadow: var(--shadow-sm);
    clip-path: inset(0 0 100% 0); transition: clip-path 0.35s var(--ease); pointer-events: none;
  }
  .nav__links.open { clip-path: inset(0 0 0 0); pointer-events: auto; }
  .nav__links a:not(.btn) { color: var(--ink) !important; padding: 10px 4px; border-bottom: 1px solid rgba(31,61,51,0.08); }
  .nav__links .btn { margin-top: 8px; }
  .hero__stats { gap: 28px; }
  .section { padding: 66px 0; }
}
@media (max-width: 520px) {
  .why__grid, .cat__grid, .trip__grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .hero__actions .btn { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__scroll { animation: none; }
  html { scroll-behavior: auto; }
}
