:root {
  --green-dark: #16321f;
  --green: #2f6b3f;
  --green-light: #eaf1ea;
  --gold: #c9a227;
  --cream: #faf8f2;
  --text: #22281f;
  --text-soft: #4a5147;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(22, 50, 31, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Nunito Sans', sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  color: var(--green-dark);
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2rem, 4vw, 2.75rem); line-height: 1.15; }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); text-align: center; }
h3 { font-size: 1.1rem; }

p { margin: 0 0 1em; color: var(--text-soft); }

a { color: var(--green); }

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

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  background: #fff;
  border-bottom: 1px solid rgba(22, 50, 31, 0.08);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.logo img {
  height: 44px;
  width: auto;
}

.main-nav { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.main-nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 0.92rem;
}
.main-nav a:hover, .main-nav a.active { color: var(--green); }

/* Hamburgerknapp (berre synleg på mobil) */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  margin: -6px -8px -6px 0;
  border: 0;
  background: none;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }

.nav-toggle-bars {
  position: relative;
  display: block;
  width: 24px;
  height: 18px;
}
.nav-toggle-bars span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--green-dark);
  transition: top 0.25s ease, transform 0.25s ease, opacity 0.15s ease;
}
.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { top: 8px; }
.nav-toggle-bars span:nth-child(3) { top: 16px; }

body.nav-open .nav-toggle-bars span:nth-child(1) { top: 8px; transform: rotate(45deg); }
body.nav-open .nav-toggle-bars span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle-bars span:nth-child(3) { top: 8px; transform: rotate(-45deg); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-family: 'Quicksand', sans-serif;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: var(--shadow);
}
.btn-primary:hover { background: var(--green-dark); }

.btn-secondary {
  background: transparent;
  color: var(--green-dark);
  border: 2px solid var(--green);
}
.btn-secondary:hover { background: var(--green-light); }

/* Hero */
.hero {
  padding: 96px 0;
  background-color: var(--green-dark);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
}
.hero-inner { max-width: 720px; margin: 0 auto; }
.hero-narrow { padding: 64px 0; }
.hero-narrow .wrap { max-width: 720px; text-align: center; }

/* Page header (sub-pages) */
.page-header {
  padding: 72px 0 40px;
  text-align: center;
  background-color: var(--green-dark);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.page-header h1 { text-align: center; }
.lead { max-width: 640px; margin: 0 auto; text-align: center; font-size: 1.05rem; }

/* Any text sitting directly on the dark hero / page-header photos must stay light */
.hero h1, .hero p,
.page-header h1, .page-header p {
  color: #fff;
}
.hero .lead, .page-header .lead { color: rgba(255,255,255,0.9); }
.poem { font-style: italic; white-space: pre-line; color: rgba(255,255,255,0.85); }

/* Check list */
.products { padding: 32px 0 64px; }
.check-list {
  list-style: none;
  margin: 32px auto 0;
  padding: 0;
  max-width: 640px;
  display: grid;
  gap: 14px;
}
.check-list li {
  position: relative;
  padding-left: 32px;
  font-weight: 600;
  color: var(--green-dark);
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-weight: 700;
}
.check-list li a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
}
.check-list li a:hover { color: var(--green); }

