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

body {
    font-family: Arial, sans-serif;
    color: #333;
    background: #f0f0f0;
    line-height: 1.6;
}

/* LINKS */
a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    opacity: 0.8;
}

/* LAYOUT */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* HERO */
.hero-background {
    width: 100%;
    background-color: #c1853c;
}

.hero {
    position: relative;
    height: 400px;
    overflow: hidden; /* vigtigt: beskærer siderne pænt */
}

.hero-image-wrapper {
    width: 100%;
    height: 500px;
    display: flex;
    justify-content: center; /* CENTRERER billedet */
    align-items: center;
}

.hero-image {
    height: 500px;   /* fast højde */
    width: auto;     /* ingen skalering i bredden */
    display: block;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 20px;
}


.hero-bar {
    width: 100%;
    height: 500px;              /* samme højde som HERO-billedet */
    background-color: #c1853c;  /* samme blå som footeren */
}


.hero h1 {
    font-size: 48px;
    margin-bottom: 10px;
}

.hero p {
    font-size: 20px;
}

/* FORSIDE BLOKKE */
.front-blocks {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    padding: 30px 0;

    max-width: 900px;   /* samme bredde som intro-teksten */
    margin: 0 auto;     /* centrer hele blokken */
}

.block {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: 0.2s;
}

.block:hover {
    transform: translateY(-5px);
}

.block img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.block h3 {
    margin: 15px;
    font-size: 22px;
}

.block p {
    margin: 0 15px 20px 15px;
    color: #555;
}

.intro {
    padding: 30px 20px; /* top/bund 40px, venstre/højre 20px */
    background: #f0f0f0;
    text-align: left; /* venstrestil tekst */
    max-width: 900px; /* gør teksten smallere */
    margin: 0 auto; /* centrer selve tekstboksen */
}


.intro h2 {
    margin-bottom: 10px;
}

/* FOOTER */
footer {
    width: 100%;
    background: #c1853c; /* Sundheds orange */
    color: white;
    padding: 50px 0;
}

.footer-inner {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-col h4 {
    margin-bottom: 10px;
}

.footer-col a {
    display: block;
    color: #ddd;
    margin: 5px 0;
}

.footer-col a:hover {
    color: white;
}

.footer-inner {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    position: relative;
}

/* Lodrette streger mellem kolonnerne */
.footer-inner > div {
    position: relative;
    padding-right: 20px;
}

.footer-inner > div:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 0;
    right: -20px;
    width: 1px;
    height: 100%;
    background: rgba(255,255,255,0.3); /* let hvid streg */
}


.kommune-logo {
    width: 120px;
    margin-top: 15px;
    filter: brightness(0) invert(1);
}

/* FEATURE SEKTION MED GRÅ BAGGRUND */
.feature {
    background: #f0f0f0;
    padding: 40px 0;
}

.feature-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.feature-title {
    font-size: 32px;
    margin-bottom: 15px;
    color: #333;
}

.feature-content {
    display: grid;
    grid-template-columns: 2fr 1fr; /* billede 2/3, tekst 1/3 */
    gap: 30px;
    align-items: start;
}

.feature-image img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
}

.feature-text {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.feature-text h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.feature-text p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.feature-link {
    color: #005FA8;
    font-weight: bold;
    text-decoration: none;
}

.feature-link:hover {
    text-decoration: underline;
}


