@import url("https://fonts.googleapis.com/css2?family=Inter:wght@200;500&display=swap");

body {
  background-color: white;
}

.hero-title_small {
  font-family: "inter", serif;
  font-size: 30px;
  font-weight: 200;
  color: white;
}
.hero-title {
  font-family: "inter", serif;
  font-size: clamp(36px, 5vw, 50px);
  font-weight: 500;
  color: white;
}
.hero-title-about {
  max-width: 800px;
  font-size: 20px;
  line-height: 1.6;
  color: #b9c2d0;
}
.backdrop_hjem {
  /*min-height: 100vh;*/
  background-size: cover;
  height: 700px;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  flex-direction: column;
  /*backdrop-filter: blur(4px);*/
  width: 100%;
}

.backdrop_hjem img {
  width: 100%;
  background-position: center;
  max-height: 500px;
  object-fit: cover;
}

.over-img-text {
  max-height: fit-content;
  color: #f3f4f6;
  text-align: center;
  max-width: 100%;
}

.text-over-img-container {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 100%;
  background-color: rgba(0, 0, 0, 0.455);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px); /* Add this for Safari */
  white-space: pre-line;
}

.filler-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 50vh;
  min-width: 200px;
  /*margin-bottom: 30px;*/
}

/*dark section*/
.img-text-section-dark {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: space-between;
  width: 100%;
  overflow: hidden;
}

.content-dark {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin-top: 0;
  background-color: #004b4b; /* Optional: match site theme */
}

/* Text side */
.text-content-dark {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #004b4b; /* Optional: match site theme */
  min-width: 200px;
}

.text-content-dark h2 {
  font-size: 3rem;
  color: white;
  margin-bottom: 1rem;
}
.text-content-dark h3 {
  font-size: 2rem;
  color: white;
  margin-top: 1rem;
}

.text-content-dark p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: white;
}

.stilling-gallery {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 20px;

  margin-top: 20px;
  margin-bottom: 100px;
}

.stilling {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 5px;
  justify-content: center;

  max-width: 300px;
  background-color: white;
  text-align: center;
  border-width: 0, 5px;
  border-style: solid;
  border-color: #004b4b;
  padding: 30px;
}

.stilling h2 {
  color: #004b4b;
  font-size: 1.5rem;
  margin: 10px 0;
}

.sponsor-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 30px;

  text-align: center;
  gap: 20px;
}
.sponsor-section {
  text-align: center;
  padding: 6rem 2rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #6f8f87; /* grønn-grå tone */
  position: relative;
  margin-bottom: 2rem;
}

.partner-logo img {
  max-width: 420px;
  width: 100%;
}

.partner-tagline {
  font-size: 0.95rem;
  color: #8a9bb5; /* lys blå/grå */
}

/* --- Timeline section (scoped) --- */
.white-section {
  background-color: white;
}
.wif-timeline-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 72px;
  background-color: white;
}
.timeline-intro {
  max-width: 1100px;
  margin-bottom: 20px;
}

.section-title-timeline {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.section-intro-timeline {
  font-size: 20px;
  line-height: 1.55;
  color: rgba(0, 0, 0, 0.75);
  max-width: 900px;
}

.wif-timeline-header {
  display: flex;
  align-items: flex-end;
  gap: 18px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  padding-bottom: 14px;
  margin-bottom: 26px;
}

.wif-timeline-title {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.2px;
  color: black;
  margin: 0;
}

.wif-timeline-divider {
  width: 1px;
  height: 40px;
  background: rgba(0, 0, 0, 0.12);
  margin-bottom: 6px;
}

.wif-timeline-subtitle {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 16px;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.55);
  margin: 0 0 8px;
  white-space: nowrap;
}

.wif-timeline {
  position: relative;
  margin-top: 12px;
}

.wif-timeline::before {
  content: "";
  position: absolute;
  left: 520px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(0, 0, 0, 0.12);
}

.wif-event {
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: 44px;
  align-items: start;
  margin: 34px 0 56px;
}

.wif-event-photo {
  width: 100%;
  max-width: 420px;
  border-radius: 6px;
  overflow: hidden;
  background: #f3f4f6;
  box-shadow: 0 18px 50px rgba(17, 24, 39, 0.12);
  margin-left: 60px; /* mimic offset like screenshot */
  min-height: 100px;
}

.wif-event-photo img {
  display: block;
  width: 100%;
  height: auto;
  width: 200px;
  object-fit: cover;
  padding: 20px;
}

.wif-event-content {
  position: relative;
  padding-left: 44px; /* space from vertical line */
  max-width: 560px;
}

.wif-event-marker {
  position: absolute;
  left: -18px; /* sits on the vertical line */
  top: 8px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #c9a14a;
  box-shadow: 0 0 0 6px rgba(201, 161, 74, 0.18);
}

.wif-event-time {
  font-weight: 700;
  color: rgba(0, 0, 0, 0.55);
  margin: 0 0 4px;
  font-size: 16px;
}

.wif-event-name {
  font-size: 1.5rem;
  margin: 0 0 8px;
  color: #111827;
  letter-spacing: 0.2px;
}

.wif-event-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(0, 0, 0, 0.55);
  font-style: italic;
  margin: 0 0 10px;
  font-size: 16px;
}

.wif-pin {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.wif-event-desc {
  margin: 0;
  font-size: 18px;
  color: rgba(0, 0, 0, 0.75);
}

@media (max-width: 980px) {
  .wif-timeline::before {
    z-index: -1; /* place the line behind */
  }
  .wif-timeline::before {
    left: 24px;
  }

  .wif-event {
    grid-template-columns: 1fr;
    gap: 18px;
    margin: 26px 0 44px;
  }
  .wif-event-photo {
    margin-left: 0;
    max-width: 100%;
  }
  .wif-event-content {
    padding-left: 44px;
  }
  .wif-event-marker {
    left: 17px;
  }
  .wif-timeline-divider {
    display: none;
  }
  .wif-timeline-header {
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .wif-timeline-subtitle {
    margin-bottom: 0;
    white-space: normal;
  }
}

@media (max-width: 600px) {
  .hero-title {
    font-size: clamp(40px, 5vw, 36px);
    margin-bottom: 10px;
  }
  .content,
  .content-dark {
    flex-direction: column;
    width: 100%;
    max-width: 100%;

    height: auto;
  }
  .content-dark {
    flex-direction: column-reverse;
  }

  .image-content,
  .text-content,
  .text-content-dark {
    width: 100%;
    min-width: 0;
    height: auto;
    text-align: center;
    justify-content: center;
  }
  .little-button {
    display: inline-block; /* or block */
    margin: 16px auto 0; /* centers when inline-block inside text-align:center or block with auto margins */
  }
  .feature::after {
    content: "";
    display: block;
    width: 50%;
    height: 3px; /* line thickness */

    margin: 10px auto 0; /* 10px top margin, center horizontally */
    border-radius: 2px;
  }

  .image-content {
    padding: 0px;
  }
  .image-content img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
  }
}
@media (min-width: 1800px) {
  .content-dark > :first-child,
  .content > :first-child {
    margin-left: 400px;
  }
  .content-dark > :last-child,
  .content > :last-child {
    margin-right: 400px;
  }
}
