/* === IMPORT POPPINS FONT === */
@font-face {
    font-family: 'Poppins';
    src: url('Poppins/Poppins-Regular.ttf') format('truetype');
    font-weight: 400;
}
@font-face {
    font-family: 'Poppins';
    src: url('Poppins/Poppins-Bold.ttf') format('truetype');
    font-weight: 700;
}

/* === GLOBAL === */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
}


/* --- CONTACT PAGE GREEN BANNER --- */
.contact-info-banner {
    background-color: #66A53D;
    color: white;
    text-align: center;
    padding: 40px 20px;
    line-height: 1.6;
    margin-top: 100px;
}

.contact-info-banner p {
    margin: 10px 0;
    font-size: 18px;

}

/* --- KONTAKT SECTION --- */

/* --- KONTAKT SECTION (updated layout) --- */

.kontakt-wrapper {
    max-width: 1100px;
    margin: 100px auto;
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    margin-top: 60px;
    margin-bottom: 60px;
  }
  
  .kontakt-image img {
    max-width: 500px;
    max-height: 500px;
    object-fit: cover;
    border-radius: 10px 0 0 10px;
    display: block;
  }
  
  .kontakt-box {
    background-color: #66A53D;
    padding: 40px 50px;
    border-radius: 0 10px 10px 0;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  /* Center the title */
  .kontakt-box h2 {
    font-size: 42px;
    color: white;
    letter-spacing: 1px;
    text-align: center;
    margin-bottom: 25px; /* smaller gap */
    margin-top: -30px;
  }
  
  /* Contact items */
  .kontakt-item {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 12px 0;      /* less spacing */
    padding: 6px 0;      /* less padding */
    text-decoration: none;
    color: white;
    font-size: 20px;
    transition: 0.3s ease;
    cursor: pointer;
  }
  
  .kontakt-item:hover {
    transform: scale(1.03);
    color: #eef3ee;
  }
  
  .kontakt-icon {
    width: 38px;
    height: 38px;
    filter: brightness(0);
    transition: 0.3s;
  }
  
  .kontakt-item:hover .kontakt-icon {
    filter: brightness(0) invert(1);
  }
  
  /* =========================
   CONTACT PAGE – MOBILE (refined)
   ========================= */
@media (max-width: 768px) {

  /* Green banner */
  .contact-info-banner {
    margin-top: 90px;
    padding: 40px 16px;
  }

  .contact-info-banner p {
    font-size: 16px;
    margin: 6px 0;
  }

  /* Wrapper: mere luft i siderne */
  .kontakt-wrapper {
    flex-direction: column;
    margin: 26px auto;
    padding: 20px 40px;           /* mere whitespace i siderne */
    max-width: 520px;          /* gør kortet smallere */
  }

  /* Billedet */
  .kontakt-image img {
    width: 100%;
    max-height: 230px;         /* lavere billede = mindre kort */
    object-fit: cover;
    border-radius: 12px 12px 0 0;
  }

  /* Selve kortet */
  .kontakt-box {
    padding: 22px 20px;        /* lidt mindre højde */
    border-radius: 0 0 12px 12px;
  }

  /* Overskrift */
  .kontakt-box h2 {
    font-size: 36px;           /* større overskrift */
    margin: 6px 0 18px 0;
  }

  /* Kontakt-linjer */
  .kontakt-item {
    font-size: 18px;           /* større tekst */
    gap: 14px;
    margin: 10px 0;
    padding: 8px 6px;
  }

  .kontakt-icon {
    width: 30px;
    height: 30px;
  }
}

/* Extra small phones */
@media (max-width: 380px) {
  .kontakt-wrapper {
    max-width: 100%;
    padding: 0 16px;
  }

  .kontakt-box h2 {
    font-size: 28px;
  }

  .kontakt-item {
    font-size: 17px;
  }
}


/* ────────────────────────────────────────────────
   FOOTER – MOBIL – IKON + TEKST ALIGNMENT
   ──────────────────────────────────────────────── */
@media (max-width: 768px) {

  .footer-right {
    width: 100%;
  }

  .footer-contact {
    list-style: none;
    padding: 0;
    margin: 24px auto 32px auto;
    
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 500px;               /* ← juster her hvis for bred/smalt */
  }

  .footer-contact li {
    display: flex;
    align-items: center;
    gap: 14px;                      /* afstand ikon → tekst */
    justify-content: flex-start;    /* vigtig – starter til venstre */
    width: 100%;
  }

  .footer-icon {
    width: 34px;                    /* lidt større for bedre balance */
    height: 34px;
    flex-shrink: 0;
    object-fit: contain;
  }

  /* Sørg for at tekst starter på samme linje */
  .footer-contact li > *:last-child {   /* rammer span eller a */
    flex: 1;
    text-align: left;
    color: white;
    font-size: 1.05rem;
    line-height: 1.45;
  }

  .footer-contact a {
    color: white;
    text-decoration: none;
  }

  .footer-contact a:hover {
    text-decoration: underline;
  }

  /* Fix Facebook – ikon er inde i <a> */
  .footer-contact li a[href*="facebook"] {
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .footer-contact li a[href*="facebook"] img {
    margin: 0;
  }
}

