body {
  font-family: "Playpen Sans", cursive;
}

body, html {
  margin: 0;
  padding: 0;
  width: 100%;
}

.bgimg {
  background-image: url("Bilder/bakgrund.jpeg");
  min-height: 110%;
  background-position: center;
  background-size: cover;
}

header {
  background-color: #ffffff; /* Ljus grå bakgrund */
  padding: 10px 0; /* Top och bottenmarginaler */
  position: fixed; /* Gör headern fast */
  top: 0; /* Positionerar headern längst upp */
  width: 100%; /* Gör headern lika bred som viewporten */
  z-index: 1000; /* Ser till att headern ligger över annat innehåll */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Lätt skugga för visuell effekt */
}

.container {
  width: 95%; /* Maximala bredd (justera vid behov) */
  margin: 0 auto; /* Centrera innehåll */
  display: flex; /* Aktivera flexbox-layout */
  justify-content: space-between; /* Fördela utrymme jämnt mellan logo och meny */
  align-items: center; /* Vertikalt centrera logotyp och meny */
}

.main-content {
  margin-top: 70px; /* Lägg till ett toppmarginal för att kompensera för den fasta headern */
}
  
  .logo {
    width: 80px; /* Bredd på logotypen (justera vid behov) */
  }
  
  .logo img {
    max-width: 100%; /* Anpassa bildens bredd till behållaren */
    height: auto; /* Behåll bildens proportioner */
  }
  
  nav ul {
    list-style: none; /* Ta bort standardlistmarkeringar */
    margin: 0; /* Noll marginal */
    padding: 0; /* Noll padding */
  }
  
  nav li {
    display: inline-block; /* Visa menyposter som rader */
    margin-right: 70px; /* Högermarginal mellan menyposter */
  }
  
  nav a {
    text-decoration: none; /* Ta bort understrykning */
    color: #000000; /* Mörkgrå textfärg */
    font-weight: bold; /* Fet text */
    font-size: 1vw;
  }
  
  nav a:hover {
    color: #555; /* Blå färg vid hover */
  }
  .dropdown {
    position: relative; /* Gör dropdown-menyn positionerbar */
  }
  
  .dropdown-content {
    display: block; /* Ändras från 'none' till 'block' för att kunna animera */
    opacity: 0; /* Börjar osynlig */
    visibility: hidden; /* Håller den osynlig */
    position: absolute;
    background-color: #ffffff;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 100;
    transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out;
  }
  
  .dropdown:hover .dropdown-content {
    opacity: 1; /* Gör den synlig */
    visibility: visible; /* Gör den synlig */
  }
  
  .dropdown-content li {
    padding: 12px 12px; /* Marginaler för varje dropdown-länk */
    margin: 10px;
  }
  
  .dropdown-content a:hover {
    color: #555; /* Ljusare grå bakgrund vid hover */
  }

  .center-button {
    display: flex;
    justify-content: center;
    flex-direction: column; /* Ändra flex-riktning till kolumn för att stapla elementen vertikalt */
    align-items: center;
    height: 100vh; /* Gör så att div-en täcker hela höjden av fönstret */
}

.center-button button {
  padding: 15px 30px;
  font-family: "Playpen Sans", cursive;
  font-size: 1.5em;
  background-color: rgb(175, 150, 124);
  color: white;
  border: none;
  border-radius: 8px; /* Rundare hörn */
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.7); /* Mjuk skugga */
  font-weight: bold;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.center-button button:hover {
  background-color: rgb(145, 120, 94);
  transform: scale(1.05); /* Lätt upphöjd effekt vid hover */
  box-shadow: 3px 5px 15px rgba(0, 0, 0, 0.8);
}

.new-line-text {
  font-size: 1.2em;
  color: #000; /* Svart textfärg */
}
.ads-section {
  text-align: center;
  padding: 50px 0;
  background-color: #f9f9f9; /* Ljus bakgrundsfärg för annonssektionen */
}

.ads-section h2 {
  font-size: 2em;
  margin-bottom: 20px;
}

.ad {
  display: inline-block;
  width: 300px; /* Justera bredden efter behov */
  margin: 20px;
  padding: 20px;
  background-color: #fff; /* Vit bakgrund för varje annons */
  border: 1px solid #ddd; /* Lätt grå kantlinje */
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Lätt skugga för visuell effekt */
  text-align: left;
}

.ad img {
  width: 100%;
  height: auto;
  border-bottom: 1px solid #ddd;
  margin-bottom: 15px;
}

