/* Fiskekart — landing page. Refined Norwegian outdoor; the data sells the product. */

:root {
  --natt: #1B3A4B;
  --fjord: #2D5F7A;
  --grad: linear-gradient(135deg, #1B3A4B 0%, #2D5F7A 100%);
  --accent: #60A5FA;
  --gull: #D97706;
  --skog: #16A34A;
  --blue: #2563EB;
  --gray: #78716C;

  --bg: #FAFAF7;
  --text: #1C1917;
  --text-2: #78716C;
  --text-muted: #A8A29E;
  --section-head: #8C8780;
  --border: #E5E2DB;

  --font: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --display: 'Fraunces', Georgia, 'Times New Roman', serif;

  --maxw: 1100px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  overflow-x: hidden;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin: 0 0 14px;
  font-weight: 500;
}

.section-head {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--section-head);
  text-align: center;
  margin: 0 0 24px;
  font-weight: 500;
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.btn i { font-size: 1.1em; }

.btn-primary {
  background: #fff;
  color: var(--natt);
  border-radius: 10px;
  padding: 14px 32px;
  font-size: 15px;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,0,0,.25); }

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 10px;
  padding: 14px 32px;
  font-size: 15px;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.06); }

.btn-dark {
  background: var(--natt);
  color: #fff;
  border-radius: 10px;
  padding: 16px 40px;
  font-size: 16px;
}
.btn-dark:hover { transform: translateY(-1px); background: #234a5f; box-shadow: 0 8px 22px rgba(27,58,75,.3); }

/* ---------------- Nav ---------------- */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 60px;
  background: var(--natt);
  z-index: 1000;
  transition: box-shadow .2s ease;
}
#nav.scrolled { box-shadow: 0 2px 16px rgba(0,0,0,.25); }

.nav-inner {
  max-width: var(--maxw);
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.5px;
}
.brand i { color: var(--accent); font-size: 22px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color .15s ease;
}
.nav-links a:hover { color: #fff; }
.nav-cta {
  background: #fff;
  color: var(--natt) !important;
  border-radius: 8px;
  padding: 8px 20px;
  font-weight: 500;
  transition: transform .15s ease, box-shadow .15s ease;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0,0,0,.2); }

.nav-burger {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

/* ---------------- Hero — full-bleed map ---------------- */
.hero {
  position: relative;
  height: 85vh;
  min-height: 520px;
  overflow: hidden;
}
.hero-bg, .hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(27,58,75,0.82) 0%,
    rgba(27,58,75,0.7) 25%,
    rgba(27,58,75,0.45) 50%,
    rgba(27,58,75,0.16) 65%,
    transparent 80%);
}
.hero-content {
  position: absolute;
  top: 50%;
  left: 5%;
  transform: translateY(-50%);
  max-width: 480px;
  z-index: 2;
}
.hero-content .eyebrow {
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(0,0,0,0.45);
}
.hero-content h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: #fff;
  margin: 0 0 20px;
}
.hero-sub {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255,255,255,0.7);
  margin: 0 0 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* staggered entrance */
.hero-anim { opacity: 0; transform: translateY(16px); animation: heroIn .4s ease-out forwards; }
.hero-content .eyebrow.hero-anim { animation-delay: .10s; }
.hero-content h1.hero-anim       { animation-delay: .20s; }
.hero-content .hero-sub.hero-anim{ animation-delay: .30s; }
.hero-actions.hero-anim          { animation-delay: .40s; }
@keyframes heroIn {
  to { opacity: 1; transform: none; }
}

/* ---------------- Stats bar ---------------- */
.stats {
  background: var(--bg);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  z-index: 2;
}
.stat {
  text-align: center;
  padding: 28px 16px;
  border-left: 1px solid var(--border);
}
.stat:first-child { border-left: none; }
.stat-num {
  font-size: 28px;
  font-weight: 500;
  color: var(--natt);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-size: 11px;
  color: var(--text-2);
  margin-top: 8px;
}

