/* Costa Rica Adventures — Bold Expedition */

@font-face {
  font-family: 'Jungle Ranger';
  src: url('../fonts/JungleRanger.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --jungle: #012B2A;
  --jungle-surface: #063A39;
  --jungle-border: #134948;
  --teal: #266A6A;
  --teal-light: #8FD0C6;
  --orange: #F9810D;
  --dandelion: #FFB242;
  --carnelian: #AD0417;
  --cream: #FDFBF7;
  --ink-on-dark: #F8FAF9;
  --muted-on-dark: #96B8B7;
  --soft-on-teal: #DDEBE9;
  --display: 'Jungle Ranger', 'Arial Black', sans-serif;
  --body: 'Archivo', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--jungle);
  color: var(--ink-on-dark);
  font-family: var(--body);
  line-height: 1.55;
}

img { max-width: 100%; }

a { color: var(--dandelion); text-decoration: none; }
a:hover { color: var(--orange); }

.container { max-width: 1312px; margin: 0 auto; padding: 0 24px; }

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

.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 20;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-on-dark);
}

.brand img {
  width: 50px; height: 50px;
  border-radius: 50%;
  display: block;
  box-shadow: 0 4px 16px rgba(1, 43, 42, 0.35);
}

.brand span {
  font-family: var(--display);
  font-size: 19px;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 10px rgba(1, 43, 42, 0.4);
}

.site-nav { display: flex; align-items: center; gap: 32px; }

.site-nav a {
  color: var(--ink-on-dark);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.9;
  padding: 10px 0;
}

.site-nav a:hover { opacity: 1; color: var(--dandelion); }

.btn {
  display: inline-block;
  border-radius: 8px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
}

.btn-book {
  background: var(--dandelion);
  color: var(--jungle);
  font-size: 14px;
  padding: 14px 26px;
}

.btn-book:hover { background: var(--orange); color: var(--cream); }

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
}

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

.hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(1, 43, 42, 0.55) 0%,
    rgba(1, 43, 42, 0.12) 30%,
    rgba(1, 43, 42, 0.18) 62%,
    #012B2A 100%);
}

.hero .container {
  position: relative;
  padding-top: 180px;
  padding-bottom: 90px;
  max-width: 1312px;
  width: 100%;
}

.eyebrow {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--dandelion);
  text-shadow: 0 2px 8px rgba(1, 43, 42, 0.5);
  margin: 0 0 22px;
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(64px, 9vw, 116px);
  line-height: 0.98;
  margin: 0;
  font-weight: normal;
  text-shadow: 0 6px 30px rgba(1, 43, 42, 0.45);
}

.hero h1 .accent { color: var(--dandelion); }

.hero-sub {
  font-size: 20px;
  font-weight: 500;
  max-width: 560px;
  margin: 26px 0 38px;
  text-shadow: 0 2px 12px rgba(1, 43, 42, 0.5);
}

.hero-ctas { display: flex; gap: 18px; flex-wrap: wrap; }

.btn-primary {
  background: var(--orange);
  color: var(--cream);
  font-size: 17px;
  padding: 20px 44px;
  box-shadow: 0 12px 32px rgba(1, 43, 42, 0.35);
}

.btn-primary:hover { background: var(--dandelion); color: var(--jungle); }

.btn-ghost {
  border: 2px solid var(--ink-on-dark);
  color: var(--ink-on-dark);
  font-size: 17px;
  padding: 18px 36px;
}

.btn-ghost:hover { background: rgba(248, 250, 249, 0.12); color: var(--ink-on-dark); }

/* ---------- Badge strip ---------- */

.badges { padding: 44px 0 0; }

.badges .container {
  display: flex;
  justify-content: center;
  gap: 20px 56px;
  flex-wrap: wrap;
}

.badge {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
}

.badge svg { flex-shrink: 0; }

/* ---------- Tours ---------- */

.tours { padding: 104px 0 40px; }

.section-head { text-align: center; margin-bottom: 60px; }

.section-head h2 {
  font-family: var(--display);
  font-size: clamp(36px, 5vw, 58px);
  font-weight: normal;
  line-height: 1.08;
  margin: 0;
}

.section-head h2 .accent { color: var(--orange); }

.section-head p { font-size: 17px; color: var(--muted-on-dark); margin: 16px 0 0; }

.tour-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.tour-card {
  background: var(--jungle-surface);
  border: 1px solid var(--jungle-border);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.tour-card > img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}

.tour-body {
  padding: 26px 26px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--jungle);
  background: var(--dandelion);
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 14px;
}

.tag-hot { background: var(--carnelian); color: var(--cream); }
.tag-cool { background: var(--teal-light); }

