* {
  box-sizing: border-box;
}
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Poppins:wght@600;700&display=swap');


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

.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;
  }
}


.snap-container {
  flex: 1 0 auto;
  height: auto;
  overflow: visible;
}
.contact-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #DFD0b8;
  font-size: 2rem;
 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;
}
.contact-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 900px;
  gap: 48px;
  height: 100%;
}
.contact-text {
  flex: 2 1 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  height: 100%;
  text-align: center;
}
.contact-text h2 {
  margin-top: 0;
  font-size: 2.3rem;
  width: 100%;
  font-family: 'Poppins', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.contact-text p {
  font-size: 1.3rem;
  margin-bottom: 0.7em;
  width: 100%;
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 400;
  line-height: 1.7;
}
.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-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;
}
@media screen and (max-width: 768px) {
  .contact-text h2 {
    font-size: 2rem;
  }
  .contact-text p {
    font-size: 1.2rem;
  }
}
