/* Reset og generel styling */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Work Sans", sans-serif;
}

body {
  font-family: 'Work Sans', sans-serif;
  color: #a8c2a1;
  background-color: #131e3b;
  font-weight: 320;
  line-height: 1.6;
}

/* Navbar */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #131e3b;
  padding: 20px 50px;
  position: relative;
}

.navbar-logo img {
  height: 120px;
  transition: height 0.3s ease-in-out;
}

.navbar-menu {
  flex: 1;
  display: flex;
  justify-content: flex-start;
  gap: 40px;
  list-style: none;
  margin-left: 30px;
  padding: 0;
}

.navbar-menu li a {
  text-decoration: none;
  color: #a8c2a1;
  font-size: 20px;
  font-weight: 350;
  transition: color 0.2s ease-in-out;
}

.navbar-menu li:hover a {
  color: #ffffff;
}

/* Burger-menu styling */
.burger-toggle {
  display: none; /* Skjul på større skærme */
}

.burger-menu {
  display: none;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
}

.burger-menu span {
  display: block;
  width: 45px;
  height: 5px;
  background-color: #a8c2a1; /* Samme farve som navbarens tekst */
  border-radius: 10px;
}

/* FAQ Styling */
.faq-section {
  margin: 50px auto;
  padding: 20px;
  max-width: 1000px;
  background-color: #1a2545;
  border-radius: 8px;
}

.faq-section h1 {
  color: #a8c2a1;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
}

.faq-item {
  margin-bottom: 20px;
  border-bottom: 1px solid #a8c2a1;
  padding-bottom: 10px;
}

.faq-item h2 {
  font-size: 22px;
  color: #a8c2a1;
  font-weight: 600;
}

.faq-item p {
  color: #ffffff;
  margin-top: 10px;
  font-size: 18px;
}

/* Feedback Formular */
.customer-feedback {
  background-color: #1a2545;
  padding: 30px;
  margin: 40px auto;
  max-width: 600px;
  border-radius: 8px;
  color: #a8c2a1;
}

.customer-feedback h2 {
  font-size: 24px;
  font-weight: 700;
  color: #a8c2a1;
  margin-bottom: 10px;
}

.customer-feedback p {
  font-size: 16px;
  margin-bottom: 20px;
}

.customer-feedback label {
  display: block;
  margin-top: 10px;
  font-weight: 600;
}

.customer-feedback input,
.customer-feedback textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #44519f;
  border-radius: 5px;
  background-color: #131e3b;
  color: #a8c2a1;
}

.customer-feedback button {
  background-color: #44519f;
  color: #ffffff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
}

.customer-feedback button:hover {
  background-color: #0073e6;
}

/* Footer - Ensrettet styling */
.footer-section {
  background-color: #131e3b;
  color: #a8c2a1;
  padding: 30px 50px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: left;
}

.footer-section p,
.footer-section a {
  margin: 5px 0;
  color: #a8c2a1;
}

.footer-section a {
  text-decoration: none;
  font-weight: 600;
}

.footer-section a:hover {
  text-decoration: underline;
}

.footer-section .overskrift {
  font-weight: bold;
  margin-bottom: 10px;
  font-size: 18px;
}

.footer-section .bold {
  font-weight: bold;
}

.footer-section .radar {
  font-size: 24px;
  font-weight: 700;
}

.footer-section .mellemrum {
  margin-top: 15px;
}

/* Responsiv styling til burger-menu */
@media (max-width: 1024px) {
  .navbar-menu {
    display: none; /* Skjul standard navbar-menu på mindre skærme */
  }

  .burger-menu {
    display: flex; /* Vis kun burger-menu */
    position: absolute;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
  }

  .burger-toggle:checked + .burger-menu + .navbar-menu {
    display: flex; /* Vis menuen når burger-menuen åbnes */
    flex-direction: column;
    position: absolute;
    top: 80px; /* Placer menuen under navbar */
    right: 0;
    background-color: #131e3b; /* Baggrundsfarve for dropdown-menu */
    width: 100%;
    padding: 10px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 10;
  }

  .navbar {
    position: relative; /* Sørger for, at burger-menuen forholder sig til navbarens position */
    padding: 10px 20px; /* Mindre padding for mindre skærme */
  }

  .navbar-logo img {
    height: 80px; /* Skaler logoet ned på mindre skærme */
  }

  .footer-section {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .footer-section {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .navbar-logo img {
    height: 60px;
  }

  .faq-section h1 {
    font-size: 26px;
  }

  .faq-item h2 {
    font-size: 18px;
  }

  .faq-item p {
    font-size: 14px;
  }

  .footer-section p,
  .footer-section a {
    font-size: 14px;
  }

  .footer-section {
    grid-template-columns: 1fr;
  }
}
