:root {
    --primary: #2C4B42;
    --accent: #162a0e;
    --background: #F5F3EF;
    --text: #1E2A26;
    --white: #FFFFFF;
  }
  
  body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: var(--background);
    color: var(--text);
  }
  
  header {
    background-color:rgb(24, 84, 67);
    color: var(--white);
    padding: 1.5rem;
    text-align: center;
  }

  /* NAV */
.main-nav {
  position: relative;
  background-color:rgb(24, 84, 67);
  text-align: right;
  padding: 1rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--white);
  display: block;
  border-radius: 2px;
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2rem;
  justify-content: center;
}

.nav-links li a {
  color: var(--white);
  text-decoration: none;
  font-weight: 800;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: var(--accent);
}

html {
  scroll-behavior: smooth;
}

/* Mobilanpassning */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary);
    flex-direction: column;
    align-items: center;
    display: none;
    padding: 1rem 0;
  }

  .nav-links.show {
    display: flex;
  }
}


  .logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
  }
  
  .logo {
    height: 250px;
    width: auto;
  }
  
  h1 {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    font-size: 2rem;
  }
  
  .container {
    max-width: 1000px;
    margin: 4rem auto;
    padding: 2rem 1rem;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
  }
  
  .container h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
  }
  
  .container .tagline {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 1.5rem;
  }
  
  .container p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text);
    margin-bottom: 2rem;
  }
  
  .cta-button {
    padding: 1rem 2rem;
    background-color: var(--primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.3s ease;
  }
  
  .cta-button:hover {
    background-color: var(--accent);
    color: var(--text);
  }
  
  /* Visuell effekt */
  .container {
    animation: fadeIn 1.2s ease-out;
  }
  
  /* Animation för att få sektionen att fadea in */
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .service-section {
    text-align: center;
    padding: 4rem 1rem;
    background-color: var(--background);
  }
  
  .service-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .service-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
  }
  
  .service-icon {
    margin-bottom: 1rem;
    font-size: 3rem;
    color: var(--primary);
  }
  
  .service-card h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .service-card p {
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 1.5rem;
  }
  
  .service-card .button {
    background-color: var(--primary);
    color: var(--white);
    padding: 0.75rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
  }
  
  .service-card .button:hover {
    background-color: var(--accent);
    color: var(--text);
  }
  
  
  
  a.button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s ease;
  }
  
  a.button:hover {
    background-color: var(--accent);
    color: var(--text);
  }

  .services {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 1rem;
  }
  
  .services h2 {
    text-align: center;
    font-size: 1.8rem;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 2rem;
  }
  
  .service-list {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .service {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    flex: 1 1 250px;
    max-width: 300px;
    text-align: center;
  }
  
  .service h3 {
    margin-top: 0;
    color: var(--primary);
  }
  
  .service p {
    font-size: 0.95rem;
  }

  .icon {
    color: var(--primary);
    margin-bottom: 0.5rem;
  }

  .service {
    position: relative;
    overflow: hidden;
    max-height: 260px;
    transition: max-height 0.5s ease, box-shadow 0.3s ease;
  }
  
  .service:hover {
    max-height: 400px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
  }
  
  .more-info {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    display: none;
  }
  
  .more-info.show {
    display: block;
  }
  
  button.toggle-btn {
    margin-top: 1rem;
    background-color: var(--accent);
    color: var(--text);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  button.toggle-btn:hover {
    background-color: var(--primary);
    color: var(--white);
  }
  
  footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 2rem 1rem;
    text-align: center;
    margin-top: 3rem;
  }
  
  .footer-container {
    max-width: 1000px;
    margin: 0 auto;
  }
  
  .footer-container p {
    margin: 0 0 1rem 0;
    font-size: 0.9rem;
  }
  
  .socials a {
    color: var(--white);
    margin: 0 0.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
  }
  
  .socials a:hover {
    color: var(--accent);
  }

  .social-icon {
    width: 28px;
    height: 28px;
    color: var(--white);
    margin: 0 0.5rem;
    transition: color 0.3s ease;
  }
  
  .social-icon:hover {
    color: var(--accent);
  }
  
  #contact.hidden {
    display: none;
  }
  

  .contact {
    max-width: 600px;
    margin: 4rem auto;
    padding: 2rem;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  }
  
  .contact h2 {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 1.5rem;
  }
  
  .contact form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .contact label {
    font-weight: 600;
  }
  
  .contact input,
  .contact textarea {
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
  }
  
  .contact button {
    align-self: flex-start;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .contact button:hover {
    background-color: var(--accent);
    color: var(--text);
  }
  
  .popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 75, 66, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
  }
  
  .popup-content {
    background: var(--white);
    color: var(--text);
    padding: 2rem;
    border-radius: 8px;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  }
  
  .popup button {
    margin-top: 1rem;
    background-color: var(--primary);
    color: var(--white);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
  }
  
  .popup.hidden {
    display: none;
  }
  
  .scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  
  .scroll-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  
  .scroll-icon {
    width: 24px;
    height: 24px;
    color: var(--white);
  }
  
  
  .scroll-top:hover {
    background-color: var(--accent);
    color: var(--text);
  }
  
  
  .about {
    background-color:rgb(133, 165, 156);;
    padding: 4rem 1rem;
    margin: 4rem 0;
    border-top: 5px solid var(--primary);
  }
  
  .about-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
  }
  
  .about-text {
    flex: 1 1 400px;
  }
  
  .about-text h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
    border-left: 5px solid var(--accent);
    padding-left: 0.75rem;
  }
  
  .about-text p {
    color:rgb(0, 0, 0);
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.6;
  }
  
  .about-image {
    flex: 1 1 300px;
    text-align: center;
  }
  
  .about-image img {
    max-width: 100%;
    border-radius: 8px;
    border: 3px solid var(--accent);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  .cta {
    background-color: var(--primary);
    color: var(--white);
    padding: 4rem 1rem;
    text-align: center;
  }
  
  .cta-container {
    max-width: 800px;
    margin: 0 auto;
  }
  
  .cta h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  .cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }
  
  .cta a.button {
    background-color: var(--accent);
    color: var(--text);
  }
  
  .cta a.button:hover {
    background-color: var(--white);
    color: var(--primary);
  }
  
  
  
  @media (max-width: 600px) {
    .logo {
      height: 120px;
    }
  
    .logo-container {
      flex-direction: column;
      text-align: center;
    }
  }