/* =========================================================
   K1 OUTDOORS — SHARED STYLESHEET
   One stylesheet, reused across every page of the site.
   Brand colors pulled from the real K1 logo asset.
   ========================================================= */

:root {
  --teal: #5fa8a0;
  --teal-dark: #3f827b;
  --charcoal: #1c1c1e;
  --charcoal-soft: #2a2a2d;
  --cream: #fbf8f2;
  --white: #ffffff;
  --tan: #d9a97a;
  --ink: #2a2a2a;
  --muted: #5c5c5c;
  --border: #e4ded2;

  /* CTA orange/teal — the one color nothing else on the site uses. */
  --cta: #5fa8a0;
  --cta-dark: #3f827b;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-card: 0 12px 30px rgba(28, 28, 30, 0.10);
  --shadow-lifted: 0 20px 48px rgba(28, 28, 30, 0.16);

  --font-display: 'Fredoka', sans-serif;
  --font-body: 'Inter', sans-serif;
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0 0 0.5em; line-height: 1.18; }
p { margin: 0 0 1em; color: var(--muted); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }

.wrap { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-texture {
  background-color: var(--white);
  background-image:
    radial-gradient(circle, rgba(63,130,123,0.07) 1.4px, transparent 1.4px);
  background-size: 22px 22px;
}
.section--tight { padding: 52px 0; }
.center { text-align: center; }
.eyebrow {
  display: inline-block; font-weight: 700; color: var(--teal-dark);
  letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.82rem; margin-bottom: 12px;
}
.lede { max-width: 620px; font-size: 1.08rem; }
.lede.center { margin-left: auto; margin-right: auto; }

.k1-flag {
  display: inline-block; background: #fff3cd; color: #7a5a00;
  border: 1px dashed #d8b64b; border-radius: 6px; padding: 1px 8px;
  font-size: 0.76rem; font-weight: 600;
}
.why-photo {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lifted);
  height: 460px;
}
.why-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font-weight: 700; font-family: var(--font-body);
  padding: 14px 30px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform 0.15s ease, background 0.15s ease;
  text-align: center; font-size: 1rem;
}
.btn:hover { transform: translateY(-2px); }
.btn-book {
  background: var(--cta); color: var(--white);
  box-shadow: 0 10px 24px rgba(224, 123, 42, 0.38);
}
.btn-book:hover { background: var(--cta-dark); }
.btn-book-sm { padding: 9px 20px; font-size: 0.9rem; }
.btn-book-lg { padding: 18px 40px; font-size: 1.1rem; }
.text-link { color: var(--teal-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.btn-outline {
  background: transparent; color: var(--teal-dark); border-color: var(--teal-dark);
}
.btn-outline:hover { background: var(--teal-dark); color: var(--white); }

/* ---------- Promo caution-tape banner ---------- */
.caution-banner {
  display: block; position: relative; z-index: 90; overflow: hidden;
  background: repeating-linear-gradient(
    -45deg, #f4c800, #f4c800 28px, #1c1c1e 28px, #1c1c1e 56px
  );
  padding: 10px 16px; text-align: center; text-decoration: none;
}
.caution-banner span {
  display: inline-block; background: var(--charcoal); color: #f4c800;
  font-family: var(--font-display); font-weight: 600; letter-spacing: 0.02em;
  font-size: 0.95rem; padding: 6px 18px; border-radius: 999px;
}
.caution-banner:hover span { background: #000; }
@media (max-width: 560px) {
  .caution-banner span { font-size: 0.8rem; padding: 6px 12px; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 80;
  background: rgba(251, 248, 242, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; gap: 16px; }
.logo img { height: 48px; width: auto; display: block; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.nav-links { display: flex; gap: 26px; }
.nav-links a { font-weight: 600; font-size: 0.96rem; color: var(--ink); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--teal-dark); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 44px; height: 44px; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 22px; height: 2px; background: var(--charcoal); position: relative;
}
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }

/* ---------- Hero ---------- */
.hero-text {
  background: var(--cream); padding: 56px 0;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero-copy { text-align: left; }
.hero-text h1 { font-size: clamp(2rem, 3.6vw, 2.9rem); text-wrap: balance; color: var(--charcoal); }
.hero-sub { font-size: 1.1rem; color: var(--ink); max-width: 480px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 10px; }
.hero-photo-banner { line-height: 0; }
.hero-photo-banner img {
  width: 100%; height: 420px; object-fit: cover; object-position: center 65%;
  display: block; border-radius: var(--radius-lg); box-shadow: var(--shadow-lifted);
}

/* Page hero (non-homepage): shorter, simpler */
.page-hero {
  background: linear-gradient(160deg, var(--charcoal) 0%, #17332f 100%);
  color: var(--white); padding: 64px 0 48px;
}
.page-hero h1 { font-size: clamp(1.9rem, 4.4vw, 2.8rem); }
.page-hero p { color: rgba(255,255,255,0.82); max-width: 560px; }

/* ---------- Mission statement band ---------- */
.mission-band {
  background: #1a433c; padding: 90px 0; position: relative; text-align: center;
}
.mission-band h2 {
  color: var(--white); font-size: clamp(2rem, 5vw, 3.2rem); max-width: 820px; margin: 0 auto;
  text-wrap: balance;
}

/* ---------- Credibility strip ---------- */
.credibility { background: var(--charcoal); padding: 28px 0; position: relative; }
.credibility-row {
  display: flex; align-items: center; justify-content: center; gap: 36px; flex-wrap: wrap; text-align: center;
}
.credibility-item p { margin: 0; color: rgba(255,255,255,0.85); font-size: 0.95rem; }
.credibility-item strong { color: var(--white); }
.credibility-link { display: block; text-align: center; transition: opacity 0.15s ease; }
.credibility-link:hover { opacity: 0.8; }
.credibility-stars { color: #00b67a; font-size: 1.3rem; letter-spacing: 2px; margin-bottom: 2px; }
.credibility-stat { font-family: var(--font-display); font-size: 1.8rem; color: var(--tan); margin-bottom: 0 !important; line-height: 1; }
.credibility-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.2); }
@media (max-width: 560px) {
  .credibility-divider { display: none; }
}

/* ---------- Steps (How it works) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 44px; }
.step { text-align: center; }
.step-icon {
  width: 64px; height: 64px; border-radius: 50%; background: var(--teal); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-size: 1.6rem;
  margin: 0 auto 16px;
}
.step h3 { font-size: 1.1rem; }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 44px; }
.card {
  background: var(--white); border-radius: var(--radius-md); overflow: hidden;
  box-shadow: var(--shadow-card); border: 1px solid var(--border);
  display: flex; flex-direction: column;
}
.card img { width: 100%; height: 160px; object-fit: cover; }
.card-body { padding: 20px 20px 24px; display: flex; flex-direction: column; gap: 8px; flex-grow: 1; }
.card-body h3 { font-size: 1.05rem; margin-bottom: 0; }
.card-body p { font-size: 0.92rem; margin-bottom: 0; flex-grow: 1; }

/* ---------- Service blocks (services.html) ---------- */
.service-block { padding: 56px 0; border-bottom: 1px solid var(--border); }
.service-block:last-of-type { border-bottom: none; }
.service-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.service-grid.reverse .service-photo { order: 2; }
.service-photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lifted); }
.service-photo img { width: 100%; height: 340px; object-fit: cover; }
.service-copy h2 { font-size: clamp(1.5rem, 3vw, 2rem); }

/* ---------- Included list ---------- */
.included-list {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 28px; margin-top: 24px;
}
.included-list li { position: relative; padding-left: 26px; font-weight: 600; }
.included-list li::before { content: "✓"; position: absolute; left: 0; color: var(--teal-dark); font-weight: 700; }

/* ---------- Gallery ---------- */
.gallery-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 32px 0; }
.filter-btn {
  padding: 8px 18px; border-radius: 999px; border: 1.5px solid var(--border);
  background: var(--white); font-weight: 600; font-size: 0.88rem; cursor: pointer;
}
.filter-btn.active { background: var(--teal); border-color: var(--teal); color: var(--white); }
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.photo-item { position: relative; border-radius: var(--radius-md); overflow: hidden; cursor: pointer; box-shadow: var(--shadow-card); }
.photo-item img { width: 100%; height: 260px; object-fit: cover; transition: transform 0.3s ease; }
.photo-item:hover img { transform: scale(1.04); }
.photo-caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 14px;
  font-size: 0.85rem; font-weight: 600; color: var(--white);
  background: linear-gradient(0deg, rgba(0,0,0,0.75), transparent);
}
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: rgba(10,10,10,0.92); align-items: center; justify-content: center; padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 84vh; border-radius: var(--radius-md); }
.lightbox-caption { color: var(--white); text-align: center; margin-top: 14px; font-size: 0.95rem; }
.lightbox-close {
  position: absolute; top: 20px; right: 28px; color: var(--white); font-size: 2rem;
  background: none; border: none; cursor: pointer; line-height: 1;
}

