/* Grundinställningar */
body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #ffffff;
  color: #333;

  /* FIXEN: Vi staplar elementen vertikalt (kolumn) istället för horisontellt */
  display: flex;
  flex-direction: column;
  align-items: center; /* Centrerar innehållet (wrappern) horisontellt */
}

/* Behållaren som håller allt på mitten */
.om-oss-wrapper {
  width: 100%;
  max-width: 900px; /* Begränsar bredden så det inte flyter ut */
  padding: 50px 20px;
  box-sizing: border-box;
}

/* Centrerad Header med Bild-Text-Bild */
.hero-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-bottom: 60px;
  text-align: center;
}

.side-img {
  width: 80px; /* Små dekorativa bilder som i din referens */
  height: auto;
  object-fit: contain;
}

.header-text h1 {
  font-size: 2.5rem;
  margin: 0;
  color: #222;
}

.subtitle {
  font-size: 1.1rem;
  color: #666;
  margin-top: 10px;
}

/* Innehållssektioner */
.main-content {
  text-align: center; /* Centrerar rubriker och brödtext */
}

.info-row {
  margin-bottom: 50px;
  max-width: 700px; /* Gör texten smalare i mitten för bättre läsbarhet */
  margin-left: auto;
  margin-right: auto;
}

h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #e44d26; /* Pizza-röd färg */
}

p {
  line-height: 1.8;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

/* Speciell styling för listan */
.pizza-list {
  list-style: none;
  padding: 0;
  display: inline-block;
  text-align: left; /* Listan är centrerad men texten i den börjar från vänster */
}

.pizza-list li {
  margin-bottom: 10px;
  padding-left: 5px;
}

/* Framhävd banner */
.highlight-banner {
  background-color: #fff4f0;
  padding: 15px 25px;
  border-radius: 50px;
  display: inline-block;
  font-weight: bold;
  color: #e44d26;
  margin: 20px 0;
}

/* Kontaktsektion */
.contact-box {
  margin-top: 60px;
  padding: 40px;
  background-color: #f9f9f9;
  border-radius: 15px;
}

.email a {
  color: #e44d26;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2rem;
}

/* Responsivitet för mobilen */
@media (max-width: 600px) {
  .hero-section {
    flex-direction: column; /* Bilderna hamnar över/under texten på små skärmar */
  }
  .side-img {
    width: 60px;
  }
}

/* Tar bort standard-styling för länken runt bannern */
.highlight-link {
  text-decoration: none; /* Tar bort understrykning */
  color: inherit; /* Gör att texten behåller sin röda färg */
  display: inline-block; /* Gör att hela ytan går att klicka på */
}

/* Valfritt: Gör att den "lyser" lite när man håller musen över */
.highlight-link:hover .highlight-banner {
  background-color: #ffe8e0; /* Lite mörkare orange vid hover */
  transform: scale(1.02); /* Den blir pyttelite större */
  transition: all 0.2s ease; /* Gör rörelsen mjuk */
}

/* --- 2. NAVBAR FIX --- */
.navbar {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background-color: #1a1a1a;
  color: white;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  display: block;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto; /* Centrerar innehållet i navbaren */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.nav-logo {
  font-weight: bold;
  font-size: 1.2rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  color: white;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.hamburger-ikon {
  display: none;
}

.nav-links a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #ff4757;
}

/* --- FOOTER & POLICY --- */
.sajtfot {
  text-align: center;
  padding: 30px 20px;
  margin-top: 50px;
  border-top: 1px solid #ddd;
}

.sajtfot p {
  font-size: 0.85rem;
  color: #777;
}

.sajtfot a {
  color: #777;
  text-decoration: underline;
  margin-left: 10px;
}

/* Denna sektion är gömd tills man klickar på länken */
.policy-innehall {
  display: none;
  text-align: left;
  background: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  margin: 20px auto;
  max-width: 700px;
  border: 1px solid #eee;
}

/* Denna sektion är gömd tills man klickar på länken */
.policy-innehall {
  display: none;
  text-align: left;
  background: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  margin: 20px auto;
  max-width: 700px;
  border: 1px solid #eee;
}

/* Din röda stäng-knapp */
.stang-btn {
  background-color: #cd212a;
  color: white;
  border: none;
  padding: 14px 25px; /* Lite extra bredd på sidorna ser proffsigt ut */
  border-radius: 12px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1rem;
  transition:
    transform 0.2s,
    background 0.2s;
  margin-top: 20px; /* Skapar avstånd till texten ovanför */
}

.stang-btn:hover {
  background-color: #a01a21;
  transform: translateY(-2px);
}

/* --- DOLD SEKTION --- */
.dold-sektion {
  display: none;
  padding: 40px 20px;
  background: white;
  border-top: 3px solid #1a1a1a;
}
.dold-sektion.visa {
  display: block;
}

.policy-innehall.visa {
  display: block;
  /* Gör rutan till en flex-container så vi kan centrera knappen om vi vill */
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Behåll texten till vänster */
}

@media (max-width: 768px) {
  body {
    padding: 0 10px;
  }

  .navbar {
    position: static;
    padding: 10px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  .nav-container {
    position: relative;
    flex-direction: row;
    justify-content: space-between;
    padding: 0 15px;
    gap: 0;
  }

  .nav-logo {
    font-size: 1rem;
  }

  .hamburger-ikon {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 24px;
    height: 20px;
    cursor: pointer;
    padding: 5px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #1a1a1a;
    flex-direction: column;
    gap: 0;
    width: 100%;
    padding: 20px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border-radius: 0 0 12px 12px;
    z-index: 1001;
  }

  .navbar.nav-open .nav-links {
    display: flex;
  }

  .nav-links a {
    font-size: 1rem;
    padding: 15px 20px;
    display: block;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.2s ease;
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .nav-links a:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }

  .om-oss-wrapper {
    padding: 30px 15px;
    max-width: none;
  }

  .hero-section {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
  }

  .side-img {
    width: 60px;
  }

  .header-text h1 {
    font-size: 2.1rem;
  }

  .subtitle {
    font-size: 1rem;
  }

  .info-row {
    margin-bottom: 30px;
    width: 100%;
    max-width: none;
  }

  .highlight-banner {
    padding: 14px 18px;
  }

  .contact-box {
    padding: 25px;
    border-radius: 15px;
  }

  .sajtfot {
    padding: 20px 10px;
  }
}

