/* === RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  html, body {
    max-width: 100%;
    overflow-x: hidden;
  }
  
  body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #f7f9fc;
    color: #222;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }
  
  /* === HEADER / NAVBAR === */
  .navbar {
    background-color: #a6d9bf;
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }
  
  .nav-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .logo-img {
    height: 80px;
  }
  
  .menu-toggle {
    display: none;
  }
  
  .nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
  }
  
  .nav-links a {
    text-decoration: none;
    color: #000;
    font-weight: 500;
  }
  
  /* === MOBILE NAV === */
  @media (max-width: 768px) {
    .menu-toggle {
      display: block;
      margin-top: 0.5rem;
      font-size: 2rem;
      background: none;
      border: none;
      cursor: pointer;
      color: #333;
      margin-left: auto;
      align-items: center;
      height: 80px;
      overflow-x: hidden;
    }
  
    .nav-links {
      flex-direction: column;
      display: none;
      position: absolute;
      top: 100px;
      left: 0;
      right: 0;
      width: 100%;
      max-width: 100%;
      background-color: #a6d9bf;
      padding: 1rem 1rem;
      border-radius: 0 0 8px 8px;
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
      z-index: 999;
      overflow-x: hidden;
    }
  
    .nav-links.active {
      display: flex;
    }
  
    .logo-img {
      height: 80px;
    }
  }
  
  /* === MAIN === */
  main {
    flex: 1;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    width: 100%;
    overflow-x: hidden;
  }
  
  main h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  
  main p {
    font-size: 1.1rem;
    line-height: 1.8;
  }
  
  /* === FOOTER === */
  footer {
    background-color: #eee;
    padding: 2rem 1rem;
    text-align: center;
    font-size: 0.9rem;
    color: #444;
    border-top: 1px solid #ccc;
    margin-top: auto;
  }
  
  footer p {
    margin-bottom: 1rem;
  }
  
  .footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
  }
  
  .footer-links a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
  }
  
  .footer-links a:hover {
    color: #000;
    text-decoration: underline;
  }
  
  /* === APPLICATION PAGE === */
  .application-page {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }
  
  .form-group {
    margin-bottom: 1.5rem;
  }
  
  label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
  }
  
  input,
  textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 5px;
  }
  
  .submit-btn {
    background-color: #a6d9bf;
    border: none;
    padding: 0.8rem 1.5rem;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.2s;
  }
  
  .submit-btn:hover {
    background-color: #90c7ad;
  }
  
  .checkbox-group {
    margin-bottom: 2rem;
  }
  
  .checkbox-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
  }
  
  .checkbox-option input[type="checkbox"] {
    margin-right: 0.75rem;
    width: 1rem;
    height: 1rem;
  }
  
  .pris-knapp {
    display: inline-block;
    background-color: #a6d9bf;
    color: #000;
    font-weight: 600;
    padding: 0.7rem 1.4rem;
    border-radius: 6px;
    text-decoration: none;
    margin-bottom: 1rem;
    transition: background-color 0.2s ease;
  }
  
  .pris-knapp:hover {
    background-color: #90c7ad;
  }
  
  /* === PRISLISTE === */
  .price-list-page {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  }
  
  .price-table {
    width: 100%;
    border-collapse: collapse;
  }
  
  .price-table th,
  .price-table td {
    padding: 1rem;
    border-bottom: 1px solid #ddd;
    text-align: left;
  }
  
  .price-table th {
    background-color: #f0f4f8;
    font-weight: bold;
  }
  
  .price-table tr:hover {
    background-color: #f9f9f9;
  }
  
  /* === HOMEPAGE === */
  .homepage .hero {
    text-align: center;
    padding: 4rem 1rem 3rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  
  .hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
  }
  
  .cta-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #a6d9bf;
    color: #000;
    font-weight: bold;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.2s ease;
  }
  
  .cta-btn:hover {
    background-color: #90c7ad;
  }
  
  /* === PROJECTS === */
  .projects-preview {
  padding: 2rem 1rem;
  margin: 0 auto;
  max-width: 100%;
  overflow-x: hidden;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 0; /* legg evt. til hvis ikke definert */
}
  
  .project-card {
    padding: 0.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    
  }
  
  .project-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }
  
  .project-card img {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}

  
  .project-card h3 {
    font-size: 1.2rem;
    padding: 1rem 1rem 0;
  }
  
  .project-card p {
    padding: 0 1rem 1rem;
    color: #444;
    font-size: 0.95rem;
  }

img, video, iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

  
  /* === LIGHTBOX === */
  .lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease;
    overflow-x: hidden;
  }
  
  .lightbox-img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
  }
  
  .lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 2.5rem;
    color: white;
    cursor: pointer;
    font-weight: bold;
  }
  
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }


/* === COOKIE BANNER === */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  color: #000;
  padding: 1.5rem 1rem;
  border-top: 1px solid #ccc;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 9999;
  font-size: 1rem;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.1);
}

.cookie-banner p {
  margin-bottom: 1rem;
  text-align: center;
  max-width: 800px;
  line-height: 1.6;
}

.cookie-banner a {
  color: #0077cc;
  text-decoration: underline;
  font-weight: 500;
}

.cookie-banner .cookie-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.cookie-banner button {
  background-color: #a6d9bf;
  color: #000;
  border: none;
  padding: 0.6rem 1.4rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.cookie-banner button:hover {
  background-color: #90c7ad;
}

/* === COOKIE MODAL === */
.cookie-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.cookie-modal-content {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
  animation: fadeIn 0.3s ease-in-out;
}

.cookie-modal-content h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
  text-align: center;
}

.cookie-modal-content label {
  display: block;
  margin: 0.75rem 0;
  font-size: 1rem;
  cursor: pointer;
}

.cookie-modal-content input[type="checkbox"] {
  margin-right: 0.5rem;
  transform: scale(1.2);
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 1.5rem;
}

.modal-actions button {
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 6px;
  background-color: #a6d9bf;
  font-weight: 600;
  cursor: pointer;
  font-size: 1rem;
}

.modal-actions button:hover {
  background-color: #90c7ad;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

body {
  overflow-x: hidden;
}
.image-wrapper {
  text-align: center;
}

.profile-image {
  width: 300px;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  margin: 2rem auto;
  display: block;
}



