/* =========================================================
   Vår Inspirationsgård — styles
   Plain CSS, mobile-first. Rebuilt to match the original
   Canva single-page design (see /legacy for reference).
   ========================================================= */

:root {
  /* Palette extracted from the original design */
  --cream: #f4f1e8;
  --off-white: #f2f0ef;
  --orange: #d18c20;     /* "Our dream" section + accent bars */
  --gold: #c2862b;       /* headings */
  --gold-soft: #d8ae5e;
  --gold-light: #e7d49e;
  --ink: #2c2620;
  --ink-soft: #6f6557;

  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Montserrat", system-ui, -apple-system, sans-serif;

  --maxw: 1080px;
  --shadow: 0 18px 40px -22px rgba(44, 38, 32, 0.5);
  --space-section: clamp(3.5rem, 8vw, 6.5rem);
}

*,
*::before,
*::after { 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;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}
.center { text-align: center; }
.section { padding-block: var(--space-section); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Typography ---------- */
.display,
h1, h2 {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.05;
  margin: 0 0 0.5em;
}
.gold { color: var(--gold); }
.light { color: #fff; }

h2.display,
.section-head h2,
.welcome-text h2,
.reach-text h2,
.gethere-text h2,
.cabin-text h2,
.outdoor-text h2 {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
}

.strong { font-weight: 700; color: var(--ink); margin: 0 0 1rem; }
.muted { color: var(--ink-soft); margin: 0 0 1rem; }
.italic { font-style: italic; }
.upper { text-transform: uppercase; letter-spacing: 0.02em; }
.subtitle {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 600;
  margin: 0;
}
.gold-line { color: var(--gold); margin: 0 0 0.75rem; }
.gold-line strong { font-family: var(--font-display); font-weight: 600; letter-spacing: 0.01em; }

/* ---------- Photo placeholders ----------
   Replace these <div class="photo"> with real <img> tags,
   e.g. <img class="photo rounded ratio-1" src="assets/images/your-photo.jpg" alt="...">
*/
.photo {
  position: relative;
  background: linear-gradient(135deg, #ded3bd 0%, #cbb083 60%, #bd9a5f 100%);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.photo::after {
  content: attr(data-label);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(44, 38, 32, 0.55);
  text-align: center;
  padding: 0.5rem;
}
.photo::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px dashed rgba(44, 38, 32, 0.25);
  border-radius: inherit;
  pointer-events: none;
}
.squircle { border-radius: 30% / 30%; }
.rounded { border-radius: 28px; }
.ratio-1 { aspect-ratio: 1 / 1; }
.ratio-4-3 { aspect-ratio: 4 / 3; }
.ratio-3-4 { aspect-ratio: 3 / 4; }
.ratio-16-9 { aspect-ratio: 16 / 9; }
.ratio-5-4 { aspect-ratio: 5 / 4; }

/* Real images reuse the .photo shape/ratio classes */
img.photo {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* ===================== HERO ===================== */
.hero {
  position: relative;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-block: clamp(2rem, 5vw, 3.5rem) clamp(4rem, 9vw, 6.5rem);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.55)),
    linear-gradient(160deg, #4a6b3a 0%, #2f4a2a 45%, #6b7d5a 100%);
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 50% 0%, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.55));
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--maxw);
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
  color: #fff;
}
.logo {
  font-family: var(--font-display);
  text-transform: uppercase;
  color: var(--gold-light);
  letter-spacing: 0.12em;
  font-weight: 600;
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  margin: 0 0 1.5rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}
.logo-mark { display: block; font-size: 1.6em; line-height: 1; margin-bottom: 0.1em; }
.hero-logo {
  display: block;
  width: clamp(190px, 32vw, 300px);
  height: auto;
  margin: 0 auto -0.25rem;
  filter: drop-shadow(0 3px 16px rgba(0, 0, 0, 0.45));
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  font-size: clamp(2rem, 6vw, 4rem);
  letter-spacing: 0.04em;
  margin: 0 0 clamp(1.5rem, 4vw, 2.5rem);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}
.hero-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 3vw, 2rem);
  max-width: 720px;
  margin-inline: auto;
}
.hero-cards .card-label {
  display: block;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}
.hero-cards .photo {
  border: 5px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 30px -16px rgba(0, 0, 0, 0.7);
}

/* ===================== WELCOME ===================== */
.welcome { background: var(--off-white); }
.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.welcome-text { text-align: center; }
.welcome-media { position: relative; }
.welcome-media .welcome-inset {
  position: absolute;
  left: -8%;
  bottom: -10%;
  width: 42%;
  box-shadow: var(--shadow);
}

