/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap');

:root {
  --bg: #041821;
  --primary: #0fd2c2;
  --text: #ffffff;
  --accent: #0f2b3c;
  --glow: rgba(15, 210, 194, 0.3);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  padding-top: 110px;
}

/* Events Section */
.events-section {
  background-color: rgba(0, 10, 20, 0.95);
  color: white;
  padding: 60px 20px;
  margin-top: 50px;
}

.events-section h2 {
  text-align: center;
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 40px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
  padding-bottom: 5px;
}

.event-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 203, 169, 0.2);
  margin-bottom: 30px;
  text-align: center;
  transition: 0.4s;
}

.event-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 25px var(--glow);
}

.event-card img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  margin-bottom: 15px;
}

.event-card h3 {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.event-card p {
  font-size: 1rem;
  color: #eee;
  margin-bottom: 20px;
}

.event-card .cta-button {
  background: var(--primary);
  color: #000;
  padding: 0.75rem 2rem;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 0 15px var(--glow);
  transition: transform 0.3s;
  position: relative;
  top: 30px;
}

.event-card .cta-button:hover {
  transform: scale(1.1);
}

.site-header {
  background-color: var(--dark-bg); /* eller din egen farve */
  padding: 10px 20px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  max-width: 1200px;
  margin: 0 auto;
}

.logo-container {
  flex-shrink: 0;
}

.site-logo {
  height: 180px;   /* tydeligt og flot */
  width: auto;
  object-fit: contain;
}



.contact-form {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 15px;
  max-width: 600px;
  margin: 0 auto 60px auto;
  box-shadow: 0 5px 20px rgba(0, 203, 169, 0.1);
}

.contact-form h3 {
  color: var(--primary);
  text-align: center;
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: none;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
}

.contact-form button {
  background-color: var(--primary);
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-form button:hover {
  background-color: #009c83;
}

.contact-section {
  background-color: rgba(0, 10, 20, 0.95);
  color: white;
  padding: 50px 20px;
}

.contact-section h2,
.contact-section h3 {
  text-align: center;
  color: var(--primary);
  margin-bottom: 30px;
  font-size: 2rem;
}

.map-container {
  margin-bottom: 50px;
}

.team-section {
  margin-top: 40px;
}

.team-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.team-member {
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 15px;
  text-align: center;
  width: 240px;
  box-shadow: 0 5px 20px rgba(0, 203, 169, 0.15);
}

.team-member img {
  width: 100%;
  max-width: 120px;
  border-radius: 50%;
  margin-bottom: 15px;
  border: 2px solid var(--primary);
}

.team-member h4 {
  margin: 10px 0 5px 0;
  font-size: 1.2rem;
  color: var(--primary);
}

.team-member p {
  font-size: 0.95rem;
  line-height: 1.4;
  margin: 5px 0;
}

.team-member a {
  color: #00cba9;
  text-decoration: underline;
}

.about-us {
  padding: 60px 20px;
  background-color: rgba(0, 10, 20, 0.9);
  color: white;
  font-family: 'Segoe UI', sans-serif;
}

.about-us h2 {
  text-align: center;
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 30px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
  padding-bottom: 5px;
}

.about-us .content-box {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 16px;
  line-height: 1.8;
  box-shadow: 0 10px 30px rgba(0, 203, 169, 0.1);
}

.about-us p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: #eee;
}


/* Dropdown */
.dropdown {
  position: relative;
}

/* Dropdown default: skjult */
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  background-color: rgba(0, 10, 20, 0.95);
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 203, 169, 0.3);
  padding: 0.5rem 0;
  z-index: 999;
  min-width: 180px;
}

/* Når aktiv */
.dropdown.active .dropdown-content {
  display: block;
}


.dropbtn {
  color: white;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
  display: inline-block;
}

.arrow {
  display: inline-block;
  margin-left: 5px;
  transition: transform 0.3s ease;
}

/* Når dropdown er aktiv, roter pilen */
.dropdown.active .arrow {
  transform: rotate(180deg);
}



.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: var(--background);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.nav {
  display: flex;
  gap: 1rem;
  align-items: center; /* Dette er vigtigt for lodret centrering */
}


.nav a {
  color: white;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: background 0.3s;
}

.nav a:hover {
  background: var(--primary);
}

/* Hamburger menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  height: 3px;
  width: 25px;
  background: white;
  border-radius: 2px;
}

.hero {
  position: relative;
  text-align: center;
  padding: 5rem 2rem;
  background: radial-gradient(ellipse at center, #083a44 0%, #021c24 100%);

}

.hero .crescent {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  box-shadow: -40px 0 0 0 var(--primary);
  margin: 60px auto 20px auto;
  filter: blur(1px);
  position: relative; /* necessary for relative position */
}