/* ---------------- Slik leser du kartet (reveal) ---------------- */
.reveal-section {
  background: var(--bg);
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 48px 24px;
}
/* image first; height-capped so the image + legend fit in one viewport */
.product-shot {
  display: flex;
  justify-content: center;
}
.reveal-section .section-head { margin: 36px 0 18px; }
.dot-legend-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 0;
}
.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  color: #57534E;
}
.legend-item strong { font-weight: 500; }
.dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 1.5px solid #fff;
  box-shadow: 0 0 0 0.5px rgba(0,0,0,.12);
  flex: none;
}
.dot-gray  { background: var(--gray); }
.dot-blue  { background: var(--blue); }
.dot-green { background: var(--skog); }
.dot-gold  {
  width: 14px; height: 14px;
  background: var(--gull);
  border-width: 2px;
  box-shadow: 0 0 0 0.5px rgba(0,0,0,.12), 0 0 10px rgba(217,119,6,.55);
}
.product-shot-frame { position: relative; display: inline-block; line-height: 0; }
.product-shot-frame picture img {
  max-height: 68vh;
  width: auto;
  max-width: calc(100vw - 96px);
  height: auto;
  border-radius: 12px;
  border: 0.5px solid var(--border);
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
.filter-overlay {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 180px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  border: 1px solid rgba(255,255,255,0.8);
}

/* ---------------- Features ---------------- */
#features { background: var(--bg); }
.feature {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}
.feature-reverse .feature-text { order: 2; }
.feature-reverse .feature-media { order: 1; }
.feature-top { align-items: flex-start; }

.feature-text h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.5px;
  color: var(--natt);
  margin: 0 0 16px;
  line-height: 1.15;
}
.feature-text p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-2);
  max-width: 420px;
  margin: 0;
}
.highlights {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 420px;
}
.highlights li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text);
}
.highlights i {
  font-size: 20px;
  color: var(--gull);
  flex: none;
}

.shot {
  border-radius: 12px;
  border: 0.5px solid var(--border);
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  width: 100%;
  height: auto;
}
.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--border);
  color: var(--text-2);
  font-size: 14px;
  width: 100%;
}
.feature-media-pair {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.feature-media-pair .shot { width: 50%; }

/* ---------------- Philosophy card ---------------- */
.philosophy {
  background: var(--bg);
  padding: 40px 24px 20px;
  display: flex;
  justify-content: center;
}
.philo-card {
  max-width: 700px;
  width: 100%;
  background: #fff;
  border: 0.5px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.philo-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.philo-head i { font-size: 24px; color: var(--natt); }
.philo-head h2 {
  font-size: 20px;
  font-weight: 500;
  color: var(--natt);
  margin: 0;
  font-family: var(--font);
}
.philo-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-2);
  margin: 0 0 20px;
}
.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge {
  background: #F5F0E8;
  color: #57534E;
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 12px;
}

/* ---------------- Final CTA ---------------- */
.final-cta {
  background: var(--bg);
  text-align: center;
  padding: 60px 24px;
}
.final-cta h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 28px;
  color: var(--natt);
  margin: 0 0 28px;
}

/* ---------------- Footer ---------------- */
footer {
  background: var(--natt);
  padding: 32px 24px;
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  text-align: right;
}
.footer-meta span { font-size: 12px; color: rgba(255,255,255,0.4); }
.footer-attr { font-size: 11px !important; color: rgba(255,255,255,0.3) !important; }

/* ---------------- Reveal animation ---------------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease-out, transform .6s ease-out;
}
.reveal.in { opacity: 1; transform: none; }
/* stagger children of the reveal section (image first) */
.product-shot.reveal { transition-delay: 0s; }
.section-head.reveal { transition-delay: .1s; }
.dot-legend-row.reveal { transition-delay: .2s; }

/* ---------------- Responsive ---------------- */
@media (max-width: 1024px) {
  .hero { height: 70vh; }
  .feature {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }
  .feature-text { order: 1 !important; }
  .feature-media { order: 2 !important; }
  .feature-text p { max-width: none; margin-left: auto; margin-right: auto; }
  .highlights { width: fit-content; max-width: none; margin: 24px auto 0; text-align: left; }
  .feature-media-pair { justify-content: center; }
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 60px; left: 0; right: 0;
    background: var(--natt);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0;
    box-shadow: 0 12px 24px rgba(0,0,0,.3);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 24px; font-size: 15px; }
  .nav-cta { margin: 8px 24px; text-align: center; }
  .nav-burger { display: block; }

  .hero { height: 60vh; min-height: 420px; }
  .hero-content { left: 0; right: 0; padding: 0 20px; max-width: none; }
  .hero-content h1 { font-size: 30px; }
  .hero-overlay {
    background: linear-gradient(90deg,
      rgba(27,58,75,0.9) 0%,
      rgba(27,58,75,0.78) 45%,
      rgba(27,58,75,0.48) 80%,
      rgba(27,58,75,0.26) 100%);
  }

  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(odd) { border-left: none; }
  .stat:nth-child(3), .stat:nth-child(4) { border-top: 1px solid var(--border); }

  .reveal-section { padding: 40px 20px; }
  .product-shot-frame picture img { max-height: none; max-width: calc(100vw - 40px); }
  .filter-overlay { width: 36%; top: 10px; left: 10px; }
  .feature { padding: 40px 20px; }

  .philosophy { padding: 20px; }
  .philo-card { padding: 24px; }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-meta { align-items: center; text-align: center; }
}

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