
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth; /* Glatt scrolling */
    font-family: Arial, Helvetica, sans-serif;
}

body{
    background-color: #bababa;
    margin: 0;
}


/* Øverste bilde på side 1 */
.Øverste-bilde{
    padding-top: 0px; /* Fjerner padding */
    width: 100%; /* Bildet dekker hele bredden */
    z-index: 0; /* Bakgrunnsnivå */
    display: flex;
    justify-content: center;
    position: relative;
}

/*Meny*/
/*----------------------------------------------------------------------------------------------------------------------------*/

.meny {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #7e7e7e97;
    padding: 10px 15px;
    height: 70px;
    /*box-shadow: -20px 30px 40px rgb(0, 0, 0);*/
    display: flex;
    align-items: center;   /* Sentrerer logo og meny vertikalt */
    justify-content: flex-end;
    z-index: 10;
    transition: transform 0.5s ease;
    gap: 30px;
}

/* Stiler for lenkene i menyen */
.meny a {
    margin: 0 0.1%; /* Avstand mellom lenkene */
    /*margin-right: 7%;*/
    text-decoration: none; /* Ingen understrekning */
    color: #ffffff; /* Svart tekst */
    padding: 0px 0px; /* Indre avstand */
    display: inline-block; /* Vises i samme linje */
    border-radius: 3px; /* Runde hjørner */
    transition: all 0.3s ease;
    /*font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;*/
    font-family: Arial, sans-serif;
    font-weight: bold;
}

.meny a:hover {
    /*padding: 1px 1px; /* Justerer størrelsen ved hover */
    color: #ff0000; /* Hvit tekstfarge */
    /*background-color: #c0c0c0; /* Grå bakgrunn ved hover */
    text-decoration: none; /* Fjerner understrekning */
    border-radius: 3px; /* Runde hjørner */
}

.meny.skjult {
    transform: translateY(-100%);
}



.dropdown {
    position: relative;
}

/* Dropdown */
.dropdown-menu {
    max-height: 0;                /* Starter lukket */
    overflow: hidden;             /* Skjuler innholdet når lukket */
    position: absolute;
    top: 47px;
    left: 0;
    background-color: #7e7e7e5f;
    list-style: none;
    min-width: 85px;
    text-align: left;
    border-radius: 4px;
    transition: max-height 0.5s ease-out;  /* Smooth rulledown */
}
.dropdown-menu li a {
    display: block;
    padding: 5px 0px;
}