/* ===================== WHAT'S POSSIBLE ===================== */
.possible { background: var(--cream); }
.section-head { margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.section-head h2 { margin-bottom: 0.25rem; }
.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 5vw, 3.5rem) clamp(1.5rem, 4vw, 3rem);
}
.offer { text-align: center; }
.offer .icon {
  display: inline-grid;
  place-items: center;
  width: 96px;
  height: 96px;
  margin-bottom: 1rem;
}
.offer .icon img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.offer h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.03em;
  font-size: 1.25rem;
  margin: 0 0 0.75rem;
  padding-bottom: 0.75rem;
  position: relative;
}
.offer h3::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 64px;
  height: 2px;
  background: var(--gold-soft);
}
.offer p { color: var(--ink); font-weight: 600; font-size: 0.9rem; margin: 0; }

/* ===================== PHOTO ROW ===================== */
.photo-row { background: var(--cream); padding-block: clamp(1rem, 3vw, 2rem); }
.trio {
  display: grid;
  grid-template-columns: 1fr 0.82fr 1fr;
  gap: clamp(0.75rem, 2vw, 1.25rem);
  align-items: start;
}

/* ===================== OUTDOOR ===================== */
.outdoor { background: var(--cream); }
.outdoor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.outdoor-collage {
  columns: 2;
  column-gap: 1rem;
}
.outdoor-collage .photo {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  margin-bottom: 1rem;
  break-inside: avoid;
}
/* canoe is shown as a landscape crop in the original */
.outdoor-collage .ratio-4-3 { aspect-ratio: 4 / 3; }

/* ===================== OUR DREAM ===================== */
.dream { background: var(--orange); color: #fff; }
.dream-head {
  max-width: 760px;
  margin: 0 auto clamp(2rem, 5vw, 3.5rem);
  text-align: left;
}
.dream-head h2 { font-size: clamp(2rem, 5vw, 3rem); }
.dream-copy { color: rgba(255, 255, 255, 0.92); font-size: 1.05rem; }
/* dense, organic collage (masonry) like the original */
.mosaic {
  columns: 4;
  column-gap: clamp(0.5rem, 1.5vw, 0.9rem);
}
.mosaic .photo {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  margin-bottom: clamp(0.5rem, 1.5vw, 0.9rem);
  break-inside: avoid;
}
.dream-video { margin-top: clamp(2.5rem, 6vw, 4rem); }
.dream-video h2 { margin-bottom: 1.5rem; }
.yt-link { color: inherit; text-decoration: none; }
.yt-link:hover { text-decoration: underline; }
.video-link {
  display: block;
  text-decoration: none;
}
.video {
  display: block;
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
  aspect-ratio: 16 / 10;
  border-radius: 28px;
  box-shadow: var(--shadow);
  background: #000;
  object-fit: cover;
}

/* ===================== REACH OUT ===================== */
.reach { background: var(--off-white); }
.reach-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.divider { border: 0; border-top: 2px solid var(--gold-soft); width: 70%; margin: 1.5rem 0; }
.contact-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.5rem;
  margin-top: clamp(1.5rem, 4vw, 2.5rem);
}
.contact-item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 1.05rem;
}
.contact-item:hover { color: var(--gold); }
.contact-ic { color: var(--gold); font-size: 1.3rem; }

/* ===================== HOW TO GET HERE ===================== */
.gethere { background: var(--cream); }
.gethere-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.gethere-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.gethere-collage .ratio-4-3 { grid-column: span 2; }
.travel { margin: 0; }
.travel dt {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin-top: 1.1rem;
  font-size: 0.95rem;
}
.travel dt:first-child { margin-top: 0; }
.travel dd { margin: 0.15rem 0 0; color: var(--ink-soft); font-size: 0.95rem; }

/* ===================== OUR CABIN ===================== */
.cabin { background: var(--off-white); }
.cabin-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.cabin-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ===================== FOOTER ===================== */
.site-footer { background: var(--orange); color: #fff; padding-block: 2.5rem; }
.footer-brand {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1.4rem;
  margin: 0 0 0.25rem;
}
.footer-meta { margin: 0 0 0.75rem; color: rgba(255, 255, 255, 0.85); }
.footer-copy { margin: 0; font-size: 0.85rem; color: rgba(255, 255, 255, 0.75); }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 860px) {
  .welcome-grid,
  .outdoor-grid,
  .reach-grid,
  .gethere-grid,
  .cabin-grid { grid-template-columns: 1fr; }

  .outdoor-collage { order: 2; }
  .welcome-media .welcome-inset { position: static; width: 60%; margin-top: 1rem; }
  .offer-grid { grid-template-columns: repeat(2, 1fr); }
  .dream-head { text-align: center; }
  .mosaic { columns: 3; }
}

@media (max-width: 560px) {
  .hero-cards { grid-template-columns: 1fr; max-width: 320px; }
  .hero-cards li { transform: none; }
  .trio { grid-template-columns: 1fr; }
  .trio .photo:nth-child(2) { transform: none; }
  .offer-grid { grid-template-columns: 1fr; }
  .gethere-collage,
  .cabin-media { grid-template-columns: 1fr; }
  .outdoor-collage { columns: 1; }
  .mosaic { columns: 2; }
  .gethere-collage .ratio-4-3 { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
