/* ========================================
   OM OS SIDE
   ======================================== */

/* ========================================
   ABOUT SEKTION - Om SMOVS
   ======================================== */

.about {
  background: var(--green-dark);
  color: var(--white);
  padding: 28px 16px;
  text-align: center;
  position: relative;
}

/* Bølge-dekoration i toppen */
.about .wave-welcome {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  pointer-events: none;
}

/* Overskrift */
.about-title {
  margin-top: -10px;
  color: var(--yellow-light);
  margin-bottom: 10px;
}

/* Brødtekst */
.about-text {
  opacity: 0.9;
  margin-bottom: 70px;
}

/* Desktop: Bredere tekst */
@media (min-width: 900px) {
  .about {
    padding: 0 32px;
  }
  
  .about-text {
    max-width: 700px;
    margin: 0 auto 70px;
  }
}
/* ========================================
   GALLERI SEKTION
   ======================================== */

.gallery {
  background-color: var(--yellow-main);
  color: var(--text-dark);
  padding: 26px 16px 32px;
  position: relative;
}

.gallery h2 {
  margin: 0 0 18px;
  text-align: center;
  padding-top: 15px;
  z-index: 10;
}

/* Bølge-dekorationer */
.gallery.who .wave2 {
  position: absolute;
  left: 0;
  top: 0;
  transform: translateY(-90%);
  width: 100%;
  z-index: 2;
}

.gallery.who .wave3 {
  position: absolute;
  left: 0;
  bottom: 0;
  transform: translateY(80%);
  width: 100%;
  z-index: 2;
}

/* ========================================
   WHO - "Hvem er vi" sektion
   ======================================== */

/* Indre container (mobil: vertikal, desktop: horisontal) */
.who-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

/* Tekstindhold */
.who-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.who-content h2 {
  margin-bottom: 8px;
}

.who-content p {
  line-height: 1.6;
  margin-top: 0;
}

/* Billede */
.who-img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  margin: 16px 0;
}

/* Galleriliste */
.gallery-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gallery-item img {
  display: block;
  width: 100%;
  border-radius: 18px;
}

/* Desktop: Billede og tekst ved siden af hinanden */
@media (min-width: 900px) {
  .who-inner {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }

  .who-content {
    flex: 1;
    margin-right: 20px;
    margin-top: 10px;
    gap: 70px;
  }

  .who-img {
    flex: 1;
    max-width: 50%;
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 10px;
  }
}

/* ========================================
   FAQ SEKTION - Ofte stillede spørgsmål
   ======================================== */

.faq {
  padding: 28px 16px 40px;
  background: var(--green-dark);
}

/* Overskrift */
.faq h2 {
  text-align: center;
  margin-bottom: 16px;
  color: var(--yellow-light);
}

/* Liste af FAQ kort */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 380px;
  margin: 0 auto;
}

/* Enkelt FAQ kort */
.faq-card {
  display: flex;
  gap: 14px;
  align-items: center;
  background: var(--green-mid);
  color: var(--white);
  border-radius: 18px;
  padding: 4px 15px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

/* Tekstområde */
.faq-text {
  flex: 1 1 auto;
}

.faq-text h5 {
  margin: 30px 10px 2px 0;
  color: var(--white);
}

/* Svar (skjult som standard) */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms ease, opacity 200ms ease;
  opacity: 0;
  color: rgba(255,255,255,0.95);
}

/* Når FAQ er åbent */
.faq-card.open .faq-answer {
  max-height: 320px;
  opacity: 1;
}

/* Plus/minus knap */
.faq-toggle {
  background: transparent;
  border: none;
  padding: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: auto;
  width: 40px;
  height: 40px;
  position: relative;
}

/* Skjul billede (bruger CSS ikoner i stedet) */
.faq-toggle img {
  display: none;
}

/* Plus-ikon (lukket tilstand) */
.faq-toggle::before {
  content: '';
  display: block;
  width: 28px;
  height: 28px;
  background: var(--yellow-main);
  border-radius: 999px;
  -webkit-mask: url('images/icons/plus.svg') center/contain no-repeat;
  mask: url('images/icons/plus.svg') center/contain no-repeat;
}

/* Minus-ikon (åben tilstand) */
.faq-card.open .faq-toggle::before {
  -webkit-mask: url('images/icons/minus.svg') center/contain no-repeat;
  mask: url('images/icons/minus.svg') center/contain no-repeat;
}
/* Bølge under FAQ (kun mobil) */
.lokaler-wave {
  display: block;
  width: 100%;
  margin-top: -1px;
}

/* Tablet og op: Skjul bølge */
@media (min-width: 510px) {
  .lokaler-wave {
    display: none;
  }
}

/* Desktop: Bredere FAQ liste */
@media (min-width: 900px) {
  .faq-list {
    max-width: 700px;
  }
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */

/* Små mobiler: Sikre FAQ kort fungerer */
@media (max-width: 420px) {
  .faq-card {
    flex-direction: row;
  }

  .who-inner {
    padding: 8px;
  }
}

/* Tablet og op: Gul boks */
@media (min-width: 510px) {
  .yellow-box {
    width: 100%;
    background-color: var(--yellow-main);
    padding: 40px;
  }
}
