
:root {
    --green: #345747;
    --dark-green: #233e32;
    --cream: #f5f1e8;
    --white: #fffdf8;
    --red: #a84747;
    --text: #333b35;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--text);
    font-family: Georgia, serif;
}

header {
    background: var(--green);
    color: var(--white);
    text-align: center;
    padding: 30px 20px;
}

.header-icon {
    font-size: 32px;
    color: #e8c9b2;
}

h1 {
    font-size: 38px;
    margin: 8px 0 12px;
    font-weight: normal;
}

header p {
    font-size: 18px;
    margin: 0;
}

main {
    max-width: 1200px;
    margin: auto;
    padding: 25px;
}

.toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 18px;
}

button {
    background: var(--green);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 13px 20px;
    font-size: 16px;
    cursor: pointer;
}

button:hover {
    background: var(--dark-green);
}

#map {
    height: 520px;
    width: 100%;
    border: 3px solid white;
    border-radius: 14px;
    box-shadow: 0 4px 15px #00000015;
}

.legend {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    padding: 18px;
    font-size: 17px;
}

.familie-info {
    background: var(--white);
    border-radius: 14px;
    padding: 25px;
    box-shadow: 0 4px 15px #00000010;
}

.velkomst {
    text-align: center;
    padding: 15px;
}

.velkomst h2 {
    color: var(--green);
    font-size: 28px;
}

.velkomst p {
    font-size: 19px;
    line-height: 1.6;
}

.familie-card {
    display: flex;
    gap: 30px;
    align-items: center;
}

.familie-billede {
    width: 300px;
    max-width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 10px;
}

.familie-detaljer {
    flex: 1;
}

.familie-detaljer h2 {
    color: var(--green);
    font-size: 30px;
    margin-top: 0;
}

.familie-detaljer p {
    font-size: 18px;
    line-height: 1.6;
}

.citat {
    font-style: italic;
    color: #766c5b;
    border-left: 3px solid var(--green);
    padding-left: 15px;
}

.kort-marker {
    background: transparent;
    border: none;
}

.marker-hus,
.marker-hjerte {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 3px solid white;
    border-radius: 50%;
    box-shadow: 0 3px 8px #00000040;
    font-size: 24px;
}

.marker-hus {
    background: var(--green);
}

.marker-hjerte {
    background: var(--red);
    color: white;
    font-size: 30px;
}

.leaflet-control-zoom a {
    width: 38px !important;
    height: 38px !important;
    line-height: 38px !important;
}

footer {
    text-align: center;
    padding: 25px;
    color: #766c5b;
    font-style: italic;
}

@media (max-width: 700px) {

    main {
        padding: 12px;
    }

    h1 {
        font-size: 30px;
    }

    #map {
        height: 430px;
    }

    .familie-card {
        flex-direction: column;
        align-items: stretch;
    }

    .familie-billede {
        width: 100%;
    }

    .familie-info {
        padding: 18px;
    }
}
