* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    min-height: 100%;
}

/* Navigation */
.navbar {
    background-color: #005130;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    box-sizing: border-box;
}

/* Logo */
.logo img {
    width: 100px;
    height: auto;
    display: block;
}

/* Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 20px;
    padding: 12px;
    display: block;
}

.nav-links :hover {
    color: #9ED196;
}

/* Skjul checkbox og burger på desktop */
#menu-toggle {
    display: none;
}

.burger {
    display: none;
    color: white;
    font-size: 32px;
    cursor: pointer;
}

/* Forsidens store naturbillede */
.hero {
    background-image:
        linear-gradient(
            rgba(0, 40, 25, 0.55),
            rgba(0, 40, 25, 0.55)
        ),
        url("baggrund.jpg");
    height: 840px;
    background-size: cover;
    background-position: center;
    opacity: 95%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    text-align: center;
    color: white;
}

/* Indholdet oven på billedet */
.hero-content {
    max-width: 750px;
}

.eyebrow {
    color: #9ED196;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 3px;
}

.hero h1 {
    font-size: clamp(32px, 5vw, 58px);
    line-height: 1.1;
    margin: 20px 0;
}

.hero-content > p:not(.eyebrow) {
    font-size: 18px;
    line-height: 1.6;
}

/* Knap */
.hero-button {
    display: inline-block;
    margin-top: 20px;
    padding: 14px 24px;
    background-color: #005130;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
}

.hero-button:hover {
    background-color: #9ED196;
    transition: all 0.3s ease-in-out;
}
 
/* Kort under hero billede */
.cards {
    background-color: #f5f7f3;
    padding: 80px;
}

.cards-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

.card {
    background-color: white;
    padding: 35px 28px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 40, 25, 0.08);
    text-align: center;
    border-bottom: 4px solid #005437;
}

/* Lille ikon øverst */
.card-icon {
    font-size: 38px;
    color: #005437;
    margin-bottom: 20px;
    font-weight: bold;
}

/* Overskrift */
.card h2 {
    color: #005437;
    font-size: 25px;
    margin-bottom: 16px;
}

/* Brødtekst */
.card p {
    color: #555;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 25px;
}

/* Knapper */
.card-button {
    display: inline-block;
    background-color: #005437;
    color: white;
    text-decoration: none;
    padding: 12px 22px;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.card-button:hover {
    background-color: #9ED196;
    color: #003d29;
}

/* Effekt når musen føres over kortet */
.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 40, 25, 0.13);
}

/* Footer */
footer {
    background-color:#005130;
    color: white;
    padding: 35px 6% 15px;
}
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-content h2 {
    font-size: 20px;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 25px;
}

.footer-links a {
    color: white;
    text-decoration: none;
}

.footer-links a:hover {
    color: #9ED196;
}

.footer-bottom {
    max-width: 1200px;
    margin: 25px auto 0;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 13px;
    color: #d5e2da;
    text-align: center;
}


/* Mobil */
@media (max-width: 799px) {
    .navbar {
        flex-wrap: wrap;
    }

    .burger {
        display: block;
    }

    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin-top: 15px;
    }

    #menu-toggle:checked ~ .nav-links {
        display: flex;
    }

    .nav-links a {
        padding: 15px 10px;
        border-top: 1px solid rgba(255,255,255,0.2);
    }

    .hero {
        min-height: 480px;
        padding: 40px 20px;
    }

        .cards-container {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .cards {
        padding: 50px 6%;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}