/* ---------- Gallery viewer (featured photo + thumbnail strip) ---------- */
.gallery-main {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lifted);
}
.gallery-main img { width: 100%; height: 520px; object-fit: cover; display: block; }
.gallery-main-caption { text-align: center; margin: 14px 0 0; font-weight: 600; color: var(--ink); }
.gallery-thumbs {
  display: flex; gap: 12px; margin-top: 20px; overflow-x: auto; padding-bottom: 6px;
}
.gallery-thumb {
  flex: 0 0 auto; width: 92px; height: 68px; padding: 0; border-radius: var(--radius-sm);
  overflow: hidden; border: 2px solid transparent; cursor: pointer; background: none; opacity: 0.65;
  transition: opacity 0.15s ease, border-color 0.15s ease;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-thumb:hover { opacity: 0.9; }
.gallery-thumb.active { opacity: 1; border-color: var(--teal-dark); }

/* ---------- Map ---------- */
.map-frame {
  border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-card);
  border: 1px solid var(--border); position: relative; width: 100%; padding-top: 56%;
}
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-frame-static { padding-top: 0; }
.map-frame-static img { display: block; width: 100%; height: auto; border-radius: var(--radius-md); }

/* ---------- Section blends (soft transitions instead of hard edges) ---------- */
.section-blend {
  height: 72px; margin: -36px 0; position: relative; pointer-events: none;
}
.blend-cream-white { background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%); }
.blend-white-cream { background: linear-gradient(180deg, var(--white) 0%, var(--cream) 100%); }