.hero .star {
  width: 40px;
  height: 30px;
  background: var(--primary);
  clip-path: polygon(
    50% 0%, 61% 35%, 98% 35%, 68% 57%,
    79% 91%, 50% 70%, 21% 91%, 32% 57%,
    2% 35%, 39% 35%
  );
  position: absolute;
  top: 183px;  /* Justér for placering inde i månen */
  left: 48%;
  transform: translateX(-50%);
  animation: pulse 2s infinite;
}


@keyframes pulse {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(1); opacity: 0.8; }
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-button {
  background: var(--primary);
  color: #000;
  padding: 0.75rem 2rem;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 0 15px var(--glow);
  transition: transform 0.3s;
  position: relative;
  top: 30px;
}

.cta-button:hover {
  transform: scale(1.1);
}

.features {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  padding: 3rem 2rem;
  background-color: var(--accent);
}

.feature-box {
  background-color: #05242d;
  border-radius: 20px;
  padding: 2rem;
  flex: 1 1 calc(33.333% - 2rem); /* Tre i række med plads til gap */
  text-align: center;
  box-shadow: 0 0 20px rgba(15, 210, 194, 0.2);
  transition: 0.4s;
  box-sizing: border-box;
  max-width: 400px; /* Begræns maks bredde */
}

.feature-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 30px var(--glow);
}

.feature-box img {
  width: 50px;
  margin-bottom: 1rem;
}


footer {
  text-align: center;
  padding: 2rem;
  background-color: #011418;
  font-size: 0.9rem;
}


  .input-group {
    margin-bottom: 1.5rem;
  }

  .input-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: bold;
    color: #fff;
  }

  .input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
  }

  .input-wrapper input {
    width: 100%;
    padding: 0.75rem 2.8rem 0.75rem 2.5rem;
    border-radius: 8px;
    border: none;
    background: #0f2a32;
    color: #fff;
    font-size: 1rem;
  }

  .input-wrapper .icon {
    position: absolute;
    left: 0.9rem;
    color: #aaa;
  }

  .toggle-password {
    position: absolute;
    right: 0.9rem;
    cursor: pointer;
    color: #aaa;
  }


  /* Fix header background (du havde en fejl: var(--background) findes ikke) */
  .header {
    background: var(--bg); /* Brug var(--bg) i stedet for var(--background) */
  }

  /* Base nav hidden på mobil */
  @media (max-width: 768px) {
    
.site-logo {
    height: 90px;
    margin: 0 auto; /* centrer billedet */
    display: block;
  }

  .logo-container {
    width: 100%;
    display: flex;
    justify-content: center;
  }
    
    body {
      padding-top: 30px;
    }
    .nav {
      display: none;
      flex-direction: column;
      background: rgba(4, 24, 33, 0.95);
      position: absolute;
      top: 70px;
      right: 20px;
      padding: 1rem;
      border-radius: 10px;
      box-shadow: 0 10px 30px #041821;
      z-index: 9999;
    }

    .nav.show {
      display: flex;
    }

    .hamburger {
      display: flex;
      flex-direction: column;
      cursor: pointer;
      gap: 5px;
      z-index: 10000;
    }

    .hamburger span {
      height: 3px;
      width: 25px;
      background: white;
      border-radius: 2px;
    }

    .about-us {
        padding: 40px 15px;
      }

      .about-us h2 {
        font-size: 1.8rem;
      }

      .about-us .content-box {
        padding: 20px;
        font-size: 0.95rem;
      }

      .about-us p {
        margin-bottom: 1.2rem;
        line-height: 1.6;
      }

      .team-container {
        flex-direction: column;
        align-items: center;
      }

      .team-member {
        width: 90%;
      }

      .contact-section h2,
      .contact-section h3 {
        font-size: 1.6rem;
      }

      .contact-form {
        width: 90%;
        padding: 20px;
      }

      .login-section {
         margin: 20px;
         padding: 1.5rem;
       }

       .events-section h2 {
         font-size: 1.8rem;
       }

       .event-card {
         padding: 20px;
       }

       .event-card h3 {
         font-size: 1.5rem;
       }

       .event-card p {
         font-size: 0.9rem;
       }

       .event-card .cta-button {
         font-size: 0.9rem;
         padding: 0.6rem 1.5rem;
       }
  }
