
/* --- Popup styling --- */
.popup-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #FF733C;
  color: white;
  border: none;
  padding: 15px 20px;
  border-radius: 50px;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  z-index: 3000;
}
.popup-btn:hover {
  background-color: #FF5A00;
  transform: scale(1.1);
}
.popup {
  display: none; /* starter skjult */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  background: rgba(0,0,0,0.5);
  z-index: 4000;
  animation: fadeIn 0.4s ease forwards;
}
.popup-content {
  background: #fff;
  margin: 80px auto;
  padding: 30px 20px;
  width: 90%;
  max-width: 600px;
  border-radius: 15px;
  text-align: center;
  font-family: 'Work Sans', sans-serif;
  position: relative;
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
  animation: popIn 0.4s ease;
}
.popup-content h2 {
  font-size: 34px;
  margin-bottom: 15px;
  color: #5F8CB4;
}
.popup-content p {
  font-size: 21px;
  color: #5F8CB4;
  margin-bottom: 20px;
  line-height: 1.5;
}
.popup-img {
  width: 100%;
  max-width: 350px;
  height: auto;
  margin: 15px 0;
  border-radius: 10px;
  object-fit: cover;
}
.popup-extra {
  margin-top: 20px;
  padding: 15px;
  background: #f5f7fa;
  border-radius: 10px;
  text-align: left;
}
.popup-extra h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #003d80;
}
.popup-extra h3 span {
  color: #d9534f;
  font-weight: 700;
}
.popup-extra p {
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 15px;
  color: #333;
}
.cta-knap {
  display: inline-block;
  padding: 12px 20px;
  margin: 10px 0;
  background: #FF733C;
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s ease;
  border: none;
}
.cta-knap:hover {
  background-color: #FF5A00;
  transform: scale(1.05);
}
.close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 30px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  transition: color 0.2s ease;
}
.close:hover {
  color: #FF733C;
}
.feedback-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
  text-align: left;
}
.feedback-form label {
  font-weight: 600;
  font-size: 0.9rem;
  margin: 10px 0 5px;
  display: block;
}
.feedback-form input,
.feedback-form textarea {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-family: 'Work Sans', sans-serif;
  font-size: 0.95rem;
  box-sizing: border-box;
}
.feedback-form textarea {
  resize: vertical;
}
.send-knap {
  background-color: #FF733C;
  color: #fff;
  padding: 10px 15px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
}
.send-knap:hover {
  background-color: #FF5A00;
  transform: scale(1.05);
}
@keyframes popIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@media (max-width: 600px) {
  .popup-content h2 { font-size: 28px; }
  .popup-content p { font-size: 18px; }
  .popup-img { max-width: 100%; }
}