/* Wave dividers: used where the color jump is too high-contrast for a flat gradient (e.g. into/out of dark sections) */
.wave-divider { position: absolute; left: 0; right: 0; width: 100%; height: 60px; display: block; pointer-events: none; fill: var(--charcoal); }
.wave-divider-top { bottom: 100%; }
.wave-divider-bottom { top: 100%; fill: var(--cream); }
.credibility-google { display: flex; align-items: center; gap: 6px; justify-content: center; margin-bottom: 2px; }

/* ---------- Partners marquee ---------- */
.partners-track-wrap {
  margin-top: 28px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.partners-track {
  display: flex; align-items: center; gap: 48px; width: max-content;
  animation: partners-scroll 22s linear infinite;
}
.partners-track-wrap:hover .partners-track { animation-play-state: paused; }
.partner-logo {
  display: flex; align-items: center; justify-content: center;
  width: 160px; height: 72px; flex-shrink: 0;
  background: var(--white); border: 1px dashed var(--border); border-radius: var(--radius-md);
  color: var(--ink); font-weight: 600; font-size: 0.9rem;
}
@keyframes partners-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- FAQ ---------- */
.faq-list { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--cream);
  padding: 18px 22px;
}
.faq-item summary {
  cursor: pointer; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
  color: var(--charcoal); list-style: none; display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 1.4rem; line-height: 1; color: var(--teal-dark); flex-shrink: 0; transition: transform 0.15s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { margin-top: 14px; font-size: 0.98rem; }
.faq-answer p { margin-bottom: 14px; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-photo {
  display: block; width: 100%; max-width: 420px; border-radius: var(--radius-md);
  box-shadow: var(--shadow-card); border: 1px solid var(--border);
}

/* ---------- Why K1 / values ---------- */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-top: 20px; }
.why-list li { position: relative; padding-left: 30px; margin-bottom: 18px; font-weight: 600; font-size: 1.02rem; }
.why-list li::before { content: "✓"; position: absolute; left: 0; color: var(--teal-dark); font-weight: 700; }
/* ---------- About page ---------- */
.founder-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; }
.founder-photo {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lifted);
  aspect-ratio: 4/5; background: var(--charcoal-soft);
  display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.7);
  text-align: center; padding: 24px; font-size: 0.9rem;
}
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.value-card { background: var(--white); border-radius: var(--radius-md); padding: 28px 24px; box-shadow: var(--shadow-card); text-align: center; }
.value-card .icon { font-size: 2rem; display: block; margin-bottom: 10px; }