/* CTA */
.cta {
  background: var(--green-light);
  padding: 48px 0;
  text-align: center;
}
.cta p { font-family: 'Quicksand', sans-serif; font-weight: 600; color: var(--green-dark); font-size: 1.1rem; }
.cta-photo {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.cta-photo p { color: #fff; }

/* Gallery */
.gallery { padding: 48px 0 64px; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.gallery-grid img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Map */
.map-section { padding: 40px 0 0; }
.salsplass-map {
  height: 420px;
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  z-index: 1;
}
.salsplass-map .leaflet-popup-content-wrapper {
  border-radius: 10px;
  font-family: 'Nunito Sans', sans-serif;
}
.salsplass-popup { display: flex; flex-direction: column; gap: 6px; }
.salsplass-popup strong { color: var(--green-dark); }
.salsplass-popup a {
  color: var(--green);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}
.salsplass-popup a:hover { text-decoration: underline; }
.salsplass-popup a::after { content: " →"; }
.salsplass-map .leaflet-control-attribution {
  font-size: 0.7rem;
  background: rgba(255, 255, 255, 0.7);
  padding: 1px 6px;
}
.salsplass-pin svg { filter: drop-shadow(0 3px 3px rgba(22, 50, 31, 0.35)); }
.salsplass-tiles { filter: saturate(0.55) brightness(1.08) contrast(0.95) hue-rotate(-4deg); }

/* Locations */
.locations { padding: 16px 0 64px; }
.region { margin-bottom: 40px; }
.region h2 { text-align: left; border-bottom: 2px solid var(--green-light); padding-bottom: 8px; }
.region-intro { margin: 12px 0 0; font-size: 0.9rem; }
.region ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.region li {
  background: #fff;
  border-radius: 10px;
  padding: 12px 16px;
  box-shadow: var(--shadow);
  font-weight: 600;
  color: var(--text);
}

/* Features / variants (juletrefot) */
.features { padding: 56px 0 48px; background: var(--green-light); }
.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}
.step {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
}
.step img {
  border-radius: 10px;
  height: 160px;
  width: 100%;
  object-fit: cover;
  margin-bottom: 16px;
}
.step-num {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.step p { font-size: 0.95rem; margin-bottom: 0; }

.video-section { padding: 56px 0; text-align: center; }
.video-frame {
  position: relative;
  max-width: 800px;
  margin: 24px auto 0;
  padding-bottom: 45%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.variants { padding: 56px 0 64px; }
.variants .lead { margin-bottom: 8px; }
.variant-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.variant-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  text-align: center;
  overflow: hidden;
}
.variant-card img {
  height: 130px;
  width: 100%;
  object-fit: contain;
  margin-bottom: 12px;
}
.variant-card span {
  display: block;
  font-weight: 700;
  font-family: 'Quicksand', sans-serif;
  color: var(--green-dark);
}

/* Tips */
.tips { padding: 16px 0 64px; }
.tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.tip-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 24px 24px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.tip-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(22, 50, 31, 0.16);
}
.tip-card p { margin-bottom: 0; text-wrap: balance; }
.tip-card h3 { text-wrap: balance; }
.tip-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 16px;
}
.tip-icon svg { width: 26px; height: 26px; }

.tip-card-final {
  background: var(--green-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.tip-card-final .tip-icon { background: var(--green); }
.tip-final-heading {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-soft);
  margin: 0 0 8px;
}
.tip-final-text {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--green-dark);
  margin: 0;
}

/* Hours */
.hours { padding: 40px 0 16px; }
.hours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.hour-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 24px;
  text-align: center;
}
.hour-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.hour-icon svg { width: 26px; height: 26px; }
.hour-card h3 { margin-bottom: 8px; }
.hour-card p { margin-bottom: 0; }

.hours-extra { padding: 24px 0 64px; text-align: center; }
.hours-extra .note {
  max-width: 560px;
  margin: 0 auto 24px;
  color: var(--text-soft);
}

.phone-banner {
  max-width: 560px;
  margin: 0 auto 20px;
  background: var(--green-light);
  border-radius: var(--radius);
  padding: 20px 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
}
.phone-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.phone-icon svg { width: 18px; height: 18px; }
.phone-banner p {
  margin: 0;
  font-weight: 600;
  color: var(--green-dark);
}

.footnote { font-size: 0.85rem; color: var(--text-soft); margin: 0; }

/* Contact */
.contact { padding: 16px 0 64px; }
.contact-card {
  max-width: 520px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
  text-align: center;
}
.team-photo {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 20px;
}
.contact-people {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.contact-people a { text-decoration: none; font-weight: 700; }

/* Teaser banner */
.teaser { padding: 0 0 64px; }
.teaser-link {
  display: block;
  background: var(--green-dark);
  border-radius: var(--radius);
  padding: 28px 32px;
  text-align: center;
  text-decoration: none;
  transition: transform 0.15s ease;
}
.teaser-link:hover { transform: translateY(-2px); }
.teaser-heading {
  display: block;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  color: var(--gold);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.teaser-text {
  display: block;
  color: #fff;
  font-weight: 600;
  font-size: 1.15rem;
}

/* Footer */
.site-footer {
  background: var(--green-dark);
  color: rgba(255,255,255,0.8);
  padding: 24px 0;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.9rem;
}
.footer-inner a { color: #fff; }
.footer-inner .webpartner { text-decoration: none; }
.footer-inner .webpartner:hover { text-decoration: underline; }
.footer-inner p { margin: 0; color: rgba(255,255,255,0.8); }

/* Responsive */
@media (max-width: 800px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .step-grid { grid-template-columns: 1fr; }
  .tips-grid { grid-template-columns: 1fr; }
}

/* Mobilmeny */
@media (max-width: 860px) {
  .header-inner { flex-wrap: nowrap; padding: 12px 24px; }
  .logo img { height: 38px; }

  .nav-toggle { display: inline-flex; }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 4px 24px 12px;
    background: #fff;
    border-bottom: 1px solid rgba(22, 50, 31, 0.08);
    box-shadow: 0 14px 24px rgba(22, 50, 31, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }

  body.nav-open .main-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .main-nav a {
    padding: 14px 4px;
    font-size: 1rem;
    border-top: 1px solid rgba(22, 50, 31, 0.08);
  }
  .main-nav a:first-child { border-top: 0; }
  .main-nav a.active { color: var(--green); }
}

@media (prefers-reduced-motion: reduce) {
  .main-nav, .nav-toggle-bars span { transition: none; }
}
