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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

header {
    background: linear-gradient(135deg, #4ba4ea 0%, #3a7bc8 100%);
    color: white;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.header-text {
    text-align: left;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Hamburger menu button - skjult på desktop */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Navigation */
nav {
    max-width: 1000px;
    margin: 2rem auto 0;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0;
}

nav a {
    display: inline-block;
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
}

nav a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

nav a.active {
    background: rgba(255, 255, 255, 0.3);
    font-weight: 600;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
}

.section {
    background: white;
    margin: 2rem 0;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    overflow: hidden;
}

.section h2 {
    color: #4ba4ea;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    border-bottom: 3px solid #4ba4ea;
    padding-bottom: 0.5rem;
}

.section h3 {
    color: #3a7bc8;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.section a {
    color: #4ba4ea;
    font-weight: 600;
}

.section a:hover {
    text-decoration: underline;
}

.section p {
    margin-bottom: 1rem;
}

.highlight-box {
    background: linear-gradient(135deg, #4ba4ea15 0%, #3a7bc815 100%);
    padding: 1.5rem;
    border-left: 4px solid #4ba4ea;
    margin: 1.5rem 0;
    border-radius: 5px;
}

ul, ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

ul li, ol li {
    margin-bottom: 0.5rem;
}

footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 2rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.info-card {
    background: #f9f9f9;
    padding: 1rem;
    border-radius: 5px;
    border-left: 3px solid #4ba4ea;
}

.contact-form {
    max-width: 600px;
    margin: 2rem auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

button {
    background: #4ba4ea;
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

button:hover {
    background: #3a7bc8;
}

/* Responsive iframe (maps) */
.map-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin: 1.5rem 0;
    border-radius: 10px;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Images */
.section-image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 1.5rem 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    object-fit: cover;
}

.section img {
    max-width: 100%;
    height: auto;
}

.image-caption {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    margin-top: -1rem;
    margin-bottom: 1.5rem;
    font-style: italic;
}

/* Nyheder og arrangementer */
.news-item {
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.news-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.news-item h3 {
    margin-top: 0;
}

.arrangement-item {
    margin-bottom: 1rem;
}

.arrangement-item:last-child {
    margin-bottom: 0;
}

.arrangement-item h3 {
    margin-top: 0;
}

/* Mobile styles */
@media (max-width: 768px) {
    header {
        padding: 1.5rem 1rem;
    }

    .header-content {
        justify-content: space-between;
        padding: 0;
    }

    .header-text {
        text-align: left;
    }

    header h1 {
        font-size: 1.5rem;
    }

    header p {
        font-size: 0.9rem;
        margin-bottom: 0;
    }

    /* Vis hamburger menu på mobil */
    .mobile-menu-toggle {
        display: flex !important;
    }

    /* Skjul navigation som standard på mobil */
    header nav {
        display: none !important;
        margin: 0 !important;
        max-width: 100%;
    }

    header nav.active {
        display: block !important;
        margin-top: 1rem !important;
    }

    nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    nav ul li {
        width: 100%;
    }

    nav a {
        display: block;
        text-align: left;
        padding: 1rem;
        border-radius: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    nav a:hover {
        transform: none;
        background: rgba(255, 255, 255, 0.15);
    }

    .container {
        padding: 1rem;
    }

    .section {
        padding: 1.5rem;
    }
}
