.hero-section {
  background-image: url('Background.jpg'); /* Change to your desired image */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(34, 40, 49, 0.85); /* darker overlay for better readability */
  z-index: 0;
}
.hero-left, .hero-right {
  position: relative;
  z-index: 1;
}
/* Sektion-knapp */
.section-btn {
  display: inline-block;
  margin-top: 24px;
  padding: 12px 32px;
  background: #96856c;
  color: #222831;
  border: none;
  border-radius: 24px;
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 1rem;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}
.section-btn:hover {
  background: #dfd0b8;
  color: #222831;
}

/* Footer */

@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Poppins:wght@600;700&display=swap');

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Lato', Arial, sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.snap-container {
  flex: 1 0 auto;
  height: auto;
  overflow: visible;
}

.footer-section {
  width: 100%;
  background: #222831;
  color: #dfd0b8;
  text-align: center;

  padding: 24px 0 16px 0;
  font-size: 1rem;
  font-family: 'Lato', Arial, sans-serif;
  margin-top: 0;
  flex-shrink: 0;
}


.navbar {
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: #222831;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.logo img {
  height: 40px;
  width: auto;
}

/* Mobilanpassning: ännu mindre om du vill */
@media screen and (max-width: 768px) {
  .logo img {
    height: 35px;
  }
}


.menu {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1; /* tar upp allt utrymme mellan logo och hamburger */
  justify-content: center; /* centrerar menyn */
}

.menu li a {
  position: relative;
  color: #dfd0b8;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 16px;
  padding: 6px 0;
  transition: 0.3s;
  font-family: 'Poppins', Arial, sans-serif;
}

.menu li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: #948979;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s;
}

.menu li a:hover {
  color: #dfd0b8a3;
}

.menu li a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1100;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #DFD0B8;
  transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6.2px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6.2px, -5px);
}

/* Mobilanpassning */
@media screen and (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .menu {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100%;
    width: 250px;
    flex-direction: column;
    background-color: #222831;
    gap: 20px;
    padding: 60px 20px 20px 20px; /* mer top padding för att inte hamna under logon */
    transition: right 0.4s ease;
    box-shadow: -2px 0 5px rgba(0,0,0,0.2);
    z-index: 1000;
  }

  .menu.active {
    right: 0;
  }

  /* Hela raden klickbar */
  .menu li {
    width: 100%;
  }

  .menu li a {
    display: block;  /* full width */
    width: 100%;
    padding: 15px 20px;
  }
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 100vh;
  padding: 0px 10%;
  opacity: 1;
  scroll-snap-align: start;
  box-sizing: border-box;
}
/* Scroll snap container */

.snap-container {
  flex: 1 0 auto;
  height: auto;
  overflow: visible;
}

section.next-section {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background-color: #222831;
  color: #dfd0b8;
  font-size: 2rem;
  /* scroll-snap-align: start; */
  padding: 60px 20px 40px 20px;
}

  .about-text {
    order: 1;
  }
  .about-image {
    order: 2;
  }
section.next-section > div {
  max-width: 6000px;
  width: 100%;
  text-align: center;
}

section.about-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #DFD0b8;
  font-size: 2rem;
  /* scroll-snap-align: start; */
  padding: 60px 20px 40px 20px;
  background-color: #222831;
  opacity: 1;
  background: radial-gradient(circle, transparent 20%, #222831 20%, #222831 80%, transparent 80%, transparent), radial-gradient(circle, transparent 20%, #222831 20%, #222831 80%, transparent 80%, transparent) 15px 15px, linear-gradient(#393E46 1.2px, transparent 1.2px) 0 -0.6px, linear-gradient(90deg, #393E46 1.2px, #222831 1.2px) -0.6px 0;
  background-size: 30px 30px, 30px 30px, 15px 15px, 15px 15px;
  opacity: 1;
}

section.contact-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #DFD0b8;
  font-size: 2rem;
  /* scroll-snap-align: start; */
  padding: 60px 20px 40px 20px;
background-color: #222831;
opacity: 1;
background-image:  linear-gradient(30deg, #393E46 12%, transparent 12.5%, transparent 87%, #393E46 87.5%, #393E46), linear-gradient(150deg, #393E46 12%, transparent 12.5%, transparent 87%, #393E46 87.5%, #393E46), linear-gradient(30deg, #393E46 12%, transparent 12.5%, transparent 87%, #393E46 87.5%, #393E46), linear-gradient(150deg, #393E46 12%, transparent 12.5%, transparent 87%, #393E46 87.5%, #393E46), linear-gradient(60deg, #393E4677 25%, transparent 25.5%, transparent 75%, #393E4677 75%, #393E4677), linear-gradient(60deg, #393E4677 25%, transparent 25.5%, transparent 75%, #393E4677 75%, #393E4677);
background-size: 44px 77px;
background-position: 0 0, 0 0, 22px 39px, 22px 39px, 0 0, 22px 39px;
}

.about-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 900px;
  gap: 48px;
  height: 100%;
}
.services-content {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 900px;
  gap: 48px;
  height: 100%;
}
.contact-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 900px;
  gap: 48px;
  height: 100%;