.ad h3 {
  font-size: 1.5em;
  margin: 15px 0;
}

.ad p {
  font-size: 1em;
  color: #555;
}
.info-section {
  padding: 50px 10%;
  background-color: #fff; /* Vit bakgrundsfärg för informationssektionen */
  text-align: center;
}

.info-section h2 {
  font-size: 2em;
  margin-bottom: 20px;
}

.info-section p {
  font-size: 1.2em;
  line-height: 1.6;
  color: #333;
  font-family: Arial, Helvetica, sans-serif;
}

footer {
  background-color: #333; /* Mörk bakgrundsfärg */
  color: white; /* Vit textfärg */
  text-align: center; /* Centrera texten */
  padding: 20px 0; /* Top- och bottpadding */
  position: relative;
  bottom: 0;
  width: 100%;
  font-family: Arial, Helvetica, sans-serif;
}

.footer-content p {
  margin: 5px 0; /* Marginal mellan paragraferna */
  font-size: 0.9em; /* Mindre textstorlek */
}

.row {
  display: flex;
  align-items: center;
  padding: 20px;
}

.row.reverse {
  flex-direction: row-reverse;
}

.row .image {
  flex: 1;
  padding: 10px;
}

.row .image img {
  max-width: 1100px; /* Bilden blir högst 400px bred, justera efter behov */
  width: 100%; /* Bilden fyller ut hela sin behållare om den är mindre än maxbredden */
  height: auto; /* Behåller bildens proportioner */
  display: block;
  border-radius: 3px;
  margin: 0 auto; /* Centrerar bilden i sin container */
}

.row .text {
  flex: 1;
  padding: 10px;
}

.omoss-sektion {
  margin-top: 80px;
}

.kontakt-container {
  max-width: 900px;
  margin: 100px auto 50px;
  padding: 20px;
  text-align: center;
}

.kontakt-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
}

.kontakt-form {
  flex: 1;
  min-width: 300px;
  padding: 20px;
  background: linear-gradient(to right, #f0f0f0, #d9d9d9);
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.kontakt-form label {
  display: block;
  font-weight: bold;
  margin-top: 10px;
}

.kontakt-form input, .kontakt-form textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1em;
}

.kontakt-form button {
  margin-top: 15px;
  padding: 10px 20px;
  background-color: rgb(175, 150, 124);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.kontakt-form button:hover {
  background-color: rgb(145, 120, 94);
}

.kontakt-info {
  flex: 1;
  min-width: 300px;
  padding: 20px;
  background: linear-gradient(to right, #a1c4fd, #c2e9fb);
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.kontakt-karta {
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* === Produktgalleri (modal) === */
.gallery-modal {
  position: fixed; inset: 0; display: none;
  align-items: center; justify-content: center;
  z-index: 1000;
  }
  .gallery-modal[aria-hidden="false"] { display: flex; }
  .gallery-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.6); }
  .gallery-dialog {
  position: relative; max-width: min(90vw, 1000px); width: 100%;
  background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,.35);
  }
  .gallery-close {
  position: absolute; top: 8px; right: 8px; border: 0; background: #000; color: #fff;
  width: 36px; height: 36px; border-radius: 50%; font-size: 22px; cursor: pointer;
  }
  .gallery-stage { position: relative; aspect-ratio: 16/10; background: #111; display: flex; align-items: center; justify-content: center; }
  .gallery-stage img { max-width: 100%; max-height: 100%; object-fit: contain; }
  .gallery-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,.6); color: #fff; border: 0; width: 44px; height: 44px; border-radius: 50%;
  font-size: 28px; cursor: pointer; display: grid; place-items: center;
  }
  .gallery-nav.prev { left: 10px; }
  .gallery-nav.next { right: 10px; }
  .gallery-thumbs { display: grid; grid-auto-flow: column; gap: 8px; padding: 10px; overflow-x: auto; background: #f6f6f6; }
  .gallery-thumbs button {
  border: 2px solid transparent; padding: 0; background: transparent; cursor: pointer; border-radius: 8px;
  }
  .gallery-thumbs img { height: 64px; width: 64px; object-fit: cover; display: block; border-radius: 6px; }
  .gallery-thumbs button[aria-current="true"] { border-color: #333; }
  
  
  /* Förhindra bakomliggande scroll när modalen är öppen */
  body.modal-open { overflow: hidden; }
  
  
  /* Pek-gest-hjälp (mobil) */
  @media (hover: none) and (pointer: coarse) {
  .gallery-nav { display: none; }
  }