/* === Grundinställningar === */
body {
  font-family: Verdana, Helvetica, sans-serif;
  background: url('images/bg_top.jpg') repeat-x top center;
  background-color: #c41500;
  color: #000;
  padding: 70px 0 40px;
  margin: 10px 0;
}

/* === Header & Navigering === */
header {
  text-align: center;
  margin: 0;
  padding: 0;
  background-color: #fff;
}

p {
  font-size: 0.8rem;
}

img.border {
  border: 1px solid;
}

.main-menu {
  max-width: 900px;
  margin: 0 auto;
  background-color: white;
  padding: 0.5rem 1rem;
  position: relative;
  border-bottom: 1px solid;
  z-index: 10;
}

.main-menu ul {
  list-style: none;
  margin: 0;
  padding: 0.25rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.75rem;
}

.main-menu a {
  text-decoration: none;
  color: #000;
  padding: 4px 8px;
  position: relative;
}

.main-menu a.active::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 11px;
  height: 7px;
  background: url('images/arrow.jpg') no-repeat center;
  background-size: contain;
}

.main-menu a:hover {
  color: #990000;
}

/* === Headerbilder === */
.header {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding: 1rem;
  flex-wrap: wrap;
}

.header img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* === Huvudinnehåll === */
main {
  position: relative;
  background: #fff;
  z-index: 1;
}

main::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  background: url('images/bg_bottom.jpg') repeat-x bottom center;
  z-index: -1;
}

.content-wrapper {
  max-width: 750px;
  margin: 0 auto;
  padding: 1rem 1rem 3rem;
  background: #fff;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
}

.intro h1 {
  font-size: 1.2rem;
  margin: 0 0 1rem 0;
  font-weight: normal;
}

.indent {
  display: block;
  padding-left: 9ch;
}

img.float_right {
  float: right;
  margin-left: 10px;
}

/* === Kontaktkort === */
.contacts {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.contacts article {
  flex: 1 1 300px;
  background: #f9f9f9;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  font-weight: normal;
  line-height: 1.4;
  color: #333;
  transition: box-shadow 0.3s ease;
}

.contacts article:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.contacts article h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 1.1rem;
  color: #990000;
}

.contacts article p {
  margin: 0;
  font-size: 0.9rem;
}

/* === Sidfot === */
.footer-image img {
  width: 100%;
  display: block;
}

/* === Meny Toggle (Hamburgermeny) === */
.menu-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

/* === Responsivitet === */
@media (max-width: 600px) {
  .menu-toggle {
    display: block;
  }

  .main-menu ul {
    display: none;
    flex-direction: column;
    gap: 0;
    padding-left: 0;
    margin: 0;
  }

  .main-menu ul.active {
    display: flex;
  }

  .main-menu ul li {
    margin: 0.5rem 0;
  }

  .contacts {
    flex-direction: column;
  }

  .contacts article {
    flex: auto;
  }

  .main-menu ul {
    flex-direction: column;
    align-items: center;
  }

  main {
    padding: 1rem;
  }

  .main-menu a.active::before {
    display: none;
  }

  .header img {
    max-width: 45vw;
  }
}
