/* -----------------------------
   GLOBAL
------------------------------ */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: "Helvetica Neue", sans-serif;
}

/* -----------------------------
   HEADER BACKGROUND
------------------------------ */
.header {
  position: relative;
  width: 100%;
  min-height: 100vh;     /* fills screen */
  height: auto;          /* grows with content */
  background-image: url("hader.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Overlay */
.header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

/* -----------------------------
   TEXT CONTENT
------------------------------ */
.overskrifter {
  position: relative;
  z-index: 2;
  color: white;
  margin-left: 5%;
  padding-top: 5vh;   /* title near the top */
}

.title {
  font-size: 5rem;
  margin: 0 0 20px 0;
  line-height: 1;
  font-weight: 700;   /* bold */
}

.subtitle {
  font-size: 1.2rem;
  margin: 0 0 20px 0;
  line-height: 1.5;
}

/* -----------------------------
   CONTACT LINK / BUTTON
------------------------------ */
.contact-link {
  display: inline-block;
  margin-left: 0;  /* align with subtitle/title */
  font-size: 0.95rem;
  text-decoration: none;
  color: white;
  border: 2px solid white;
  padding: 6px 14px;
  border-radius: 6px;
  transition: 0.2s ease;
}

.contact-link:hover {
  background: white;
  color: black;
}

/* -----------------------------
   RESPONSIVE (iPhone / small screens)
------------------------------ */
@media only screen and (max-width: 800px) {
  .title {
    font-size: 10vw;
  }
 /* Let text wrap naturally instead of using <br> */
 .subtitle {
  white-space: normal !important;
  display: block;
  font-size: 4vw;
}

/* Make spacing nicer on mobile */
.subtitle br {
  display: none !important;  /* hide <br> tags */
}
  

  .contact-link {
    font-size: 3.5vw;
    padding: 4vw 6vw;
  }

  .overskrifter {
    padding-top: 8vw;
    margin-left: 5%;
    margin-right: 5%;
  }

  .social-img {
    width: 6vw;      /* scales nicely on iPhone */
    height: auto;
  }

  .social-link {
    font-size: 6vw;  /* Facebook + Instagram */
  }

  .social-icons {
    bottom: 4vw;     /* moves them up slightly for small screens */
    left: 4vw;
    gap: 4vw;
  }
}
