/* -----------------------------
   GLOBAL
------------------------------ */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: "Helvetica Neue", sans-serif;
  background: black;
  color: white;
  overflow-x: hidden;
}

/* -----------------------------
 HEADER + BACKGROUND
------------------------------ */
.header {
  position: relative;
  min-height: 100vh; /* ALWAYS fills the screen */
  width: 100%;
  background-image: url("hader.png");
  background-size: cover;        /* always cover the full view */
  background-repeat: no-repeat;
  background-position: center;
}

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

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

.title {
  font-size: 5rem;
  font-weight: 700;
  margin: 0 0 20px 0;
  white-space: nowrap; /* prevent line break */
}

.kasse {
  font-size: 1.4rem;
  font-weight: 500;
  margin-top: 10px;
  line-height: 1.6;
}

.main-link {
  color: rgb(54, 228, 164);
  text-decoration: none;
  font-weight: 500;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.main-link:hover {
  opacity: 0.6;
}

/* -----------------------------
 SOCIAL ICONS
------------------------------ */
.social-icons {
  position: fixed;
  bottom: 15px;
  left: 5%;
  display: flex;
  gap: 12px;
  z-index: 100;
  font-size: 28px;
}

.social-link {
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.social-img {
  width: 28px;
  height: auto;
  display: block;
}

/* -----------------------------
 ANIMATIONS
------------------------------ */
body {
  animation: transitionIn 0.75s;
}

@keyframes transitionIn {
  from { opacity: 0; transform: rotateX(-10deg); }
  to { opacity: 1; transform: rotateX(0); }
}

/* -----------------------------
 RESPONSIVE — iPhone Fix
------------------------------ */
@media only screen and (max-width: 800px) {

  /* shrink the big title */
  .title {
    font-size: 10vw;    /* fits on one line */
    white-space: nowrap;
  }

  /* make the address/info larger */
  .kasse {
    font-size: 4.8vw;
    margin-top: 3vw;
  }

  .main-link {
    font-size: 4.8vw;
  }

  /* social icons */
  .social-icons {
    bottom: 4vw;
    left: 4vw;
    gap: 4vw;
    font-size: 6.5vw;
  }

  .social-img {
    width: 7vw;  /* Smiley properly sized */
  }

  /* background ALWAYS covers */
  .header {
    min-height: 100vh;
    height: auto;
    background-size: cover !important;
    background-position: center top;
  }
  a[href^="tel"] {
    color: white !important;
    text-decoration: none !important;
    font-weight: inherit;
  }
}