/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #000;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-width: 940px;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Container */
.container {
    max-width: 940px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Section */
.header-section {
    background-color: #fff;
}

/* Navigation */
.main-nav {
    background-color: #464646;
    padding: 40px 0;
}

.main-nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2px;
    max-width: 940px;
    margin: 0 auto;
}

.main-nav li {
    position: relative;
}

.main-nav a {
    display: block;
    padding: 12px 20px;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.3s ease;
}

.main-nav a:hover,
.main-nav a.selected {
    color: #ed6464;
}

/* Header Banner */
.header-banner {
    max-width: 940px;
    margin: 0 auto;
    position: relative;
}

.header-banner img {
    width: 940px;
    height: 254px;
    display: block;
    object-fit: cover;
}

/* Main Title */
.header-section h1 {
    text-align: center;
    font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
    font-size: 57px;
    font-weight: normal;
    color: #000;
    padding: 20px 0 40px;
    margin: 0 auto;
    max-width: 940px;
}

/* Main Content */
.main-content {
    background-color: #fff;
    padding: 20px 0 60px;
}

.welcome-text {
    max-width: 748px;
    margin: 0 auto 30px;
    text-align: left;
    padding: 0;
}

.welcome-text p {
    font-size: 22px;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #000;
}

/* CTA Button */
.cta-button {
    text-align: center;
    margin: 40px 0 60px;
}

.button {
    display: inline-block;
    padding: 18px 50px;
    background: linear-gradient(to bottom, #08a306 0%, #08a306 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

.button:hover {
    background: linear-gradient(to bottom, #357ae8 0%, #2a62be 100%);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Content Sections */
.content-sections {
    max-width: 908px;
    margin: 0 auto;
    padding: 0 80px;
}

.section-content h2 {
    font-size: 23px;
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #000;
}

.section-content h2:first-child {
    margin-top: 0;
}

.section-content p {
    font-size: 22px;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #000;
}

.section-content a {
    color: #4d90fe;
    text-decoration: underline;
}

.section-content a:hover {
    color: #357ae8;
}

/* Footer */
.footer-section {
    background-color: #e1e1e1;
    padding: 45px 0;
    margin-top: 60px;
}

.footer-content {
    max-width: 940px;
    margin: 0 auto;
}

.footer-column {
    padding-left: 60px;
}

.footer-column h3 {
    font-family: 'Nunito', sans-serif;
    font-size: 18px;
    font-weight: normal;
    margin-bottom: 15px;
    color: #000;
}

.footer-column p {
    font-size: 14px;
    line-height: 1.8;
    margin: 10px 0;
    color: #000;
}

.footer-column a {
    color: #000;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #ed6464;
}

.footer-column .address {
    padding-left: 0;
}

/* Board Members */
.board-member {
    margin-bottom: 30px;
}

.board-member h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #000;
}

.board-member p {
    font-size: 18px;
    line-height: 1.6;
    color: #000;
}

/* Bank Info */
.bank-info {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 4px;
    margin: 20px 0;
}

.bank-info p {
    font-size: 20px;
    margin: 10px 0;
}

/* Contact Details */
.contact-details {
    margin-top: 30px;
}

.contact-details h3 {
    font-size: 20px;
    font-weight: bold;
    margin-top: 25px;
    margin-bottom: 15px;
}

/* Additional Info */
.additional-info {
    margin-top: 40px;
}

.additional-info h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
}

.additional-info ul {
    list-style: disc;
    margin-left: 30px;
}

.additional-info ul li {
    margin: 10px 0;
    font-size: 18px;
}

/* Document List */
.document-list {
    margin: 30px 0;
}

.document-list h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
}

.document-list ul {
    list-style: disc;
    margin-left: 30px;
}

.document-list ul li {
    margin: 10px 0;
    font-size: 18px;
}

/* Vedtægt Intro */
.vedtaegt-intro {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 30px;
}

.vedtaegt-intro p {
    font-size: 18px;
}

/* Contact Widgets */
.contact-widgets {
    display: flex;
    justify-content: center;
    gap: 50px;
    padding: 40px 0;
    flex-wrap: wrap;
}

.contact-widget {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 300px;
}

.contact-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 14px;
    color: #000;
}

.contact-icon svg {
    width: 100%;
    height: 100%;
}

.contact-label {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 8px;
    color: #000;
}

.contact-value {
    font-size: 16px;
    color: #000;
    text-decoration: none;
    word-break: break-word;
}

.contact-value:hover {
    color: #ed6464;
}

/* Responsive Design */
@media (max-width: 650px) {
    body {
        min-width: initial;
    }

    .header-section h1 {
        font-size: 36px;
        padding: 15px 20px 30px;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .main-nav a {
        width: 100%;
        text-align: center;
        padding: 15px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .header-banner img {
        width: 100%;
        height: auto;
    }

    .welcome-text {
        padding: 0 15px;
    }

    .welcome-text p {
        font-size: 18px;
    }

    .content-sections {
        padding: 0 15px;
    }

    .section-content h2 {
        font-size: 20px;
    }

    .section-content p {
        font-size: 18px;
    }

    .button {
        padding: 15px 40px;
        font-size: 14px;
    }

    .footer-column {
        padding-left: 20px;
    }
}

@media (min-width: 651px) {
    body {
        min-width: 940px;
    }
}
