body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: #333;
}

header {
  background: url('photos/header.JPG') no-repeat center center;
  background-size: cover;
  color: #fff;
  padding: 90px 20px;   /* litt høyere enn originalen, men ikke for mye */
  min-height: 300px;     /* sikrer minimumshøyde */
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
  display: flex;
  flex-direction: column;
  justify-content: center;
}


/* General section styling */
section {
  padding: 60px 20px;
  max-width: 1000px;
  margin: auto;
}

section h2 {
  font-size: 2em;
  margin-bottom: 20px;
  color: #2C3E50;
  border-bottom: 3px solid #1ABC9C;
  display: inline-block;
  padding-bottom: 5px;
}

section p {
  font-size: 1.3em;
  color: #555;
  line-height: 1.8;
}

/* Navigation bar */
nav {
  display: flex;
  justify-content: center;
  gap: 25px;
  background: #34495E;
  padding: 15px 0;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  padding: 5px 10px;
  transition: 0.3s;
}

nav a:hover {
  color: #1ABC9C;
  text-decoration: underline;
}

#slideshow-container {
  width: 100%;
  max-width: 800px;
  height: 600px; 
  margin: 20px auto;
  overflow: hidden;
  position: relative;
  border-radius: 10px;
  background: #fff;
}


.slides {
  display: none;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.slides img {
  max-width: 100%;
  max-height: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  object-fit: contain;
  border-radius: 10px;
}

.slide-text {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  text-align: center;
  color: #fff;
  font-size: 1.2rem;
  background: rgba(0,0,0,0.5);
  padding: 10px 0;
  border-radius: 5px;
}

/* Piler */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 24px;
  transition: 0.3s;
  border-radius: 0 3px 3px 0;
  user-select: none;
  background: rgba(0,0,0,0.4);
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

@media (max-width: 600px) {
  #slideshow-container {
    height: 250px;
  }

  .slide-text {
    font-size: 1rem;
    padding: 8px 0;
  }
}
/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: auto;
  padding: 20px 0;
}

.service-item {
  background: #ecf0f1;
  padding: 30px 20px;
  border-radius: 15px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.service-icon {
  font-size: 50px;
  margin-bottom: 15px;
  color: #1ABC9C;
}

.service-item h3 {
  margin-bottom: 10px;
  font-size: 1.3em;
}

.service-item p {
  font-size: 0.95em;
  color: #555;
}


/* Employees */
.employees {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.employee-card {
  text-align: center;
  flex: 1 1 200px;
}

.employee-card img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
}
/*-----Google Reviews----*/
#reviews {
  padding: 60px 20px;
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

#reviews h2 {
  font-size: 2em;
  margin-bottom: 30px;
  color: #2C3E50;
  border-bottom: 3px solid #1ABC9C;
  display: inline-block;
  padding-bottom: 5px;
}

.reviews-embed iframe {
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Media query for iPhone / small screens */
@media (max-width: 600px) {
  .reviews-grid {
    grid-template-columns: repeat(1, 1fr); /* maks 2 kort på rad */
  }
}

/*-----slogan----*/
.slogan {
  text-align: center;
  padding: 20px 10px;
  margin-bottom: 20px; /* litt plass før footeren */
}

.slogan p {
  display: inline-block; /* gjør teksten "inline" for å tilpasse streken */
  font-size: 2em; /* litt større tekst */
  color: #2C3E50;
  border-bottom: 3px solid #1ABC9C; /* grønn linje kun under teksten */
  padding-bottom: 5px; /* litt luft mellom tekst og linje */
  margin: 0;
}


/*----footer----*/
footer {
  background: #2C3E50;
  color: #fff;
  padding: 40px 20px;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.footer-logo img {
  width: 50%;
  max-width: 400px;
  height: auto;
  transition: transform 0.3s;
}

.footer-logo img:hover {
  transform: scale(1.05);
}

.footer-info p {
  margin: 5px 0;
}

/* Legg til ekstra avstand før copyright */
.footer-info p.copyright {
  margin-top: 30px; /* stor avstand til kontaktinfo */
  font-size: 0.9em;
  color: #bbb;
}


.footer-info p {
  margin: 5px 0;
}


footer a {
  color: #9d9797;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}