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

body {
  background-color: #131e3b;
  color: #a8c2a1;
  line-height: 1.6;
}

/* Navbar */
.navbar {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* Justerer navbar så burger-menu fungerer */
  padding: 20px 50px;
  background-color: #131e3b;
  position: relative;
}

.navbar-logo img {
  height: 80px;
}

.navbar-menu {
  display: flex;
  list-style: none;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.navbar-menu li a {
  text-decoration: none;
  color: #a8c2a1;
  font-size: 18px;
  transition: color 0.3s;
}

.navbar-menu li a:hover,
.navbar-menu li a.active {
  color: #ffffff;
  border-bottom: 2px solid #ffffff;
  padding-bottom: 5px;
}

/* Burger-menu Styling */
.burger-toggle {
  display: none;
}

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

.burger-icon span {
  display: block;
  width: 30px;
  height: 3px;
  background-color: #a8c2a1;
  border-radius: 5px;
}

/* Hero Section */
.hero-header {
  text-align: center;
  padding: 20px;
}

.hero-image {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 12px;
}

/* Historier fra Kunstnere */
.historier-sektion {
  padding: 50px 20px;
}

.historier-sektion h1, h2 {
  text-align: center;
  margin-bottom: 20px;
}

.kunstner-kort {
  display: flex;
  align-items: center;
  background-color: #1b2a4e;
  margin-bottom: 20px;
  border-radius: 10px;
  padding: 15px;
  gap: 20px;
}

.kunstner-kort img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
}

.kunstner-info h2 {
  color: #a8c2a1;
  margin-bottom: 10px;
}

.kunstner-info a {
  color: #5aa469;
  text-decoration: none;
}

.kunstner-info a:hover {
  color: #ffffff;
}

/* 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 Navbar */
@media (max-width: 768px) {
  .burger-icon {
    display: flex;
  }

  .navbar-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 80px;
    right: 0;
    background-color: #131e3b;
    width: 100%;
    text-align: center;
    z-index: 1000;
  }

  .burger-toggle:checked + .burger-icon + .navbar-menu {
    display: flex;
  }

  .navbar-menu li {
    margin: 10px 0;
  }
}

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

  .navbar-logo img {
    height: 60px;
  }
}

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

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

  .navbar-logo img {
    height: 50px;
  }
}