.tour-body h3 {
  font-family: var(--display);
  font-size: 26px;
  font-weight: normal;
  margin: 0 0 8px;
}

.tour-body p {
  font-size: 14px;
  color: var(--muted-on-dark);
  margin: 0 0 18px;
}

.tour-foot {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.tour-meta { font-size: 13px; color: var(--muted-on-dark); }
.tour-meta strong { color: var(--dandelion); font-weight: 700; }

.btn-card {
  background: var(--orange);
  color: var(--cream);
  font-size: 13px;
  padding: 12px 22px;
  border-radius: 6px;
}

.btn-card:hover { background: var(--dandelion); color: var(--jungle); }

.btn-card-ghost {
  border: 2px solid var(--orange);
  color: var(--orange);
  background: none;
  padding: 10px 20px;
}

.btn-card-ghost:hover { color: var(--dandelion); border-color: var(--dandelion); background: none; }

/* ---------- Why us ---------- */

.why { padding: 72px 0; }

.why .container {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.why-card {
  background: var(--teal);
  border-radius: 14px;
  padding: 34px 32px;
}

.why-card h3 {
  font-family: var(--display);
  font-size: 21px;
  font-weight: normal;
  margin: 16px 0 10px;
}

.why-card p { font-size: 14px; color: var(--soft-on-teal); margin: 0; }

/* ---------- Ocean banner ---------- */

.banner { padding: 40px 0 90px; }

.banner-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-frame > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

.banner-inner {
  position: relative;
  text-align: center;
  padding: 60px 24px;
  background: rgba(1, 43, 42, 0.25);
  width: 100%;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.banner-inner h2 {
  font-family: var(--display);
  font-size: clamp(26px, 4vw, 40px);
  font-weight: normal;
  margin: 0;
  text-shadow: 0 4px 20px rgba(1, 43, 42, 0.6);
}

.banner-inner p {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dandelion);
  margin: 0;
}

/* ---------- Book / contact ---------- */

.book { background: var(--orange); padding: 96px 0; text-align: center; color: var(--jungle); }

.book h2 {
  font-family: var(--display);
  font-size: clamp(42px, 6vw, 64px);
  font-weight: normal;
  line-height: 1.05;
  margin: 0;
}

.book > .container > p {
  font-size: 17px;
  font-weight: 600;
  margin: 22px auto 40px;
  max-width: 560px;
  opacity: 0.85;
}

.book-actions {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.btn-dark {
  background: var(--jungle);
  color: var(--dandelion);
  font-size: 17px;
  padding: 21px 44px;
}

.btn-dark:hover { color: var(--cream); }

.btn-dark-ghost {
  border: 2px solid var(--jungle);
  color: var(--jungle);
  font-size: 17px;
  padding: 19px 40px;
}

.btn-dark-ghost:hover { background: var(--jungle); color: var(--dandelion); }

.book-note { font-size: 14px; font-weight: 600; margin-top: 26px; opacity: 0.75; }

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

.site-footer { padding: 64px 0; }

.site-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.site-footer .brand img { width: 46px; height: 46px; box-shadow: none; }
.site-footer .brand span { font-size: 17px; text-shadow: none; }

.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links a { color: var(--muted-on-dark); }
.footer-links a:hover { color: var(--dandelion); }

.footer-note { font-size: 13px; color: var(--muted-on-dark); }

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .tour-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why .container { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .site-header .container { height: 68px; }
  .brand img { width: 40px; height: 40px; }
  .brand span { font-size: 14px; }

  .site-nav {
    display: none;
    position: absolute;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--jungle);
    border-bottom: 1px solid var(--jungle-border);
    padding: 8px 24px 16px;
  }

  .site-nav.open { display: flex; }

  .site-nav a { padding: 14px 0; font-size: 15px; }
  .site-nav .btn-book { margin-top: 8px; padding: 16px; }

  .menu-toggle { display: block; }

  .hero { min-height: 640px; }
  .hero .container { padding-top: 150px; padding-bottom: 64px; }
  .hero-sub { font-size: 16px; }

  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; padding-left: 0; padding-right: 0; }

  .badges .container { gap: 14px 28px; }

  .tours { padding: 72px 0 24px; }
  .tour-grid { grid-template-columns: 1fr; gap: 22px; }
  .tour-card > img { height: 195px; }

  .why { padding: 56px 0; }
  .banner { padding: 16px 0 64px; }
  .banner-frame, .banner-inner { min-height: 320px; }

  .book { padding: 64px 0; }
  .book-actions { flex-direction: column; align-items: stretch; }

  .site-footer .container { flex-direction: column; text-align: center; justify-content: center; }
  .footer-links { justify-content: center; }
}