/* ---------- Book page ---------- */
.book-frame {
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lifted);
  border: 1px solid var(--border); padding: 28px; min-height: 640px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 16px;
}
.book-frame iframe { width: 100%; height: 640px; border: 0; border-radius: var(--radius-md); }

/* ---------- Final CTA band ---------- */
.final-cta {
  background: #1a433c;
  color: var(--white); text-align: center; position: relative;
}
.final-cta h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); }
.final-cta p { color: rgba(255,255,255,0.8); max-width: 480px; margin: 0 auto 28px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: rgba(255,255,255,0.68); padding: 48px 0 28px; position: relative; }
.footer-treeline {
  position: absolute; left: 0; right: 0; bottom: 100%;
  width: 100%; height: 90px; display: block; fill: var(--charcoal); pointer-events: none;
}
.footer-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 32px; margin-bottom: 28px; }
.footer-brand { max-width: 320px; }
.footer-brand img { height: 42px; margin-bottom: 10px; background: var(--white); border-radius: 8px; padding: 3px 8px; }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.9rem; margin-bottom: 6px; }
.footer-contact { display: flex; flex-direction: column; gap: 8px; font-size: 0.92rem; }
.footer-contact a { color: rgba(255,255,255,0.82); }
.footer-contact a:hover { color: var(--white); }
.footer-social { display: flex; gap: 14px; margin-top: 10px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.3);
  display: flex; align-items: center; justify-content: center; font-size: 0.95rem;
}
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 0.8rem; color: rgba(255,255,255,0.45); border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px;
}

/* ---------- Sticky mobile Call Now ---------- */
.sticky-book {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: var(--white); border-top: 1px solid var(--border);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -8px 20px rgba(0,0,0,0.1);
}
.sticky-book .btn { display: block; width: 100%; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid, .service-grid.reverse { grid-template-columns: 1fr; gap: 24px; }
  .service-grid.reverse .service-photo { order: 0; }
  .included-list { grid-template-columns: 1fr 1fr; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .why-list li { text-align: left; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-copy { text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .hero-photo-banner img { height: 300px; }
  .founder-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .sticky-book { display: block; }
  body { padding-bottom: 66px; }
}
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream); padding: 16px 24px 20px; gap: 14px; border-bottom: 1px solid var(--border);
  }
  .nav-toggle { display: flex; }
}
@media (max-width: 560px) {
  .section { padding: 52px 0; }
  .hero-text { padding: 44px 0 32px; }
  .hero-ctas .btn { width: 100%; }
  .card-grid { grid-template-columns: 1fr; }
  .included-list { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: 1fr; }
  .gallery-main img { height: 300px; }
  .footer-bottom { flex-direction: column; }
}

/* ---------- Contact page ---------- */
.contact-list { list-style: none; margin: 18px 0 0; padding: 0; }
.contact-list li { margin-bottom: 14px; font-size: 1.02rem; }

/* ---------- Tent spec page ---------- */
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.spec-card {
  background: var(--cream); border-radius: var(--radius-md); padding: 24px;
  text-align: center; border: 1px solid var(--border);
}
.spec-card .spec-value { font-family: var(--font-display); font-size: 1.5rem; color: var(--teal-dark); margin-bottom: 4px; }
.spec-card .spec-label { font-size: 0.9rem; color: var(--muted); }
@media (max-width: 700px) {
  .spec-grid { grid-template-columns: 1fr 1fr; }
}