.about-image, .services-image, .contact-image {
  flex: 1 1 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  max-width: 320px;
  height: 100%;
}
.about-image img, .services-image img, .contact-image img {
  width: 100%;
  height: auto;
  max-width: 320px;
  min-width: 180px;
  object-fit: cover;
}
  .about-content, .services-content, .contact-content {
    flex-direction: column;
    gap: 16px;
    align-items: center;
    max-width: 100%;
    height: auto;
  }
  .about-image, .services-image, .contact-image {
    display: none;
  }
}
.about-image {
  flex: 1 1 600px;
  display: flex;
  padding: 0 32px 0 0;
  align-items: center;
  justify-content: center;
  min-width: 320px;
  max-width: 600px;
  height: 100%;
}
.about-image img {
  width: 100%;
  height: auto;
  max-width: 300px;
  min-width: 200px;
  border-radius: 0px;
  background: none;
  object-fit: cover;
}


.about-text {
  flex: 2 1 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  height: 100%;
  text-align: center;
}
.about-text h2 {
  margin-top: 0;
  font-size: 2.2rem;
  width: 100%;
}
.about-text p {
  font-size: 1.2rem;
  margin-bottom: 0.5em;
  width: 100%;
}

@media screen and (max-width: 900px) {
  .about-content {
    gap: 24px;
    max-width: 100%;
  }
  .about-image {
    max-width: 420px;
    min-width: 180px;
    padding: 0 8px 0 0;
  }
}

@media screen and (max-width: 768px) {
  section.about-section {
    padding: 100px 8px 30px 8px;
    font-size: 1.2rem;
    align-items: flex-start;
  }
  .about-content {
    flex-direction: column;
    gap: 16px;
    align-items: center;
    max-width: 100%;
    height: auto;
  }
  .about-text {
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    width: 100%;
    height: auto;
    margin-bottom: 16px;
  }
  .about-image {
    display: none;
  }
  .services-image {
    display: none;
  }
  .contact-image {
    display: none;
  }
  .about-text h2 {
    font-size: 1.5rem;
    width: 100%;
  }
  .about-text p {
    font-size: 1rem;
    width: 100%;
  }
}

@media screen and (max-width: 768px) {
  section.next-section {
    padding: 100px 8px 30px 8px;
    font-size: 1.2rem;
    align-items: flex-start;
  }
  section.next-section > div {
    text-align: center;
  }
  section.next-section h2 {
    font-size: 2rem;
  }
  section.next-section p {
    font-size: 1rem;
  }
}
.hero-left {
  flex: 1;
}

.hero-right {
  font-size: 1.3em;
  font-family: 'Lato', Arial, sans-serif;
  flex: 1;
  line-height: 1.6;
  color: #dfd0b8;
  padding-left: 40px;
}

.main-title {
  color: #DFD0B8;
  font-size: 3rem;
  margin-bottom: 0.5rem;
  font-family: 'Poppins', Arial, sans-serif;
}

.slogan {
  font-size: 1.2rem;
  color: #dfd0b8c9;
  font-family: 'Lato', Arial, sans-serif;
}

/* Responsiv (mobil = stapla) */
@media screen and (max-width: 768px) {
  .header {
    flex-direction: column;
    text-align: center;
    min-height: 100vh;
    padding: 60px 10px 10px 10px;
    box-sizing: border-box;
  }
  .main-title {
    padding-top: 40px;
  }
  .hero-right {
    padding-left: 0;
    margin-top: 20px;
  }
}

/* Rubriker i sektioner */
section h2, h2, h1 {
  font-family: 'Poppins', Arial, sans-serif;
  font-weight: 700;
  }

  /* PROFFSIGA RUBRIKER OCH TEXTER - OVERSKRIVER GAMLA STORLEKAR */
  .hero-right, .about-text p, .services-text p, .contact-text p {
    font-size: 1.3rem !important;
    font-family: 'Lato', Arial, sans-serif;
    font-weight: 400;
    line-height: 1.7;
    margin-bottom: 0.7em;
  }
  @media screen and (max-width: 768px) {
    .main-title {
      font-size: 2.3rem !important;
      letter-spacing: 0.5px;
    }
    .slogan {
      font-size: 1.2rem !important;
      letter-spacing: 0.2px;
    }
    .hero-right, .about-text p, .services-text p, .contact-text p {
      font-size: 1.3rem !important;
      line-height: 1.7;
    }
    .about-text h2, .services-text h2, .contact-text h2 {
      font-size: 2rem !important;
      letter-spacing: 0.2px;
    }
  }

.scroll-arrow {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2.5rem;
  color: #dfd0b8;
  cursor: pointer;
  opacity: 0.4;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 1500;
  user-select: none;
  background: transparent;
}

/* Placering */
.scroll-arrow.down {
  bottom: 20px;
  animation: bounceDown 1.8s infinite;
}
.scroll-arrow.up {
  top: 80px;
  animation: bounceUp 1.8s infinite;
}

.scroll-arrow:hover {
  opacity: 1;
  transform: translateX(-50%) scale(1.1);
}

/* Animationer */
@keyframes bounceDown {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(6px); }
  60% { transform: translateX(-50%) translateY(3px); }
}
@keyframes bounceUp {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-6px); }
  60% { transform: translateX(-50%) translateY(-3px); }
}