.dropdown-menu li a:hover {
    background-color: #7e7e7e5f;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

/* Når dropdown er hoveret, “ruller” den ned */
.dropdown:hover .dropdown-menu {
    max-height: 500px; /* Sett høyden stor nok til alt innhold */
}


/* Hamburger ikon */
.hamburger {
    display: none; /* skjult på desktop */
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background-color: white;
    border-radius: 2px;
}



@media (max-width: 1275px) {

    .hamburger {
        display: flex;
        margin-left: auto;
    }

    /* SKJUL kun menylenker – ikke logo */
    .meny > a,
    .meny > .dropdown {
        display: none;
        width: 100%;
        text-align: center;
        padding: 12px 0;
        animation: fadeSlideIn 0.3s ease forwards;
    }

    /* Vis logo alltid */
    .logo {
        display: block;
    }

    .meny.aktiv {
        padding-top: 10px; /*mindre luft */
        padding-bottom: 15px;
        max-height: 600px; /* nok plass til alle lenker */
        background-color: #7e7e7e5f; /* litt mer solid */
    }

    /* Når menyen er åpen */
    .meny.aktiv > a,
    .meny.aktiv > .dropdown {
        display: block;
        padding: 8px 0;     /* ↓ mindre avstand mellom punktene */
        margin: 0;
    }

    .meny {
        flex-wrap: wrap;
        height: auto;
        overflow: hidden;
        transition: max-height 0.4s ease, background-color 0.3s ease;
        max-height: 100px; /* kun topp-raden */
    }



    .dropdown-menu {
        position: static;   /* VIKTIG */
        max-height: 0;
        background-color: #99999900;
        border-radius: 0;
        text-align: center;
        font-size: 12px;
    }

    .dropdown:hover .dropdown-menu {
        max-height: 300px;
    }
    
    .meny.skjult {
    transform: translateY(0%);
    }
}


@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* Standard: vis desktop-logo */
.logo-desktop {
    display: block;
}

.logo-mobile {
    display: none;
}

/* På mobil — vis mobil-logo */
@media (max-width: 1275px) {
    .logo-desktop {
        display: none !important;
    }
    .logo-mobile {
        display: block !important;
        height: 60px;
        width: auto;
        margin-left: 0px; /* om du trenger */
    }
    .meny.aktiv .logo-desktop {
        display: block !important;
        height: 80px;
        margin-top: 10px;
        margin-left: 5px
    }

    .meny.aktiv .logo-mobile {
        display: none !important;
    }
}

.logo {
    margin-right: auto;   /* 🟢 Skyver menyen til høyre, logo blir til venstre */
}

.logo-desktop {
    height: 150px;         /* 🟢 Fjern posisjonering og bruk fast høyde */
    margin-left: -10px;
    margin-top: 25px;
    width: auto;
}

h1{
    z-index: 1;
    /*text-align: center;*/

    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    color: white;
    font-size: 50px;
    font-family: Arial, sans-serif;
    text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

@media (max-width: 1275px) {
    h1 {
        font-size: 35px;
    }
}

/*Slagord side*/
/*----------------------------------------------------------------------------------------------------------------------------*/

.slagord {
  /*height: 100vh; /* Full høyde på skjermen */
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #9e9e9e;
  text-align: center;
  width: 100%;
  padding-top: 85px;
  padding-bottom: 80px;
}

.slagord-tekst {
  max-width: 800px;
}

.slagord h15 {
  font-size: 2.4rem;
  line-height: 1.4;
  color: #333;
  font-weight: 400;
  font-size: 35px;
  margin-bottom: 50px;
}

/* Knapp */
.ta-kontakt {
  margin-top: 20px;
  display: inline-block;
  text-decoration: none;
  color: #a50000;
  font-weight: bold;
  font-size: 25px;
  letter-spacing: 1px;
  border-bottom: 2px solid #a50000;
  padding-bottom: 5px;
  transition: all 0.3s ease;
}

.ta-kontakt:hover {
  color: #000000;
  border-color: #000000;
  transform: scale(1.05);
}


/*Fordeler*/
/*----------------------------------------------------------------------------------------------------------------------------*/

.fordeller {
 width: 100%;
 background-color: #aeaeae;
}


.fordeller-innhold {
  display: flex;
  justify-content: center;     /* Sentrerer punktene horisontalt */
  align-items: flex-start;         /* Sentrerer innholdet vertikalt */
  gap: 60px;                   /* Avstand mellom punktene */
  margin: 0px auto;           /* Sentral plassering på siden */
  width: 80%;
  text-align: center;          /* Sentrerer teksten inni hvert punkt */
  flex-wrap: wrap;
  padding-top: 30px;
  padding-bottom: 20px;
  }

.fordell {
  max-width: 300px;          /* Fast bredde på hvert kort for jevn layout */
  max-width: 35%;
  min-height: 250px;         /* Samme høyde for å gjøre de like høye */
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  padding-top: 0px;
  padding-bottom: 0px;
  justify-content: flex-start;         /* Hindrer at de blir for brede */
  transition: transform 0.3s ease;
}

.fordell:hover {
  transform: scale(1.07);
}

.icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon img {
  width: 50px;
  object-fit: contain;
}

h4 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  color: rgb(0, 0, 0);
}

p1 {
  font-size: 16px;
  line-height: 1.6;
  color: #000000;
}


/*Tilbakemeldinger*/
/*----------------------------------------------------------------------------------------------------------------------------*/

h10{
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: rgb(0, 0, 0);
  font-size: 50px;
  /*text-shadow: 0 2px 10px rgba(0,0,0,0.6);*/
  font-weight: bold;
  text-align: center;
}

.reviews {
  padding: 40px 0px;
  padding-top: 70px;
  text-align: center;
}

.reviews h1 {
  font-size: 48px;
  margin-bottom: 60px;
  color: #222;
}

.cards {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
  padding-top: 30px;
  padding-bottom: 20px;
}

.card {
  background: #fff;
  width: 320px;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  text-align: left;
}

.header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #3b82f6;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.google {
  margin-left: auto;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.google svg {
  transition: transform 0.2s ease;
}

.google:hover svg {
  transform: scale(1.15);
}

.name {
  font-weight: bold;
}

.date {
  font-size: 13px;
  color: #666;
}

.stars {
  color: #ffbf00;
  margin: 8px 0;
}

.text { 
    font-size: 15px; 
    line-height: 1.5; 
    max-height: 110px; /* begrens høyden på kortet */ 
    overflow-y: auto; /* vis scrollbar kun når nødvendig */ 
    overflow-x: hidden; /* skjul horisontal scroll */ 
    padding-right: 8px; /* plass for scrollbar */ 
}


/*Kontakt oss*/
/*----------------------------------------------------------------------------------------------------------------------------*/

.bakgrunn-kontaktoss {
  background-color: #c4c4c4;
  width: 100%;
  min-height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

h5{
    margin-top: 30px;
    margin-bottom: 20px;
    font-size: 30px;
    font-weight: bold;
    color: #000000; 
    text-align: center;
    padding-top: 40px;
}

/*Facebook og Insta*/
/*----------------------------------------------------------------------------------------------------------------------------*/

.link-til-medier {
  display: flex;
  justify-content: center;   /* midtplassert */
  align-items: center;
  gap: 20px;
  margin-top: 0px;
  margin-bottom: 15px;
}

.media-link {
  border-radius: 50%;
  display: flex;
  background-color: #eef3f5;
  justify-content: center;
  align-items: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.media-link img {
  width: 32px;
}

/* Hover-effekt */
.media-link:hover {
  transform: scale(1.15);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}


/*Adresse, epost og tlf*/
/*----------------------------------------------------------------------------------------------------------------------------*/

.kontaktoss {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;             /* Avstand mellom punktene */
  flex-wrap: wrap;       /* Bryter linje på små skjermer */
  padding-bottom: 20px;
}

.kontaktinfo {
  display: flex;
  align-items: center;
  gap: 3px;             /* Avstand mellom ikon og tekst */
  color: rgb(0, 0, 0);
}

.kontaktinfo a {
  text-decoration: none;
  color: #000000;
}

.kontaktinfo-tekst {
  transition: transform 0.3s ease;
}

.kontaktinfo:hover .kontaktinfo-tekst {
  transform: scale(1.05);
}


.ikon {
  font-size: 20px;       /* ← endre denne for å styre ikonstørrelsen */
  width: 35px;           /* Holder alt på linje */
  text-align: center;
}


/*Kontakt skjema (Formspree)
/*----------------------------------------------------------------------------------------------------------------------------*/
.kontakt-wrapper {
  display: flex;
  justify-content: center;
  gap: 0px;
  max-width: 90%;
  width: 750px;
  margin-bottom: 0px;
  padding-bottom: 30px;
}

/* Kontaktskjema */
.kontakt {
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex; /* Bruker flex for layout */
    justify-content: center; /* Sentrerer innholdet */
    color: rgb(0, 0, 0);
    max-width: 100%;
    margin: 0;
}

.kontakt table {
    width: 70%; /* Full bredde for tabellen */
}

.kontakt td {
    padding: 5px; /* Indre avstand i cellene */
    vertical-align: top; /* Justerer innholdet til toppen */
}

.kontakt input[type="text"],
.kontakt textarea {
    width: 180px; /* Full bredde for tekstfelt */
    padding: 10px; /* Indre avstand */
    border: 1px solid #ccc; /* Lys grå kantlinje */
    border-radius: 5px; /* Runde hjørner */
    font-size: 14px; /* Tekststørrelse */
    background-color: #ffffff;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.kontakt textarea {
    height: 70px; /* Endrer høyde */
    max-width: 180px; /* Endrer bredde */
    background-color: #ffffff;
}

.kontakt input[type="submit"] {
    background-color: #870000; /* Blå bakgrunn */
    color: rgb(255, 255, 255); /* Hvit tekst */
    padding: 10px 20px; /* Indre avstand */
    margin-left: 20px;
    border: none; /* Ingen kantlinje */
    border-radius: 5px; /* Runde hjørner */
    cursor: pointer; /* Klikkbart ikon */
    font-size: 16px; /* Større tekst */
}

.kontakt input[type="submit"]:hover {
    background-color: #ae0000; /* Grå bakgrunn ved hover */
    transform: scale(1.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/*Innebygd kart*/
/*----------------------------------------------------------------------------------------------------------------------------*/

.kart {
  max-width: 400px;
  height: 250px;
  margin: 0;
  border-radius: 7px;
  overflow: hidden; /* VIKTIG for runde hjørner */
  border: 1px solid #000000;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.kart iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/*Nederste side*/
/*----------------------------------------------------------------------------------------------------------------------------*/

/* Venstre og høyre kolonne */
.kontakt-venstre,
.kontakt-hoyre {
  flex: 1;
}


@media (max-width: 1275px) {
  .kontakt-wrapper {
    flex-direction: column;
    gap: 30px;
    align-items: center
  }

  .kart iframe {
    height: 250px;
  }
}




.footer {
  background-color: #1c1c1c;
  color: #fff;
  width: 100%;
  padding: 60px 0 20px;
  font-family: Arial, Helvetica, sans-serif;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}

/* VENSTRE */
.footer-left {
  flex: 1;
}

.contact-link {
  color: #ff0000;
  font-size: 20px;
  font-weight: bold;
  text-decoration: none;
  margin-left: -20px;
  padding-left: -50px;
  transition: 0.3s ease;
  display: inline-block;
}

.contact-link:hover {
  color: #ffffff;
  transform: scale(1.05);
}

.contact-info p {
  margin: 15px 50px;
  font-size: 14px;
  text-align: left;
}

.contact-info a {
  text-decoration: none;
  color: #ffffff;
  transition: 0.3s ease;
  display: inline-block;
}

.contact-info a:hover{
  transform: scale(1.05);
  color: #bfbfbf;
}

/* MIDTEN */
.footer-center {
  flex: 1;
  text-align: center;
}

.footer-logo {
  max-width: 250px;
  margin-bottom: 20px;
  transition: 0.3s ease;
}

.footer-logo:hover {
  transform: scale(1.05);
}

.social-links {
  display: flex;
  justify-content: center;
}

.social-links a {
  margin: 0 7px;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

.social-links a:hover {
  text-decoration: underline;
}



.social-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  background-color: #eef3f5;
  justify-content: center;
  align-items: center;
  margin: 0 auto 12px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.social-link img {
  width: 40px;
}

/* Hover-effekt */
.social-link:hover {
  transform: scale(1.15);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}





/* HØYRE */
.footer-right {
  flex: 1;
  text-align: right;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav a {
  color: #fff;
  text-decoration: none;
  transition: all 0.2s ease;
}

.footer-nav a:hover {
  color: #ff0000;
}

/* BUNN */
.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding: 0 40px;
  text-align: right;
  font-size: 13px; 
}

.footer-bottom img {
  width: 100px;
  margin-bottom: -7px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}


.footer-bottom img:hover{
  transform: scale(1.05);
}

/* RESPONSIV */
@media (max-width: 1275px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
    align-items: center;   /* ← viktig */
    gap: 40px;
  }

  .footer-left,
  .footer-center,
  .footer-right {
    text-align: center;
  }

  /* Kontaktinfo */
  .contact-info p {
    margin: 15px 0;       /* fjern side-marginer */
    text-align: center;
  }

  .contact-link {
    margin-left: 0;
    padding-left: 0;
  }

  /* Sosiale ikoner */
  .social-links {
    justify-content: center;
  }

  /* Navigasjon */
  .footer-nav {
    align-items: center;
  }

  /* Footer-bunn */
  .footer-bottom {
    text-align: center;
  }
}
